How can I remove the Workspace Switcher launcher from the Unity dock?
Currently I'm using eight workspaces with the help of Unity Tweak Tool. I like to have multiple workspaces, but didn't like the unremovable Unity Launcher icon that much, even more because it could only resemble four workspaces while I was using eight instead.
For Ubuntu 11.04/11.10/12.04 (does not work in Unity 2D):
Drag the undesirable icon on the trash can.
By default, the workspace-switcher is not enabled in the Launcher. This setting is toggleable via the Appearance - Behaviour tab in System Settings
Untick the option shown in the following picture to remove the workspace-switcher icon.
If you are prepared to work with just one virtual desktop (i.e. no additional workspaces) then the following will work for 12.10 and later.
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize 1 gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ vsize 1
Install MyUnity from Software Center.
Open it, go to Desktop, decrease (move the bar to the left) for H Desktop and V Desktop, both to minimal.
This is now easy, thanks to an addition to Isaac Joseph's lovely Unity Revamped (also brings back dodge-windows and dodge-active-window and gives a few other options).
Add the repository with your software manager of choice or:
This is now an alternative source of unity, that'll report itself as just slightly ahead of the canonical one in version. Upgrade and you'll have this new version:
Or if you don't use apt-fast, then:
Or just use the software updater.
Log out and in, and go to ccsm. The Ubuntu Unity Plugin will now have, on the "experimental" tab an option labelled 'Show "Expo Icon" in the launcher', that's enabled by default. Disable this and the icon is gone.
Disabling the icon doesn't disable the Super+S binding, should that be your preferred way of switching workspaces.
For Ubuntu 11.10 & Ubuntu2D
Edit the file
For Ubuntu 12.04 & Ubuntu2D
Edit the file
Locate these lines
And change them to
Unfortunately the desktop switcher is hard coded to
Make sure you have the package
To modify the code and compile it your self you need to do the following
Locate the lines
Change them to
Build the package
Wait for it to finish and install when done
Currently there's a handy little bug in unity that allows you to do this. Open a up a terminal and run 'gnome-panel'. Once gnome panel is running, add the 'workspace switcher' applet to the panel. Open up the workspace switcher preferences and select 1 column and 4 rows. Log out and back into unity, and viola! The workspace switcher is missing now.
Yes I know, it's a somewhat annoying way of removing it if you use workspaces, but it's the only way i know of right now..
To get the Unity launcher switcher back, simply open the gnome-panel in terminal again, and go back to a 2 X 2 grid. Logout and log back in.
protected by James♦ Apr 27 '13 at 2:28
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?