*grin* I went for the unclean method with my laptop.

RH9 machine... just added this to my file.menu

---[cut]---
"Power Down"    NULL    exec    "poweroff"
---[cut]---

No log out confirmation or anything... just an immediate drop to
runlevel 0 and system power down as soon as everything has stopped.

-Andy-

On Wed, 2003-06-04 at 13:57, Oliver Beyer wrote:
> YEAH!!! I MADE IT!
> 
> I wanted to halt the system after leaving E.
> It was not so easy to find out the right way,
> but once found, it`s sooo eeasy!
> 
> An Entry in ~/.enlightenment/file.menu starts 1st script "eexit":
> 
> #!/bin/sh
> # run fini in the background
> ~/bin/fini &
> 
> Then comes "fini":
> 
> #! /bin/sh
> # exit e & halt system 
> /usr/X11R6/bin/eesh -e exit     # pops up Log-Out-Dialog
> while /bin/ps -C X > /dev/null    # test if X is still running, suppress output
>     do
>     sleep 5                       # if true, wait 5.sec, and try again
>     done
>     /sbin/halt > /dev/tty1        # if false, halt system, print output to terminal
> 
> I put both in /<my home directory>/bin
> After that, I added to my ~/.profile
> 
> PATH=$PATH:/sbin:~/bin
> 
> to make sure halt and the scripts found by bash.
> Then set them executeable to users:
> 
> chmod u+s /sbin/halt  # might be crap, but any tries with change group
>                       # etc. won`t work. Got a better idea? let me know!!
> chmod u+x ~/bin/fini
> 
> So far, everything works well.
> 
> musketaquid
> ________________________________________________________________
> Mit der Grupppen-SMS von WEB.DE FreeMail k�nnen Sie eine SMS an alle 
> Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> enlightenment-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to