Task: Ubuntu Precise, Compiz Wall, several applications in autostart and the desire not to scatter them on desktops manually every time you login.
The solution will be found only very attentive, which was the reason for the post. It turned out that the problem can be solved by the forces of compiz'a without any tricks. All you need is the Place Windows plugin, which is included in the default distribution.

')
On the second tab there are three sections, we need the last one - windows with fixed viewport. Set the identifier, best of all the most common - class, windows / applications, and desktop coordinates of the form (x, y):

Along the way, you can fix other window properties - position and placement mode (on a netbook with a small screen, the most relevant one is to expand to full screen). When specifying an identifier, there is a piker, so you can simply poke into the application of interest. Logical operations on the filter (and / or / not) are also available.
Now when you open any window that falls under the filters, it will be placed in accordance with the specified rules.
Ps. If you are still on Gnome, then you will work such a stray as
DevilsPie2sudo apt-get install devilspie2 && mkdir ~/.config/devilspie2 && cd ~/.config/devilspie2 && touch ./rules.lua && nano ./rules.lua
- for each window, set the rule of the form, where "3" is the absolute number of the desktop:
if (get_window_name() == "Calculator") then set_window_workspace(3) end
devilspie2 &
- if everything is ok - you can put it in autoload
To learn windows / application name, put the following rules in the script
debug_print("Window Name: " .. get_window_name()); debug_print("Application name: " .. get_application_name())
and run in debug mode:
devilspie2 -d
Error notifications - habraposchta.