How do I log out without mouse on jaunty? Log out in gnome-keybinding-properties can not log out.

Asked by Kazuhiro NISHIYAMA

I can log out without mouse before jaunty.
(e.g. Alt+F1, Left, Up, Up, Enter)
I found Log out in gnome-keybinding-properties, but the dialog opened by the shortcut has shutdown, reboot, suspend, and hibernate.
But it doesn't have log out, switch user, and so on.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Kazuhiro NISHIYAMA
Solved:
Last query:
Last reply:
Revision history for this message
tekrei (tekrei) said :
#1

Hello,
Try this: Alt+F2 to open "Run Application" window, write "logout" and press enter.

Revision history for this message
tekrei (tekrei) said :
#2

I checked now, that does not work :) Did you try Ctrl+Alt+Del key combination?

Revision history for this message
Kazuhiro NISHIYAMA (znz) said :
#3

The dialog of Ctrl+Alt+Del do not have "Log out" button.
I want to log out only without stoping the machine.

Revision history for this message
bikrus (bikrus) said :
#4

Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
Gnome: 2.26.1, Ubuntu, 04/14/2009
Compiz: 1:0.8.2-0ubuntu8

In intrepid Ctrl+Alt+Del launched "Logout dialog", power button on my laptop launched "Shutdown dialog".
In jaunty both Ctrl+Alt+Del and power button on my laptop launches "Shutdown dialog".

Jaunty> Gnome> Menu> System> Preferences> Keyboard Shortcuts:
   Log out = Ctrl+Alt+Delete

There are no "Log out" item in gnome main menu too. The only way I could logout is by using "Fast User Switch Applet".

I use my laptop with my family. Want to have previous(intrepid) behavior of Ctrl+Alt+Delete too - launch "Log out dialog".

Revision history for this message
Kazuhiro NISHIYAMA (znz) said :
#5

I know how to revive menu items in system at https://forums.ubuntulinux.jp/viewtopic.php?id=4617 in Japanese forum.
Removing Fast User Switch Applet revives menu items (lock, logout, shutdown).

And I found another solution is using dbus-send commmand:
dbus-send --session --dest=org.gnome.SessionManager --type=method_call /org/gnome/SessionManager org.gnome.SessionManager.Logout uint32:0

Revision history for this message
Sam_ (and-sam) said :
#6

Log out should be doing now with Alt+Magic SysRq+K

Revision history for this message
bikrus (bikrus) said :
#7

Thanks, Sam... Your suggestion is "good", but I want some kind of GUI dialog with selection of what I want to do... You method has killed my GUI session without any prompt... Bad idea...

Revision history for this message
Sam_ (and-sam) said :
#8

bikrus,
sorry, since you've sort of 'hijacked', the comment was linked to seeking a shortcut for 'want to log out only without stoping the machine'.

Not sure, but reading over some threads and bugs it seems there were some changes concerning shortcuts. You may file a bug for this:
>Want to have previous(intrepid) behavior of Ctrl+Alt+Delete too - launch "Log out dialog".<
e.g.
https://bugs.launchpad.net/ubuntu/+bug/335491

However, you may check in gconf-editor e.g.
apps/gnome-session/options/logout_option =logout
or
apps/gnome-power-manager

For:
>some kind of GUI dialog with selection of what I want to do<
you may take a look in:
system administration -> login window -> tab local =show action menu

But all this wont solve the shortcut issue.

Revision history for this message
ricardisimo (ricardisimo) said :
#9

I cannot log out of my machine via the Indicator Applet. I'm assuming this is the appropriate app... it's the "power" icon to the right on the upper panel of the standard GNOME desktop.

I click on "Log Out..." and get the little confirmation dialogue that says: "Are you sure you want to close all programs and log out of the computer?" I confirm, and then wait, and nothing happens. Same with "Restart..." and also "Shut Down..."

I just upgraded to Lucid on my work computer. I'm having similar problems (more intermittent) on my home computer, which was a fresh install.

Any ideas?