You are not logged in.

#1 2009-01-23 02:27:33

loudtiger
Member
Registered: 2009-01-08
Posts: 68

[Solved]binding a key to a script that requires sudo

i have a script i'd like to bind to a key in xfce to suspend my laptop. but in the keyboard settings screen, typing sudo suspend doesn't do anything. sudo suspend in the terminal works fine. how do i make this work? i tried putting it into the sudoers file also but it didn't seem to have any effect.

thanks

nevermind, i got it. should've been using acpi all along

Last edited by loudtiger (2009-01-23 03:11:53)

Offline

Board footer

Powered by FluxBB