Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 26 Jun 2019, 16:32
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdog64-700rc (12 Feb 2015) [CLOSED]
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 10 of 11 [154 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11 Next
Author Message
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Fri 20 Feb 2015, 19:16    Post subject:  

Thanks @Q5sys, this explains a lot about that bootable USB when viewed, both within the running FATDOG and outside when inserted into a different running system. And it explains, indirectly, its odd representation on the running desktop, once booted.

Recommendation to others
If anyone chooses to use this, expect normal FATDOG behavior. It is better to use a small USB (minihmal 384/512MB), based upon what occurs using that particular install process. The USB can ONLY be used for boot purposes.

Now, Back to my DVDs.

Amended
@Ted Dog, I think I understand what you are referring me to. You are suggesting (I think)that after creating the USB, the "FIX" utility MUST be run if one expects to reclaim open space on the USB. Is that correct? If so, should that utility be run within the FATDOG which booted it, or outside (on another desktop) of the USB running FATDOG? This means that
Quote:
on this post ===> http://murga-linux.com/puppy/viewtopic.php?p=829586#829586, step 6 would become,
Code:
6. Before reboot, Extract the "fix-usb.sh" and run it,targeting the newly created USB.
... any help at all would be appreciated ...
_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
Terry H

Joined: 29 Mar 2009
Posts: 614
Location: The Heart of Muskoka, ON Canada

PostPosted: Fri 20 Feb 2015, 19:52    Post subject:  

gcmartin wrote:

Recommendation to others
If anyone chooses to use this, expect normal FATDOG behavior. It is better to use a small USB (minihmal 384/512MB), based upon what occurs using that particular install process. The USB can ONLY be used for boot purposes.


I have some 512MB SD cards, I thought I wouldn't use anymore. I'll give it a try.
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3354
Location: The Blue Marble

PostPosted: Fri 20 Feb 2015, 20:50    Post subject:  

@gcmartin
http://distro.ibiblio.org/fatdog/web/faqs/uefi-flashdrive.html

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 4013
Location: Heart of Texas

PostPosted: Fri 20 Feb 2015, 21:01    Post subject:  

You should run it from within a bootup of same ISO file you used, initrd, vmliuz and fix-usb.sh are matched, There is a number for offseting the end of the ISO image within the fix-usb.sh that will correct the MBR so that the space is recorded correctly, then format new part at end of drive.
There will be a BIOS/EFI explanation in my UEFI thread. I have been able to create a universal (Windows) boot for both Legacy and EFI but still trying to understand the quirks of such a setup. Difference being it will be editable, this version of dd works NOW. You are almost there...

Boot your dd'ed flashdrive, copy fix-usb.sh to root ( check permissions) open a terminal as root,

Quote:
./fix-usb.sh


Follow the dialog as it comes up. There will be long pauses at times, its normal, after done reboot and your flashdrive should be fully used now.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3445
Location: www.eussenheim.de/

PostPosted: Sat 21 Feb 2015, 06:41    Post subject:  

jamesbond wrote:
@L18L:
- "grep -Fl usr/share/razor /var/log/packages/*" and you'll see which packages contain these files.
Thanks for this info (Fatdog is NOT Puppy Cool )
Quote:
jwm locale files are definitely inside nls.sfs; I don't know why you can't find it.
... so I am trying to find them in nls.sfs:
Code:
# ls /mnt/+aufs+devsave+fatdog700rc+fd64-nls_700rc+sfs/usr/share/locale/*/LC_MESSAGES/jwm
/mnt/+aufs+devsave+fatdog700rc+fd64-nls_700rc+sfs/usr/share/locale/de/LC_MESSAGES/jwm
#
it is de only.
Quote:
sven bug fixed, thanks.
Code:
# updatedb
# locate sven.pot | grep 700rc
#
Just for the record: sven.pot should be published somewhere.
/usr/share/doc/nls/sven/ would be the location for puppy's momanager
But feel free to use another location.
Quote:
$HOME/.config/razor needs some checking ... it's a bit weird.

The good thing with razor menu is:
It is using the translations for the categories.
The bad with razor menu is:
It is using /etc/xdg/razor/ only
( or we do NOT know how to make it use $HOME/config/razor/* )

The bad thing with openbox menu is:
It is NOT using the translations for the categories.
( or we do NOT know how to make it use of the translations )
The good with openbox menu is:
It is using $HOME/config/openbox/menu.xml (translated from /etc/xdg/openbox/menu.xml )

Quote:
Anyway, for real non-root usage/test, don't use user "spot". spot is special (though I try to make things work with spot too). Create another user instead.
OK Very Happy
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3445
Location: www.eussenheim.de/

PostPosted: Sat 21 Feb 2015, 07:04    Post subject:  

L18L wrote:
Quote:
Anyway, for real non-root usage/test, don't use user "spot". spot is special (though I try to make things work with spot too). Create another user instead.
OK Very Happy

Succesfully created after bug fix:
Code:
### signal handler - create new user
add_new_user() {
   local newid
   if newid=$(Xdialog --title "$APPTITLE" --stdout --inputbox "$(gettext 'Please enter the userid. It must not be the same as existing ones.')" 0 0); then
      #newid=$(echo $newid | sed 's/[^A-Za-z0-9.-_]*//g')   # remove all funny characters
      newid=$(echo $newid | sed 's/[^A-Za-z0-9._-]*//g')   # remove all funny characters # remove bug
      check=$(awk -F: -v user="$newid" '$1 == user {print $1}' /etc/passwd)
      if [ "$check" ]; then
         Xdialog --title "$(gettext 'Error!')" --infobox "$(eval_gettext '$newid already exist. Please choose another userid.')" 0 0 10000
      else
         mkuser.sh $newid
         echo -e "$DEFAULT_PASSWORD\n$DEFAULT_PASSWORD\n" | passwd -a md5 $newid
         refresh_userview
         Xdialog --title "$(gettext 'Success!')" --infobox "$(eval_gettext 'User $newid is created. Password is set to $DEFAULT_PASSWORD.')" 0 0 10000
      fi
   fi
}
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3354
Location: The Blue Marble

PostPosted: Sat 21 Feb 2015, 09:25    Post subject:  

@L18L:
- I see now. jwm locale files is jwm.mo, not jwm. The "jwm" one is the one that comes from you.
- sven.pot wasn't created during build file because it wasn't maintained. I tried to extract a new one, attached.
- thanks for the fix for fatdog-user-manager.sh.

EDIT: changes of MIME handler for images, suggested by SFR, won't make to final, we don't have the time to make the changes yet.
sven.pot.gz
Description  gunzip first
gz

 Download 
Filename  sven.pot.gz 
Filesize  2.14 KB 
Downloaded  279 Time(s) 

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3445
Location: www.eussenheim.de/

PostPosted: Sat 21 Feb 2015, 13:15    Post subject:  

jamesbond wrote:
@L18L:
- I see now. jwm locale files is jwm.mo, not jwm. The "jwm" one is the one that comes from you.

jwm locale files are jwm.mo for Joe Wingbermuehle's JWM.
jwm_menu_create locale files are jwm for technosaurus' jwm_menu_create.

BTW, Puppy's fixmenus fixes (several ) menus.
Fatdog's fixmenus fixes (just one menu) jwm.

fixed choose-locale-sh.i18n:
Code:
#!/bin/ash
# localizing desktop icon labels and menu items using gettext
#    and relaunch some progs without RestartX
#
# sourced by fatdog-choose-locale.sh
# and
# fatdog-quick-locale-switcher
# fix for non-root user

PUPPYPIN=$HOME/.config/rox.sourceforge.net/ROX-Filer/PuppyPin
#read WM < $FATDOG_STATE_DIR/windowmanager || read WM < /etc/windowmanager # not needed
read LANG < $LANG_CONFIG

translate_razor_menu_bottom()
{
    WD=/etc/xdg/razor
    cd $WD
    [ -f bottom-menu.conf.en ] || cp bottom-menu.conf bottom-menu.conf.en
    rm bottom-menu.conf
    while read LINE; do
      # pckgDESC_LANG="`gettext \"${pckgDESC}\"`" #ex:"Ein GNU-Archivierungsprogramm" #once upon a time...
      case $LINE in
        *.png) label="${LINE%%|*}"
               label="${label% *}" ;;
      esac
      transl_label="`gettext \"${label}\"`"
      echo "${LINE/$label/$transl_label}" >> bottom-menu.conf
    done < bottom-menu.conf.en
    cd - >/dev/null
}

