Page 3 of 11

Posted: Sun 08 Apr 2012, 18:35
by linuxcbon
Initial volume is too low 82%, 100% is best.

Re: Can't Find puppy_wary_5.3.3.sfs

Posted: Sun 08 Apr 2012, 20:09
by rockdove
[/quote]9. Start geany and create an empty file named:'ATAHD'. Save this file in the 'wary53test' folder. Change the files permission to 'a+x'
. . .

Rem.> If this works nor either, then put the pc in an envelope an mail it to me.[/quote]

Thanks FeodorF. Making that empty ATAHD file made all the difference. :D
I'm typing this now with Seamonkey 2.6.1 in Wary 5.3 --

A good thing, too, since I don't have an envelop big enough for the laptop with the Dell desktop monitor (the original LCD screen died and is now in some corner somewhere upstairs).

Posted: Mon 09 Apr 2012, 00:53
by linuxcbon
When right-clicking on desktop icon sda5, unmount sda5, still shown as mounted and in dmesg

Code: Select all

busybox: sending ioctl 4c01 to a partition!
May come from losetup or truecrypt or something like that.

Re: Wary 5.3

Posted: Mon 09 Apr 2012, 18:55
by oui
alec78 wrote:Hi All,

Did a manual update to a frugal install on the hard disc, deleted the save file so there would be no conflicts, edited the boot.lst file, shut down and booted into Wary 5.3, result, "Searching for Puppy Files ... puppy_wary_5.3.sfs not found. Dropping out to initial ramdisc console . . ."
Booted into Arch on the same laptop, navigated to the puppy_wary_5.3.sfs file, in the same directory as the initrd and vmlinuz files, and checked its permissions, Arch said it had none, so I changed it to "read only", shut down and re=booted into Wary, result exactly as before, dropped to ramdisc console.
Anyone have any ideas before I have to burn a CD?

Cheers
same problem...

(Source of my ISO: link in distrowatch.com not the torrent!)

Posted: Mon 09 Apr 2012, 19:51
by Karl Godt
Small mini-typso in '/usr/local/petget/findnames.sh' :

I dont use ppm much, but detected that guvcview is a really nice app for laptops/notebooks with a builtin camera .

1+2: guvcview was not listed in the wary5 repo
and produced a well known message "-title" :lol:

Code: Select all

  # diff /initrd/pup_ro2/usr/local/petget/findnames.sh /usr/local/petget/findnames.sh
56c56
<  pupmessage -bg red -center -title "$(getext 'PPM find')" "$(gettext 'Sorry, no matching package name')" & #110223 run as separate process.
---
>  pupmessage -bg red -center -title "$(gettext 'PPM find')" "$(gettext 'Sorry, no matching package name')" & #110223 run as separate process.
The first gettext bis missing a "t" .

guvcview-1.5.0-w5c.pet

runs ok on racy

Posted: Mon 09 Apr 2012, 20:02
by pemasu
I noticed the same typso and posted about it in precise pangolin thread some time ago. :D

Posted: Mon 09 Apr 2012, 20:33
by Karl Godt
Forum is just to big to be everywhere ! :mrgreen: :lol:

Posted: Tue 10 Apr 2012, 15:34
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)

#

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

Posted: Tue 10 Apr 2012, 17:26
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

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

Posted: Tue 10 Apr 2012, 18:39
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

Posted: Tue 10 Apr 2012, 18:41
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.

Posted: Tue 10 Apr 2012, 19:15
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

Posted: Wed 11 Apr 2012, 04:40
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.

Posted: Wed 11 Apr 2012, 10:58
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 .

Re:nubc wrote

Posted: Wed 11 Apr 2012, 14:39
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!

/usr/sbin/shutdownconfig

Posted: Wed 11 Apr 2012, 20:23
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

Posted: Thu 12 Apr 2012, 09:08
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.

momanager

Posted: Fri 13 Apr 2012, 09:53
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


=====================================

partview

Posted: Fri 13 Apr 2012, 18:17
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.

mplayer fullscreen

Posted: Mon 16 Apr 2012, 20:12
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...