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 01 Oct 2014, 00:35
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Precise Puppy 5.7.1
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 23 of 25 [368 Posts]   Goto page: Previous 1, 2, 3, ..., 21, 22, 23, 24, 25 Next
Author Message
linuxcbon

Joined: 09 Aug 2007
Posts: 762

PostPosted: Mon 03 Feb 2014, 10:44    Post subject:  

precise 5.7.1

- I notice for rox, /root/Choices/MIME-types/ should be instead by default /root/.config/rox.sourceforge.net/MIME-types
- is perl used in any program in puppy ? pplog? or can be moved to devx ?
- /root/.jwmrc-tray has programs which dont exist : gexec, blinkydelayed, xtmix, asapmshell.
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2467
Location: France

PostPosted: Wed 05 Feb 2014, 09:40    Post subject:  

Hello,

I want incorporate the acpi/acpitool functions in french version of Precise Puppy 5.7.1 (for suspend option with laptop).
Is it possible?

Regards,

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
666philb


Joined: 07 Feb 2010
Posts: 1723
Location: wales

PostPosted: Wed 05 Feb 2014, 15:01    Post subject:  

ASRI éducation wrote:
Hello,

I want incorporate the acpi/acpitool functions in french version of Precise Puppy 5.7.1 (for suspend option with laptop).
Is it possible?

Regards,


i think this is the right one .... i got it from pemasu https://dl.dropboxusercontent.com/u/19554672/acpid-suspend-0.0.1.pet

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send private message 
Sky Aisling


Joined: 27 Jun 2009
Posts: 908
Location: Port Townsend, WA. USA

PostPosted: Sun 09 Feb 2014, 18:33    Post subject: Precise Puppy 5.7.1
Subject description: Xlock Password Issue
 

Hi All,
Hope this is the correct thread to post this.
Xlock on Puppy 5.7.1 doesn't activate the password.
The machine make/model doesn't seem to matter.

Here's what I get:

Password box comes up but does not respond.

All else looks normal as far as configuration choices.

Any clues or suggestions are appreciated.
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 583

PostPosted: Mon 10 Feb 2014, 01:57    Post subject: Re: Precise Puppy 5.7.1
Subject description: Xlock Password Issue
 

Sky Aisling wrote:


Password box comes up but does not respond.



Try by console:

Code:
xlock


Code:
xlock --help


Code:
xlock -password string
Back to top
View user's profile Send private message 
Sky Aisling


Joined: 27 Jun 2009
Posts: 908
Location: Port Townsend, WA. USA

PostPosted: Mon 10 Feb 2014, 08:12    Post subject: Precise Puppy 5.7.1
Subject description: Xlock Issue SOLVED
 

Thank you, watchdog
My bad apparently. I rebooted and all is fine now.
One letter entered as password, then 'enter' and Xlock activated.
Rolling Eyes
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2507
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Sat 22 Feb 2014, 13:37    Post subject: Precise Puppy 5.7.1
Subject description: shutdownconfig : back button instead of CHANGE_FOLDER
 

New forum member MyPuppysaysWauWau has posted about issues with shutdownconfig: no back button.

