Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Mageia
User Name
Mageia This forum is for the discussion of Mageia Linux.


  Search this Thread
Old 03-03-2013, 09:48 AM   #1
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 530

Rep: Reputation: 28
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?

Old 03-03-2013, 12:13 PM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Just curious, but would it be more feasible to open a terminal, or alt+F2, type "poweroff" and call it good?
Old 03-03-2013, 09:31 PM   #3
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 530

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

Old 03-03-2013, 10:39 PM   #4
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
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.
Old 03-04-2013, 09:56 AM   #5
Registered: Apr 2012
Location: Northern US
Distribution: Arch, Manjaro, CentOS/RHEL, SUSE
Posts: 88

Rep: Reputation: 14
Originally Posted by CollieJim View Post
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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
left click on kubuntu desktop (on laptop) brings up middle click menu =S darksmiley Ubuntu 2 06-14-2008 06:37 PM
LXer: One click monitor power-down for Linux LXer Syndicated Linux News 0 12-19-2007 11:20 PM
CTRL+click, SHIFT+click no longer selecting multiple items General Linux - Hardware 1 05-20-2007 04:11 PM
Mapping CTRL+Click as right click using xmodmap in Modular X.Org 7 on Gentoo amitron Linux - General 0 10-12-2006 12:25 PM > Forums > Linux Forums > Linux - Distributions > Mageia

All times are GMT -5. The time now is 05:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration