Solved Handbrake no dark mode

I noticed that Handbrake isnt picking up the qt5ct settings for dark mode

Code:
export QT_QPA_PLATFORMTHEME=qt5ct

My other qt applications are using dark mode set with qt5ct
just wondering if anyone else had the same issue

Handbrake is working fine i used it to convert DNXHD footage exported from Davinci Resolve

1 hour 30 minutes of DNXHD footage exported from resolve was 136 GB
using Handbrake and H265 i managed to get the file size down to 208 MB


handbrake.png
 
Handbrake preferences.json
I cant see anything for setting the theme in the config

Handbrake on Ubuntu does pick up the Dark Theme
ill see if anything is different in the linux config

Code:
~/.config/ghb/preferences.json

output

Code:
{
    "Preferences": {
        "ActivityFontSize": 8.0,
        "AddCC": false,
        "AutoScan": false,
        "CustomTmpDir": "",
        "CustomTmpEnable": false,
        "DiskFreeCheck": true,
        "DiskFreeLimit": 2000.0,
        "EncodeLogLocation": false,
        "ExportDirectory": "/home/djwilcox/desktop",
        "LogLongevity": "immortal",
        "LoggingLevel": "1",
        "LowBatteryLevel": 15,
        "MinTitleDuration": 10,
        "PauseEncodingOnBatteryPower": false,
        "PauseEncodingOnLowBattery": false,
        "PauseEncodingOnPowerSave": true,
        "PreferredLanguage": "und",
        "RemoveFinishedJobs": false,
        "ShowMiniPreview": true,
        "SrtDir": "/home/djwilcox/video",
        "SyncTitleSettings": true,
        "UseM4v": false,
        "VideoQualityGranularity": "1",
        "WhenComplete": "notify",
        "allow_tweaks": false,
        "auto_name": true,
        "auto_name_template": "{source}",
        "default_source": "/home/djwilcox/video/davinci-resolve-freebsd.mov",
        "destination_dir": "/home/djwilcox/video",
        "hbfd": false,
        "hbfd_feature": false,
        "live_duration": 15,
        "preset_window_height": 1,
        "preset_window_width": 1,
        "presets_window_height": 1047,
        "presets_window_width": 1918,
        "preview_count": 10,
        "preview_show_crop": false,
        "preview_x": -1,
        "preview_y": -1,
        "reduce_hd_preview": true,
        "use_dvdnav": true,
        "version": "0.1",
        "window_height": 1047,
        "window_width": 1918
    }
}

Check the Handbrake config on Linux
no options for themes in the config

Also the Linux version of Handbrake doesnt have a User Interface menu either
that must just be for Windows or Mac

Note sure why its not picking up the dark theme set with qt5ct
 
I installed it just for testing purpose, it uses the theme from your desktop so in my case handbrake has its dark mode ^^
Joke aside you are right there is no option to select a theme light or dark(at least I didn't find it), TBH I am not even sure it exists on Linux either see the link below (from 2021):
https://forum.handbrake.fr/viewtopic.php?p=196932&hilit=dark+mode+linux#p196932
So like you said it might be only available for mac & windows, a bit disappointing but not surprising.
Also the port should be updated, the last version is from February 2024 while the current one is from December 2023.
 
cheers for having a look mate

i have the adwaita theme for qt5 and qt6 and qt5ct installed

Code:
adwaita-qt5-1.4.2              Adwaita theme for Qt applications
adwaita-qt6-1.4.2              Adwaita theme for Qt applications
qt5ct-1.8                      Qt 5 configuration tool

in my ~/.zshenv i export the QT_QPA_PLATFORMTHEME

Code:
export QT_QPA_PLATFORMTHEME=qt5ct

thats all i normally do for qt application
not sure what im missing

im guessing its either a package i need to install
or some variable i need to set

this is qt5ct set to use Adwiata Dark

qt5ct.png
 
Sorry mate I really can't help you with this I am really out of the loop with all the QT or KDE stuff, there is a complete page about this in the Archlinux wiki, hope it'll help a bit.
 
you right

i think the reason i thought it was a qt app was because
it was the only one using light mode

x11-themes/gnome-themes-extra

i think that the really old version of the theme
Adwaita/gtk-2.0

I think Adwaita is in gtk-arc-themes
which i have installed

Code:
[Settings]
gtk-icon-theme-name = Adwaita-dark
gtk-theme-name = Adwaita-dark
gtk-application-prefer-dark-theme = true

still doesnt pick up the theme
 
Handbrake gtk dark theme enabled

i had to add the following code to my ~/.zshenv and reboot
and it fixed the issue

Code:
# dark theme needed for handbrake
export GTK_THEME=Adwaita-dark:dark

handbrake.png
 
Back
Top