Wary and Racy 5.3 final

Please post any bugs you have found
Message
Author
User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#46 Post by pemasu »

I noticed the same typso and posted about it in precise pangolin thread some time ago. :D

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#47 Post by Karl Godt »

Forum is just to big to be everywhere ! :mrgreen: :lol:

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#48 Post by Karl Godt »

Short note about /sbin/init :

At the very end it seems that there is missing two slashes for 'dev/console'

and if the purpose to reboot is wanted to achieve , I cant see that running busybox init would reboot -- I think that /bin/busybox reboot [-f] is what is meant :

Code: Select all

 # diff /initrd/pup_ro2/sbin/init /sbin/init
129c129
<   exec chroot . sh -c "exec /bin/busybox init" <dev/console >dev/console 2>&1
---
>   exec chroot . sh -c "exec /bin/busybox init" </dev/console >/dev/console 2>&1
137c137
<   exec /bin/busybox init
---
>   exec /bin/busybox reboot -f
# busybox reboot --help
BusyBox v1.19.3 (2011-11-09 07:34:50 WST) multi-call binary.

Usage: reboot [-d DELAY] [-n] [-f]

Reboot the system

-d SEC Delay interval
-n Do not sync
-f Force (don't go through init)

#

alec78
Posts: 49
Joined: Thu 18 Mar 2010, 18:52

Wary 5,3-"puppy_wary_5.3.sfs not found"-Update

#49 Post by alec78 »

Hi all,

Well neither the ATAHD file trick nor an Universal frugal install (twice) worked, all gave the same error message of:

"puppy_wary_5.3.sfs not found".

Have reverted back to Wary 5.2.2.

Ho Hum

User avatar
FeodorF
Posts: 293
Joined: Wed 07 Jul 2010, 09:44
Location: Heidelberg, Germany

Re: Wary 5,3-"puppy_wary_5.3.sfs not found"-Update

#50 Post by FeodorF »

alec78 wrote:Hi all,

Well neither the ATAHD file trick nor an Universal frugal install (twice) worked, all gave the same error message of:

"puppy_wary_5.3.sfs not found".

Have reverted back to Wary 5.2.2.

Ho Hum
As Wary 5.2.2 seems to work fine for you, please do post these two files:

/etc/rc.d/PUPSTATE
menu.lst

It will also be helpfull to hardcopy your drives rootdirectory (/mnt/home)
Rem.> mine looks like this
Attachments
copy_of_mnt_home.png
(39.11 KiB) Downloaded 619 times

User avatar
nubc
Posts: 2062
Joined: Tue 23 Jan 2007, 18:41
Location: USA

#51 Post by nubc »

What's with the dominating blue color on desktop? The last few versions of Wary and Racy have this blue hue that puzzles me. I thought the ubiquitous blue desktop was out of vogue, and I have to agree with the opinion that all that blue is kinda ugly. Fonts look a little un-tweaked as well, compared to my Wary 5.1.1 full install.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#52 Post by Karl Godt »

devil os !

while make snapmergepuppy is running

Code: Select all

# diff /initrd/pup_ro2/sbin/pup_event_frontend_d /sbin/pup_event_frontend_d
783c783
<  [ "`echo "$RUNPS" | grep -E 'xorriso|xorrecord|xine|petget|wget|axel|dotpup|mplayer|gcurl|gimv|burniso2cd|growisofs|cdrecord|pcdripper|xfmedia|xmms|ripoff|pdvdrsab|pburn|mhwaveedit|installpkg\.sh|downloadpkgs\.sh|removepreview\.sh'`" != "" ] && continue
---
>  [ "`echo "$RUNPS" | grep -E 'make|gcc|cc|cmake|imake|xorriso|xorrecord|xine|petget|wget|axel|dotpup|mplayer|gcurl|gimv|burniso2cd|growisofs|cdrecord|pcdripper|xfmedia|xmms|ripoff|pdvdrsab|pburn|mhwaveedit|installpkg\.sh|downloadpkgs\.sh|removepreview\.sh'`" != "" ] && continue

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#53 Post by Karl Godt »

nubc wrote:What's with the dominating blue color on desktop? The last few versions of Wary and Racy have this blue hue that puzzles me. I thought the ubiquitous blue desktop was out of vogue, and I have to agree with the opinion that all that blue is kinda ugly. Fonts look a little un-tweaked as well, compared to my Wary 5.1.1 full install.
Attachments
screen.jpg
(33.92 KiB) Downloaded 1728 times

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#54 Post by Karl Godt »

The corner tags appeared again, now seems to trace them back to

/root/.jwm/themes/DeepBlueBold-jwmrc :

Code: Select all

# diff /initrd/pup_ro2/root/.jwm/themes/DeepBlueBold-jwmrc /root/.jwm/themes/DeepBlueBold-jwmrc
10d9
<        <Corner>#4A5966</Corner>
16d14
<        <Corner>#DCDAD5</Corner>
The new theme seems to be the only one in /root/.jwm/themes/ directory that still have them . Could not find them in the older theme-jwmrc files or they are commented out .

User avatar
FeodorF
Posts: 293
Joined: Wed 07 Jul 2010, 09:44
Location: Heidelberg, Germany

Re:nubc wrote

#55 Post by FeodorF »

nubc wrote:What's with the dominating blue color on desktop? The last few versions of Wary and Racy have this blue hue that puzzles me. I thought the ubiquitous blue desktop was out of vogue, and I have to agree with the opinion that all that blue is kinda ugly. Fonts look a little un-tweaked as well, compared to my Wary 5.1.1 full install.
How about copying some themes from other Puppy versions:

/usr/local/lib/X11//themes/Trinity (pemasu's debian version)
/root/.packages/builtin_files/desk_icon_theme_trinity

The blue frames can be changed at:

Menu>Desktop>Chtheme GTK theme chooser>Gradient-grey
Menu>Desktop>JWM configuration>Choose a JWM theme>Flat-grey

And finally change the background by adding new pictures:

/usr/share/backgrounds/FriendOfMineAtWork.jpg

Puppy Linux makes the difference!

Cheers!
Attachments
NotJustBlue_GotSomeGreyToo_.png
(94.27 KiB) Downloaded 1623 times
FriendOfMineAtWork.jpg
(67.79 KiB) Downloaded 1765 times
Last edited by FeodorF on Thu 12 Apr 2012, 00:55, edited 1 time in total.

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

/usr/sbin/shutdownconfig

#56 Post by rodin.s »

In script /usr/sbin/shutdownconfig some gettext should be added to line 629:

Code: Select all

pupdialog --background '#FFFF80' --colors --title "$T_canceltitle" --backtitle "$T_title" --timeout 240 --countdown "$T_countdown" --extra-button --ok-label "$(gettext 'SAVE TO FILE')"  --extra-label "$(gettext 'SAVE TO CD')" --cancel-label "$T_notsave" --yesno "$yesno" 0 0 >/dev/console

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#57 Post by Karl Godt »

The Rox-Filer froze opening /proc directory today , after it worked the last days . Had accidentally drain the battery so fsck was performed for the unencrypted ext3 save file on vfat mother partition .

Missed the old Puppy-4 fixitup script ; easier to type ' fixitup' than 'rox -p /root/Choices/ROX-Filer/PuppyPin' .

*

ADDED CHECK FOR BATTERY TO /sbin/pup_event_frontend_d script; also a stop parameter [includes debugging output, not tested well yet] :

Code: Select all

# diff /initrd/pup_ro2/sbin/pup_event_frontend_d /sbin/pup_event_frontend_d
37a38
> [ "$DISPLAY" = "" ] && exit #X not running.
39a41,59
> if [ "$1" = 'stop' ];then
> me_pid=$$
> echo "me_pid='$me_pid'"
> echo "'`pidof -o %PPID pup_event_frontend_d`'"
> echo "'`pidof -o %PPID pup_event_frontend_d|sed "s/$me_pid//"`'"
> echo "'`pidof -o %PPID pup_event_frontend_d|sed "s/$me_pid//;s/ //g"`'"
> echo -n "Stopping $0 ..."
> echo 'frontend_d stop' >/tmp/wmexitmode.txt
> while [ "`pidof -o %PPID pup_event_frontend_d|sed "s/$me_pid//;s/ //g"`" ];do
> sleep 2;c=$((c+1));[ $c -gt 9 ] && break;done
> if [ "`pidof -o %PPID pup_event_frontend_d|sed "s/$me_pid//;s/ //g"`" ];then
> echo -e "\e[70G\e[1;31m[failed]\e[0;39m"
> else
> echo -e "\e[72G\e[1;32m[done]\e[0;39m"
> fi
> rm /tmp/wmexitmode.txt
> exit 0
> fi
> 
59,60d78
< [ "$DISPLAY" = "" ] && exit #X not running.
< 
104a123,147
> #support warning for low battery
> BAT_0_info_file=/proc/acpi/battery/BAT0/info
> BAT_0_state_file=/proc/acpi/battery/BAT0/state
> BAT_0='0'
> if [ -f "$BAT_0_info_file" -a -f "$BAT_0_state_file" ];then
> BAT_0_DESIGN_CAPACITY=`grep 'design capacity:' "$BAT_0_info_file"`
> BAT_0_DESIGN_CAPACITY="${BAT_0_DESIGN_CAPACITY//[^[:digit:]]/}"
> BAT_0_WARN=$((BAT_0_DESIGN_CAPACITY/15))
> BAT_0_CURRENT=`grep 'remaining capacity:' "$BAT_0_state_file"`
> BAT_0_CURRENT="${BAT_0_CURRENT//[^[:digit:]]/}"
> [ "$BAT_0_DESIGN_CAPACITY" -a "$BAT_0_CURRENT" ] && BAT_0='1'
> fi
> 
670c713
< 
---
> echo "$0: Starting daemon mode"
756c799
<   continue
---
>   continue #sleep 2seconds+2seconds
758c801
<   TOGGLE=0
---
>   TOGGLE=0 #go on
766a810,821
>  MINUTECNT=$((MINUTECNT+4))
>  if [ $MINUTECNT -gt 59 ];then #come in here every minute...
>  MINUTECNT=0
>   if [ "$BAT_0" = '1' ];then
>   BAT_0_CURRENT=`grep 'remaining capacity:' "$BAT_0_state_file"`
>   BAT_0_CURRENT="${BAT_0_CURRENT//[^[:digit:]]/}"
>    if [ $BAT_0_CURRENT -lt $BAT_0_WARN ];then
>     aplay /usr/share/audio/2barks.au;aplay /usr/share/audio/2barks.au
>     pupmessage -bg red -timeout 30 "Battery State is: $BAT_0_CURRENT
> better to plug in ac adapter or poweroff the laptop "
>    fi #warn
>   fi #bat
769,771d823
<   MINUTECNT=`expr $MINUTECNT + 4`
<   if [ $MINUTECNT -gt 59 ];then #come in here every minute...
<    MINUTECNT=0
---
>   MOUSECNT=$((MOUSECNT+60))
778,779c830,832
<   fi
<  fi
---
>   fi #mouse powertimeout
>  fi #minutecount
783c835
<  [ "`echo "$RUNPS" | grep -E 'xorriso|xorrecord|xine|petget|wget|axel|dotpup|mplayer|gcurl|gimv|burniso2cd|growisofs|cdrecord|pcdripper|xfmedia|xmms|ripoff|pdvdrsab|pburn|mhwaveedit|installpkg\.sh|downloadpkgs\.sh|removepreview\.sh'`" != "" ] && continue
---
>  [ "`echo "$RUNPS" | grep -E 'make|gcc|xorriso|xorrecord|xine|petget|wget|axel|dotpup|mplayer|gcurl|gimv|burniso2cd|growisofs|cdrecord|pcdripper|xfmedia|xmms|ripoff|pdvdrsab|pburn|mhwaveedit|installpkg\.sh|downloadpkgs\.sh|removepreview\.sh'`" != "" ] && continue
816c868
< 
---
> echo "$0: Stopped."
# 
[edit : looked in the wrong file for the current state (was /proc/acpi/battery/BAT0/info 'last full capacity' and had to adjust MOUSECNT from +4 to +60 due to rearranging the code]
As a side note : echo -e "\e" works for busybox ash now , at least since version 1.17.x - did not work for Puppy-4 busybox ash version 1.15 .
The STRING substitution now seems to work in ash, too : no need for the many external expr and tr commands.
Had also put the DISPLAY test at top of the script;don't know if that is a good idea for slow machines.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

momanager

#58 Post by L18L »

vicmz wrote:On another topic, the attached file contains eight more menu entry files that have translations that can only be fixed by replacing the equivalent files in Woof. This time I made sure there weren't any more of them. No need to rush, they can be included for future releases.
see:
Wary/Racy 5.3RC2

On other words, my experience:
Updates of menu entries (in applications.in)
are made ONLY IF there is no menu entry existing in applications.

I have changed pinstall.sh
if [ -d usr/share/applications.in ];then
# for ADESKTOPFILE in `find usr/share/applications.in -mindepth 1 -maxdepth 1 -type f -name '*.desktop' | tr '\n' ' '`
# do
# ABASEDESKTOP="`basename $ADESKTOPFILE`"
# if [ -f usr/share/applications/${ABASEDESKTOP} ];then
# if [ "`grep '^Name\[de\]' usr/share/applications.in/${ABASEDESKTOP}`" != "" ];then
# if [ "`grep '^Name\[de\]' usr/share/applications/${ABASEDESKTOP}`" = "" ];then #L18L
# #aaargh, these accursed back-slashes! ....
# INSERTALINE="`grep '^Name\[de\]' usr/share/applications.in/${ABASEDESKTOP} | sed -e 's%\[%\\\\[%' -e 's%\]%\\\\]%'`"
# sed -i -e "s%^Name=%${INSERTALINE}\\nName=%" usr/share/applications/${ABASEDESKTOP}
# fi
# fi #L18L
# fi
# done
#rm -r -f usr/share/applications.in
#...don't remove it. might be useful for ppm when install future packages.
# copy applications.in in applications
cp -u /usr/share/applications.in/* /usr/share/applications #L18L

fi
and update of menu entries was perfect :!:
------------------------------
edited 20120420
not quite perfect :oops:
In the menu there were items of not installed apps
I will have to investigate further :wink:
------------------------------
==edited 20120423========================
Found and tested a solution which allows change of translated menu item.
pinstall.sh of langpack_* line 14 ff.:

Code: Select all

if [ -d /usr/share/applications.in ];then
 for ADESKTOPFILE in `find /usr/share/applications.in -mindepth 1 -maxdepth 1 -type f -name '*.desktop' | tr '\n' ' '`
 do
  ABASEDESKTOP="`basename $ADESKTOPFILE`"
  #if [ -f usr/share/applications/${ABASEDESKTOP} ];then
   #if [ "`grep '^Name\[de\]' usr/share/applications/${ABASEDESKTOP}`" = "" ];then
    if [ "`grep '^Name\[de\]' /usr/share/applications.in/${ABASEDESKTOP}`" != "" ];then
     #aaargh, these accursed back-slashes! ....
     #INSERTALINE="`grep '^Name\[de\]' /usr/share/applications.in/${ABASEDESKTOP} | sed -e 's%\[%\\\\[%' -e 's%\]%\\\\]%'`"
     #sed -i -e "s%^Name=%${INSERTALINE}\\nName=%" /usr/share/applications/${ABASEDESKTOP}
     #append a line (easier) 
     INSERTALINE="`grep '^Name\[de\]' /usr/share/applications.in/${ABASEDESKTOP} `"
     echo  "${INSERTALINE}" >> /usr/share/applications/${ABASEDESKTOP}
    fi
   #fi
  #fi
 done
 #rm -r -f usr/share/applications.in
 #...don't remove it. might be useful for ppm when install future packages.
fi
=====================================

edit
vicmz,
maybe

Code: Select all

cp -u /usr/share/applications.in/* /usr/share/applications
will solve your problem?


=====================================
2012-05-03 edited for the record
Tested another solution in langpack_de-20120503.pet

Put this code into pinstall.sh

Code: Select all

#Need to delete all Name[$LANG1]=..... in /usr/share/applications
cd /usr/share/applications
for AFILE in `ls *.desktop` ;do sed -i "/Name\[${LANG1}/d" $AFILE ;done
cd - # thus changes are possible too

edited Names in /usr/share/sss/menu_strings.de
ex:
s%"Restart JWM"%"JWM neustarten"%
s%"Abiwordprocessor"%"Abiwort-TextVA"%
s%"Abiword word processor"%"Abiword Textverarbeitung"%
s%"FFConvert multimedia converter"%"FFConvert Multimedia-Konverter"%
...

and deleted /usr/share/applications.in from langpack


=====================================
Last edited by L18L on Thu 03 May 2012, 15:58, edited 5 times in total.

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

partview

#59 Post by rodin.s »

Partview and 'df -h' show free space of my /dev/sdb4 drive differently: partview-4.3Gb and 'df -h' -2.6Gb. I tend to trust df -h. Something wrong with partview.
Attachments
partview.png
(42.67 KiB) Downloaded 1365 times

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

mplayer fullscreen

#60 Post by rodin.s »

gmplayer doesn't work in fullscreen mode. I don't care much about it as I always run mplayer in urxvt and it works ok, but people say...

kommisar
Posts: 17
Joined: Sun 20 Feb 2011, 13:50

unrar?

#61 Post by kommisar »

I can't seem to unrar some archive using the "zip" icon on the desktop. The application apparently doesn't work with rar files. Is there any easy way to add this functionality to Racy 5.3?

User avatar
puppy_apprentice
Posts: 299
Joined: Tue 07 Feb 2012, 20:32

#62 Post by puppy_apprentice »

u can try to find a tool called unrar or try to convert your rar file to eg. zip or tar and later use tools installed in Puppy:

http://www.online-convert.com/

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Wary and Racy 5.3 final

#63 Post by Billtoo »

Edit: removed

Pence
Posts: 200
Joined: Sat 30 Jul 2005, 13:27

#64 Post by Pence »

Racy 5.3 seems to work fine with Intel core i3-2120 and Asus P8 H67-M PRO with 4gb ram. Only video setting is 1024x768 60.0* but that is the one I would have selected. Edit: Now I have that problem of no shutdown or reboot and then xorg problem after manual shutdown.
Last edited by Pence on Tue 01 May 2012, 20:46, edited 1 time in total.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

momanager

#65 Post by L18L »

Edited my solution for translating menu items, see
http://www.murga-linux.com/puppy/viewto ... 3&start=57

Post Reply