Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I like the behavior of Gnome-Shell's Alt-Tab window changer, but there is a slight delay when pressing Alt + Tab, which bothers me. Is there any way to make it pop up immediately, or at least, decrease the delay?

share|improve this question
1  
I think the slight delay is there by design, so if one wants to quickly switch back and forth between two windows via Alt+Tab, for example, then it doesn't have to waste time showing the switcher for a fraction of a second. Just thought I'd point out this is probably not a performance issue on the switcher's part, but an intended feature. –  Christopher Kyle Horton Feb 22 '12 at 23:47
    
It can be a performance issue. My setup at this moment is lagging for a full half-second before showing the popup and also before hiding the popup. Now I will restart gnome-shell using ALT+F2 "r". Now, it's back to being snappy again. All I did was restart. –  jonS90 Oct 12 '13 at 20:10

3 Answers 3

up vote 10 down vote accepted

Well, you can change that in the .js file of the alt-tab.

In

/usr/share/gnome-shell/js/ui/altTab.js

Almost at the beginning of the file, is this line

const POPUP_DELAY_TIMEOUT = 150; // milliseconds

Change it, save and restart the gnome-shell (Alt+F2 type 'r', or logout and login again).

share|improve this answer
    
Perfect answer. It's elegant and it works. –  Exeleration-G Apr 6 '12 at 13:07

As of 13.10, this setting is now located in /usr/share/gnome-shell/js/ui/switcherPopup.js.

share|improve this answer

Since gnome 3.12, the Javascript UI files are embedded inside libgnome-shell.so. See this post.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.