View Single Post
Old 06-27-2017, 02:35 PM   #19
MontyJ
Addict
MontyJ began at the beginning.
 
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
Quote:
Originally Posted by patrik View Post
If you just want to test running calibre with the variable set, you could start it from the command line:

# env CALIBRE_USE_SYSTEM_THEME=1 calibre
Fantastic! Thanks!! A true noob here!...

Anyway, I have an "isolated" version of 3.1.1 set up in the ~/calibre-bin folder. Using that ENV, here is what I got:
Code:
 ~/calibre-bin/calibre $ env CALIBRE_USE_SYSTEM_THEME=1 ~/calibre-bin/calibre/calibre-debug -g
calibre 3.1.1  embedded-python: True is64bit: True
Linux-4.8.0-54-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF')
('Linux', '4.8.0-54-generic', '#57~16.04.1-Ubuntu SMP Wed May 24 16:22:28 UTC 2017')
Python 2.7.12
Linux: ('debian', 'stretch/sid', '')
Interface language: None
Successfully initialized third party plugins: Consolidate All Library Metadata (2, 0, 29) && FictionDB (1, 0, 10) && Barnes & Noble (1, 2, 14) && NormComment (0, 0, 2) && Diaps Editing Toolbag (0, 3, 4) && Goodreads (1, 1, 12) && Quality Check (1, 9, 11) && Databazeknih (1, 4, 0) && Find Duplicates (1, 6, 2) && Webscription (1, 1, 0) && Resize Cover (1, 0, 2) && Quick Preferences (1, 4, 1) && Reading List (1, 6, 6) && Import List (1, 1, 5) && Modify ePub (1, 3, 13)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: inf x inf
physicalDpi: -49587349.6902 x -87694669.8701
Using calibre Qt style: False
Starting up...
And as you can see those pesky Dpi settings still don't get picked up properly. And it looks like the ENV did get set as shown by "Using calibre Qt style: False" seems to indicate.

Looks like I am going to be stuck with 2.85 for a while, LoL.
MontyJ is offline   Reply With Quote