Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

openbox - terminal windows opening without focus - annoyance

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
litspliff
Posts: 28
Joined: 2011-11-12 20:48

openbox - terminal windows opening without focus - annoyance

#1 Post by litspliff »

i'm using a barebones openbox install with (sometimes) compton for compositing.
it works great. it's friggin awsome with the nvidia drivers (the nouveau drivers are trash on all of my chipsets).
i do all kinds of stuff from ffmpeg to glx, and everything works correctly, except one friggin thing...

when i have some certain x programs running (gimp,vlc,eclipse,others), opening a lxterminal from shortcut key doesn't give the new window focus.
normally it does, but there must be some Xlib level attribute that suggests to openbox not to give focus to the new window.
to me, a weak Xlib programmer, it sounds like a window manager hint that openbox honors regardless of /etc/xdg/openbox/rc.xml, which states:

<focus>
<focusNew>yes</focusNew>
<!-- always try to focus new windows when they appear. other rules do
apply -->
<followMouse>no</followMouse>
<!-- move focus to a window when you move the mouse into it -->
<focusLast>yes</focusLast>
<!-- focus the last used window when changing desktops, instead of the one
under the mouse pointer. when followMouse is enabled -->
<underMouse>no</underMouse>
<!-- move focus under the mouse, even when the mouse is not moving -->
<focusDelay>200</focusDelay>
<!-- when followMouse is enabled, the mouse must be inside the window for
this many milliseconds (1000 = 1 sec) before moving focus to it -->
<raiseOnFocus>no</raiseOnFocus>
<!-- when followMouse is enabled, and a window is given focus by moving the
mouse into it, also raise the window -->
</focus>

how do i avoid this? sometimes i open a terminal and just start typing and so i send a bunch of random commands to some x interface that i was previously intending to use.

very annoying.

thanks for reading, thanks more for suggests

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: openbox - terminal windows opening without focus - annoy

#2 Post by debiman »

there has been a few threads about this precisely on bunsenlabs forums recently, please use their search function.

Post Reply