If it's not possible then maybe just the Dash show/hide animations. I simply find myself waiting for animations which is pointless.
If it's not possible then maybe just the Dash show/hide animations. I simply find myself waiting for animations which is pointless.
1. Why you cannot disable this Dash animation in Unity 12.04
unity-5.12/plugins/unityshell/src/ShortcutController.cpp
(this is what you would have to modify and recompile to get rid of the animations)Some sample lines from this file demonstrating the hard-coding of the animation when you use the Super key to launch the Dash:
Of course, you would have to patch this and rebuild with every new Unity update...
No amount of meddling with Compiz can change this because all of it is hard-coded outside of the Compiz plugin.
2. Alternative A: Switch to Ubuntu 2D
Ubuntu 2D has different Unity Shell code, and there, launching the dash via Super is instantaneous and does not animate anything.
3. Alternative B: Use a custom shortcut to launch the Dash by clicking on the Ubuntu Logo, thus bypassing the animation
We can exploit the fact that the opacity/fade animation does not happen when you launch the Dash via the "start" button, or, if your cursor is on/around the launcher bar, even if you press Super:
The animation will be delayed until your cursor actually moves inside the dash area.
sudo apt-get install xdotool
Open Settings...Keyboard, and go to the Shortcuts tab. Create a custom shortcut, naming it whatever you want, and set the "Command" to:
Click Apply. The right-column will say "Disable", click on it and you'll see "New Accelerator": press your shortcut key combo. You cannot choose Super, even if you disable it in Compiz, because it is hard-captured by Unity. I chose
Ctrl+Alt+Z
since it's close to the Super key.Now your shortcut should launch the Dash much, much faster.
Install Compiz Configuration Manager.
Ubuntu Software Center: Compiz Configuration Manager
or
Terminal:
sudo apt-get install compizconfig-settings-manager
Once installed open it and got to
Ubuntu Unity Plugin
->Experimental
(Tab)From there you can set
Lauch Animation
,Urgent Animation
andDash Blur
to `None.Set the
Hide Animation
toSlide only
.If you want, you can change the panel and dash transparency to be full opaque.
Sorry, You can't. At this point (25th July, 2012) with Ubuntu 12.04 LTS, There is NO easy way to disable Unity animations. (at least without recompilation).
And I don't think, there will be an option to disable animations in future releases. Because, One of the goal of Unity is to provide pleasing user experience and animations are considered one of the best way to achieve that.
A workaround:
The possible workaround for you is changing the dash animation to fade (cause, In my opinion, fades are quicker than sliding). You may also interested in disabling the animations for all windows also. To do this,
Download and install
compizconfig-settings-manager
Open it by searching or typing ccsm in dash. Go to Unity plugin → Experimental tab and change the settings for Hide animations to Fade only.
If you want to disable the animations in all window, you can disable the Animations plugin in ccsm. If you want to disable Fading, disable the Fading windows plugins.
Hope this will help.
Edit: As izx showed in his edited answer You clearly see that, the options of dash animations are hard coded in the Unity, and those cannot be changed with any configuration options, because those time durations aren't variable which can be changed. So, this means, You have to recompile unity by changing those time durations to 0 ms to completely disable the animations.
To add to Ángel Araya's instructions: I was able to disable all animations by deselecting
Animations
andFading Windows
(basically everything exceptWindow Decoration
under theEffects
category (tab) in CompizConfig Settings Manager.I think turning off fading-windows under effects in CompizConfig Settings Manager can make a difference in Unity. (A subtle difference in speed, but still a difference.)
install tweaks
launch it
gnome-tweaks
or just search fortweaks
then hit General -> Animations -> turn it off