Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Jul 2014, 10:15
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Wary and Racy 5.3 final
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 14 [209 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 12, 13, 14 Next
Author Message
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Mon 09 Apr 2012, 16:02    Post subject:  

I noticed the same typso and posted about it in precise pangolin thread some time ago. Very Happy
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3953
Location: Kiel,Germany

PostPosted: Mon 09 Apr 2012, 16:33    Post subject:  

Forum is just to big to be everywhere ! Mr. Green Laughing
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3953
Location: Kiel,Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
alec78

Joined: 18 Mar 2010
Posts: 47

PostPosted: 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
View user's profile Send private message 
FeodorF


Joined: 07 Jul 2010
Posts: 150
Location: Heidelberg, Germany

PostPosted: 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
copy_of_mnt_home.png
 Description   
 Filesize   39.11 KB
 Viewed   448 Time(s)

copy_of_mnt_home.png

Back to top
View user's profile Send private message 
nubc


Joined: 23 Jan 2007
Posts: 994
Location: USA

PostPosted: 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
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3953
Location: Kiel,Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3953
Location: Kiel,Germany

PostPosted: 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.
screen.jpg
 Description   
 Filesize   33.92 KB
 Viewed   1519 Time(s)

screen.jpg

Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3953
Location: Kiel,Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
FeodorF


Joined: 07 Jul 2010
Posts: 150
Location: Heidelberg, Germany

PostPosted: 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!
NotJustBlue_GotSomeGreyToo_.png
 Description   
 Filesize   94.27 KB
 Viewed   1445 Time(s)

NotJustBlue_GotSomeGreyToo_.png

FriendOfMineAtWork.jpg
 Description   
 Filesize   67.79 KB
 Viewed   1456 Time(s)

FriendOfMineAtWork.jpg


Last edited by FeodorF on Wed 11 Apr 2012, 20:55; edited 1 time in total
Back to top
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: 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
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3953
Location: Kiel,Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2500
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: 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 Exclamation
------------------------------
edited 20120420
not quite perfect Embarassed
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:
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
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: 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.
partview.png
 Description   
 Filesize   42.67 KB
 Viewed   1214 Time(s)

partview.png

Back to top
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 14 [209 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 12, 13, 14 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1203s ][ Queries: 13 (0.0113s) ][ GZIP on ]