1

Can't run programs as sudo via keyboard shortcuts in Openbox

view story
linux-howto

http://forums.fedoraforum.org – I have the following script called pwrmenu: Code: #!/bin/sh OPTION=$(echo -e 'hibernate\nsuspend\nreboot\nshutdown' | dmenu "$@") case $OPTION in hibernate)         sudo /bin/systemctl hibernate         ;; suspend)         sudo /bin/systemctl suspend         ;; reboot)         sudo /bin/systemctl reboot         ;; shutdown)         sudo /bin/systemctl poweroff         ;; *)       &n (HowTos)