| Author |
Message |
aragon
Joined: 15 Oct 2007 Posts: 1690 Location: Germany
|
Posted: Fri 05 Mar 2010, 04:55 Post subject:
|
|
guys, afaik the shutdown problems are due to a code-change in wmpoweroff, wmreboot,...
not on puppy right now but will try to post a workaround later.
aragon
_________________ PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
|
|
Back to top
|
|
 |
aragon
Joined: 15 Oct 2007 Posts: 1690 Location: Germany
|
Posted: Fri 05 Mar 2010, 08:10 Post subject:
|
|
so here we are again. test this
1. open /usr/bin/wmpoweroff in a text editor.
2. edit line 30 ff
| Code: | #w003
CURRENTWM="`cat /etc/windowmanager`"
kill -9 `pidof $CURRENTWM` |
to this
| Code: | #w003
#CURRENTWM="`cat /etc/windowmanager`"
#kill -9 `pidof $CURRENTWM`
killall X
sleep 1
exec killall -9 X |
3. Save the file
4. Test poweroff
If this works, apply the patch also to wmreboot and wmexit.
aragon
_________________ PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
|
|
Back to top
|
|
 |
steve_s

Joined: 26 May 2008 Posts: 1543 Location: Austin, TX, USA
|
Posted: Fri 05 Mar 2010, 17:01 Post subject:
|
|
| aragon wrote: | so here we are again. test this
1. open /usr/bin/wmpoweroff in a text editor.
2. edit line 30 ff
| Code: | #w003
CURRENTWM="`cat /etc/windowmanager`"
kill -9 `pidof $CURRENTWM` |
to this
| Code: | #w003
#CURRENTWM="`cat /etc/windowmanager`"
#kill -9 `pidof $CURRENTWM`
killall X
sleep 1
exec killall -9 X |
3. Save the file
4. Test poweroff
If this works, apply the patch also to wmreboot and wmexit.
aragon |
Thanks, Aragon! I'll give this a run....
|
|
Back to top
|
|
 |
