How to set environment variables for the calibre program (to get dark theme) in Mint Cinnamon [solved]
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
- pepperminty
- Level 5
- Posts: 976
- Joined: Thu Jun 23, 2011 10:51 pm
How to set environment variables for the calibre program (to get dark theme) in Mint Cinnamon [solved]
I'd like to change the theme of Calibre and the developer has made his program quite customizable: https://manual.calibre-ebook.com/customize.html#id1 . According to that link, we can use "CALIBRE_USE_SYSTEM_THEME".
My question is: How do we set this environment variable on Linux Mint Cinnamon?
Thanks!
My question is: How do we set this environment variable on Linux Mint Cinnamon?
Thanks!
Last edited by pepperminty on Sat Mar 28, 2020 8:05 am, edited 2 times in total.
Re: How to set environment variables for the calibre program in Mint Cinnamon.
In the same what as on Linux Mint xfce, Linux Mint Mate and even on Ubuntu.pepperminty wrote: ↑Fri Mar 20, 2020 1:34 pmHow do we set this environment variable on Linux Mint Cinnamon?


Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
- pepperminty
- Level 5
- Posts: 976
- Joined: Thu Jun 23, 2011 10:51 pm
Re: How to set environment variables for the calibre program in Mint Cinnamon.
some minter helped me with this:
i then just modified the command line in the calibre shortcut i dragged from my mint menu to the panel
env CALIBRE_USE_DARK_PALETTE=1 calibre
.i then just modified the command line in the calibre shortcut i dragged from my mint menu to the panel
Re: How to set environment variables for the calibre program in Mint Cinnamon [solved]
In analogy, the variable CALIBRE_USE_SYSTEM_THEME could be set in the same way:
Really, the online help could be a bit more specific on how to set the (optional) environment variables on Linux systems.
env CALIBRE_USE_SYSTEM_THEME=1 calibre
Really, the online help could be a bit more specific on how to set the (optional) environment variables on Linux systems.


Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
- pepperminty
- Level 5
- Posts: 976
- Joined: Thu Jun 23, 2011 10:51 pm
Re: How to set environment variables for the calibre program in Mint Cinnamon [solved]
karichen,
initially, i tried
initially, i tried
env CALIBRE_USE_SYSTEM_THEME=1 calibre
but it did nothing. i then tried env CALIBRE_USE_DARK_PALETTE=1 calibre
and it worked. the developer said he didn't give instructions for linux because there's multiple answers (because there's multiple linux flavors)Re: How to set environment variables for the calibre program in Mint Cinnamon [solved]
Could you please send a screenshot I can't put in calibre dark mode in Linux mint 19.3 Cinnamon
Last edited by wopaterno on Fri Mar 27, 2020 5:06 pm, edited 2 times in total.
- pepperminty
- Level 5
- Posts: 976
- Joined: Thu Jun 23, 2011 10:51 pm
- pepperminty
- Level 5
- Posts: 976
- Joined: Thu Jun 23, 2011 10:51 pm
Re: How to set environment variables for the calibre program in Mint Cinnamon [solved]
No case, change the command and reboot the system and nothing
- pepperminty
- Level 5
- Posts: 976
- Joined: Thu Jun 23, 2011 10:51 pm
Re: How to set environment variables for the calibre program in Mint Cinnamon [solved]
could you try opening a Terminal and running the same command
env CALIBRE_USE_DARK_PALETTE=1 calibre
Re: How to set environment variables for the calibre program in Mint Cinnamon [solved]
Yes now, thank you !! I am happy
- pepperminty
- Level 5
- Posts: 976
- Joined: Thu Jun 23, 2011 10:51 pm