Page 11 of 15

Re: Puppy-Setup: change to UTF-8 does not get permanent

Posted: Fri 30 Mar 2012, 10:15
by BarryK
L18L wrote:
LaRioja wrote:I have installed Racy 5.2.90 on my AMD LE 1250 box and chose German locale in the Quick Setup but I accidentally did not tick UTF-8 Encoding. I changed this later in Puppy-Setup, but it doesn't get permanent. So on every reboot I have to change to UTF-8 again.
Is there something wrong?
Thanks for a hint.
Yes, there is something wrong, I have been trying to reproduce this in a similiar way.

racy 5.2.90 pfix=ram
chosen LANG: de_DE (without utf8)
saved to a new save file called racysave-de_DE.2fs

then reboot
and chosen racysave-de_DE.2fs

# cat /proc/cmdline
video=640x480 root=/dev/sda3 ro vga=normal pdev1=sda3
#
# echo $LANG
de_DE.UTF-8
#

repeated chooselocale (de_DE) several times

My observation:
change to non-UTF-8 does not get permanent

I donĀ“t think this is specific to German.
Other languages, please test: changing to/from utf-8

Hope this will help locating the bug
I am not having any problem.

Running as a German user, I used quickcountry (symlink to quicksetup) to untick and tick the UTF-8 checkbox. There was no problem.

The problem may occur if you altered the initrd.gz the first time, to say de_DE-UTF-8, then that will be used at a reboot. QuickCountry/QuickSetup will offer to change the initrd.gz if you change the UTF-8 checkbox.

xgamma-gui

Posted: Fri 30 Mar 2012, 12:45
by L18L
gettexted and changed
Input values from 1 to 100 (not 199)

Code: Select all

#!/bin/bash
#Written by PANZERKOPF
#100215 hacked by BK
#120329 i18n
#120330 10.0 = 100 using bc now because: Gamma values must be between 0.100 and 10.000 L18L

. gettext.sh
export TEXTDOMAIN=xgamma-gui
export OUTPUT_CHARSET=UTF-8

TITLE="$(gettext 'Monitor Gamma calibration')"
BACKTITLE="$(gettext 'Set percentage value for each colour,\nor adjust equally if only want to adjust\nbrightness of screen')"

if [ "`which xgamma`" = "" ]; then
 Xdialog --title "${TITLE}" --msgbox "$(gettext 'xgamma not found.')" 0 0
 exit
fi

GAMMA='100/100/100' # percentages
#file contains one line like this: xgamma -rgamma 1.00 -ggamma 1.00 -bgamma 1.00 #100/100/100
#file contains one line like this: xgamma -rgamma 10.00 -ggamma 9.90 -bgamma 10.00 #100/99/100
[ -f $HOME/.xgamma-gamma ] && GAMMA="`cat $HOME/.xgamma-gamma | cut -f 2 -d '#'`"

EXCODE="0"
while [ "${EXCODE}" = "0" ]; do

 if [ ! -z ${xGAMMA} ]; then
  echo ${xGAMMA}
  #xgamma -rgamma ${xGAMMA:0:1}.${xGAMMA:1:2} -ggamma ${xGAMMA:4:1}.${xGAMMA:5:2} -bgamma ${xGAMMA:8:1}.${xGAMMA:9:2}
  rg=`echo ${xGAMMA} | cut -d '/' -f1` ; rgf=`echo "scale=3; $rg / 10" | bc -l`
  gg=`echo ${xGAMMA} | cut -d '/' -f2` ; ggf=`echo "scale=3; $gg / 10" | bc -l`
  bg=`echo ${xGAMMA} | cut -d '/' -f3` ; bgf=`echo "scale=3; $bg / 10" | bc -l`
  xgamma -rgamma $rgf -ggamma $ggf -bgamma $bgf
  sGAMMA=${xGAMMA}
  xgamma
 #fi
 else # inclusion of this block is new
  #echo GAMMA=$GAMMA 
  rg=`echo ${GAMMA} | cut -d '/' -f1` ; rgf=`echo "scale=3; $rg / 10" | bc -l`
  gg=`echo ${GAMMA} | cut -d '/' -f2` ; ggf=`echo "scale=3; $gg / 10" | bc -l`
  bg=`echo ${GAMMA} | cut -d '/' -f3` ; bgf=`echo "scale=3; $bg / 10" | bc -l`
 fi
