Skip to content

Instantly share code, notes, and snippets.

@spelufo
Created February 20, 2015 11:21
Show Gist options
  • Save spelufo/c0ea28e999861a1dd12b to your computer and use it in GitHub Desktop.
Save spelufo/c0ea28e999861a1dd12b to your computer and use it in GitHub Desktop.
Cinnamon, switch faster!
OS: Linux Mint 17.1 Rebecca

I recently updated from Mint 17 to 17.1, and lost some of my configs/tweaks. I'm putting this here for reference, and just in case anybody wants it.

I like changing tabs with the General > Windows > Alt-Tab > Window Preview (no icons) behavior of cinnamon. However, the slow fade out slows me down. The "fix" is to change /usr/share/cinnamon/js/ui/appSwitcher/classicSwitcher.js. Near the top you'll see:

const PREVIEW_DELAY_TIMEOUT = 180; // milliseconds
var PREVIEW_SWITCHER_FADEOUT_TIME = 0.5; // seconds

which I changed to

const PREVIEW_DELAY_TIMEOUT = 500; // milliseconds
var PREVIEW_SWITCHER_FADEOUT_TIME = 0.05; // seconds

Restart cinnamon for it to take effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment