Saturday, June 2, 2012

Openbox Window Manager: Oblogout

I'm using Oblogout to shutdown, restart, etc. from Openbox. It looks very nice and it's easy to configure and customize.

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.

out.sh
     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"

out.sh
    92  %power ALL= (ALL) NOPASSWD: /sbin/shutdown
    93  %power ALL= (ALL) NOPASSWD: /sbin/reboot
    94  %power ALL= (ALL) NOPASSWD: /sbin/halt

oblogout screenshot:


2 comments:

  1. The Manufacturer has revealed the BRAND NEW Openbox V8S. This new product is basically a better and latest version of F5S and V5S and involves greater functions. For instance, Web TV and 2 USB ports. This feature allows the users to use files on USB memory stick and Wi-Fi simultaneously. If you buy this product from us, you get FREE 12-month gift and 3 month warranty, for more check this openbox

    ReplyDelete
  2. 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