# xGAMMA=`Xdialog --screen-center --left --backtitle "${BACKTITLE}" --title "${TITLE}" --stdout --buttons-style "text" --icon "/usr/share/images/xgamma-gui.xpm" --ok-label "$(gettext 'Apply')" --cancel-label "$(gettext 'Exit')" \
#--3spinsbox "" 0 0 "0" "199" "${GAMMA:0:3}" "$(gettext 'Red')" "0" "199" "${GAMMA:4:3}" "$(gettext 'Green')" "0" "199" "${GAMMA:8:3}" "$(gettext 'Blue')"`
 xGAMMA=`Xdialog --screen-center --left --backtitle "${BACKTITLE}" --title "${TITLE}" --stdout --buttons-style "text" --icon "/usr/share/images/xgamma-gui.xpm" --ok-label "$(gettext 'Apply')" --cancel-label "$(gettext 'Exit')" \
--3spinsbox "" 0 0 "0" "100" "${rg}" "$(gettext 'Red')" "0" "100" "${gg}" "$(gettext 'Green')" "0" "100" "${bg}" "$(gettext 'Blue')"`
 EXCODE=${?}

done

if [ ! -z ${sGAMMA} ]; then
 #Xdialog --yesno "$(gettext 'Save current configuration?')" 0 0
 Xdialog --ok-label "$(gettext 'Yes')" --cancel-label "$(gettext 'No')" --yesno "$(gettext 'Save current configuration?')" 0 0
  if [ ${?} -eq 0 ]; then
   #echo -n "xgamma -rgamma ${sGAMMA:0:1}.${sGAMMA:1:2} -ggamma ${sGAMMA:4:1}.${sGAMMA:5:2} -bgamma ${sGAMMA:8:1}.${sGAMMA:9:2}"' &' > $HOME/.xgamma-gamma
   #echo -n "xgamma -rgamma $rg -ggamma $gg -bgamma $bg"' &' > $HOME/.xgamma-gamma
   echo -n "xgamma -rgamma $rgf -ggamma $ggf -bgamma $bgf"' &' > $HOME/.xgamma-gamma
   echo " #${sGAMMA}" >> $HOME/.xgamma-gamma
   #...xgamma is executed in /root/.xinitrc
   echo "$(gettext 'Saved')"
   #ummm, but if defaults, don't need xgamma...
   [ "$sGAMMA" = "100/100/100" ] && rm -f $HOME/.xgamma-gamma #saves time in .xinitrc
  fi
fi

###END###

Posted: Fri 30 Mar 2012, 22:17
by vicmz
BarryK wrote:
vicmz wrote:unable to fix wrong translations in menus

just one example:

the Bcrypt entry should say 'cifrado de archivos' (file encryption), the existing translation says 'encriptado de aplicaciones' (application encryption) -- the word 'encriptar', is so un-Spanish :roll:

langpack_es installs the new translations, but existing fuzzy translations remain
Ok, I have removed the "Name[es]" entry from rootfs-skeleton/usr/share/applications/Bcrypt-file-encryption.desktop in Woof.

I will upload Woof soon.
Thanks. The attached file contains the remaining fixes, you can replace the files in Woof by those in this .tar.gz so that you don't have to open and edit each file individually:

Posted: Fri 30 Mar 2012, 23:09
by BarryK
I have uploaded Wary and Racy 5.2.91 (5.3RC2), see announcement:

http://bkhome.org/blog/?viewDetailed=02774

The last two posts above got missed out. Sorry, I will look at those soon, thanks for the info.

Posted: Sat 31 Mar 2012, 00:51
by James C
Fresh frugal install of 5.2.91. All basics working on initial boot.
Only problems are those mentioned earlier .... not really that big of a deal.As long as the PPM and browsers work I guess I can live without Wget..... :)

Any chance of a faster place to download Wary/Racy.

Posted: Sat 31 Mar 2012, 01:41
by Pete22
At other download sites for puppies: I can get similar sized puppies in about 4 minutes My brother can download them about as fast as he can click his mouse.

It takes more than 20 minutes to download a standard sized puppy from the ibiblio site, no matter how fast our personal connections are.