Here is my fix to get a back button that enables everyone
- to repeat the entire process
- or cancel without shutdown.
Quote:
#final sanity check...
AAAMB=`expr $SIZEPFILE \/ 1024`
T_sanititle="$(gettext 'First shutdown: sanity check')"
T_saniyes="$(gettext 'YES, SAVE')"
T_sanichange="$(gettext 'CHANGE FOLDER')"
while [ 1 ];do #110926
T_sanitext="`eval_gettext \"\Zb\Z1FINAL SANITY CHECK:\Zn\ZB
Partition you are saving to: \Zb\\\${SAVEPART}\ZB
The filesystem of \\\${SAVEPART} partition: \Zb\\\${SAVEFS}\ZB
Name of the save file: \Zb\\\${NAMEONLY}\ZB
Path (folder) of the save file: \Zb\\\${SAVEPATH}\ZB
Size of save file: \Zb\\\${SIZEPFILE}KB (\\\${AAAMB}MB)\ZB
Filesystem inside save file: \Zb\\\${SFFS}\ZB
\"`
"
T_back="$(gettext 'back')"
T_sanitext="$T_sanitext
`eval_gettext \"If they definitely look right, choose \Zb\\\${T_saniyes}\ZB button...
Looks ok, but you want to change the folder or anything else, choose \Zb\\\${T_back}\ZB...
If you decide not to save, choose \Zb\\\${T_notsave}\ZB...\"`"
# ${DIALOGEXE} ${BACKGROUNDYELLOW} ${TITLEPARAM} "$T_sanititle" --colors --no-collapse --extra-button --ok-label "$T_saniyes" --extra-label "$T_sanichange" --cancel-label "$T_notsave" --yesno "$T_sanitext" 0 0 >/dev/console #110926
${DIALOGEXE} ${BACKGROUNDYELLOW} ${TITLEPARAM} "$T_sanititle" --colors --no-collapse --extra-button --ok-label "$T_saniyes" --extra-label "$T_back" --cancel-label "$T_notsave" --yesno "$T_sanitext" 0 0 >/dev/console #140222

SANITYRET=$?
[ $SANITYRET -ne 0 -a $SANITYRET -ne 3 ] && return 1
[ $SANITYRET -eq 0 ] && break
# if [ $SANITYRET -eq 3 ];then #change folder.
if [ $SANITYRET -eq 3 ];then #start fresh
$0
exit
T_choosefoldertitle="$(gettext 'First shutdown: choose folder')"

script attached for your conveniance
shutdownconfig_with_back_button.png
 Description   
 Filesize   10.22 KB
 Viewed   1186 Time(s)

shutdownconfig_with_back_button.png

shutdownconfig.gz
Description  save as
/usr/sbin/shutdownconfig
(remove .gz)
make executable
gz

 Download 
Filename  shutdownconfig.gz 
Filesize  42.5 KB 
Downloaded  122 Time(s) 
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2467
Location: France

PostPosted: Sat 22 Feb 2014, 13:57    Post subject: Re: Precise Puppy 5.7.1
Subject description: shutdownconfig : back button instead of CHANGE_FOLDER
 

L18L wrote:
New forum member MyPuppysaysWauWau has posted about issues with shutdownconfig: no back button.

Here is my fix to get a back button that enables everyone
- to repeat the entire process
- or cancel without shutdown.

I'll try soon. This functionality can be very interesting.
Thank you.

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
MyPuppysaysWauWau


Joined: 20 Feb 2014
Posts: 109
Location: Austria/Vienna

PostPosted: Sun 23 Feb 2014, 08:23    Post subject:  Screenshot
Subject description: works not correctly!
 

Hi,

Screeny 0.7 fails on my Laptop (Dell XPS1210) Sad





Regards from Vienna,
Walter
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Mon 03 Mar 2014, 01:15    Post subject:  

Hi.

What I did learn from programming functions, is: usually one can have only one function per name or one name per function.

I did not learn that it would be possible to have two functions using an equal name within the same code.

So why there is function free_coord twice in /usr/local/pup_event/frontend_funcs ???

Which one is used ?

If both are used, how does this work ?

And which one is executed first ?

Any clues ?

Thanks.

RSH

