Nightly flatpak: No / Can’t test it because I don’t know where I need to edit the file
Other: GNOME nautilus 3.32.3
Steps to reproduce
I’am trying to change the theme for nautilus
I did add Exec=env GTK_THEME=Adwaita:dark nautilus --new-window in the following desktop file /usr/share/applications/org.gnome.Nautilus.desktop . When I launch the Files application I still see the current default theme
starting with GTK_THEME=Adwaita:dark nautilus from the console does work
Current
When configured the .desktop file with Exec=env GTK_THEME=Adwaita:dark
The GTK_THEME environment variable is a debugging and development tool; you should not use it when running your applications on your desktop.
Additionally, Nautilus acts as a service: if there’s a window already open, launching a new instance of Nautilus will just tell the running instance to open a new window. The environment variables are not carried over, and even if they were, they are not going to be parsed again (they are only parsed at start up).
Use a dark theme, instead of the dark variant of Adwaita.