Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
laptop mode. Did I just do something I shouldn't have?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mreff555
Apprentice
Apprentice


Joined: 10 Mar 2011
Posts: 231
Location: Philadelphia

PostPosted: Sun Sep 28, 2014 8:17 pm    Post subject: laptop mode. Did I just do something I shouldn't have? Reply with quote

I have been trying to get laptop mode tools working. The tutorial here is not all that helpful and somewhat out of date
http://wiki.gentoo.org/wiki/Power_management/HOWTO

Here isthe problem. I want functionality such as being able to press the suspend button and put my machine to sleep. The problem is that I need
root access to do this. My way of getting around this is by changing the GID of /sys/power/state to wheel, and making it writable to the wheel group. Honestly, given the purpose of the wheel group, it seems like that is how it should have been set up.

Is there a better way of doing this on a minimal system?
Am I going to break something?
Is this a huge security flaw?

thanks,
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5593

PostPosted: Mon Sep 29, 2014 12:33 am    Post subject: Reply with quote

Aren't you using acpid to handle that button?
Back to top
View user's profile Send private message
mreff555
Apprentice
Apprentice


Joined: 10 Mar 2011
Posts: 231
Location: Philadelphia

PostPosted: Mon Sep 29, 2014 1:09 am    Post subject: Reply with quote

doesn't seem to work. No errors or anything. Just doesn't work. Does it need to be configured?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum