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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
- pepperminty
- Level 6
- Posts: 1064
- 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 LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times 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: 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?
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
- pepperminty
- Level 6
- Posts: 1064
- 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.
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
- pepperminty
- Level 6
- Posts: 1064
- 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 6
- Posts: 1064
- Joined: Thu Jun 23, 2011 10:51 pm
- pepperminty
- Level 6
- Posts: 1064
- 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 6
- Posts: 1064
- 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 6
- Posts: 1064
- Joined: Thu Jun 23, 2011 10:51 pm
- jeffmcneill
- Level 1
- Posts: 2
- Joined: Fri Sep 07, 2018 11:32 pm
- Contact:
Re: How to set environment variables for the calibre program (to get dark theme) in Mint Cinnamon [solved]
FYI, they moved this into an option under Settings > Preferences > Look & Feel > Main Interface > Color Palette
- pepperminty
- Level 6
- Posts: 1064
- Joined: Thu Jun 23, 2011 10:51 pm
Re: How to set environment variables for the calibre program (to get dark theme) in Mint Cinnamon [solved]
Thanks, Jeff. I appreciate this helpful information. I've made the change in that place you instructed. Now there's no need to mess with the terminal.jeffmcneill wrote: ⤴Thu Sep 08, 2022 1:29 am FYI, they moved this into an option under Settings > Preferences > Look & Feel > Main Interface > Color Palette