Would you consider allowing wary/racy to also be hosted at one of these faster download locations?

Pete

flash 11.r202 not working

Posted: Sat 31 Mar 2012, 02:03
by broomdodger
flash 11.r202 not working
racy5291
frugal manual
automatic flash install
flash 11.r202 not working

delete /usr/lib/mozilla/plugins/libflashplayer.so

copy flash 11.r102 from racy5290
flash 11.r102 is working

Posted: Sat 31 Mar 2012, 07:33
by Sage
Extended d/l times from ibiblio this morning?
The momentary left-click on sr0 disappearing icon feature is back!

Re: flash 11.r202 not working

Posted: Sat 31 Mar 2012, 07:34
by Terryphi
broomdodger wrote:flash 11.r202 not working
racy5291
frugal manual
automatic flash install
flash 11.r202 not working

delete /usr/lib/mozilla/plugins/libflashplayer.so

copy flash 11.r102 from racy5290
flash 11.r102 is working
I have upgraded to Flashplayer 11.2.202.228 which works reliably on Wary and Racy.

Posted: Sat 31 Mar 2012, 07:39
by Terryphi
Sage wrote:Extended d/l times from ibiblio this morning?
The momentary left-click on sr0 disappearing icon feature is back!
Morning Sage,

Download from this mirror which is must faster than ibiblio:

http://ftp.nluug.nl/ftp/pub/os/Linux/distr/quirky/test/

Posted: Sat 31 Mar 2012, 07:50
by BarryK
James C wrote:Fresh frugal install of 5.2.91. All basics working on initial boot.
Only problems are those mentioned earlier .... not really that big of a deal.As long as the PPM and browsers work I guess I can live without Wget..... :)
I think that I sent you a pm to try the '-4' option with wget. Have you tried that?

That is, insert '-4' like this:

# wget -4 <url>

Re: Any chance of a faster place to download Wary/Racy.

Posted: Sat 31 Mar 2012, 07:52
by scsijon
Pete22 wrote:At other download sites for puppies: I can get similar sized puppies in about 4 minutes My brother can download them about as fast as he can click his mouse.

It takes more than 20 minutes to download a standard sized puppy from the ibiblio site, no matter how fast our personal connections are.

Would you consider allowing wary/racy to also be hosted at one of these faster download locations?

Pete
I sugest that you check with your local university to see if they are mirroring some part of ibiblio, if so it should be easy to get them to add a couple of extra's (puppylinux and quirky) if they are not already doing so. You can also always try M.I.T. or Berkley.

ibiblio has been slow for some time now, I've found that http://ftp.nluug.nl/ftp/pub/os/Linux/distr/ is often much faster than ibiblio when my local http://mirror.aarnet.edu.au/pub/, here in australia has had problems.

Posted: Sat 31 Mar 2012, 08:02
by James C
BarryK wrote:
James C wrote:Fresh frugal install of 5.2.91. All basics working on initial boot.
Only problems are those mentioned earlier .... not really that big of a deal.As long as the PPM and browsers work I guess I can live without Wget..... :)
I think that I sent you a pm to try the '-4' option with wget. Have you tried that?

That is, insert '-4' like this:

# wget -4 <url>
Been busy and forgot ....... :)
Let's try to download Flash.....

Code: Select all

# wget -4 http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz 
--2012-03-31 03:01:37--  http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz
Resolving fpdownload.macromedia.com (fpdownload.macromedia.com)... 184.87.2.70
Connecting to fpdownload.macromedia.com (fpdownload.macromedia.com)|184.87.2.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6746733 (6.4M) [application/x-gzip]
Saving to: `install_flash_player_11_linux.i386.tar.gz'

100%[======================================>] 6,746,733    159K/s   in 42s     

2012-03-31 03:02:18 (158 KB/s) - `install_flash_player_11_linux.i386.tar.gz' saved [6746733/6746733]

# 
Success.Glad you reminded me....

Posted: Sat 31 Mar 2012, 08:03
by BarryK
Find some bugs guys!

I am merrily using this pup, and apart from a couple of little things that I found right off, all is well. :happy:

There is the mysterious wget/ping failure problem, that so far has only affected one person.

I have some updated langpacks that I will upload soon:

fr 20120330 (esmourguit)
pl 20120327 (robwoj44)

