Wary and Racy 5.3 final
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 :
# 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)
#
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 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)
#
Wary 5,3-"puppy_wary_5.3.sfs not found"-Update
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
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
Re: Wary 5,3-"puppy_wary_5.3.sfs not found"-Update
As Wary 5.2.2 seems to work fine for you, please do post these two files: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
/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
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.
devil os !
while make snapmergepuppy is running
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
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
The corner tags appeared again, now seems to trace them back to
/root/.jwm/themes/DeepBlueBold-jwmrc :
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 .
/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>
Re:nubc wrote
How about copying some themes from other Puppy versions: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.
/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.
/usr/sbin/shutdownconfig
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
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] :
[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.
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."
#
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.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
momanager
see: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.
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
and update of menu entries was perfectif [ -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
------------------------------
edited 20120420
not quite perfect
In the menu there were items of not installed apps
I will have to investigate further
------------------------------
==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
=====================================
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.
partview
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
mplayer fullscreen
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...
- puppy_apprentice
- Posts: 299
- Joined: Tue 07 Feb 2012, 20:32
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/
http://www.online-convert.com/
Wary and Racy 5.3 final
Edit: removed
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.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
momanager
Edited my solution for translating menu items, see
http://www.murga-linux.com/puppy/viewto ... 3&start=57
http://www.murga-linux.com/puppy/viewto ... 3&start=57