Hello. I'm using Debian testing with KDE Plasma 5.27. I'm experiencing a problem where GTK Flatpaks are not following the chosen GTK theme despite giving them permissions to access .themes and .icons folders found in the home directory. I tried the running the following commands in the terminal:

flatpak override --filesystem=xdg-config/gtk-4.0:ro flatpak override --filesystem=xdg-config/gtk-3.0:ro

I even tried to specify a certain GTK theme to be chosen, that resulted in the flatpak changing to an ugly white-adwaita theme. I should note that this is happening exclusively with GTK Flatpaks, QT Flatpaks and GTK deb packages don't seem to have this problem. What am I missing here? Any help would be appreciated.

  • pH3ra@lemmy.ml
    ·
    1 year ago

    In this video explains everything you should know about flatpak theming.
    As others said, you probably haven't installed the chosen theme yet.

    • PipedLinkBot@feddit.rocksB
      ·
      1 year ago

      Here is an alternative Piped link(s): https://piped.video/watch?v=IYXlgzrZRIE

      Piped is a privacy-respecting open-source alternative frontend to YouTube.

      I'm open-source, check me out at GitHub.

  • hellvolution@lemmygrad.ml
    ·
    1 year ago

    Old ass adwaita/libadwaita bug; happens on every distro... I'm really starting to think it is more related to libadwaita itself than to flatpak 😭

    • furzegulo1312@lemmy.dbzer0.com
      ·
      edit-2
      1 year ago

      here's the same as text

      sudo apt install xdg-desktop-portal-gtk

      systemctl --user edit xdg-desktop-portal.service

      1. paste these two lines
      [Service]
      
      Environment="XDG_CURRENT_DESKTOP=sway"
      

      systemctl --user restart xdg-desktop-portal.service