Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-10-26 19:57:41

860lacov
Member
Registered: 2020-05-10
Posts: 13

How to open application with a different than system theme?

I use shades of gray theme.
I wanted to use cherrytree for my notes (first time)

It seems that it's not ready for dark themes and UI looks quite ugly. I checked and with a light theme it's ok.

Is there a way to open just one application with a different theme?

Offline

#2 2020-10-26 20:26:11

Signy
Member
Registered: 2020-10-20
Posts: 35

Re: How to open application with a different than system theme?

For GTK3 application you can run in a terminal window:

GTK_THEME=<theme-name> <application>

for example:

GTK_THEME=Adwaita gthumb &

Thanks to: https://www.linuxuprising.com/2019/10/h … e-for.html

But it looks as if Cherrytree was GTK2 application.
And there is a way for GTK2 applications too. This script called gtk2theme:

#!/bin/bash
# lauch a gtk2 application with a different theme
# set GTKRCFILE variable to your favourite theme
GTKRCFILE=Numix
GTK2_RC_FILES=/usr/share/themes/"$GTKRCFILE"/gtk-2.0/gtkrc "$@"

can be run in terminal:

gtk2theme gftp & 

Thanks to: https://unix.stackexchange.com/question … tion-basis

Last edited by Signy (2020-10-26 20:44:11)

Offline

Board footer

Powered by FluxBB