![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2022
Device: yes
|
USE_SYSTEM_THEM var has no noticeable effect
Hello. I recently upgraded calibre from my distribution's package to the binary install offered here. I do prefer dark mode/dark palette/dark colors and have both system gtk and qt5 set up accordingly. After upgrade, I have been successful with CALIBRE_USE_DARK_PALETTE, which works great. I have not been successful with CALIBRE_USE_SYSTEM_THEME, either from within /etc/environment or thru a shell session using export.
I have rtfm and realize the caveat for CALIBRE_USE_SYSTEM_THEME. Is this environment var deprecated, or is my system suspect? Thanks! Code:
$ calibre --version calibre (calibre 5.42) Code:
$ sudo inxi -ISMxxxz System: Kernel: 5.4.0-109-generic x86_64 bits: 64 compiler: gcc v: 9.4.0 Desktop: Cinnamon 5.2.7 wm: muffin 5.2.1 dm: LightDM 1.30.0 Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal Machine: Type: Laptop System: Micro-Star product: GT70 2PE v: REV:0.C serial: <filter> Chassis: type: 10 serial: N/A Mobo: Micro-Star model: MS-1763 v: REV:0.C serial: <filter> UEFI: American Megatrends v: E1763IMS.51D date: 04/17/2015 Info: Processes: 293 Uptime: 8h 28m Memory: 15.55 GiB used: 2.99 GiB (19.3%) Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.4.0 alt: 8/9 Shell: bash (sudo) v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 Code:
/etc/environment #for calibre #CALIBRE_USE_SYSTEM_THEME=1 CALIBRE_USE_DARK_PALETTE=1 Code:
qt5ct.conf [Appearance] color_scheme_path=/usr/share/qt5ct/colors/darker.conf custom_palette=true icon_theme=Mint-X-Pink standard_dialogs=default style=gtk2 [Fonts] fixed="@Variant(\0\0\0@\0\0\0 \0\x44\0\x65\0j\0\x61\0V\0u\0 \0S\0\x61\0n\0s\0 \0M\0o\0n\0o@,\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)" general="@Variant(\0\0\0@\0\0\0\f\0U\0\x62\0u\0n\0t\0u@,\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x39\x10)" [Interface] activate_item_on_single_click=1 buttonbox_layout=0 cursor_flash_time=1000 dialog_buttons_have_icons=1 double_click_interval=400 gui_effects=@Invalid() keyboard_scheme=2 menus_have_icons=true show_shortcuts_in_context_menus=true stylesheets=@Invalid() toolbutton_style=4 underline_shortcut=1 wheel_scroll_lines=3 [SettingsWindow] geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x4\x88\0\0\0\x17\0\0\ah\0\0\x3\x1a\0\0\x4\x89\0\0\0\x35\0\0\ag\0\0\x3\x19\0\0\0\0\0\0\0\0\a\x80\0\0\x4\x89\0\0\0\x35\0\0\ag\0\0\x3\x19) |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Its deprecated. You CALIBRE_DARK_PALETTE. And in calibre 6 if your desktop environmnet supports the desktop settings portal and reports dark mode via it, calibre will use dark mode automatically.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,976
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: are there any plans for a similar CALIBRE_LIGHT_PALETTE for people who want to override it the opposite way?
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, I am gradually converging to have calibre follow the system theme and not rely on env vars. Eventually once the various OSes all have robust ways to specify light/dark at a system level the env var will be removed.
|
![]() |
![]() |
![]() |
#5 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,976
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Oh. That's disappointing, as I don't use Windows in dark mode but I prefer to have Calibre in it.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If there is enough demand I can easily create a setting for it, but it wont be an env var.
|
![]() |
![]() |
![]() |
#7 | ||
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2022
Device: yes
|
.
Quote:
Quote:
Thank you for providing this option until they get us there. |
||
![]() |
![]() |
![]() |
#8 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,976
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
EDIT: Also portable Calibre users. Last edited by ownedbycats; 05-06-2022 at 03:33 PM. |
|
![]() |
![]() |
![]() |
#9 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
|
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2022
Device: yes
|
Quote:
Perhaps start a poll within your own thread? Thanks. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Noticeable Battery Drain on KOReader - Kobo Clara HD | garlicshampoo | KOReader | 28 | 08-08-2024 11:59 PM |
Is difference between 300ppi and 265ppi noticeable? | HYPE | Kobo Reader | 18 | 12-14-2017 01:28 PM |
/var/local/waf | Semir | Kindle Developer's Corner | 0 | 08-25-2012 03:53 PM |
Noticeable slowdown for 1000 page + ebooks? | pitolee | Sony Reader | 10 | 04-23-2007 06:07 PM |