how to change keyboard shortcuts?  Topic is solved

Please post all general support questions for LXDE here.

how to change keyboard shortcuts?

Postby anodyne » Fri May 29, 2009 11:38 am

hey guys,

I'm new to LXDE and have really been loving it. One thing I can not figure out though is how to edit the keyboard shortcuts?

For example I'd like to bind the "windows" key to display the lxde menu (ala windows style)

Thanks!
anodyne
 
Posts: 4
Joined: Fri May 29, 2009 11:19 am
Location: Chicago, IL, USA

Re: how to change keyboard shortcuts?

Postby Marty Jack » Fri May 29, 2009 7:29 pm

Use your window manager's key binding facilities to bind the key to "lxpanelctl menu".
Marty Jack
 
Posts: 381
Joined: Mon Mar 23, 2009 6:14 am

Re: how to change keyboard shortcuts?

Postby anodyne » Fri May 29, 2009 8:52 pm

excuse my ignorance but doesn't lxde provide the window manager?
anodyne
 
Posts: 4
Joined: Fri May 29, 2009 11:19 am
Location: Chicago, IL, USA

Re: how to change keyboard shortcuts?

Postby Marty Jack » Fri May 29, 2009 10:01 pm

anodyne wrote:excuse my ignorance but doesn't lxde provide the window manager?


No, we don't. We allow the user to use any window manager they prefer. Openbox is suggested as a lightweight alternative.
Marty Jack
 
Posts: 381
Joined: Mon Mar 23, 2009 6:14 am

Re: how to change keyboard shortcuts?  Topic is solved

Postby anodyne » Fri May 29, 2009 10:08 pm

lxde is built on top of openbox though isn't it? are you saying it's possible to use the lxde frontend with a window manager other than openbox? like joe's window manager for example?

in the meantime, for others using lxde + openbox like myself, the relevant file to edit is /home/<user>/.config/openbox/lxde-rc.xml

the menu.xml file in the same directory is another file i had been trying to find so i could change the quickstart menu items/behavior.

I'm curious if openbox itself provides support for function volume keys? i.e. just add the relevant entries to rc.xml? Or will I have to keep using xbindkeys...
Last edited by anodyne on Sat May 30, 2009 1:59 am, edited 1 time in total.
anodyne
 
Posts: 4
Joined: Fri May 29, 2009 11:19 am
Location: Chicago, IL, USA

Re: how to change keyboard shortcuts?

Postby Marty Jack » Fri May 29, 2009 10:35 pm

anodyne wrote:lxde is built on top of openbox though isn't it? are you saying it's possible to use the lxde frontend with a window manager other than openbox? like joe's window manager for example?


We do not supply the window manager, which controls the placement of windows on the screen and draws the decoration at the top, or the display manager, which lets you log in. It is more correct to say lxsession, which starts applications when you log in, and lxpanel, which draws the taskbar(s), run alongside these two processes. There is communication between the panel and the window manager, but it is done according to well specified and widely implemented standard protocols. You may select any window manager or display manager you like. Many people also run pcmanfm, which among other functions manages the icons drawn on the desktop.

Some people, of course, run their systems with only a window manager (no session manager or panel) and start applications from its popup menu.

In LXDE, you need to start both the panel and the window manager when you log in. The way we do this is to have the display manager start the session manager, and then the session manager starts the window manager and the panel.
Marty Jack
 
Posts: 381
Joined: Mon Mar 23, 2009 6:14 am

Re: how to change keyboard shortcuts?

Postby archibald haddock » Sat May 30, 2009 2:27 am

Marty Jack wrote:In LXDE, you need to start both the panel and the window manager when you log in. The way we do this is to have the display manager start the session manager, and then the session manager starts the window manager and the panel.

Hmm, I stopped the space eater from my lxde startup, am I loosing import functionality I just never saw before?
archibald haddock
 
Posts: 148
Joined: Sun Jan 11, 2009 7:57 pm

Re: how to change keyboard shortcuts?

Postby Marty Jack » Sat May 30, 2009 2:57 am

If by "space eater" you mean the panel, you might be one of those people who only needs the window manager. My viewpoint is that the panel is a convenience feature to have the application menu nearby and to have an easy way to iconify and raise running applications. I find the clock handy as well.
Marty Jack
 
Posts: 381
Joined: Mon Mar 23, 2009 6:14 am

Re: how to change keyboard shortcuts?

Postby geoff » Wed Sep 19, 2012 10:33 am

How does one set the Windows key to open the menu? I tried putting in:

<keybind key="W">

<keybind key="W-">

It doesn't work. How do you do it?
geoff
 
Posts: 2
Joined: Wed Sep 19, 2012 10:10 am

Re: how to change keyboard shortcuts?

Postby seppalta » Wed Sep 19, 2012 7:31 pm

I think you need to involve 2 keys, for example:
Code: Select all
      <keybind key="W-a">
      <action name="ShowMenu">
           <menu>lxpanelctl menu</menu>
      </action>
    </keybind>
seppalta
 
Posts: 227
Joined: Tue Sep 20, 2011 7:09 am
Location: USA

Next

Return to General Help

Who is online

Users browsing this forum: No registered users and 1 guest