The Ubuntu desktop has a simple GUI to modify keyboard shortcuts, but I noticed that any changes to the Ctrl-Alt-Del key combination would not work. The problem was that no matter where I assigned the Ctrl-Alt-Del shortcut, it would always open the "Logout" menu. The workaround for this bug is typed out in this post.
1. Make sure to disable the "Log out" action from the Keyboard Shortcuts editor (System->Preferences->Keyboard Shortcuts), by highlighting the line and pressing the "Backspace" key.

2. Open the Configuration Editor (System Tools->Configuration Editor), and disable the metacity Ctrl-Alt-Del binding under /apps/metacity/global_keybindings. Do this by right-clicking the key with the Ctrl-Alt-Del binding (i.e "run_command_1") and selecting "Unset Key"

3. In the same window, go to the next folder /apps/metacity/keybinding_commands. Select the matching command from the previous step (i.e. "command_1") and unset the key in the same manor as step 2. Close the Configuration Editor.

4. Finally, go back to the Keyboard Shortcuts app, and now select the new action for Ctrl-Alt-Del. Everything should work as expected now.
Thursday, February 21, 2008
Modify Ctrl-Alt-Del Keyboard Shortcut in Ubuntu
Labels: keyboard shortcuts, metacity
Subscribe to:
Post Comments (Atom)
2 comments:
This post was certainly helpful to me. However, when I found this page I was only searching for the configuration file for these keyboard shortcuts so that I could back it up--not because I wanted to change my the Ctrl+Alt+Delete shortcut to something else. Regardless, I noticed that my Ctrl+Alt+Delete shortcut seems to be located in "/apps/gnome_settings_daemon/keybindings" rather than "/apps/metacity/global_bindings". I'm using Hardy Heron, though, so they may have switched it for this version.
Thanks a bunch!
Thanks for the comment. "/apps/gnome_settings_daemon/keybindings" is the default location for the Gnome key shortcut actions. The issue addressed by this article is that the key bindings in "/apps/metacity/global_keybindings" will override the Gnome settings.
I haven't checked the default Hardy Heron settings, so I hope they have been updated to account for this.
Post a Comment