`f00

Joined: 06 Nov 2008 Posts: 787 Location: the Western Reserve
|
Posted: Fri 05 Mar 2010, 20:24 Post subject:
Subject description: Steve Miller's a Tejas boy, too |
|
mmhm..
As a wm dilettante, I'd find that I needed to ungracefully 'kick' my mod of plogout with ctrl+alt+bs (and then I rediscovered the 'endlines' thing for wmpoweroff, wmreboot and startwm with recent pups) - it's even nicer if there is a wmexit file as well ..
.. keep on a-rockin' me, baby …
|
|
Back to top
|
|
 |
Shep
Joined: 08 Nov 2008 Posts: 840 Location: GIRT-BY-SEA
|
Posted: Mon 08 Mar 2010, 04:55 Post subject:
|
|
| aragon wrote: | so here we are again. test this
| Code: | #CURRENTWM="`cat /etc/windowmanager`"
#kill -9 `pidof $CURRENTWM`
killall X
sleep 1
exec killall -9 X |
|
Those 5 lines were already present, though the first two
were not commented out. So I commented them out,
but it made no difference. Still didn't poweroff.
I'm using dpup477 on a PIII
Thanks for trying.
|
|
Back to top
|
|
 |
aragon
Joined: 15 Oct 2007 Posts: 1690 Location: Germany
|
Posted: Mon 08 Mar 2010, 05:03 Post subject:
|
|
| Shep wrote: | | aragon wrote: | so here we are again. test this
| Code: | #CURRENTWM="`cat /etc/windowmanager`"
#kill -9 `pidof $CURRENTWM`
killall X
sleep 1
exec killall -9 X |
|
Those 5 lines were already present, though the first two
were not commented out. So I commented them out,
but it made no difference. Still didn't poweroff.
I'm using dpup477 on a PIII
Thanks for trying.  |
shep,
yes the lines are allready present, but it was lighter to display it in that way...
to be a little clearer on what issue 'could' be solved with my workaround:
a) could be solved
you use poweroff (reboot,...) from the menu and nothing happens, because X doesn't close. if you shutdown from cli, everything works as expected.
b) could NOT be solved
your pc shuts down except last step. often a problem with acpi...
aragon
_________________ PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
|
|
Back to top
|
|
 |
steve_s

Joined: 26 May 2008 Posts: 1543 Location: Austin, TX, USA
|
Posted: Mon 08 Mar 2010, 10:22 Post subject:
|
|
[quote="aragon"] | Shep wrote: |
yes the lines are allready present, but it was lighter to display it in that way...
to be a little clearer on what issue 'could' be solved with my workaround:
a) could be solved
you use poweroff (reboot,...) from the menu and nothing happens, because X doesn't close. if you shutdown from cli, everything works as expected.
b) could NOT be solved
your pc shuts down except last step. often a problem with acpi...
aragon |
Ah; yeah, when I try (without your changes) from cli it shuts down but doesn't turn off...so this wouldn't fix that, hmmm...I still need to test it though...
|
|
Back to top
|
|
 |
Shep
Joined: 08 Nov 2008 Posts: 840 Location: GIRT-BY-SEA
|
Posted: Thu 11 Mar 2010, 02:26 Post subject:
|
|
| Shep wrote: |
I'm using dpup477 on a PIII |
| Code: | # ls -l /proc/apm /proc/acpi
ls: cannot access /proc/acpi: No such file or directory
-r--r--r-- 1 root root 0 2010-03-11 17:26 /proc/apm |
|
|
Back to top
|
|
 |
steve_s

Joined: 26 May 2008 Posts: 1543 Location: Austin, TX, USA
|
Posted: Fri 10 Sep 2010, 21:01 Post subject:
|
|
If anyone cares I'm hacking on Lupu 5.1.1 and have fluxbox running on it. It will take a while if it is at all possible to strip and clean, etc., but just wanted to mention that I'm playing with it right now.
If I can pull it off I'll start another thread...
|
|
Back to top
|
|
 |
James C

Joined: 26 Mar 2009 Posts: 4735 Location: Kentucky
|
Posted: Fri 10 Sep 2010, 22:02 Post subject:
|
|
I'm still running a PupFluxLite install........ ready to try out a new version.
|
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2407 Location: Montenegro
|
Posted: Sat 11 Sep 2010, 02:09 Post subject:
|
|
Hey Steve, if you want fluxbox on lupu try my packake I made for dpup. it already has menu generator for puppy "Refresh menus" and option to change wallpaper from menu + fluxconf: fluxbox-1.1.1-i486-dpup.pet
_________________

|
|
Back to top
|
|
 |
steve_s

Joined: 26 May 2008 Posts: 1543 Location: Austin, TX, USA
|
Posted: Sat 11 Sep 2010, 09:45 Post subject:
|
|
See, I knew I was behind on the game... Nice, dejan! I'll get that one going as it looks more stable...
|
|
Back to top
|
|
 |
steve_s

Joined: 26 May 2008 Posts: 1543 Location: Austin, TX, USA
|
Posted: Sat 11 Sep 2010, 15:26 Post subject:
|
|
Oh, dejan you rock! Man that looks good!
Forgot how easy it is to add stuff to the menu...added Hide or Show desktop icons courtesy of forum member "seeker," from here.
Thanks to dejan's work it greatly expedites things. I'm going to play with the menu and strip out jwm and all I can and change a couple of things then I'll post an iso...hopefully in a week or sooner...
| Description |
|
| Filesize |
53.73 KB |
| Viewed |
871 Time(s) |

|
|
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2407 Location: Montenegro
|
Posted: Sun 12 Sep 2010, 06:04 Post subject:
|
|
Glad it worked Steve
BTW, here's a pet with some choosen styles that I packed also few of them that I made and Azenis theme for puppy:
10FluxStyles.pet
_________________

|
|
Back to top
|
|
 |
steve_s

Joined: 26 May 2008 Posts: 1543 Location: Austin, TX, USA
|
Posted: Sun 12 Sep 2010, 12:41 Post subject:
|
|
| dejan555 wrote: | Glad it worked Steve
BTW, here's a pet with some choosen styles that I packed also few of them that I made and Azenis theme for puppy:
10FluxStyles.pet |
Nice! Thanks!
|
|
Back to top
|
|
 |
|