[K12OSN] OT: icewm shutdown

Peter Hartmann ascensiontech at gmail.com
Sun Jan 22 04:30:12 UTC 2006


Funny, i did that and it and it didn't have any effect.  I also tried
giving my user sudo priveliges for /sbin/shutdown and changed the
prefs to:

ShutdownCommand="sudo /sbin/shutdown -h now"

But come to think of it doesn't matter if I'm logged in as root or not.

Weird huh?



On 1/21/06, Eric Harrison <eharrison at mail.mesd.k12.or.us> wrote:
> On Sat, 21 Jan 2006, Peter Hartmann wrote:
>
> > I'm using k12linux for a regular desktop install. Is there a
> > modification to icewm that disables shutdown?  No matter what I do to
> > the prefrences it still just logs out of icewm when I choose shutdown.
> >
> > Thanks!
> > Peter
>
> Edit /usr/share/icewm/preferences , the original "ShutdownCommand" and
> "RebootCommand" are commented out. Just comment out the disabled version
> and uncomment the original.
>
> Change:
>
>         # Command to shutdown the system
>         # ShutdownCommand="shutdown -h now"
>         ShutdownCommand=""
>
>         # Command to reboot the system
>         # RebootCommand="shutdown -r now"
>         RebootCommand=""
>
> To:
>
>         # Command to shutdown the system
>         ShutdownCommand="shutdown -h now"
>         # ShutdownCommand=""
>
>         # Command to reboot the system
>         RebootCommand="shutdown -r now"
>         # RebootCommand=""
>
> -Eric
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>




More information about the K12OSN mailing list