How to get a program window to appear on all workspaces.

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Lady Fitzgerald
Level 15
Level 15
Posts: 5812
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

How to get a program window to appear on all workspaces.

Post by Lady Fitzgerald »

I have my computer set up with six workspaces permanently set up on the taskbar. I would like to have Evolution Calendar displayed on all six workspaces, not just on the primary workspace. I can right click on the Evolution icon in the panel and it gives me the option to have it visible on all workspaces, which works until I reboot, then only the primary workspace will display the calendar. Is there any way to get the calendar to "stick" on all workspaces, even after rebooting?

Code: Select all

jeannie@Laptop1:~$ inxi -Fxxxrz
System:
  Host: Laptop1 Kernel: 5.4.0-64-generic x86_64 bits: 64 compiler: gcc 
  v: 7.5.0 Desktop: Cinnamon 4.4.8 wm: muffin 4.4.4 dm: LightDM 1.26.0 
  Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: System76 product: Serval v: serw11-b serial: <filter> 
  Chassis: type: 10 serial: <filter> 
  Mobo: System76 model: Serval v: serw11-b serial: <filter> 
  UEFI: American Megatrends v: 1.05.25-1 date: 07/10/2019 
Battery:
  ID-1: BAT0 charge: 53.3 Wh condition: 77.9/79.9 Wh (97%) volts: 15.8/14.8 
  model: Notebook BAT type: Li-ion serial: <filter> status: Unknown 
  Device-1: hidpp_battery_3 model: Logitech Wireless Mouse M525 
  serial: <filter> charge: 100% rechargeable: yes status: Discharging 
CPU:
  Topology: 8-Core model: Intel Core i7-9700K bits: 64 type: MCP 
  arch: Kaby Lake rev: D L2 cache: 12.0 MiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 57600 
  Speed: 899 MHz min/max: 800/4900 MHz Core speeds (MHz): 1: 801 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:
  Device-1: NVIDIA vendor: CLEVO/KAPOK driver: nvidia v: 460.32.03 
  bus ID: 01:00.0 chip ID: 10de:1f51 
  Display: x11 server: X.Org 1.20.8 driver: nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa 
  resolution: 1920x1080~60Hz, 1920x1080~144Hz 
  OpenGL: renderer: GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 460.32.03 
  direct render: Yes 
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: CLEVO/KAPOK 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a2f0 
  Device-2: NVIDIA vendor: CLEVO/KAPOK driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 chip ID: 10de:10f9 
  Device-3: N/A type: USB driver: hid-generic,snd-usb-audio,usbhid 
  bus ID: 1-5.4.3:8 chip ID: 21b4:0082 serial: <filter> 
  Sound Server: ALSA v: k5.4.0-64-generic 
