You are not logged in.

#1 2012-03-08 20:53:48

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

[SOLVED] [Openbox] Xfce terminal opened unfocused

Hi

I'm having some trouble with the Xfce terminal (package "terminal").

I have created a key combination in rc.xml to open a new terminal window:

<keybind key="C-A-j">
  <action name="Execute">
    <execute>terminal</execute>
  </action>
</keybind>

Now when Alt-Tabbing through other (non-terminal) windows, then opening the terminal window with the key combination, the window is opened unfocused (and mostly behind another window), so I manually need to switch focus to it.

However, when opening the terminal from dmenu, it correctly gets the focus.

I have not experienced the same problem with xterm, so I assume there has to be a problem with the Xfce terminal.

My question: Has anybody experienced the same kind of thing? (I would just like to know if this is normal).

Last edited by ayekat (2012-10-07 07:21:19)


pkgshackscfgblag

Offline

#2 2012-10-07 07:20:56

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [SOLVED] [Openbox] Xfce terminal opened unfocused

Alright, I finally solved it.

This is what I added in rc.xml:

...
<applications>
  <application name="terminal">
    <focus>yes</focus>
  </application>
</applications>
...

I have not clue why this would be necessary for this terminal application only though.

Last edited by ayekat (2012-10-07 07:40:52)


pkgshackscfgblag

Offline

Board footer

Powered by FluxBB