Author Topic: [SOLVED -Sort of...] LXDE : hotkeys not working (lxde-rc.xml not used ??)  (Read 1538 times)

Tereva

  • Guest
Hi there,


I run PCLinuxOS 2010.07. LXDE release and I have a issue with hotkeys.
The only ones that work are Ctrl+Alt+left/right. Its change the current desktop.

Alt+F2 ("run" command) used to works but not anymore <- very annoying.

It seems that LXDE doesn't manage hotkeys but that openbox does.
Its should be set in the file : ~/.config/openbox/lxde-rc.xml

There is many hot keys define in this file, but somehow there aren't working.

any idear ?


Thx

Tereva


/For information some keybindings present in the xml file :

Code: [Select]
<!-- Keybindings for desktop switching -->
    <keybind key="C-A-Left">
      <action name="DesktopLeft">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Right">
      <action name="DesktopRight">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Up">
      <action name="DesktopUp">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Down">
      <action name="DesktopDown">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Left">
      <action name="SendToDesktopLeft">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Right">
      <action name="SendToDesktopRight">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Up">
      <action name="SendToDesktopUp">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Down">
      <action name="SendToDesktopDown">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="W-F1">
      <action name="Desktop">
        <desktop>1</desktop>
      </action>
    </keybind>
    <keybind key="W-F2">
      <action name="Desktop">
        <desktop>2</desktop>
      </action>
    </keybind>
    <keybind key="W-F3">
      <action name="Desktop">
        <desktop>3</desktop>
      </action>
    </keybind>
    <keybind key="W-F4">
      <action name="Desktop">
        <desktop>4</desktop>
      </action>
    </keybind>
    <keybind key="W-d">
      <action name="ToggleShowDesktop"/>
    </keybind>
    <keybind key="C-A-d">
      <action name="ToggleShowDesktop"/>
    </keybind>
    <!-- Keybindings for windows -->
    <keybind key="A-F4">
      <action name="Close"/>
    </keybind>
    <keybind key="A-Escape">
      <action name="Lower"/>
      <action name="FocusToBottom"/>
      <action name="Unfocus"/>
    </keybind>
    <keybind key="A-space">
      <action name="ShowMenu">
        <menu>client-menu</menu>
      </action>
    </keybind>
    <!-- Keybindings for window switching -->
...


« Last Edit: August 16, 2010, 02:48:41 AM by Tereva »

Tereva

  • Guest
Re: LXDE : hotkeys not working (lxde-rc.xml not used ??)
« Reply #1 on: August 16, 2010, 02:48:03 AM »
Solved... well sort of :

I re-install the OS for another reason (I wanted a larger / partition).
Fresh from install, all the hotkeys works like a charm

I probably un-install some package I should'nt have touch :p

Tereva

PS : if someone know that I had done wrong, I will be very happy to learn it !

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE : hotkeys not working (lxde-rc.xml not used ??)
« Reply #2 on: August 18, 2010, 12:16:19 PM »

PS : if someone know that I had done wrong, I will be very happy to learn it !

Not sure, just an idea : had you changed something in the rc.xml lxde file ? If yes had you used the "openbox>reconfigure" menu ? It has to be started each time you modify theses files, or you can also invoke in console "openbox --reconfigure".

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Tereva

  • Guest
Salut,

No, I didn't touch the lxde-rc.xml file, and the hotkeys definie there did not work.


I had un-installed some package like wireless and bluetooth stuff since I use a desktop compt. So I thought its wasn't needed.
Doing so, I must had un-installed something (a lib ? ) that affect the hotkeys 'deamon' (not sure how is it handeled).

That's the only reason I can think of.

But is you have some more idea, I'm be happy to ear them !

A+

Tereva

PS : Take notice : since I do a re-install -and this time I leave all the should be unsed packages. SO I can't test anything. When I have some time, I will un-install them one by one and see what happen