Precise Puppy 5.7.1
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.
- 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.
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
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 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 => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
i think this is the right one .... i got it from pemasu https://dl.dropboxusercontent.com/u/195 ... -0.0.1.petASRI é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,
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
- Sky Aisling
- Posts: 1368
- Joined: Sat 27 Jun 2009, 23:02
- Location: Port Townsend, WA. USA
Precise Puppy 5.7.1
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.
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.
Re: Precise Puppy 5.7.1
Try by console:Sky Aisling wrote:
Password box comes up but does not respond.
Code: Select all
xlock
Code: Select all
xlock --help
Code: Select all
xlock -password string
- Sky Aisling
- Posts: 1368
- Joined: Sat 27 Jun 2009, 23:02
- Location: Port Townsend, WA. USA
Precise Puppy 5.7.1
Thank you, watchdog
My bad apparently. I rebooted and all is fine now.
One letter entered as password, then 'enter' and Xlock activated.
My bad apparently. I rebooted and all is fine now.
One letter entered as password, then 'enter' and Xlock activated.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Precise Puppy 5.7.1
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.
Here is my fix to get a back button that enables everyone
- to repeat the entire process
- or cancel without shutdown.
script attached for your conveniance#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')"
- Attachments
-
- shutdownconfig_with_back_button.png
- (10.22 KiB) Downloaded 2177 times
-
- shutdownconfig.gz
- save as
/usr/sbin/shutdownconfig
(remove .gz)
make executable - (42.5 KiB) Downloaded 411 times
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Re: Precise Puppy 5.7.1
I'll try soon. This functionality can be very interesting.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.
Thank you.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- MyPuppysaysWauWau
- Posts: 162
- Joined: Thu 20 Feb 2014, 10:12
- Location: Austria/Vienna
Screenshot
Hi,
Screeny 0.7 fails on my Laptop (Dell XPS1210)
Regards from Vienna,
Walter
Screeny 0.7 fails on my Laptop (Dell XPS1210)
Regards from Vienna,
Walter
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:
? ? ?
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: Select all
#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: Select all
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
}
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Re: Precise Puppy 5.7.1
Danke, L18L.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.
(...)
This simple solution was waiting for someone to think about it, and you did!
(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
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Hi, RSH.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:
(...)
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).
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
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!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
https://github.com/puppylinux-woof-CE/w ... a82da03e11
Puppy Linux Blog - contact me for access
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Precise Puppy 5.7.1
No, I don't know as I don't care about derivates....musher0 wrote:How exportable is it? To other Puppy derivatives, I mean. Do you know?
Ah bon, la PensOcracy"Il suffisait d'y penser."
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
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
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Hello,RSH wrote: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?
I think VirtualBox wrong.
For a non PAE Precise 5.71, you can use precise-5.7.1-retro.iso
http://distro.ibiblio.org/quirky/precise-5.7.1/
Cordialement,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
PAE support on VirtualBox
Ensure the virtual machine settings.RSH wrote: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.
- Attachments
-
- virtualbox_pae.png
- Of course the real CPU need to support PAE
- (10.19 KiB) Downloaded 2647 times
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
Thanks.
I found this and tried this already. It began to boot, but it hangs when it comes to: making the filesystem usable...
A Precise 5.6 derivative and original Slacko 5.6.3 do make exactly the same problems. Lucid and THD boots fine.
Any clue, how to solve this (it destroys a vision of a cool app/function otherwise).
I found this and tried this already. It began to boot, but it hangs when it comes to: making the filesystem usable...
A Precise 5.6 derivative and original Slacko 5.6.3 do make exactly the same problems. Lucid and THD boots fine.
Any clue, how to solve this (it destroys a vision of a cool app/function otherwise).
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
- MyPuppysaysWauWau
- Posts: 162
- Joined: Thu 20 Feb 2014, 10:12
- Location: Austria/Vienna