translate_openbox_menu_bottom()
{
   mkdir -p $HOME/.config/openbox
    rm $HOME/.config/openbox/menu.xml 2>/dev/null
    while read LINE; do
      # pckgDESC_LANG="`gettext \"${pckgDESC}\"`" #ex:"Ein GNU-Archivierungsprogramm" #once upon a time...
      label=
      case $LINE in
        *root-menu\"\ label\=\"*) label= ;;
               *item\ label\=\"*)
                                 case $LINE in
                                     *ob-xdgmenu*) label= ;;   
                                                *) label="${LINE%\"*}" label="${label#*\"}" ;;
                                 esac ;;       
        *label\=\"*) label="${LINE%\"*}"
                     label="${label%\"*}" label="${label#*\"}" ;;
      esac
   #   transl_label="`gettext \"${label}\"`"
#      [ "$label" ] &&  transl_label="`gettext "${label}"`"
      [ "$label" ] &&  transl_label="$(eval echo `gettext "${label}"`)"

#      [ "$transl_label" ] && translatedLINE="${LINE//$label/$transl_label}"
      [ "$transl_label" ] && LINE="${LINE//$label/$transl_label}"
      echo "${LINE}" >> $HOME/.config/openbox/menu.xml || die "no write to menu.xml"
      echo "${LINE}
      "
    done < /etc/xdg/openbox/menu.xml
}

