Russ Bateman
Russ Bateman

Reputation: 18653

Cinnamon show an application in all workspaces

I have a number of monitors. I typically move between up to 4 or 5 workspaces for different areas of focus during the day (simply different projects, PyCharm for Python projects vs Eclipse for Java projects, e-mail and project management activities, etc.)

I would like to throw a chat application up on a monitor that would be mapped into all workspaces so that it's always up attracting my attention and doesn't change when I change workspaces.

I don't see in Cinnamon any option to do this and find no search expression getting me help in Google to solve it.

Upvotes: 5

Views: 2092

Answers (1)

Ciprian Tomoiagă
Ciprian Tomoiagă

Reputation: 3990

At the moment, this is not possible in Cinnamon. It is a long standing feature request (since 2012!).

However, there are alternatives to it. Namely, the program devilspie2 (available in the repositories) allows one to manage windows and their placement, with the help of a small Lua script.

Here1 is how I stick my Firefox and Pidgin window on all workspaces, while some other windows in a given workspace WORK (because I don't want to see them when I'm not working (: ).

-- Make windows of all these apps visible on all workspaces
GLOBAL_WINDOWS='Firefox;System Monitor;Pidgin'
if (GLOBAL_WINDOWS:find(get_application_name())) then
   pin_window();
end

-- Firefox should be tall maximised
if (get_application_name() == 'Firefox') then
   maximize_vertically();
end

-- Put the Sublime on their correct workspaces
if (get_application_name() == 'Sublime Text' and get_window_name():find('WORK')) then
  set_window_workspace(4);
end

This should be placed in a config file in your home directory. Check the documentation :). And don't forget to set devilspie2 as the first startup app.

1 also posted in that issue

Upvotes: 5

Related Questions