Open application in specific workspace
I would like to have some applications always appear in a specific workspace. For example: I would like my mp3 player on the bottom left workspace, and terminal application on the bottom right one;
I am new to Ubuntu, so tried using wmctrl
but it looks to me as desktop wall works by creating one big desktop and then splitting it up into 4 pieces.
Note: This answer was written for systems running the Compiz window manager (default in Ubuntu 7.04 to 17.04). For versions of Ubuntu using Gnome Shell see this answer.
-
Install compizconfig-settings-manager:
sudo apt install compizconfig-settings-manager
-
Go to Window Management -> Place Windows -> Fixed Window Placement
-
Under Windows with fixed viewport click on new
-
class=NameOfYourProgram
(Here the spelling is important. Better use the green plus sign and "Grab" this parameter in the resulting window) - Position : {1,1}top left; {1,2}bottom left, ...
- example opens Gnome-terminal in bottom right workspace :
-
More information on wiki.compiz.org
Install the Gnome extension "Auto Move Windows".
- The package should come with Ubuntu, otherwise
sudo apt-get install gnome-tweak-tool
- Open Tweaks
- Go to Extensions
- Configure and Activate Auto Move Windows
Devilspie does a wonderful job of controlling how your windows launch, no matter what.