Shutdown button
At this moment I'm using the /sbin/halt command to shutdown the system. Is there a way to add a shutdown button to kmenu? I have updated my kdmrc file with the right settings.
[Shutdown] HaltCmd=/sbin/halt RebootCmd=/sbin/reboot UseLilo=true [X-*-Core] AllowNullPasswd=false AllowRootLogin=false AllowSdForceNow=Root AllowShutdown=All AutoReLogin=false ClientLogFile=.xsession-errors-%s DefaultSdMode=ForceNow Reset=/usr/kde/3.3/share/config/kdm/Xreset ScheduledSd=Optional Session=/usr/kde/3.3/share/config/kdm/Xsession SessionsDirs=/usr/share/xsessions Setup=/usr/kde/3.3/share/config/kdm/Xsetup Startup=/usr/kde/3.3/share/config/kdm/Xstartup [X-:*-Core] AllowNullPasswd=true AllowRootLogin=true AllowShutdown=All ShutdownButton=All NoPassEnable=false NoPassUsers= Any advise? Thx again! |
It automatically appear in the kmenu if you log in using kdm. You can also add it to your kicker (panel) by right clicking on the panel -> Add to panel -> Applet -> Lock/Logout Applet.
|
Both Lock Session and Logout are visable in the Kmenu but these buttons do not Shutdown. If I use Lock it will lock the terminal, if I use logout it just logs out and appears again with an login screen. Your suggestion about adding applets does the same.
Any other suggestions? |
in the KDE Menu Editor do:
File->new item->(give any name, e.g. "shutdown") and in "Command" put /sbin/halt that's it! =) |
Great! That was the answer I was looking for, was indeed really easy............... Is there also a way to put this "button" in the Actions area in the Kmenu?
|
there is a program called KshutDown
http://kde-apps.org/content/show.php?content=9754 if you want to add a service menu to shutdown then you could do something like this Code:
[Desktop Entry] /opt/kde3/share/apps/konqueror/servicemenus/ or /usr/share/apps/konqueror/servicemenus/ NOTE : i havent tested it as i am at work now (using windows ;( ) , so you may have to edit it http://developer.kde.org/documentati...vicemenus.html http://www.kde-apps.org/content/show...793f94187a3d3d |
Quote:
follow heema if you want to put this "button" in the Actions area in the Kmenu... Cheers!! |
All times are GMT -5. The time now is 02:13 AM. |