Network:
  Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet 
  vendor: CLEVO/KAPOK driver: alx v: kernel port: d000 bus ID: 6e:00.0 
  chip ID: 1969:e0b1 
  IF: enp110s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel port: d000 
  bus ID: 71:00.0 chip ID: 8086:2526 
  IF: wlp113s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 14.73 TiB used: 6.73 TiB (45.7%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 PRO 512GB 
  size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 1B2QEXP7 
  scheme: GPT 
  ID-2: /dev/nvme1n1 model: Sabrent Rocket Q size: 7.28 TiB speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: RKT30Q.2 scheme: GPT 
  ID-3: /dev/sda vendor: Samsung model: SSD 860 PRO 4TB size: 3.73 TiB 
  speed: 6.0 Gb/s serial: <filter> rev: 1B6Q scheme: GPT 
  ID-4: /dev/sdb vendor: Samsung model: SSD 860 PRO 4TB size: 3.73 TiB 
  speed: 6.0 Gb/s serial: <filter> rev: 1B6Q scheme: GPT 
Partition:
  ID-1: / size: 452.31 GiB used: 27.26 GiB (6.0%) fs: ext4 
  dev: /dev/nvme0n1p2 
  ID-2: swap-1 size: 15.91 GiB used: 0 KiB (0.0%) fs: swap 
  dev: /dev/nvme0n1p3 
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A gpu: nvidia temp: 44 C 
  Fan Speeds (RPM): cpu: 1335 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
  1: deb http://liveusb.info/multisystem/depot all main
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
  1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mkusb-ppa-bionic.list 
  1: deb http://ppa.launchpad.net/mkusb/ppa/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://mirrors.evowise.com/linuxmint/packages tricia main upstream import backport
  2: deb http://la-mirrors.evowise.com/ubuntu bionic main restricted universe multiverse
  3: deb http://la-mirrors.evowise.com/ubuntu bionic-updates main restricted universe multiverse
  4: deb http://la-mirrors.evowise.com/ubuntu bionic-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ bionic partner
  Active apt repos in: /etc/apt/sources.list.d/oguzhaninan-stacer-bionic.list 
  1: deb http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/system76-dev-stable-bionic.list 
  1: deb http://ppa.launchpad.net/system76-dev/stable/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/teejeetech-aptik.list 
  1: deb https://packages.teejeetech.com/aptik/S7tBVjLBzw stable main
Info:
  Processes: 290 Uptime: 9h 14m Memory: 15.46 GiB used: 1.87 GiB (12.1%) 
  Init: systemd v: 237 runlevel: 5 Compilers: gcc: 7.5.0 alt: 7 Shell: bash 
  v: 4.4.20 running in: gnome-terminal inxi: 3.0.32 
jeannie@Laptop1:~$ 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Jeannie

To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
User avatar
Lady Fitzgerald
Level 15
Level 15
Posts: 5812
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

Re: How to get a program window to appear on all workspaces.

Post by Lady Fitzgerald »

Lady Fitzgerald wrote: Fri Jan 29, 2021 12:45 am I have my computer set up with six workspaces permanently set up on the taskbar. I would like to have Evolution Calendar displayed on all six workspaces, not just on the primary workspace. I can right click on the Evolution icon in the panel and it gives me the option to have it visible on all workspaces, which works until I reboot, then only the primary workspace will display the calendar. Is there any way to get the calendar to "stick" on all workspaces, even after rebooting?

Code: Select all

jeannie@Laptop1:~$ inxi -Fxxxrz
System:
  Host: Laptop1 Kernel: 5.4.0-64-generic x86_64 bits: 64 compiler: gcc 
  v: 7.5.0 Desktop: Cinnamon 4.4.8 wm: muffin 4.4.4 dm: LightDM 1.26.0 
  Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: System76 product: Serval v: serw11-b serial: <filter> 
  Chassis: type: 10 serial: <filter> 
  Mobo: System76 model: Serval v: serw11-b serial: <filter> 
  UEFI: American Megatrends v: 1.05.25-1 date: 07/10/2019 
Battery:
  ID-1: BAT0 charge: 53.3 Wh condition: 77.9/79.9 Wh (97%) volts: 15.8/14.8 
  model: Notebook BAT type: Li-ion serial: <filter> status: Unknown 
  Device-1: hidpp_battery_3 model: Logitech Wireless Mouse M525 
  serial: <filter> charge: 100% rechargeable: yes status: Discharging 
CPU:
  Topology: 8-Core model: Intel Core i7-9700K bits: 64 type: MCP 
  arch: Kaby Lake rev: D L2 cache: 12.0 MiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 57600 
  Speed: 899 MHz min/max: 800/4900 MHz Core speeds (MHz): 1: 801 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:
  Device-1: NVIDIA vendor: CLEVO/KAPOK driver: nvidia v: 460.32.03 
  bus ID: 01:00.0 chip ID: 10de:1f51 
  Display: x11 server: X.Org 1.20.8 driver: nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa 
  resolution: 1920x1080~60Hz, 1920x1080~144Hz 
  OpenGL: renderer: GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 460.32.03 
  direct render: Yes 
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: CLEVO/KAPOK 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a2f0 
  Device-2: NVIDIA vendor: CLEVO/KAPOK driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 chip ID: 10de:10f9 
  Device-3: N/A type: USB driver: hid-generic,snd-usb-audio,usbhid 
  bus ID: 1-5.4.3:8 chip ID: 21b4:0082 serial: <filter> 
  Sound Server: ALSA v: k5.4.0-64-generic 
Network:
  Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet 
  vendor: CLEVO/KAPOK driver: alx v: kernel port: d000 bus ID: 6e:00.0 
  chip ID: 1969:e0b1 
  IF: enp110s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel port: d000 
  bus ID: 71:00.0 chip ID: 8086:2526 
  IF: wlp113s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 14.73 TiB used: 6.73 TiB (45.7%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 PRO 512GB 
  size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 1B2QEXP7 
  scheme: GPT 
  ID-2: /dev/nvme1n1 model: Sabrent Rocket Q size: 7.28 TiB speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: RKT30Q.2 scheme: GPT 
  ID-3: /dev/sda vendor: Samsung model: SSD 860 PRO 4TB size: 3.73 TiB 
  speed: 6.0 Gb/s serial: <filter> rev: 1B6Q scheme: GPT 
  ID-4: /dev/sdb vendor: Samsung model: SSD 860 PRO 4TB size: 3.73 TiB 
  speed: 6.0 Gb/s serial: <filter> rev: 1B6Q scheme: GPT 
Partition:
  ID-1: / size: 452.31 GiB used: 27.26 GiB (6.0%) fs: ext4 
  dev: /dev/nvme0n1p2 
  ID-2: swap-1 size: 15.91 GiB used: 0 KiB (0.0%) fs: swap 
  dev: /dev/nvme0n1p3 
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A gpu: nvidia temp: 44 C 
  Fan Speeds (RPM): cpu: 1335 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
  1: deb http://liveusb.info/multisystem/depot all main
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
  1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mkusb-ppa-bionic.list 
  1: deb http://ppa.launchpad.net/mkusb/ppa/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://mirrors.evowise.com/linuxmint/packages tricia main upstream import backport
  2: deb http://la-mirrors.evowise.com/ubuntu bionic main restricted universe multiverse
  3: deb http://la-mirrors.evowise.com/ubuntu bionic-updates main restricted universe multiverse
  4: deb http://la-mirrors.evowise.com/ubuntu bionic-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ bionic partner
  Active apt repos in: /etc/apt/sources.list.d/oguzhaninan-stacer-bionic.list 
  1: deb http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/system76-dev-stable-bionic.list 
  1: deb http://ppa.launchpad.net/system76-dev/stable/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/teejeetech-aptik.list 
  1: deb https://packages.teejeetech.com/aptik/S7tBVjLBzw stable main
Info:
  Processes: 290 Uptime: 9h 14m Memory: 15.46 GiB used: 1.87 GiB (12.1%) 
  Init: systemd v: 237 runlevel: 5 Compilers: gcc: 7.5.0 alt: 7 Shell: bash 
  v: 4.4.20 running in: gnome-terminal inxi: 3.0.32 
jeannie@Laptop1:~$ 
All that was heard was a lone cricket chirping in the distance.
Jeannie

To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
Henry2000
Level 1
Level 1
Posts: 46
Joined: Fri Jan 15, 2021 9:52 am

Re: How to get a program window to appear on all workspaces.

Post by Henry2000 »

I think it can be done with wmctrl. But then you probably have to do some scripting.
there is also package in the repository called "devilspie2" that can do what you want. But it requires creating some config file for it. I used the older devilspie (version 1) A couple of years ago. So I have no clue how well or how easy to use devilspie2 is.

You can look here for more info.

and here for the parameters.
You probably want "pin_window()" function
User avatar
Lady Fitzgerald
Level 15
Level 15
Posts: 5812
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

Re: How to get a program window to appear on all workspaces.

Post by Lady Fitzgerald »

Henry2000 wrote: Sun Jan 31, 2021 6:50 pm I think it can be done with wmctrl. But then you probably have to do some scripting.
there is also package in the repository called "devilspie2" that can do what you want. But it requires creating some config file for it. I used the older devilspie (version 1) A couple of years ago. So I have no clue how well or how easy to use devilspie2 is.

You can look here for more info.

and here for the parameters.
You probably want "pin_window()" function
That went completely over my head. :shock:
Jeannie

To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
firubat
Level 1
Level 1
Posts: 23
Joined: Tue May 10, 2022 3:10 am

Re: How to get a program window to appear on all workspaces.

Post by firubat »

Came here looking for this feature too, any luck?
I assume there is some way to do this since e.g. Firefox remembers in which workspace each window was after reboot. But maybe that's a Firefox feature rather than a Cinnamon feature...
mikeflan
Level 17
Level 17
Posts: 7136
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: How to get a program window to appear on all workspaces.

Post by mikeflan »

I have xed 2.4.2 showing on all workspaces. After I reboot and open xed it is still set to show on all workspaces. It is the only app I have found that remembers how it was last set.
firubat
Level 1
Level 1
Posts: 23
Joined: Tue May 10, 2022 3:10 am

Re: How to get a program window to appear on all workspaces.

Post by firubat »

I managed to find a way to make a certain program always launch as Visible on all workspaces, see here:
viewtopic.php?p=2180796#p2180796
User avatar
Lady Fitzgerald
Level 15
Level 15
Posts: 5812
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

Re: How to get a program window to appear on all workspaces.

Post by Lady Fitzgerald »

firubat wrote: Thu May 26, 2022 6:28 am I managed to find a way to make a certain program always launch as Visible on all workspaces, see here:
viewtopic.php?p=2180796#p2180796
I couldn't understand the directions. For starters, how do I find a window title? Do I paste the codes exactly or do I have to change something?
Jeannie

To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: How to get a program window to appear on all workspaces.

Post by Hoser Rob »

I think it's been established that there;s no simple GUI way to do this in Cinnamon.

Why in the hell can't you simply pin a window to all workspaces in such a large DE? I do it with smplayer all the time in KDE by clicking the pin button on the window title bar, and I'd be annoyed if I had to go to the panel to do this.

The only relevant thing I can find is a feature request that was open for 6 years before it was closed: https://github.com/linuxmint/Cinnamon/issues/1052
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
firubat
Level 1
Level 1
Posts: 23
Joined: Tue May 10, 2022 3:10 am

Re: How to get a program window to appear on all workspaces.

Post by firubat »

Lady Fitzgerald wrote: Thu May 26, 2022 8:21 am
firubat wrote: Thu May 26, 2022 6:28 am I managed to find a way to make a certain program always launch as Visible on all workspaces, see here:
viewtopic.php?p=2180796#p2180796
I couldn't understand the directions. For starters, how do I find a window title? Do I paste the codes exactly or do I have to change something?
The window title is simply the text appearing on the bar at the top of the window - in most cases it's simply the app's name, or at least contains it. E.g. for WhatsApp Desktop it's simply "WhatsApp", but for the terminal it would be something like username@machinename . And for the text editor it's "Unsaved document #".

You need to check what is the current command for opening the app, and replace it with the code

Code: Select all

sh -c "<COMMAND> ; wmctrl -r <WINDOWTITLE> -b add,sticky"
where instead of <COMMAND> you put the current command and instead of <WINDOWTITLE> you put the window title :wink: For example in my case I use

Code: Select all

sh -c "WhatsApp ; wmctrl -r WhatsApp -b add,sticky"
One thing I noticed is that if the app itself remembers the last configuration (like I see xed might do) it doesn't work...
Locked

Return to “Beginner Questions”