Let user opt out of using GTK file picker (Linux)
When I open the file browser through discord (for instance, when uploading or saving an image), it automatically uses the GTK file picker rather than Dolphin (or any other file browser). This is annoying, because
1) Customization on Dolphin, like saved locations, does not carry over, and
2) I just don't like GTK file picker, and I'd rather not be forced to use it.
Firefox does this too, but there is a way to use the system default file browser instead by adding the line "export GTK_USE_PORTAL=1" to "/etc/profile.d/mozilla-
It would be nice to have some way to change this with Discord as well. (Preferably something a little less obscure than Firefox's solution, but I'll take what I can get.)
-
I just came across this issue.
Electron (which discord is build upon) supports this via xdg-desktop-portal.
Having installed xdg-desktop-portal, Just exporting GTK_USE_PORTAL=1 should make discord to use Dolphin (or dany other) as file picker
https://github.com/electron/electron/issues/2911
https://tristan.partin.io/blog/2021/04/01/electron-linux-and-your-file-chooser/0
U moet u aanmelden om een opmerking te plaatsen.
Opmerkingen
1 opmerking