I want to freeze everything, essential bug fixes only. Hold over unessential changes to later. Maybe can get the 5.3-final out in a couple of days?

Anyway, please play with the apps, let us know if anything crashes and burns.

Wary/Racy 5.3RC2 (5.2.91)

Posted: Sat 31 Mar 2012, 08:09
by L18L
Found a little thing, too :)

Posted: Sat 31 Mar 2012, 08:20
by BarryK
James C wrote:
BarryK wrote:
James C wrote:Fresh frugal install of 5.2.91. All basics working on initial boot.
Only problems are those mentioned earlier .... not really that big of a deal.As long as the PPM and browsers work I guess I can live without Wget..... :)
I think that I sent you a pm to try the '-4' option with wget. Have you tried that?

That is, insert '-4' like this:

# wget -4 <url>
Been busy and forgot ....... :)
Let's try to download Flash.....

Code: Select all

# wget -4 http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz 
--2012-03-31 03:01:37--  http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz
Resolving fpdownload.macromedia.com (fpdownload.macromedia.com)... 184.87.2.70
Connecting to fpdownload.macromedia.com (fpdownload.macromedia.com)|184.87.2.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6746733 (6.4M) [application/x-gzip]
Saving to: `install_flash_player_11_linux.i386.tar.gz'

100%[======================================>] 6,746,733    159K/s   in 42s     

2012-03-31 03:02:18 (158 KB/s) - `install_flash_player_11_linux.i386.tar.gz' saved [6746733/6746733]

# 
Success.Glad you reminded me....
Good. /usr/sbin/delayedrun calls /usr/sbin/download_file to download the flash player, and this already has the '-4' parameter for wget.

The -4 forces wget to use ipv4 instead of the default of ipv6 (in recent versions of wget).

So the only remaining problem is with 'ping'. Earlier on I looked at the ping man page here:
http://linux.die.net/man/8/ping

...which does not even mention ipv4 or ipv6.

However, I have just down another search, and found an example that uses -4 with ping:

# ping -4 www.google.com

...please try this!
...in fact, if it solves the problem I will put that option into the script permanently.
...if anyone tries this and it doesn't work for you, let me know that too.

Posted: Sat 31 Mar 2012, 08:27
by James C
BarryK wrote:
James C wrote:
BarryK wrote: I think that I sent you a pm to try the '-4' option with wget. Have you tried that?

That is, insert '-4' like this:

# wget -4 <url>
Been busy and forgot ....... :)
Let's try to download Flash.....

Code: Select all

# wget -4 http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz 
--2012-03-31 03:01:37--  http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz
Resolving fpdownload.macromedia.com (fpdownload.macromedia.com)... 184.87.2.70
Connecting to fpdownload.macromedia.com (fpdownload.macromedia.com)|184.87.2.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6746733 (6.4M) [application/x-gzip]
Saving to: `install_flash_player_11_linux.i386.tar.gz'

100%[======================================>] 6,746,733    159K/s   in 42s     

2012-03-31 03:02:18 (158 KB/s) - `install_flash_player_11_linux.i386.tar.gz' saved [6746733/6746733]

# 
Success.Glad you reminded me....
Good. /usr/sbin/delayedrun calls /usr/sbin/download_file to download the flash player, and this already has the '-4' parameter for wget.

The -4 forces wget to use ipv4 instead of the default of ipv6 (in recent versions of wget).

So the only remaining problem is with 'ping'. Earlier on I looked at the ping man page here:
http://linux.die.net/man/8/ping

...which does not even mention ipv4 or ipv6.

However, I have just down another search, and found an example that uses -4 with ping:

# ping -4 www.google.com

...please try this!
...in fact, if it solves the problem I will put that option into the script permanently.
...if anyone tries this and it doesn't work for you, let me know that too.
Success again.

Code: Select all

