Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.mint > #39428

Re: Claws mail bacground

From Kirk_Rockstein <Kirk_Rockstein@nowhere.invalid>
Newsgroups alt.os.linux.mint
Subject Re: Claws mail bacground
Date 2022-11-11 18:25 +0000
Message-ID <jt7icvFie4hU1@mid.individual.net> (permalink)
References <20221109101856.6980fe4c@gray>

Show all headers | View raw


On 2022-11-09, yossarian <nomail@gmail.com> wrote:
> Anybody knows how to change Claws mail 4 background? 
> It is too white. I prefer something duller.   
> I don't know why there is no midground between dark and light themes. 
> My old eyes will prefer something like a white coffee color 
> for all backgrounds.
>

To change GTK theme/color for claws-mail alone 
this can be done by setting an environment variable in the 
command to run the application, 

GTK 2 applications
Uses the env variable "GTK2_RC_FILES". Start an application with
GTK2_RC_FILES=/path/to/theme/gtkrc <command>
GTK 3 applications
Uses the env variable "GTK_THEME". Start an application with
GTK_THEME=/path/to/theme/gtk.css <command>

Examples

GTK3:
$ GTK_THEME=/usr/share/themes/Mint-Y-Dark-Teal/gtk-3.0/gtk.css claws-mail

GTK2: 
$ GTK2_RC_FILES=/usr/share/themes/Mint-Y-Dark-Teal/gtk-2.0/gtkrc claws-mail

create a script file in $HOME like so:

touch $HOME/claws-mail.sh

Make it executive:

chmod +x $HOME/claws-mail.sh 

Open $HOME/claws-mail.sh in a text editor of your choice (example):

adie $HOME/claws-mail.sh

Enter text as example below:

#!/bin/bash
GTK_THEME=/usr/share/themes/Mint-Y-Dark-Teal/gtk-3.0/gtk.css claws-mail

Save edit,
Then find the claws-mail.desktop file on your system and open it 
in a text editor then locate this line in the file:

Exec=claws-mail %u

Edit that line to:

Exec=/home/YOURUSER/claws-mail.sh %u

Save edit. Note that YOURUSER above would be your actual username.

Back to alt.os.linux.mint | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Claws mail bacground yossarian <nomail@gmail.com> - 2022-11-09 10:18 +0100
  Re: Claws mail bacground Marco Moock <mo01@posteo.de> - 2022-11-09 10:28 +0100
    Re: Claws mail bacground nomail@gmail.com - 2022-11-09 11:41 +0100
      Re: Claws mail bacground Marco Moock <mo01@posteo.de> - 2022-11-09 12:40 +0100
        Re: Claws mail bacground yossarian <nomail@gmail.com> - 2022-11-09 15:50 +0100
          Re: Claws mail bacground Big Al <Bears@invalid.com> - 2022-11-09 10:56 -0500
  Re: Claws mail bacground Johnny <johnny@invalid.net> - 2022-11-09 04:01 -0600
    Re: Claws mail bacground nomail@gmail.com - 2022-11-09 11:41 +0100
  Re: Claws mail bacground Johnny <johnny@invalid.net> - 2022-11-09 16:14 -0600
  Re: Claws mail bacground Kirk_Rockstein <Kirk_Rockstein@nowhere.invalid> - 2022-11-11 18:25 +0000
    Re: Claws mail bacground yossarian <nomail@gmail.com> - 2022-11-12 08:58 +0100

csiph-web