On Mon, 2022-08-01 at 22:26 +0000, Ludovic Poujol wrote: > Steeve, > > Good question. And, you're right, thanks ! > > I thought it was some kind of "internal browser" provided with > timeshift. But after looking more closely, it was actually trying to > start VSCode ! :s And it's the one that do not like to be run as > root. > > Not sure why or how it decided to use it instead of the Gnome file > browser. But apt remove of it "fixed" the issue. > > I don't see any settings for that in the timeshift GUI. I'm not sure > how > I can force it to use the default gnome file browser :( > > > Thanks > > -- > Ludovic Poujol
Ludovic, Timeshift first uses xdg-open to call the default tool of your desktop environment as it in turn calls gvfs-open, kde-open, exo-open, gnome- open, etc. as appropriate. On my Debian desktop with KDE running xdg- open and kde-open launche Dolphin, but on my Pop_OS laptop xdg_open is not installed and there is no gvfs-open for some reason. In the event that xdg_open fails, Timeshift tries in order to launch nemo, nautilus, thunar, io.elementary.files, pantheon-files, marlin, and dolphin lastly. In your case it seems that maybe xdg-open is resulting in "code" being called due to your Gnome settings. The command `xdg-mime query default inode/directory` should report out what the default file browser is set to. You can also look in ~/.config/mimeapps.list to see what it is set to. I think you can just edit this file or run a command similar to `xdg-mime default org.gnome.Nautilus.desktop inode/directory` to make a change. Please let me know how this works out as it may be worth asking upstream for a more robust means of opening the default file manager. Thanks -Steve