You are not logged in.
I'm running Chrome on Arch/Xfce4 and I've noticed that when using "Open File" it opens the folder in "Nautilus " file manager instead of PCManFM.
I tried switching default manager to something else and switching it back, but it didn't work. Editing
~/.local/share/applications/mimeapps.list
contain:
inode/directory=pcmanfm.desktop
and also had no effect.
So, is there any reasonable way to change the file manager used by Chrome?
Last edited by arzhaan (2018-01-22 05:36:51)
Offline
That isn't a file manager, but the file picker of GTK3 (which is also not nautilus, but has of course similar semantics because they are developed closely together). You can't replace it with a general purpose file manager.
The only other option you have is to tell chromium to use KDE's kdialog instead. Probably by installing that and passing
XDG_CURRENT_DESKTOP=KDE chromium
on startup
Offline
Did not help:( This demo
Offline
Of course putting it in ~/.bash_profile won't help, that's only for applications that you launch from a terminal.
Does it work if you edit chromes .desktop file?
Last edited by Slithery (2018-01-21 16:10:35)
Offline
Does it work if you edit chromes .desktop file?
I edited
~/local/share/applications/chromium.desktop
But still did not help. View the screenshots.
Offline
bash_pofile has about zero impact on your desktop shell.
Try to export the value from an interctive shell (to be sure it's set) and run chromium from there (ensure no chromium process is running at that time)
Also you'll probably have to have at least kdialog installed to make this a reasonable approach.
If it works, export the environment variable correctly to your desktop shell - especially that desktop service is invalid now.
Online
That isn't a file manager, but the file picker of GTK3 (which is also not nautilus, but has of course similar semantics because they are developed closely together).
GtkFileChooserDialog? How to disable or reprogram that all software not used "GtkFileChooserDialog"?
Offline
Also you'll probably have to have at least kdialog installed to make this a reasonable approach.
I installed the kdialog, but did not help. And tried to export, also no effect was seen.
Offline
I don't know whether chromium will ever invoke any other dialog than the (quite shitty) gtk3 one, but you should elaborate on "tried to export" since you do not really seem to know how to do this.
Online
Thank you all who replied! Will have to humble ourselves with it. Question I close.
Offline
You are unnecessarily overcomplicating this. Run
XDG_CURRENT_DESKTOP=KDE chromium
from a terminal. If that works, adjust the desktop file to include that at the Exec= line.
Offline