Code 1:
Code:
#v431 shinobar: fix for overlapping icons at some screen resolutions...
free_coord() {
 #find a free place on desktop. v410 avoid exact overlapping icons...
 #for left or right, i have flipped logic, so 'y' is horizontal...
 COORDSGRID="`grep -o ' x="[0-9]*" y="[0-9]*" ' /root/Choices/ROX-Filer/PuppyPin | sed 's/[0-9]"/"/g'`"
 case $ICON_PLACE_ORIENTATION in #091208 see /etc/eventmanager
  bottom|right)
   COORD_Y=`expr $SCRN_Y - $ICON_PLACE_EDGE_GAP` #091208 default 64, see /etc/eventmanager
  ;;
  *) #top or left
   COORD_Y=$ICON_PLACE_EDGE_GAP
 esac
 # import from v4.20p1JP 5Jun09, 18aug09 by Masaki Shinomiya : snap on the grid
 PIN_GRID_STEP=`grep "pinboard_grid_step" $HOME/.config/rox.sourceforge.net/ROX-Filer/Options | sed -e "s/ *<[^>]*>//g"`
 if [ "$PIN_GRID_STEP" ] && [ $PIN_GRID_STEP -gt 0 ];then
  PIN_GRID_STEP2=`expr $PIN_GRID_STEP / 2`
  COORD_Y=`expr \( $COORD_Y + $PIN_GRID_STEP2 \) / $PIN_GRID_STEP '*'  $PIN_GRID_STEP`
 fi
 COORD_X=$ICON_PLACE_START_GAP #091208 default 32, see /etc/eventmanager
 MAX_X=`expr $SCRN_X - 96`
 xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
 xyCNT=0 #precaution.
 while [ 1 ];do
  xgPATTERN="`echo -n "$xPATTERN" |  sed 's/[0-9]"/"/g'`"
  [ "`echo "$COORDSGRID" | grep "$xgPATTERN"`" = "" ] && break
  COORD_X=`expr $COORD_X + $ICON_PLACE_SPACING` #091208
  if [ $COORD_X -gt $MAX_X ];then #091208 start next line up.
   xyCNT=`expr $xyCNT + 1`
   [ $xyCNT -gt 1 ] && break
   case $ICON_PLACE_ORIENTATION in #091208 see /etc/eventmanager
    bottom)
     COORD_Y=`expr $SCRN_Y - $ICON_PLACE_SPACING`
    ;;
    *)
     COORD_Y=`expr $SCRN_Y + $ICON_PLACE_SPACING`
    ;;
   esac
   COORD_X=$ICON_PLACE_START_GAP
  fi
  xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
 done
}


