Re: Shutdown and reboot commands not working
Brought to you by:
captnmark
|
From: Keith W. <kwi...@tw...> - 2003-03-11 13:01:01
|
Cédric Chausson wrote: > No no I just want to shutdown like you. > > I don't care if I get a Confirm Logout box as long as it shuts down > after but it doesn't ! > > Any other ideas of what to configure ? Make sure the /sbin directory is in your path since that is where the shutdown program lives. Try "echo $PATH". I added /sbin and /usr/sbin to the my $PATH path in $HOME/.bash_profile, although the best place to set it depends on your distro and your shell. You should test whether the shutdown and reboot works from the command line outside of icewm. If it works from a console, it should work in icewm (after the $PATH is set). Check your $HOME/.icewm/preferences file to make sure these have not changed from the defaults: # Command to shutdown the system # ShutdownCommand="shutdown -h now" # Command to reboot the system # RebootCommand="shutdown -r now" Also, someone e-mailed me yesterday to let me know there is a preferences setting for the confirm dialog box: # Confirm logout # ConfirmLogout=1 # 0/1 The default is that you will get the confirmation dialog box. I have not tested this setting yet. Best Regards, Keith -- LPIC-2, MCSE, N+ Wake up, baby, cause I'm coming to you from the future -- D Wyndorf Got spam? Get spastic http://spastic.sourceforge.net |