lutris
lutris copied to clipboard
Using dark theme with Lutris flatpak
Hello, using Debian 11 and Lutris on Flatpak. I'm trying to enable the dark mode of Lutris, but without success.
Any help would be appreciated.
Hello, The flatpak bundle for Lutris requires the dark GTK theme. It is unable to communicate with the theme on your system. This may be the reason for the issue.
Is it possible to make it work someway?
What is your desktop environment?
Debian 11 with KDE Plasma
I figured as much... So, you need the corresponding GTK libraries. in order to use a GTK theme, you will need to have the GTK libraries installed on your system. These libraries provide the necessary support for GTK applications, including Lutris, to display and function correctly.
You can try to install and use kde-gtk-config or kde-config-gtk-style
There is no kde-gtk-config package available and kde-config-gtk-style is already installed
I quickly set up a Debian 11 KDE with Vagrant/Virtualbox, installed Lutris via flatpak. I was able to enable the dark theme in the Lutris options...
@nahsiy Are you sure you're talking about Lutris on flatpak ?
I litterally installed my Debian 11 desktop last Monday, and every apps I got are from flathub, I kept my system very clean in order to not mess with wine dependencies (I already experienced those)
@nahsiy here is my info/permissions of lutris flatpak :
$ flatpak -v info net.lutris.Lutris
F: No installations directory in /etc/flatpak/installations.d. Skipping
Lutris - Video game preservation platform
ID: net.lutris.Lutris
Ref: app/net.lutris.Lutris/x86_64/stable
Arch: x86_64
Branch: stable
Version: 0.5.12
License: GPL-3.0-or-later
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 931.0 MB
Runtime: org.gnome.Platform/x86_64/43
Sdk: org.gnome.Sdk/x86_64/43
Commit: 9c10163b7fc0895e76a4053cde5e81fbf90ef91e38ba02eac55f486fbd8f4ace
Parent: 72ad7fdc1ad3cf6d58644cd02f40fbcdb7ee7f2c2315573a82eb3daeb35a7963
Subject: dosbox: Update to 0.79.1 (ae7314c7)
Date: 2022-12-07 00:50:58 +0000
$ flatpak -v info --show-permissions net.lutris.Lutris
F: No installations directory in /etc/flatpak/installations.d. Skipping
[Context]
shared=network;ipc;
sockets=x11;wayland;pulseaudio;
devices=all;
features=devel;multiarch;
filesystems=home;/media;~/GAMES;/run/media;~/.var/app/com.valvesoftware.Steam:ro;xdg-data/flatpak:ro;
[Session Bus Policy]
org.gnome.Mutter.DisplayConfig=talk
org.kde.StatusNotifierWatcher=talk
org.freedesktop.Flatpak=talk
[System Bus Policy]
org.freedesktop.UDisks2=talk
[Environment]
GST_PLUGIN_SYSTEM_PATH=/app/lib32/gstreamer-1.0:/app/lib/gstreamer-1.0:/usr/lib/i386-linux-gnu/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
PATH=/app/bin:/usr/bin:/app/utils/bin:/usr/lib/extensions/vulkan/MangoHud/bin/:/app/jre/bin/
APPIMAGE_EXTRACT_AND_RUN=1
MANGOHUD=1
Do you have anything different ?
can u to see this command too ?
$ sudo apt list --installed |grep gtk
breeze-gtk-theme/stable,now 5.20.5-1 amd64 [installed,automatic]
gir1.2-gtk-3.0/stable,now 3.24.24-4+deb11u2 amd64 [installed,automatic]
gtk-update-icon-cache/stable,now 3.24.24-4+deb11u2 amd64 [installed,automatic]
gtk2-engines-pixbuf/stable,now 2.24.33-2 amd64 [installed,automatic]
kde-config-gtk-style/stable,now 4:5.20.5-2 amd64 [installed,automatic]
libgtk-3-0/stable,now 3.24.24-4+deb11u2 amd64 [installed,automatic]
libgtk-3-bin/stable,now 3.24.24-4+deb11u2 amd64 [installed,automatic]
libgtk-3-common/stable,now 3.24.24-4+deb11u2 all [installed,automatic]
libgtk2.0-0/stable,now 2.24.33-2 amd64 [installed,automatic]
libgtk2.0-bin/stable,now 2.24.33-2 amd64 [installed,automatic]
libgtk2.0-common/stable,now 2.24.33-2 all [installed,automatic]
pinentry-gtk2/stable,now 1.1.0-4 amd64 [installed]
qt5-gtk-platformtheme/stable,now 5.15.2+dfsg-9 amd64 [installed,automatic]
xdg-desktop-portal-gtk/stable,now 1.8.0-1 amd64 [installed,automatic]
I have a few more packages but it seems everything which you listed is there
One other issue I think may be related is that the tray icon is missing
I have the same problem with lutris flatpak on my Kubuntuinstall. The Systemtrayicon is not showing up on my end anymore since i switched from the Dark Arc Plasma Theme to Plasmas Breeze Dark design. Instead of the icon i get only a "blank space" like in the screenshot above. If i click on this part i get the lutris systray dialog. The icon is there it is just not visible.
Having the same issue on Ubuntu 23.04, apt package uses dark theme, flatpak does not.
Same issue on Ubuntu 22.04 LTS. Strangely however, in a previous installation, seemingly exactly the same as my current, it did use dark mode.
Can confirm the dark theme is working perfectly fine with the Lutris flatpak on Fedora 40.
s31bz@fw13amd
-------------
.',;::::;,'. OS: Fedora Linux 40 (Workstation Edition) x86_64
.';:cccccccccccc:;,. Host: Laptop 13 (AMD Ryzen 7040Series) (A7)
.;cccccccccccccccccccccc;. Kernel: 6.8.5-300.fc40.x86_64
.:cccccccccccccccccccccccccc:. Uptime: 17 mins
.;ccccccccccccc;.:dddl:.;ccccccc;. Packages: 3084 (rpm), 33 (flatpak)
.:ccccccccccccc;OWMKOOXMWd;ccccccc:. Shell: bash 5.2.26
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:. Display (BOE095F): 2256x1504 @ 60Hz [Built-in]
,cccccccccccccc;MMM.;cc;;WW:;cccccccc, Display (LG ULTRAGEAR): 2560x1440 @ 144Hz
:cccccccccccccc;MMM.;cccccccccccccccc: DE: Gnome 46.0
:ccccccc;oxOOOo;MMM000k.;cccccccccccc: WM: Mutter (Wayland)
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc; WM Theme: Adwaita
ccccc;XMO';cccc;MMM.;cccccccccccccccc' Theme: Adwaita [GTK2/3/4]
ccccc;MMo;ccccc;MMW.;ccccccccccccccc; Icons: Adwaita [GTK2/3/4]
ccccc;0MNc.ccc.xMMd;ccccccccccccccc; Font: Cantarell (11pt) [GTK2/3/4]
cccccc;dNMWXXXWM0:;cccccccccccccc:, Cursor: Adwaita (24px)
cccccccc;.:odl:.;cccccccccccccc:,. Terminal: GNOME Terminal 3.50.1
ccccccccccccccccccccccccccccc:'. Terminal Font: Source Code Pro (10pt)
:ccccccccccccccccccccccc:;,.. CPU: AMD Ryzen 7 7840U w/ Radeon 780M Graphics (16) @ 6.08 GHz
':cccccccccccccccc::;,. GPU: AMD Phoenix1
Memory: 5.63 GiB / 46.24 GiB (12%)
Disk (/): 437.42 GiB / 3.64 TiB (12%) - btrfs
Battery: 100% [Discharging]
Locale: en_US.UTF-8