Code 2:
Code:
free_coord() {
 #find a free place on desktop. v410 avoid exact overlapping icons...
 #091208 finetune placement, also any side of screen...
 #read the coords grid, code from shinobar...
 COORDSGRID="`grep -o ' x="[0-9]*" y="[0-9]*" ' /root/Choices/ROX-Filer/PuppyPin | sed 's/[0-9]"/"/g'`"
 PIN_GRID_STEP=`grep "pinboard_grid_step" $HOME/.config/rox.sourceforge.net/ROX-Filer/Options | sed -e "s/ *<[^>]*>//g"`
 [ ! $PIN_GRID_STEP ] && PIN_GRID_STEP=16 #16=medium.
 [ $PIN_GRID_STEP -eq 0 ] && PIN_GRID_STEP=16 #precaution.
 PIN_GRID_STEP2=`expr $PIN_GRID_STEP \/ 2`
 MAX_X=`expr $SCRN_X - 96`
 MAX_Y=`expr $SCRN_Y - 96`
 case $ICON_PLACE_ORIENTATION in #see /etc/eventmanager
  bottom)
   COORD_Y=`expr $SCRN_Y - $ICON_PLACE_EDGE_GAP` #default 64, see /etc/eventmanager
   COORD_Y=`expr \( $COORD_Y + $PIN_GRID_STEP2 \) / $PIN_GRID_STEP '*'  $PIN_GRID_STEP`
   COORD_X=$ICON_PLACE_START_GAP #default 32, see /etc/eventmanager
   COORD_X=`expr \( $COORD_X + $PIN_GRID_STEP2 \) / $PIN_GRID_STEP '*'  $PIN_GRID_STEP` #130613
   xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
   xyCNT=0 #precaution.
   while [ 1 ];do
    xgPATTERN="`echo -n "$xPATTERN" |  sed 's/[0-9]"/"/g'`"
    [ "`echo "$COORDSGRID" | grep "$xgPATTERN"`" = "" ] && break
    COORD_X=`expr $COORD_X + $ICON_PLACE_SPACING`
    if [ $COORD_X -gt $MAX_X ];then #start next line up.
     xyCNT=`expr $xyCNT + 1`
     [ $xyCNT -gt 1 ] && break
     COORD_Y=`expr $COORD_Y - $ICON_PLACE_SPACING`
     COORD_X=$ICON_PLACE_START_GAP
    fi
    xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
   done
  ;;
  top)
   COORD_Y=$ICON_PLACE_EDGE_GAP
   COORD_Y=`expr \( $COORD_Y + $PIN_GRID_STEP2 \) / $PIN_GRID_STEP '*'  $PIN_GRID_STEP`
   COORD_X=$ICON_PLACE_START_GAP #default 32, see /etc/eventmanager
   COORD_X=`expr \( $COORD_X + $PIN_GRID_STEP2 \) / $PIN_GRID_STEP '*'  $PIN_GRID_STEP` #130613
   xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
   xyCNT=0 #precaution.
   while [ 1 ];do
    xgPATTERN="`echo -n "$xPATTERN" |  sed 's/[0-9]"/"/g'`"
    [ "`echo "$COORDSGRID" | grep "$xgPATTERN"`" = "" ] && break
    COORD_X=`expr $COORD_X + $ICON_PLACE_SPACING`
    if [ $COORD_X -gt $MAX_X ];then #start next line down.
     xyCNT=`expr $xyCNT + 1`
     [ $xyCNT -gt 1 ] && break
     COORD_Y=`expr $COORD_Y + $ICON_PLACE_SPACING`
     COORD_X=$ICON_PLACE_START_GAP
    fi
    xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
   done
  ;;
  left)
   COORD_X=$ICON_PLACE_EDGE_GAP #default 64, see /etc/eventmanager
   COORD_X=`expr \( $COORD_X + $PIN_GRID_STEP2 \) / $PIN_GRID_STEP '*'  $PIN_GRID_STEP` #130613
   COORD_Y=$ICON_PLACE_START_GAP #default 32, see /etc/eventmanager
   COORD_Y=`expr \( $COORD_Y + $PIN_GRID_STEP2 \) / $PIN_GRID_STEP '*'  $PIN_GRID_STEP`
   xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
   xyCNT=0 #precaution.
   while [ 1 ];do
    xgPATTERN="`echo -n "$xPATTERN" |  sed 's/[0-9]"/"/g'`"
    [ "`echo "$COORDSGRID" | grep "$xgPATTERN"`" = "" ] && break
    COORD_Y=`expr $COORD_Y + $ICON_PLACE_SPACING`
    if [ $COORD_Y -gt $MAX_Y ];then #start next row.
     xyCNT=`expr $xyCNT + 1`
     [ $xyCNT -gt 1 ] && break
     COORD_X=`expr $COORD_X + $ICON_PLACE_SPACING`
     COORD_Y=$ICON_PLACE_START_GAP
    fi
    xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
   done
  ;;
  right)
   COORD_X=`expr $SCRN_X - $ICON_PLACE_EDGE_GAP` #default 64, see /etc/eventmanager
   COORD_X=`expr \( $COORD_X + $PIN_GRID_STEP2 \) / $PIN_GRID_STEP '*'  $PIN_GRID_STEP` #130613
   COORD_Y=$ICON_PLACE_START_GAP #default 32, see /etc/eventmanager
   COORD_Y=`expr \( $COORD_Y + $PIN_GRID_STEP2 \) / $PIN_GRID_STEP '*'  $PIN_GRID_STEP`
   xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
   xyCNT=0 #precaution.
   while [ 1 ];do
    xgPATTERN="`echo -n "$xPATTERN" |  sed 's/[0-9]"/"/g'`"
    [ "`echo "$COORDSGRID" | grep "$xgPATTERN"`" = "" ] && break
    COORD_Y=`expr $COORD_Y + $ICON_PLACE_SPACING`
    if [ $COORD_Y -gt $MAX_Y ];then #start next row back.
     xyCNT=`expr $xyCNT + 1`
     [ $xyCNT -gt 1 ] && break
     COORD_X=`expr $COORD_X - $ICON_PLACE_SPACING`
     COORD_Y=$ICON_PLACE_START_GAP
    fi
    xPATTERN=" x=\"${COORD_X}\" y=\"${COORD_Y}\" "
   done
  ;;
 esac
}


