1

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.

2
  • 1
    does this help: forum.lxde.org/viewtopic.php?f=8&t=31648#p38803 ?
    – Rinzwind
    Commented Feb 4, 2014 at 11:09
  • 1
    @Rinzwind Yes it worked. The command given by author[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 to Ctrl+Alt+x. Commented Feb 4, 2014 at 11:23

1 Answer 1

2

I am answering my own question, Thaks to Rinzwind for useful link.

These are the steps to follow (source):-

  1. Go to ~/.config/openbox/ and open the file lubuntu-rc.xml from any text-editor[such as leafpad].
  2. Find the keyboard area to set hot keys. It's between the markers <keyboard> and </keyboard>.
  3. Add following code after at last [before <mouse>]:

    Change C-End with your keybind-key[C for Ctrl, A for Alt]

    <keybind key="C-End">
    <action name="Execute">
    <command>lubuntu-logout</command>
    </action>
    </keybind>
    
  4. Save the file.
  5. Log-out and Log-in back.
  6. Now you can use defined key to logout/ shutdown/ restart, etc.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .