You are not logged in.

#1 2012-04-29 07:37:12

Babkock
Member
Registered: 2012-04-03
Posts: 13

Shut down or reboot in Awesome?

Is there any way I can shut down or reboot the machine directly from Awesome? When I try adding reboot or shutdown menu options (that run their respective commands), I get a clock cursor for about thirty seconds. I know this is probably because Awesome doesn't have root privileges, but why not? Is there any way I can give it root privileges? If I just put "sudo" before the "reboot" or "shutdown" commands, then it'll hang because a prompt is asking me for my password.

Offline

#2 2012-04-29 07:47:04

Into the Pit
Member
Registered: 2010-09-04
Posts: 37

Re: Shut down or reboot in Awesome?

you can use console-kit and d-bus for that.
Link

Offline

Board footer

Powered by FluxBB