-   Mageia (
-   -   One-click power down (

CollieJim 03-03-2013 08:48 AM

One-click power down
I'm using KDE4.

I need a 1 or 2 click way to power down my system. The keyboard shortcuts for kwin indicate that Ctrl-Alt-Shift-PgDn should do it, but it only works from the login screen.

I have session management set to default power off with no options or confirmation. No matter what I've tried, I always end up at the Login screen.

With previous systems, I have given users permission to execute /sbin/poweroff, however now it is a link to /sbin/systemctl and I'm not about to change permissions on that.

How do I enable the shortcuts that already have been defined?


corp769 03-03-2013 11:13 AM

Just curious, but would it be more feasible to open a terminal, or alt+F2, type "poweroff" and call it good?

CollieJim 03-03-2013 08:31 PM

I had made a false assumption: that poweroff/halt/reboot could only be used by root, as in some other systems.


PTrenholme 03-03-2013 09:39 PM

In the system settings you can change that (if you wish) and also change the action.

Also, by default, a left-click on the screen will give you a drop-down menu. Click on "Leave" and select an action from the pop-up box.

digigold 03-04-2013 08:56 AM


Originally Posted by CollieJim (Post 4903695)
I need a 1 or 2 click way to power down my system.

Jim the easiest way to do this on any distro IMHO is to create a clickable shortcut, icon, menu item, etc. that runs the following command in the terminal env as root:

# init 0
I never use any of the shutdown or reboot commands although they do sometimes have additional funcionality. For my money nothing beats init 6 and init 0! :twocents:

All times are GMT -5. The time now is 02:23 AM.