I have recently installed lubuntu-desktop metapackage in my Ubuntu 12.04 LTS. But in lubuntu I can't find any keyboard shortcut to shutdown or logout [in Unity or Gnome I used Ctrl+Alt+Del but now it opens Task manager]. Can anyone please provide me keyboard shortcuts to these commands. Thanks in advance.
1 Answer
I am answering my own question, Thaks to Rinzwind for useful link.
These are the steps to follow (source):-
- Go to
~/.config/openbox/
and open the file lubuntu-rc.xml from any text-editor[such asleafpad
]. - Find the keyboard area to set hot keys. It's between the markers
<keyboard>
and</keyboard>
. Add following code after at last [before
<mouse>
]:Change
C-End
with your keybind-key[C forCtrl
, A forAlt
]<keybind key="C-End"> <action name="Execute"> <command>lubuntu-logout</command> </action> </keybind>
- Save the file.
- Log-out and Log-in back.
- Now you can use defined key to logout/ shutdown/ restart, etc.
lxsession-logout
] dosen't show lubuntu logo. Fortunately there is a predefined command[lubuntu-logout
] which logs you out when you press your PCs Poweroff button. I copied that code and changed the Keybind-key toCtrl
+Alt
+x
.