Overriding interface theme for 2 applications?

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Post Reply
User avatar
Valsodar
Level 4
Level 4
Posts: 226
Joined: Thu Jul 19, 2018 11:30 pm
Location: Sofia, Bulgaria
Contact:

Overriding interface theme for 2 applications?

Post by Valsodar »

I use Pinta and KolourPaint4 like 10 times a day and since they adopted the theme I made (by editing an existing one), it's hard to find the tools I need on their interface. It was hard even before editing the theme. I've also disabled the function "use dark theme for apps when available" but these 2 programs still adopt any dark theme present in the system. So I started looking for ways to override all dark themes and make them run with light themes. I found an instruction that if I create a '.desktop' file for each program in ~/.local/share/applications with Exec=env GTK_THEME=Adwaita it was supposed to override the dark theme I'm currently using. But it doesn't work - no matter what I put in that '.desktop' file, both Pinta and KP4 won't run with a light theme. So, what am I missing? This is the contents of the Pinta.desktop file:

Code: Select all

[Desktop Entry]
Name=Pinta
Comment=Image editing program
TryExec=pinta %F
Exec=env GTK_THEME=Adwaita
Icon=pinta
Type=Application
StartupNotify=false
Terminal=false
AsRock B85M Pro4, Core i3-4170, Palit GTX 1050 Ti 4GB, Corsair CX750 PSU, Corsair 32GB DDR3-1600, Corsair Force LE 120GB, WD Caviar Blue + Green = 1.5TB, Firefox 65+ x64, 5.0.13-arch1-1-ARCH Cinnamon

Hoser Rob
Level 16
Level 16
Posts: 6153
Joined: Sat Dec 15, 2012 8:57 am

Re: Overriding interface theme for 2 applications?

Post by Hoser Rob »

Pinta hasn't been updated in 4 years, I'm not surprised there are theming issues. You may want to look here:

https://launchpad.net/~pinta-maintainer ... nta-stable

KolourPaint is a KDE program and it's difficult to get the theming the same in non KDE DEs. Try a look here for starters:

https://wiki.archlinux.org/index.php/Un ... plications

User avatar
smurphos
Level 16
Level 16
Posts: 6837
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Overriding interface theme for 2 applications?

Post by smurphos »

Valsodar wrote:
Fri Apr 26, 2019 6:17 am

Code: Select all

[Desktop Entry]
Exec=env GTK_THEME=Adwaita
That's not a complete command - it probably needs to be something like

Exec=env GTK_THEME=Adwaita pinta %F
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

Post Reply

Return to “Cinnamon”