Hotkey for Grab Focus http://guake.org/ticket/480
Reported by: Nicolas Owned by: somebody
Priority: minor Milestone: 0.5.0
Component: guake Version:
Keywords: Cc:
Description
Hi, this is a very great tool! I use it everywhere - at work, at home, in my dreams... kidding. ;-)
What I miss most is the possibility to grab the guake focus via hotkey, because guake is not in the alt+tab window switcher.
This would be a handy enchancement!
Regards, Nicolas
Just change /usr/share/guake/guake.glide, line 8 to
<property name="skip_taskbar_hint">False</property>
And it will appear in Alt+Tab.
Why do you want this hotkey?
This shortcut would be awesome as sometimes I would wanna go do something in another app while leaving guake on. So if I need to come back, Im having to press F12 twice to get focus. Or click with mouse which is worse. :+1:
I did some work a while ago so that if you press F12 and the window is opened it gives focus back to the window instead of hiding it. I don't remember where that went though :cry:
Wow thats a great solution to the problem :+1: Too bad its lost :( :(
Indeed, that's a pretty simple change to do.
https://github.com/Guake/guake/pull/214 apparently it didn't get lost :D
I need to rework this, because once you uncheck the "hide on focus loss", guake mess it up, you cannot hide the main window anymore,...
it's related to this change? that surprises me
no that's an old bug, I don't have hide of focus loss unchecked on my system so I never saw it
Just having the option "Alt+TAB" in the preferences would be awesome
I do'nt think this will be allowed by your window manager, since it is the standard hotkey for switching app...
That's exactly what I would like, switch between apps, including Guake. I've done what smasty suggested to achieve this but a checkbox in preferences would be more user friendly ;)
@smasty Is that workaround still functional?
I find a /usr/share/guake/guake.glade (instead of .glide), but it doesn't have that option on line 8. I changed the one I found further down but it didn't seem to help (after restart of guake only). Guake is nowhere to be found in Alt-tab list. This is guake 0.7.2 on debian testing with xfce 4.12.
@MatthiasKauer Yes, it should still work.
In 0.7.2, the line is 378, and yes, the file is /usr/share/guake/guake.glade, there is a typo in my original comment.
actually guake is made not to appear in alt tab and react only to our magic hotkey....
@Stibbons Yes, but if guake is not set to auto-hide I cannot get back into its window without using the mouse otherwise. Are there are other options?
@smasty Thank you!
Got the same problem, whenever the gnome keyring is shown (let's say for a git pull or any ssh activity) guake gets out of focus and then it doesn't come back, so I have to click with the mouse or toggle hide/show twice. My nasty wayaround is a keybinding that does "xdotool click 1", because my mouse is usually in the position of the terminal. I'm using xubuntu 14.04, any news about this topic?
No news yet? Having this feature would be really useful.
I tried to deal with it, and here what I came to:
The reason is that keybinder takes away focus every time when processes the key assigned globally. Therefore, it is impossible to know whether the guake terminal had a focus or any other window when show_hide is executed.
I have an idea around losefocus_time, something like:
if losefocus_time < event_time:
restore_focus()
else:
hide()
I apologize for the Google Translate
Should be fixed
@gsemet
Should be fixed
So what's the solution?
@felipeespic In Guake Preferences, under Keyboard shortcuts, in the General menu, there is an action "Show and focus Guake window". You can assign a shortcut to it (e.g. Ctrl+F12) and use it to focus a Guake window.
Most helpful comment
Just change
/usr/share/guake/guake.glide, line 8 toAnd it will appear in Alt+Tab.