Page 1 of 1

Shortcut that focus particular program

Posted: Sun Aug 31, 2014 9:42 am
by nesro
Hi LXDE Forum!

Finding the right window with Alt-(Ctrl)-Tab is slow. Is there any way how to do a keyboard shortcut that brings me (for example) right into the Chromium window?

Is there a command that will focus a window of particular name? For example:

Code: Select all

$ lxfocus chromium
will switch focused window to chromium.

Thanks in advance,
nesro

Re: Shortcut that focus particular program

Posted: Sun Aug 31, 2014 1:39 pm
by seppalta
Holding middle key down brings up all open windows and all desktops. Then sliding the pointer to a window and releasing the middle key will put that window on top.

Re: Shortcut that focus particular program

Posted: Sun Aug 31, 2014 1:43 pm
by nesro
seppalta wrote:Holding middle key down brings up all open windows and all desktops. Then sliding the pointer to a window and releasing the middle key will put that window on top.
Hi seppalta, thanks for reply!

I have Archlinux with the default LXDE settings. This trick do not work me (with usb mouse). What is the configuration to do that? Also, I'm using a trackpoint and when I'm holding the middle button, my mouse cannot move, because I'm in the "scrolling" mode.

EDIT: Ah! I found that it works when I middle click on the destkop. But I use only maximized windows, so I cannot do that when I'm in a window. Also, it requires mouse... And it's in the same principle, it's slow :(

Re: Shortcut that focus particular program

Posted: Sun Aug 31, 2014 8:26 pm
by drooly
openbox is lxde's window manager and it is highly confgurable through its rc.xml file.
everything you requested can be achieved by modifying keybinds.
please check out http://openbox.org/wiki/Help:Configuration

Re: Shortcut that focus particular program

Posted: Mon Nov 17, 2014 1:51 am
by flaneur
nesro wrote:Hi LXDE Forum!

Finding the right window with Alt-(Ctrl)-Tab is slow. Is there any way how to do a keyboard shortcut that brings me (for example) right into the Chromium window?

Is there a command that will focus a window of particular name? For example:

Code: Select all

$ lxfocus chromium
will switch focused window to chromium.

Thanks in advance,
nesro
If you use only one Chromium window, it's possible. If you like multiple windows for the same program the following won't useful:
http://askubuntu.com/questions/507093/f ... buntu-lxde

Another way was provided here: http://ubuntuforums.org/showthread.php? ... st12814007