# ping -4 www.google.com
PING www.google.com (74.125.130.105): 56 data bytes
64 bytes from 74.125.130.105: seq=0 ttl=47 time=54.372 ms
64 bytes from 74.125.130.105: seq=1 ttl=47 time=54.576 ms
64 bytes from 74.125.130.105: seq=2 ttl=47 time=53.047 ms
64 bytes from 74.125.130.105: seq=3 ttl=47 time=54.248 ms
64 bytes from 74.125.130.105: seq=4 ttl=47 time=53.920 ms
64 bytes from 74.125.130.105: seq=5 ttl=47 time=54.361 ms
64 bytes from 74.125.130.105: seq=6 ttl=47 time=54.549 ms
64 bytes from 74.125.130.105: seq=7 ttl=47 time=53.557 ms
64 bytes from 74.125.130.105: seq=8 ttl=47 time=54.242 ms
64 bytes from 74.125.130.105: seq=9 ttl=47 time=53.940 ms
64 bytes from 74.125.130.105: seq=10 ttl=47 time=54.443 ms
64 bytes from 74.125.130.105: seq=11 ttl=47 time=54.399 ms
Some of the "other" distros use ipv6 by default in their browsers and it's necessary to disable it before I can even get online.

Believe that solves my little problem. Thanks. :)

Re: Wary/Racy 5.3RC2 (5.2.91)

Posted: Sat 31 Mar 2012, 08:36
by BarryK
L18L wrote:Found a little thing, too :)
Good, a bug! Thanks, I fixed it.

Posted: Sat 31 Mar 2012, 08:59
by BarryK
James C wrote:
BarryK wrote:
James C wrote: Been busy and forgot ....... :)
Let's try to download Flash.....

Code: Select all

# wget -4 http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz 
--2012-03-31 03:01:37--  http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz
Resolving fpdownload.macromedia.com (fpdownload.macromedia.com)... 184.87.2.70
Connecting to fpdownload.macromedia.com (fpdownload.macromedia.com)|184.87.2.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6746733 (6.4M) [application/x-gzip]
Saving to: `install_flash_player_11_linux.i386.tar.gz'

100%[======================================>] 6,746,733    159K/s   in 42s     

2012-03-31 03:02:18 (158 KB/s) - `install_flash_player_11_linux.i386.tar.gz' saved [6746733/6746733]

# 
Success.Glad you reminded me....
Good. /usr/sbin/delayedrun calls /usr/sbin/download_file to download the flash player, and this already has the '-4' parameter for wget.

The -4 forces wget to use ipv4 instead of the default of ipv6 (in recent versions of wget).

So the only remaining problem is with 'ping'. Earlier on I looked at the ping man page here:
http://linux.die.net/man/8/ping

...which does not even mention ipv4 or ipv6.

However, I have just down another search, and found an example that uses -4 with ping:

# ping -4 www.google.com

...please try this!
...in fact, if it solves the problem I will put that option into the script permanently.
...if anyone tries this and it doesn't work for you, let me know that too.
Success again.

Code: Select all

# ping -4 www.google.com
PING www.google.com (74.125.130.105): 56 data bytes
64 bytes from 74.125.130.105: seq=0 ttl=47 time=54.372 ms
64 bytes from 74.125.130.105: seq=1 ttl=47 time=54.576 ms
64 bytes from 74.125.130.105: seq=2 ttl=47 time=53.047 ms
64 bytes from 74.125.130.105: seq=3 ttl=47 time=54.248 ms
64 bytes from 74.125.130.105: seq=4 ttl=47 time=53.920 ms
64 bytes from 74.125.130.105: seq=5 ttl=47 time=54.361 ms
64 bytes from 74.125.130.105: seq=6 ttl=47 time=54.549 ms
64 bytes from 74.125.130.105: seq=7 ttl=47 time=53.557 ms
64 bytes from 74.125.130.105: seq=8 ttl=47 time=54.242 ms
64 bytes from 74.125.130.105: seq=9 ttl=47 time=53.940 ms
64 bytes from 74.125.130.105: seq=10 ttl=47 time=54.443 ms
64 bytes from 74.125.130.105: seq=11 ttl=47 time=54.399 ms
Some of the "other" distros use ipv6 by default in their browsers and it's necessary to disable it before I can even get online.

Believe that solves my little problem. Thanks. :)
Another bug bites the dust!

"ping -4" doesn't seem to do any harm. Hopefully no one will report that it messes things up for them.

I have put the -4 option for ping into these scripts:
Pudd, check_internet, video_upgrade_wizard.

Posted: Sat 31 Mar 2012, 09:10
by James C
No problems with the latest Flash in either SeaMonkey or Opera.