Well, I was setting it in bashrc and then calling Calibre from an xterm, so I thought it should have worked.
Regardless, I removed the setting from .bashrc and put it in /etc/environment. Printenv shows
CALIBRE_USE_DARK_PALETTE=0
but however I start Calibre it still comes up with dark background and light fonts. I tried running in debug mode, which shows up two errors, but I don't know if they are relevant::
Quote:
alibre Debug log
calibre 5.43 embedded-python: False is64bit: True
Linux-5.15.48-1-MANJARO-x86_64-with-glibc2.35 Linux ('64bit', 'ELF')
('Linux', '5.15.48-1-MANJARO', '#1 SMP PREEMPT Thu Jun 16 12:33:56 UTC 2022')
Python 3.10.5
Interface language: en_GB
calibre 5.43 embedded-python: False is64bit: True
Linux-5.15.48-1-MANJARO-x86_64-with-glibc2.35 Linux ('64bit', 'ELF')
('Linux', '5.15.48-1-MANJARO', '#1 SMP PREEMPT Thu Jun 16 12:33:56 UTC 2022')
Python 3.10.5
Interface language: en_GB
Not controlling automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 127.59069767441859 x 127.92124352331606
Using calibre Qt style: True
Failed to read metadata from font file: /usr/share/fonts/TTF/TSCu_Comic.ttf tuple index out of range
Failed to read metadata from font file: /usr/share/fonts/TTF/TSCu_Times.ttf tuple index out of range
[0.00] Starting up...
[0.01] Showing splash screen...
[0.06] splash screen shown
[0.06] Initializing db...
[0.10] db initialized
[0.10] Constructing main UI...
[0.82] main UI initialized...
[0.82] Hiding splash screen
Starting QuickView
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 900, resource id: 10566932, major code: 40 (TranslateCoords), minor code: 0
[3.47] splash screen hidden
[3.47] Started up in 3.47 seconds with 1322 books
|
Graham