View Single Post
Old 05-05-2022, 05:30 PM   #1
surah96
Junior Member
surah96 began at the beginning.
 
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)
surah96 is offline   Reply With Quote