Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2022, 05:59 AM   #1
John Wood
Junior Member
John Wood began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2022
Device: kindle paperwhite
Darken Reader display on Linux

A dark theme can be quickly set for the book, but then the table of contents and bookmarks are still very light. That can be very annoying and it would be good if that could be changed.

I have already asked in a Linux forum. There I was recommended the commands:
sudo apt install qt5ct qt5-style-plugins
export QT_QPA_PLATFORMTHEME=gtk2
export QT_QPA_PLATFORMTHEME=qt5ct

But hasn't changed anything. They said someone here would know how to do it I use Xubuntu. If more information is missing, please ask. Thanks for the help.
John Wood is offline   Reply With Quote
Old 07-01-2022, 06:14 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,373
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
export CALIBRE_USE_DARK_PALETTE=1
kovidgoyal is offline   Reply With Quote
Advert
Old 07-01-2022, 09:30 AM   #3
John Wood
Junior Member
John Wood began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2022
Device: kindle paperwhite
That works very well, thanks for that. But I always start caliber from a launcher icon. If I now change the command for the starter to "export CALIBRE_USE_DARK_PALETTE=1 & calibre" I get the error message: Command ... could not be executed. Child process ... could not be run (file or directory not found). Which command does the starter need?
John Wood is offline   Reply With Quote
Old 07-01-2022, 09:46 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,585
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If you're using it as part of a launch command, then ditch the 'export' and the &. Just use something like:

CALIBRE_USE_DARK_PALETTE=1 calibre

The 'export' makes it semi-permanent (for the duration of the current open terminal say). That's better for use in a .profile file or the like. The Calibre binary clearly needs to be in your PATH using the the above start command.
DiapDealer is offline   Reply With Quote
Old 07-03-2022, 07:51 AM   #5
John Wood
Junior Member
John Wood began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2022
Device: kindle paperwhite
I can't make it Maybe the picture will help.

Click image for larger version

Name:	calibrerajzd.png
Views:	68
Size:	52.8 KB
ID:	194714

Last edited by BetterRed; 07-03-2022 at 09:01 AM. Reason: image too big - see Guidelines
John Wood is offline   Reply With Quote
Advert
Old 07-03-2022, 09:37 AM   #6
readx
Connoisseur
readx 's ceiling is 100% spider-free.readx 's ceiling is 100% spider-free.readx 's ceiling is 100% spider-free.readx 's ceiling is 100% spider-free.readx 's ceiling is 100% spider-free.readx 's ceiling is 100% spider-free.readx 's ceiling is 100% spider-free.readx 's ceiling is 100% spider-free.readx 's ceiling is 100% spider-free.readx 's ceiling is 100% spider-free.readx 's ceiling is 100% spider-free.
 
Posts: 94
Karma: 118402
Join Date: Jul 2009
Device: Cybook Gen3
go to your /home/USER/ folder
edit .profile (create it if it does not exist)
add the following lines:
Code:
export CALIBRE_USE_SYSTEM_THEME=0
export CALIBRE_USE_DARK_PALETTE=1
save, logout, login and open calibre. Dark theme should be enabled
readx is offline   Reply With Quote
Old 07-05-2022, 08:50 AM   #7
John Wood
Junior Member
John Wood began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2022
Device: kindle paperwhite
Thank you, problem solved
John Wood is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Darken text Grahamk Kobo Reader 3 01-24-2022 02:14 PM
Display of narrow no-break space (Linux build) roger64 Sigil 16 02-17-2018 10:35 AM
Darken text in Calibre?? woodr2011 Library Management 7 09-17-2017 07:12 AM
Is it possible to darken the background of calibre? GustavoB Library Management 1 04-14-2013 08:49 PM
Display problems using 0.8.55 on Linux Manichean Devices 5 06-12-2012 06:47 AM


All times are GMT -4. The time now is 08:26 AM.


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