• Logout functions doesn't work


    Since today, I just can shutdown and restart and cancel. All others just do nothing.
    oblogout seems ok.
    Any ideas?

  • Since today, I just can shutdown and restart and cancel. All others just do nothing.
    oblogout seems ok.
    Any ideas?

  • Hi,

    If you check /etc/oblogout.conf you’ll see the default commands for each action. The defaults are:

      
    [commands]  
    shutdown = systemctl poweroff  
    restart = systemctl reboot  
    suspend = dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend  
    hibernate = dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Hibernate  
    logout = openbox --exit  
    lock = xtrlock &  
    
    

    So, logout not working is very strange, as it simply calls openbox --exit

    Just make a test, open a terminal and type openbox --exit to see if it’s working or what.

    Cheers!

  • My oblogout.conf

      
    usehal = false  
      
    [looks]  
    opacity = 70  
    bgcolor = black  
    buttontheme = doom  
    buttons = cancel, logout, restart, shutdown, suspend, hibernate, lock  
      
    [shortcuts]  
    cancel = Escape  
    shutdown = S  
    restart = R  
    suspend = U  
    logout = L  
    lock = K  
    hibernate = H  
      
    [commands]  
    shutdown = systemctl poweroff  
    restart = systemctl reboot  
    suspend = dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend  
    hibernate = dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Hibernate  
    logout = openbox --exit  
    lock = xtrlock &  
    \#switchuser = gdm-control --switch-user  
    \#safesuspend = safesuspend  
      
    
    
  • Seems ok to me…

    Do you have upower installed?

    Have you tried to run openbox --exit in a terminal? Does it work?

  • @“karasu”:1jja1dlx said:

    Do you have upower installed?

    Have you tried to run openbox --exit in a terminal? Does it work?[/quote:1jja1dlx]

    upower 0.99.1-2 is installed.

    I think its since the automatic 3.17 kernel update.

    openbox -exit in terminal works.

  • Hi,

    Try this, instead of

      
    suspend = dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend  
    hibernate = dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Hibernate  
    
    

    Use this:

      
    suspend = systemctl suspend  
    hibernate = systemctl hibernate  
    
    

    Let’s hope it helps…

  • @“karasu”:2ktypa46 said:

    Use this:

      
    > suspend = systemctl suspend  
    > hibernate = systemctl hibernate  
    > 
    

    Let’s hope it helps…[/quote:2ktypa46]

    Both working. Great.

  • Again me, the log has the same issue.

    Is there an alternate command to “xtrlock”?
    xtrlock in terminal just gives “command not found”. :o

  • Hi,

    You can use xscreensaver for locking, but you’ll have to start it with openbox.

    So,

    1. Edit ~/.config/openbox/autostart and add this line:

      
    xscreensaver &  
    
    

    2. Edit /etc/oblogout.conf and change the lock line:

      
    lock = xscreensaver-command -lock  
    
    

    Tell me if you have any problems with this.

    Cheers!

    P.S. I’ll update this for the next Antergos release, sorry.

  • Hey karasu,

    unfortunately it doesn’t work. The “exit screen” just disappears and nothing else happens.

    But no need to feel sorry. Nothing is perfect. :)

  • Btw. I just checked “dm-tool lock” and it works. Maybe you should add it to the next iso? :)

  • Yes! Thanks a lot!

Posts 13Views 2141
Log in to reply