Under KDE firefox uses nautilus instead of dolphin to handle directories

Bug #1312135 reported by Uqbar
40
This bug affects 9 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1. Run firefox under kde
2. Download a file with it
3. Click the download icon
4. Right click on the download object
5. Ask to open the containing folder

I would expect the KDE file browser "dolphin" to open.

What instead happens the GNOME file browser "nautilus" is opened without the needed icons. (see screenshot).

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: firefox 28.0+build2-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
AddonCompatCheckDisabled: False
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: enzo 2178 F.... pulseaudio
                      enzo 2301 F.... pulseaudio
 /dev/snd/controlC0: enzo 2178 F.... pulseaudio
                      enzo 2301 F.... pulseaudio
BuildID: 20140410211200
Channel: Unavailable
CurrentDesktop: KDE
Date: Thu Apr 24 13:43:20 2014
ForcedLayersAccel: False
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
IncompatibleExtensions: Default - {972ce4c6-7e08-4474-a285-3208198ce6fd}
InstallationDate: Installed on 2014-04-23 (1 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
IpRoute:
 default via 192.168.254.254 dev eth0 proto static
 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
 192.168.254.0/24 dev eth0 proto kernel scope link src 192.168.254.42 metric 1
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.

 virbr0 no wireless extensions.
Plugins: Shockwave Flash - /usr/lib/flashplugin-installer/libflashplayer.so
PrefSources: prefs.js
Profiles: Profile0 (Default) - LastVersion=28.0/20140410211200
RfKill:

RunningIncompatibleAddons: True
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/22/2013
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: L02 v02.01
dmi.board.asset.tag: CZC3523T17
dmi.board.name: 18EB
dmi.board.vendor: Hewlett-Packard
dmi.chassis.asset.tag: CZC3523T17
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrL02v02.01:bd09/22/2013:svnHewlett-Packard:pnHPProDesk490G1MT:pvr:rvnHewlett-Packard:rn18EB:rvr:cvnHewlett-Packard:ct6:cvr:
dmi.product.name: HP ProDesk 490 G1 MT
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Uqbar (uqbar) wrote :
Revision history for this message
Uqbar (uqbar) wrote :

Screenshot showing the opened nautilus without icons

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
Revision history for this message
Uqbar (uqbar) wrote :

Temporary fix:

sudo apt-get purge nautilus

Be warned, the above command will purge (thus remove completely) the nautilus file browser from your system.
If you, like me, are running KDE, then dolphin will do.

Revision history for this message
> "Wetware Random Number Generator" (tnrng-purge-deactivatedaccount) wrote :

Because doing `sudo apt-get purge nautilus` breaks `furiusisomount` and `ubuntu-desktop`, I rename `/usr/bin/nautilus` to `/usr/bin/nautilus.ubuntu` and create the following `/usr/local/bin/nautilus` script to keep Nautilus as the preferred file manager on Unity and Dolphin on KDE:

    #!/bin/bash
    if [ '$KDE_FULL_SESSION' == 'true' ]; then
      if [ '${1}' == '--no-desktop' ]; then shift; fi
      /usr/bin/dolphin "$@"
    else
      /usr/bin/nautilus.ubuntu "$@"
    fi

but I have repeat `mv /usr/bin/nautilus /usr/bin/nautilus.ubuntu` if the Nautilus package is updated.

Revision history for this message
Uqbar (uqbar) wrote :

If you run KDE you should be using "kubuntu-desktop" instead of "ubuntu-desktop", while "furiusisomount" should require dolphin instead of nautilus under KDE...
I think the problem here is about dependencies more than other stuff.

Revision history for this message
Jorge Suárez de Lis (ys) wrote :

I have tried the workaround from #5, but nautilus is still being opened! :(

Launching nautilus from the command line opens dolphin instead, but Firefox always launches nautilus. Weird, huh?

Revision history for this message
Uqbar (uqbar) wrote :

Jorge, I have another "workaround" that really works.
"apt get purge nautilus"
It worked for me with a "KDE native" environment.

Revision history for this message
Jorge Suárez de Lis (ys) wrote :

I can't remove it. long story short, I'm in a large network with multiple computers running Ubuntu, all with the same setup. I can't just uninstall Nautilus from one of them.

Fortunately, I tried again the workaround and it worked. I probably made something wrong the first time, sorry. The changes are being rolled out to all the computers over the network. I hope I won't break anything with it.

Thanks!

Revision history for this message
> "Wetware Random Number Generator" (tnrng-purge-deactivatedaccount) wrote :

Uqbar, I was using Ubuntu Precise + Kubuntu ppa at that time. That was the reason of using 'ubuntu-desktop' instead of 'kubuntu-desktop'. I installed it without removing 'ubuntu-desktop' using 'sudo apt-get install kde-full'. Now, in my new PC + ubuntu trusty + neon5 kf5-snapshot-weekly ppa, my old workaround works too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.