Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-16-2020, 02:29 AM   #1
netherking
Junior Member
netherking began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2019
Device: none
[How to] Access dark theme in Ubuntu 18.04

THIS IS A FIX, NOT A BUG REPORT OR FEATURE REQUEST

For quite a bit of time I've been unable to access the dark theme on my Ubuntu 18.04 PC, even with the fixes provided in the docs or on various forum posts. It occurred to my recently that there might be an issue where Ubuntu did not pass on the information that the dark theme was currently enabled to calibre. The fix was to set both environment variables to ensure it behaved the way I wanted.

To check if this works for you before implementing open a terminal and run this command:
export CALIBRE_USE_SYSTEM_THEME=0 && export CALIBRE_USE_DARK_PALETTE=1 && calibre

If your shell is bash (if you don't know what that means follow both sets of instructions):
go to your /home/USER/ folder
edit .bash_profile (create it if it does not exist)
add the following lines:
export CALIBRE_USE_SYSTEM_THEME=0
export CALIBRE_USE_DARK_PALETTE=1
save, logout, login and open calibre. Dark theme should be enabled.

If you use any other shell:
go to your /home/USER/ folder
edit .profile (create it if it does not exist)
add the following lines:
export CALIBRE_USE_SYSTEM_THEME=0
export CALIBRE_USE_DARK_PALETTE=1
save, logout, login and open calibre. Dark theme should be enabled.
netherking is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
So you want a Calibre Dark Theme Rellwood Library Management 4 02-07-2020 10:01 PM
Dark theme Mac Catalina Igor Engelen Calibre 1 11-24-2019 09:37 PM
Dark Theme for Mac annime Editor 1 08-04-2018 09:37 PM
How to get a dark theme under Windows? alegriadelarte Calibre 1 05-15-2018 03:22 PM
No dark theme possible in Ubuntu 16.04? Klojum Calibre 1 06-23-2017 09:55 PM


All times are GMT -4. The time now is 10:09 AM.


MobileRead.com is a privately owned, operated and funded community.