LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-03-2016, 12:28 PM   #1
G_A
LQ Newbie
 
Registered: Jun 2014
Posts: 29

Rep: Reputation: Disabled
Decrease delay of alt-tab


Hi Everyone,
I'm trying to decrease the "show up" delay of the alt-tab switcher, Debian 8.5.

I found this solution:


http://www.ceu-talk.com/s/QnNOX52Y/h...-im-doing.html


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

Almost at the beginning of the file, is this line

const POPUP_DELAY_TIMEOUT = 150; // milliseconds
However, I cannot find the file in my Debian 8.5, closest I get is:

Code:
 ls -l /usr/share/gnome-shell/extensions/alternate-tab\@gnome-shell-extensions.gcampax.github.com/
total 20
-rw-r--r-- 1 root root 4064 Sep  3 13:15 convenience.js
-rw-r--r-- 1 root root 2087 Sep  3 13:14 extension.js
-rw-r--r-- 1 root root  645 Nov 30  2014 metadata.json
-rw-r--r-- 1 root root 2945 Sep  3 13:14 prefs.js
-rw-r--r-- 1 root root   50 Nov 30  2014 stylesheet.css
But, when adding that line to any of the files there, then restarting GNOME - no go.
Any advice is welcome,
thank you.

Last edited by G_A; 09-03-2016 at 12:31 PM.
 
Old 09-05-2016, 07:17 AM   #2
WRox
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
I find more and more some of these settings locations have been changing in Debian and a lot of what one finds on the web is no longer up to date or it no longer applies to Debian. I don't use gnome, but suspect there may be some sort of graphical settings panel that may do the trick.

In KDE, with Jessie, if you look in the application menu you will find a Settings entry and a
Settings Manager and in that a Windows Manager with a "focus" tab. (In Strech there are similar entries).

That has a tick box to "automatically switch to a newly created window" and a bunch of other tabs including slider bars to change delays on the switch etc.
 
Old 09-05-2016, 12:39 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
try
Code:
sudo find / -name altTab.js
or
Code:
sudo find / -name '*.js' -exec grep POPUP_DELAY_TIMEOUT {} \;
even if you find it, it would be overwritten on updates.

this should be configurable in your $HOME somewhere.

Last edited by ondoho; 09-05-2016 at 12:40 PM.
 
Old 09-06-2016, 09:25 AM   #4
G_A
LQ Newbie
 
Registered: Jun 2014
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by WRox View Post
I find more and more some of these settings locations have been changing in Debian and a lot of what one finds on the web is no longer up to date or it no longer applies to Debian. I don't use gnome, but suspect there may be some sort of graphical settings panel that may do the trick.

In KDE, with Jessie, if you look in the application menu you will find a Settings entry and a
Settings Manager and in that a Windows Manager with a "focus" tab. (In Strech there are similar entries).

That has a tick box to "automatically switch to a newly created window" and a bunch of other tabs including slider bars to change delays on the switch etc.
There is a GNOME extension in charge of the alt-tab behavior, however delay values are not available there.

In Unity, a delay value can be set in compiz-config, I'm not sure how compatible is compiz-config with GNOME, so I'm trying to avoid mixing in the two.

Last edited by G_A; 09-06-2016 at 09:27 AM.
 
Old 09-06-2016, 09:25 AM   #5
G_A
LQ Newbie
 
Registered: Jun 2014
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
try
Code:
sudo find / -name altTab.js
or
Code:
sudo find / -name '*.js' -exec grep POPUP_DELAY_TIMEOUT {} \;
even if you find it, it would be overwritten on updates.

this should be configurable in your $HOME somewhere.
Yup, tried that, too. There is no such file on the "/" file system.
 
Old 09-07-2016, 01:35 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
sorry for the rant, but...

i am reading this so often, how on unity even the simplest configuration options just don't exist anymore.
what are they thinking?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alt-Tab in X tara Linux - General 8 12-19-2017 05:17 AM
[SOLVED] ALT+F2 (krunner) and ALT+TAB not working anymore gauchao Slackware 1 10-15-2011 09:22 AM
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 02:06 PM
Switching window focus (like alt+tab in windows) and Ctrl+Alt+F1 X windows problem... DiZASTiX Linux - Software 3 01-20-2005 04:56 PM
Alt-Tab and Alt-F4 in Fluxbox? tavilach Linux - Software 2 07-17-2004 04:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration