To configure it you will have to edit the "oblogout.conf" file. In Archlinux this file is placed in the "/etc" directory.
To shutdown and restart the system i'm using the good old "shutdown" command, "xlock" to lock the screen and "openbox --exit" to log out.
1 [settings] 2 usehal = false 3 4 [looks] 5 opacity = 70 6 bgcolor = black 7 buttontheme = oxygen 8 buttons = cancel, logout, restart, shutdown, lock 9 10 [shortcuts] 11 cancel = Escape 12 shutdown = S 13 restart = R 14 logout = L 15 lock = K 16 17 [commands] 18 shutdown = sudo shutdown -h now 19 restart = sudo shutdown -r now 20 lock = xlock & 21 logout = openbox --exit
To be able to restart/shutdown without root privileges I added following lines at the end of the "/etc/sudoers" file.
Remember to edit the "sudoers" file using "visudo"
92 %power ALL= (ALL) NOPASSWD: /sbin/shutdown 93 %power ALL= (ALL) NOPASSWD: /sbin/reboot 94 %power ALL= (ALL) NOPASSWD: /sbin/halt
oblogout screenshot:
Nowsat.com is the professional in the series of full HD box , DVB-T, openbox v8s, DVB-C, android tv box and iptv box, or mxq pro and mxq pro tv box. We provide the best quality and guarantee.
ReplyDelete