translate_pinboard()
{
  cd ${PUPPYPIN%/*}
  [ -f $PUPPYPIN.en ] || cp $PUPPYPIN $PUPPYPIN.en
  rm $PUPPYPIN
  while read LINE; do
    # pckgDESC_LANG="`gettext \"${pckgDESC}\"`" #ex:"Ein GNU-Archivierungsprogramm" #once upon a time...
    case "$LINE" in
      *Home*|*Web\ Browser*|*Trash*)
        label="${LINE%%>*}"
        label="${label##*=}"
        label="${label//\"/}"
        transl_label="`gettext \"${label}\"`"
        LINE="${LINE/$label/$transl_label}"
        ;;
    esac
    echo "$LINE" >> $PUPPYPIN
  done < $PUPPYPIN.en
  cd - > /dev/null
}

sed -i 's/showText=true/showText=false/' $HOME/.config/razor/razor-panel/panel.conf
[ $(id -u) -ne 0 ] && gtksu "$(gettext 'Sorry, need root password for using translation of razor menu bottom')" translate_razor_menu_bottom

translate_openbox_menu_bottom
openbox --reconfigure
openbox --restart

fixmenus
pidof jwm && jwm -reload

translate_pinboard

# LABEL is "The text displayed under the icon" # LABEL is set in fatdog-quick-locale-switcher
oldLABEL="`grep '/toggleLANG</icon>' ${PUPPYPIN} | cut -d'"' -f6`" #'Geany fix
if [ ! "$LABEL" ]; then
  WDIR=/tmp/toggleLANG
  my_languages=$WDIR/language_names
  L="`grep ^${LANG%%.*} $my_languages || grep -m 1 ^${LANG%%_*} $my_languages`" #ex:de_BE Deutsch
  LABEL=${L#* } #ex:Deutsch
fi
sed -i "s/$oldLABEL/$LABEL/" ${PUPPYPIN}

for command in razor-panel freemem.sh sven
do echo "
  ===> $command:
  "
  [ "`pidof $command`" ] && kill `pidof $command`
  $command &
done

# To keep /tmp small these should be done if and then before X is restarted:
#rm -rf /tmp/freememapplet.${USER}.${XSESSION_ID}
#rm -rf /tmp/wpa_ctrl_* 
#rm -rf /tmp/redraw-icons.*
Will test it later.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3445
Location: www.eussenheim.de/

PostPosted: Sat 21 Feb 2015, 13:58    Post subject: non-root user  

Test for user fido.

.config/geany not accessable
non-root_geany.png
 Description   
 Filesize   31.13 KB
 Viewed   545 Time(s)

non-root_geany.png

Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3354
Location: The Blue Marble

PostPosted: Sat 21 Feb 2015, 15:36    Post subject:  

L18L wrote:
BTW, Puppy's fixmenus fixes (several ) menus.
Fatdog's fixmenus fixes (just one menu) jwm.
On purpose.

@L18L: I will check the updated i18n script, but it won't make it to final, it will go the release after that. But please continue reporting.

EDIT: I can't reproduce your geany issue. I booted qemu (no savefile), run fatdog-user-manager, create fido, run choose "launch desktop as fido", from there I launched geany and everything is all right.

Thanks!

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 5459
Location: GB

PostPosted: Sun 22 Feb 2015, 07:52    Post subject:  

Quote:
So that's not it. If you want to try, download the package from shinobar's, right-click - choose "convert package", the right-click on the newly created package and choose "install package", restart your browser, and try the beeb player. See if it works. I would be surprised if it does, but the world is always full of surprises :)

Sorry, jb - it doesn't. Must be 'something else' ! Back to you, I'm afraid. What is everyone else doing?
Can't be a million miles away. Re-confirmed that Wary64 works OK using getflash.
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 5459
Location: GB

PostPosted: Mon 23 Feb 2015, 04:29    Post subject:  

More about FP:
jb & friends - if you visit the Vivladi website, you can see the discussion about FlashPlayer there. Allegedly, PepperFlash works with their preliminary offering. I wouldn't have a clue about how incorporate it into FD, but I'm sure you do. If you can do this I can test it.
As to how worthwhile in this context, remember that [1]Puppy users voted twice that (old)Opera was their favourite browser[2]in GB, unless a working iPlayer is available, any OS is a dead duck[3]Love it or hate it, BBC is the largest broadcasting network in the world by a very large margin[4]wealthy Americans subscribe as external BBC viewers (even a antipodians, too!)[5]Adobe deserves to be kicked![6]not too sure about the Google connection?[6]FP is one of the largest Vivaldi live discussions.
Back to top
View user's profile Send private message 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Mon 23 Feb 2015, 05:56    Post subject:
Subject description: The BBC
 

Sage,

In your case www = whinge, waffle and wind.

From say, wet and windy Wales
what’s wrong watching BBC:

* With a decent browser (see screen shot), or

* Without a browser (see screen shot)

* With a TV, but Puppy Precise 5.6 works wonderfully well.
Back to top
View user's profile Send private message 
Q5sys


Joined: 11 Dec 2008
Posts: 1126

PostPosted: Mon 23 Feb 2015, 13:15    Post subject:  

Sage wrote:
More about FP:
jb & friends - if you visit the Vivladi website, you can see the discussion about FlashPlayer there. Allegedly, PepperFlash works with their preliminary offering. I wouldn't have a clue about how incorporate it into FD, but I'm sure you do. If you can do this I can test it.
As to how worthwhile in this context, remember that [1]Puppy users voted twice that (old)Opera was their favourite browser[2]in GB, unless a working iPlayer is available, any OS is a dead duck[3]Love it or hate it, BBC is the largest broadcasting network in the world by a very large margin[4]wealthy Americans subscribe as external BBC viewers (even a antipodians, too!)[5]Adobe deserves to be kicked![6]not too sure about the Google connection?[6]FP is one of the largest Vivaldi live discussions.


Do you think Vivaldi is better than Otter?
Back to top
View user's profile Send private message Visit poster's website 
Sage

Joined: 04 Oct 2005
Posts: 5459
Location: GB

PostPosted: Mon 23 Feb 2015, 13:44    Post subject:  

Quote:
Do you think Vivaldi is better than Otter?

Haven't tried it yet, have you? Not exactly banging the drum for Vivaldi at present. Jon has a lot more work to do - only alpha, presently.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 10 of 11 [154 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0669s ][ Queries: 13 (0.0124s) ][ GZIP on ]