Public bug reported:

Press super, type "nautilus", type enter
-> nautilus can be only launched once this way, same with any new pinned dash 
icon.

This is due to having both nautilus.desktop and org.gnome.Nautilus.desktop, 
despite this one having OnlyShowIn=, GNOME Shell converts nautilus.desktop to 
org.gnome.Nautilus.desktop, but still think that nautilus.desktop is running 
(as nautilus desktop background drawing icons instance), hence no dash icon 
unicity between the already present one and this new one.
The older dash icon desktop file was converted as well, but it doesn't match as 
in memory it's org.gnome.Nautilus.desktop.

We end up as well with 2 desktop files with identical names in the dash 
preference settings.
The easy fix without impacting Unity is to:
1. append to "OnlyShowIn=Unity;" in org.gnome.Nautilus.desktop, "GNOME"
2. add "NotShowIn=GNOME;" in nautilus.desktop
-> that way, only org.gnome.Nautilus.desktop will be matched by GNOME. There is 
no transition issue as Unity is matching nautilus to org.gnome.Nautilus.desktop 
already, so no transition needed.

More discussion and debugging on IRC at
https://irclogs.ubuntu.com/2017/07/26/%23ubuntu-desktop.html#t07:12

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Press super, type "nautilus", type enter
  -> nautilus can be only launched once this way, same with any new pinned dash 
icon.
  
- This is due to having both nautilus.desktop and org.gnome.Nautilus.desktop, 
despite this one having OnlyShowIn=, GNOME Shell converts nautilus.desktop to 
org.gnome.Nautilus.desktop, but still think that nautilus.desktop is running, 
hence no dash icon unicity between the already present one and this new one.
+ This is due to having both nautilus.desktop and org.gnome.Nautilus.desktop, 
despite this one having OnlyShowIn=, GNOME Shell converts nautilus.desktop to 
org.gnome.Nautilus.desktop, but still think that nautilus.desktop is running 
(as nautilus desktop background drawing icons instance), hence no dash icon 
unicity between the already present one and this new one.
  The older dash icon desktop file was converted as well, but it doesn't match 
as in memory it's org.gnome.Nautilus.desktop.
  
  We end up as well with 2 desktop files with identical names in the dash 
preference settings.
  The easy fix without impacting Unity is to:
  1. append to "OnlyShowIn=Unity;" in org.gnome.Nautilus.desktop, "GNOME"
  2. add "NotShowIn=GNOME;" in nautilus.desktop
  -> that way, only org.gnome.Nautilus.desktop will be matched by GNOME. There 
is no transition issue as Unity is matching nautilus to 
org.gnome.Nautilus.desktop already, so no transition needed.
  
  More discussion and debugging on IRC at
  https://irclogs.ubuntu.com/2017/07/26/%23ubuntu-desktop.html#t07:12

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1706542

Title:
  Can only launch Nautilus once in GNOME shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1706542/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to