| Author |
Message |
pemasu

Joined: 08 Jul 2009 Posts: 5170 Location: Finland
|
Posted: Mon 09 Apr 2012, 16:02 Post subject:
|
|
I noticed the same typso and posted about it in precise pangolin thread some time ago.
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2686 Location: Kiel,Germany
|
Posted: Mon 09 Apr 2012, 16:33 Post subject:
|
|
Forum is just to big to be everywhere !
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2686 Location: Kiel,Germany
|
Posted: Tue 10 Apr 2012, 11:34 Post subject:
|
|
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: | # 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)
#
|
|
Back to top
|
|
 |
alec78
Joined: 18 Mar 2010 Posts: 47
|
Posted: Tue 10 Apr 2012, 13:26 Post subject:
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
|
|
Back to top
|
|
 |
FeodorF

Joined: 07 Jul 2010 Posts: 70 Location: Heidelberg, Germany
|
Posted: Tue 10 Apr 2012, 14:39 Post subject:
Re: Wary 5,3-"puppy_wary_5.3.sfs not found"-Update |
|
| 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
| Description |
|
| Filesize |
39.11 KB |
| Viewed |
341 Time(s) |

|
|
|
Back to top
|
|
 |
nubc

Joined: 23 Jan 2007 Posts: 739 Location: USA
|
Posted: Tue 10 Apr 2012, 14:41 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2686 Location: Kiel,Germany
|
Posted: Tue 10 Apr 2012, 15:15 Post subject:
|
|
devil os !
while make snapmergepuppy is running
| Code: | # 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 |
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2686 Location: Kiel,Germany
|
Posted: Wed 11 Apr 2012, 00:40 Post subject:
|
|
| 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. |
| Description |
|
| Filesize |
33.92 KB |
| Viewed |
1416 Time(s) |

|
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2686 Location: Kiel,Germany
|
Posted: Wed 11 Apr 2012, 06:58 Post subject:
|
|
The corner tags appeared again, now seems to trace them back to
/root/.jwm/themes/DeepBlueBold-jwmrc :
| Code: | # 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 .
|
|
Back to top
|
|
 |
FeodorF

Joined: 07 Jul 2010 Posts: 70 Location: Heidelberg, Germany
|
Posted: Wed 11 Apr 2012, 10:39 Post subject:
Re:nubc wrote |
|
| 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!
| Description |
|
| Filesize |
94.27 KB |
| Viewed |
1326 Time(s) |

|
| Description |
|
| Filesize |
67.79 KB |
| Viewed |
1338 Time(s) |

|
Last edited by FeodorF on Wed 11 Apr 2012, 20:55; edited 1 time in total
|
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 326 Location: Ukraine
|
Posted: Wed 11 Apr 2012, 16:23 Post subject:
/usr/sbin/shutdownconfig |
|
In script /usr/sbin/shutdownconfig some gettext should be added to line 629:
| Code: | | 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 |
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2686 Location: Kiel,Germany
|
Posted: Thu 12 Apr 2012, 05:08 Post subject:
|
|
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: | # 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.
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1726 Location: Burghaslach, Germany
|
Posted: Fri 13 Apr 2012, 05:53 Post subject:
momanager Subject description: pinstall of langpack |
|
| 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
| Quote: | 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
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: | 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: | | 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: | #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, 11:58; edited 5 times in total
|
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 326 Location: Ukraine
|
Posted: Fri 13 Apr 2012, 14:17 Post subject:
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.
| Description |
|
| Filesize |
42.67 KB |
| Viewed |
1107 Time(s) |

|
|
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 326 Location: Ukraine
|
Posted: Mon 16 Apr 2012, 16:12 Post subject:
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...
|
|
Back to top
|
|
 |
|