LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mageia
User Name
Password
Mageia This forum is for the discussion of Mageia Linux.

Notices

Reply
 
Search this Thread
Old 03-03-2013, 08:48 AM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 432

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

Thanks
Jim
 
Old 03-03-2013, 11:13 AM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
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, 08:31 PM   #3
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 432

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

Thanks.
 
Old 03-03-2013, 09:39 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,147

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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, 08:56 AM   #5
digigold
Member
 
Registered: Apr 2012
Location: Northern US
Distribution: Mageia, RHEL, CentOS & Scientific Linux
Posts: 66

Rep: Reputation: 7
Quote:
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:
Code:
# 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!
 
  


Reply


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 05:37 PM
LXer: One click monitor power-down for Linux LXer Syndicated Linux News 0 12-19-2007 10:20 PM
CTRL+click, SHIFT+click no longer selecting multiple items General Linux - Hardware 1 05-20-2007 03:11 PM
Mapping CTRL+Click as right click using xmodmap in Modular X.Org 7 on Gentoo amitron Linux - General 0 10-12-2006 11:25 AM


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

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