MS Teams has been adopted all over, but on Linux, they have annoyingly decided to not provide the default Window decorations, so Its not possible to right click, and enable 'Always on Visible Workspace' which is something I like to have on.

OOhhh, found a different way, hold down the ALT key and right click on the teams title bar and the popup has 'Always on Visible Workspace' as an option.

Window Decorations can be manipulated in a few ways, the easiest I found was to install devilspie2 and then a small script to re-activate the window decorations. Note that you should always read script contents before running them, and the script in this gist is no different.

apt-get install devilspie2
mkdir -p .config/devilspie2
wget -q https://gist.githubusercontent.com/NuxRo/ce82df04e5dabaacb7104ac31cdb7be3/raw/d9d6d0fe16d56fc0ff369b292c634f07e28f582d/msteams.lua -O .config/devilspie2/msteams.lua
devilspie2 -d

Running with -d to start with allows confirmation that it found the script and will take the actions, but is probably not how you want to run things long term, thats more likely to be by adding something like this on Stack Exchange.

But that didn't work, and I'm using devilspie2, sooo a bit more googling returned a systemd based solution on the archlinux forums, which when updated to devilspie2 ends up being to paste this into a terminal:

mkdir -p ~/.config/systemd/user/
echo "[Unit]
Description=Devilspie

[Service]
ExecStart=/usr/bin/devilspie2

[Install]
WantedBy=default.target" > ~/.config/systemd/user/devilspie.service
systemctl --user enable devilspie
systemctl --user start devilspie

And that appears to work a treat and feels nicer as well.

Topics