openbox - terminal windows opening without focus - annoyance

Everything about X, Gnome, KDE, ... and everything running on it

openbox - terminal windows opening without focus - annoyance

Postby litspliff » 2018-07-24 07:35

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
litspliff
 
Posts: 28
Joined: 2011-11-12 20:48

Re: openbox - terminal windows opening without focus - annoy

Postby debiman » 2018-07-31 12:31

there has been a few threads about this precisely on bunsenlabs forums recently, please use their search function.
User avatar
debiman
 
Posts: 2900
Joined: 2013-03-12 07:18


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable