You are not logged in.
Hi
I have made a hotkey (F12) in rc.xml to start the xfce4 --drop-down terminal. This works well but I want to close the terminal with it too.
When I hit F12 again the terminal will only jump up a bit and hide my Tint2 panel on the top.
Next I tried to nest in a second action to close the terminal and regardless of what I put in there the F12 key will now close the terminal again - as I want.
I will get an annoying openbox error message though.
If I put regular commands like xfce4-terminal --hide in there then the Terminal will only shift up a tad to hide my Tint 2 panel again.
So here is my ~/.config/openbox/rc.xml right now.
<keybind key="F12">
<action name="Execute">
<command>xfce4-terminal --drop-down --title "Viking terminal" -e "tmux attach" --tab --title "Atop" -e atop --tab --title "Iftop" -e "sudo iftop" --tab --title "Terminal"</command>
</action>
<action name="Execute">
<command>"Just close this stupid error message"</command>
</action>
</keybind>
F12 will open and close the window - but I will get an Openbox error message.
If I could get an "empty" command in there that would not generate an error message then my problem would be solved..
Is there a way to suppress the error message?
Is there a regular command that actually works?
Ideas?
Edit:
This is solved unchecking the "Use shortcut to Focus visible Window" in the xfce4-terminal settings took care of the problem
Last edited by viking60 (2015-05-28 13:12:23)
"Common sense is not common"
Offline