GNOME Bugzilla – Bug 598934
gnome-open influenced by kde4 file manager setting
Last modified: 2010-12-19 00:03:35 UTC
I have both gnome 2.26 and kde 4.3.1 installed on my gentoo box, on first kde login if I go to Computer->Home I get nautilus opened instead of dolphin, if I (in kde) set favourite file manager to dolphin Computer->Home gets opened by dolphin but if I logout and login in gnome Places->Home is opened in dolphin. Obviously if I set back favourite file manager to "open file" I get home opened by nautilus also in KDE. I would like to have nautilus as default file manager for gnome and dolphin for kde.
I reported this issue also to : kde bugzilla : http://bugs.kde.org/show_bug.cgi?id=211090 gentoo bugzilla : http://bugs.gentoo.org/show_bug.cgi?id=289561
Please never set the gnome target field yourself. Thanks.
Someone pointed me to xdg-open but xdg-open is a script that accordingly to DE opens a different script, for example gnome-open if the DE is gnome and kfmclient exec if the DE is kde. So the problem could be in gnome-open and the kfmclient exec for kde. Is there any way to have any DE using their own file-manager or in other words to have the file manager setting to be local to each DE ?
Created attachment 149289 [details] file manager wrapper script I wrote a script that detects the running DE , (I simply copied that method from xdg-open) and read a config file named /etc/fmwrapper.conf and it opens the configured per-desktop file manager accordingly. It is really simple and for now it uses a wide-system settings but it can easily modified to work for per-user settings. I hope that someone will find it useful. To solve mine issue I simply set in kde fav applications this script as my favourite file-manager. For now it works for GNOME,KDE and XFCE.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 631386 ***