You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
I set Dolphin as default file manager, but VSCode opens Nautilus instead of Dolphin #50386
electronIssues and items related to Electronfixed-in-electron-14Issues fixed with Electron 14.x updateinsiders-releasedPatch has been released in VS Code InsiderslinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-fixedThe underlying upstream issue has been fixed
Reacted by David Pomerenke, Brad Mccormack, mihai-cazacu-adswizz, Jacob Zhong, Mihai Cazacu, ergonomic.code, Derek Christ, Pavel Tkalenko, Patrick José Pereira, Tostiman and 28 more
Andre Weinand (@weinand) and Benjamin Pasero (@bpasero), the same problem still insists. I am using Deepin OS and Manjaro, VSCode opens the ugly X11/Xorg-based Nautilus instead of Deepin File (Deepin OS's default file manager) and Dolphin (Manjaro's).
Gustavo Papi (@gusbemacbe) did you try with our latest insider release that comes with Electron 2.0.x and GTK3 support? Just wondering if that would change anything here.
Nautilus is not a file chooser. In GNOME, the file chooser is the GTK file chooser which is what is supposed to happen. Use KDE if you want the KDF file chooser.
It indeed does work on KDE. You just have to set it up and be using VSCode insiders.
Can confirm that this is the case for now. Does indeed work fine in KDE session using the Insider build. Still looking for a way to override the default file chooser in a Gnome session.
Despite other applications working flawlessly with the KDE file picker in both OpenSUSE Tumbleweed and Ubuntu 20.04, I cannot get this to work for VSCode insiders.
Make sure you have the environment variable GTK_USE_PORTAL=1 set
It is set in my environment, it is also set explicitly inside code.sh, relevant packages are installed (xdg-*, kdialog, etc). Firefox functions as expected in KDE while VSCode does not. Followed the tutorial commands posted above just in case they're needed and that didn't help either.
Make sure you have the environment variable GTK_USE_PORTAL=1 set
It is set in my environment, it is also set explicitly inside code.sh, relevant packages are installed (xdg-*, kdialog, etc). Firefox functions as expected in KDE while VSCode does not. Followed the tutorial commands posted above just in case they're needed and that didn't help either.
electronIssues and items related to Electronfixed-in-electron-14Issues fixed with Electron 14.x updateinsiders-releasedPatch has been released in VS Code InsiderslinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-fixedThe underlying upstream issue has been fixed
Activity
vscodebot commentedon May 24, 2018
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
weinand commentedon May 24, 2018
Gustavo Papi (@gusbemacbe) what do you mean by step 3 "open a folder"?
"Opening a folder" in VS Code means clicking on the folder in the explorer (and that works fine for me).
gusbemacbe commentedon May 24, 2018
Inside VSCode, I selected File -> Open Folder ...
weinand commentedon May 24, 2018
Aha, you mean VS Code uses the wrong "open file dialog".
saileshkush95 commentedon Jul 30, 2018
I'm also facing same problem
gusbemacbe commentedon Jul 30, 2018
Andre Weinand (@weinand) and Benjamin Pasero (@bpasero), the same problem still insists. I am using Deepin OS and Manjaro, VSCode opens the ugly X11/Xorg-based Nautilus instead of Deepin File (Deepin OS's default file manager) and Dolphin (Manjaro's).
bpasero commentedon Aug 6, 2018
Gustavo Papi (@gusbemacbe) did you try with our latest insider release that comes with Electron 2.0.x and GTK3 support? Just wondering if that would change anything here.
gusbemacbe commentedon Aug 8, 2018
Benjamin Pasero (@bpasero)
Sorry for my absence, I was sick.
ON Manjaro, it supports perfectly GTK3, but it still opens Nautilus instead of Dolphin File.
On Deepin OS, it does not support GTK3, and still also opens Nautilus instead of Deepin File Manager.
81 remaining items
runil commentedon Mar 25, 2022
I'm still having issues with this. If I'm running VSCode in a gnome session, it still uses Nautilus for its file dialog.
tristan957 commentedon Mar 25, 2022
Nautilus is not a file chooser. In GNOME, the file chooser is the GTK file chooser which is what is supposed to happen. Use KDE if you want the KDF file chooser.
103sbavert commentedon Mar 25, 2022
Tristan Partin (@tristan957) it doesn't work on KDE either
tristan957 commentedon Mar 25, 2022
It indeed does work on KDE. You just have to set it up and be using VSCode insiders.
runil commentedon Mar 26, 2022
Can confirm that this is the case for now. Does indeed work fine in KDE session using the Insider build. Still looking for a way to override the default file chooser in a Gnome session.
ryan-ronnander commentedon Apr 5, 2022
Despite other applications working flawlessly with the KDE file picker in both OpenSUSE Tumbleweed and Ubuntu 20.04, I cannot get this to work for VSCode insiders.
tristan957 commentedon Apr 5, 2022
Make sure you have the environment variable GTK_USE_PORTAL=1 set
ryan-ronnander commentedon Apr 6, 2022
It is set in my environment, it is also set explicitly inside
code.sh, relevant packages are installed (xdg-*,kdialog, etc). Firefox functions as expected in KDE while VSCode does not. Followed the tutorial commands posted above just in case they're needed and that didn't help either.tristan957 commentedon Apr 6, 2022
Don't know what to tell you. It works for other people as evidenced by the thread. :(
103sbavert commentedon Apr 6, 2022
Same here
KucharczykL commentedon Apr 6, 2022
Can confirm it works on Arch Linux but doesn't work on Tumbleweed.
zomp commentedon Apr 6, 2022
BTW, should it work on the regular (not Insider) release? It is Electron 17 already. It does not work on Kubuntu 21.10 to me.