Can I do this somehow?
Set up Cinnamon so I can tell what workspace I'm in from the theme I've set?
(reposted from Cinnamon board as per suggestion)
Different themes, different workspaces
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Different themes, different workspaces
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Different themes, different workspaces
Cinnamon doesn't support it as far as I recall. It's easy to script though. Here's an example that works on MATE:
Stick that in a script and run it at startup. I'm not on Cinnamon right now so I don't have the necessary gsettings at hand for that DE but the idea is the same, you or someone else will be able to adapt it.
Code: Select all
WORKSPACETHEMES=(Mint-Y Mint-X Arc Arc-Dark)
xprop -root -spy _NET_CURRENT_DESKTOP | while read -r; do
gsettings set org.mate.interface gtk-theme "${WORKSPACETHEMES[${REPLY: -1}]}"
done
- smurphos
- Level 18
- Posts: 8501
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: Different themes, different workspaces
The relevant cinnamon keys could include the following depending on which themeable elements you want to change.
Desktop theme (panel and menu etc) -
Controls theme (gtk theme for apps -
Icon theme -
Window borders -
Cursor theme -
You could expand gm10's example script to have different arrays of theme names for the different elements (depending on which you wish to change)
I've just given this a try changing the gtk/controls theme only - it causes the workspace transition to stutter quite significantly on my machine (with about a dozen windows open).
Changing only the desktop theme worked quite nicely with no stuttering.
Desktop theme (panel and menu etc) -
org.cinnamon.theme name
Controls theme (gtk theme for apps -
org.cinnamon.desktop.interface gtk-theme
Icon theme -
org.cinnamon.desktop.interface icon-theme
Window borders -
org.cinnamon.desktop.wm.preferences theme
Cursor theme -
org.cinnamon.desktop.interface cursor-theme
You could expand gm10's example script to have different arrays of theme names for the different elements (depending on which you wish to change)
I've just given this a try changing the gtk/controls theme only - it causes the workspace transition to stutter quite significantly on my machine (with about a dozen windows open).
Changing only the desktop theme worked quite nicely with no stuttering.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.