? ? ?

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4245
Location: Gatineau (Qc), Canada

PostPosted: Mon 03 Mar 2014, 01:54    Post subject: Re: Precise Puppy 5.7.1
Subject description: shutdownconfig : back button instead of CHANGE_FOLDER
 

L18L wrote:
New forum member MyPuppysaysWauWau has posted about issues with shutdownconfig: no back button.

Here is my fix to get a back button that enables everyone
- to repeat the entire process
- or cancel without shutdown.
(...)


Danke, L18L.

This simple solution was waiting for someone to think about it, and you did! Smile
(Very free translation of the French: "Il suffisait d'y penser.")

How exportable is it? To other Puppy derivatives, I mean. Do you know?

BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4245
Location: Gatineau (Qc), Canada

PostPosted: Mon 03 Mar 2014, 02:03    Post subject:  

RSH wrote:
Hi.

What I did learn from programming functions, is: usually one can have only one function per name or one name per function.
I did not learn that it would be possible to have two functions using an equal name within the same code.
So why there is function free_coord twice in /usr/local/pup_event/frontend_funcs ???
Which one is used ?
If both are used, how does this work ?
And which one is executed first ?
Any clues ?

Thanks.

RSH

Code 1:
(...)

Code 2:
(...)


Hi, RSH.

Do functions not behave like variables? Meaning: the 2nd one by the same name
supersedes (updates) the first? Not to mention that it should never happen in a
well-written script.

BFN.

musher0

PS. There are "literal" repetitions of script code in the "init" as well... (the one in initrd.gz).

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7805
Location: qld

PostPosted: Mon 03 Mar 2014, 18:13    Post subject:  

RSH wrote:
Hi.

What I did learn from programming functions, is: usually one can have only one function per name or one name per function.

I did not learn that it would be possible to have two functions using an equal name within the same code.

So why there is function free_coord twice in /usr/local/pup_event/frontend_funcs ???

Which one is used ?

If both are used, how does this work ?

And which one is executed first ?

Any clues ?

Thanks.

RSH


Nice catch RSH. This is now fixed in woof. Musher0 is right that the second function overrides the first so no bug was seen (regarding the duplification) however of course it is a bug!

https://github.com/puppylinux-woof-CE/woof-CE/commit/4d485bece9fd604c0cf37aa878fab8a82da03e11

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2507
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Wed 05 Mar 2014, 11:08    Post subject: Re: Precise Puppy 5.7.1
Subject description: shutdownconfig : back button instead of CHANGE_FOLDER
 

musher0 wrote:
How exportable is it? To other Puppy derivatives, I mean. Do you know?

No, I don't know as I don't care about derivates....

Quote:
"Il suffisait d'y penser."
Ah bon, la PensOcracy
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Sat 08 Mar 2014, 06:19    Post subject:  

Hi.

I tried to run Precise-5.7.1 in VirtualBox-4.3.4 (shinobar's edition), but VirtualBox complains about my computer doesn't have PAE. So it did not start.

Without VirtualBox I can run and use exactly this Precise-5.7.1 Version.

Is VirtualBox wrong or my Computer?

Is there a non PAE Precise-5.7.1?


Thanks,

RSH

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 23 of 25 [368 Posts]   Goto page: Previous 1, 2, 3, ..., 21, 22, 23, 24, 25 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.1356s ][ Queries: 13 (0.0119s) ][ GZIP on ]