mirror of
https://github.com/nikdoof/oblogout.git
synced 2025-12-23 07:19:24 +00:00
Fixes LP #376717 - Switch button doesn't work as expected.
This commit is contained in:
@@ -60,7 +60,7 @@ class OpenboxLogout():
|
||||
cmd_hibernate = "pmi action hibernate"
|
||||
cmd_safesuspend = ""
|
||||
cmd_lock = "gnome-screensaver-command -l"
|
||||
cmd_switchuser = "gdm-control --switch-user"
|
||||
cmd_switch = "gdm-control --switch-user"
|
||||
cmd_logout = "openbox --exit"
|
||||
|
||||
def __init__(self, config=None, local=None):
|
||||
@@ -398,7 +398,7 @@ class OpenboxLogout():
|
||||
self.__lock_screen()
|
||||
|
||||
elif (data == 'switch'):
|
||||
self.__exec_cmd(self.cmd_switchuser)
|
||||
self.__exec_cmd(self.cmd_switch)
|
||||
|
||||
self.quit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user