Hi, nm-applet installs the file /etc/xdg/autostart/nm-applet.desktop to autostart nm-applet. Please add a "OnlyShowIn" key so that nm-applet will not start in KDE for example. (if this bug is valid, the same applies for gnome-base/nautilus (/etc/xdg/autostart/nautilus-autostart.desktop) and gnome-extra/polkit-gnome (/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop)) Thanks -Marc
Instead of "OnlyShowIn", we want "NotShowIn=KDE;" since all other destkop environments (gnome, xfce, unity if we ever add it etc.) do want to autostart nm-applet. Also, the connection editor should be shown in all destkop environments where nm-applet is autostarted, not just in gnome. (Incidentally, this is exactly the same as what Ubuntu is doing with the latest version of their network-manager-applet package.) Patch submitted upstream at https://bugzilla.gnome.org/show_bug.cgi?id=660046 >*nm-applet-0.9.2.0-r1 (14 Dec 2011) > > 14 Dec 2011; Alexandre Rostovtsev <tetromino@gentoo.org> > -nm-applet-0.9.1.95.ebuild, -files/nm-applet-0.9.1.95-glib-2.31.patch, > +nm-applet-0.9.2.0-r1.ebuild, +files/nm-applet-0.9.2.0-not-show-in-kde.patch: > Don't autostart in KDE (bug #394379, thanks to Marc Schiffbauer for > reporting). Also, show connection editor in all non-KDE desktop environments. > Drop old.
(In reply to comment #0) > (if this bug is valid, the same applies for gnome-base/nautilus > (/etc/xdg/autostart/nautilus-autostart.desktop) and gnome-extra/polkit-gnome > (/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop)) I don't think those two need to be changed. polkit-gnome-authentication-agent-1.desktop already has "NotShowIn=KDE;". nautilus-autostart.desktop has "AutostartCondition=GSettings org.gnome.desktop.background show-desktop-icons", so it only gets autostarted if the user manually enables a hidden setting to have nautilus-3 manage the desktop like it did in gnome-2. In which case presumably the user gets precisely what he was asking for.
(In reply to comment #2) > (In reply to comment #0) > > (if this bug is valid, the same applies for gnome-base/nautilus > > (/etc/xdg/autostart/nautilus-autostart.desktop) and gnome-extra/polkit-gnome > > (/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop)) > > I don't think those two need to be changed. > > polkit-gnome-authentication-agent-1.desktop already has "NotShowIn=KDE;". > > nautilus-autostart.desktop has "AutostartCondition=GSettings > org.gnome.desktop.background show-desktop-icons", so it only gets autostarted > if the user manually enables a hidden setting to have nautilus-3 manage the > desktop like it did in gnome-2. In which case presumably the user gets > precisely what he was asking for. I am not sure this is entirely correct. Yes, I switched a setting to use the background as folder while I was in a gnome session. But no I do not want nautilus to start behind plasma-desktop while I am logged in into a KDE session. Right now, "nautilus -n" is running in the background which I can see in the process table and for a short moment on logout.
(In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #0) > > > (if this bug is valid, the same applies for gnome-base/nautilus > > > (/etc/xdg/autostart/nautilus-autostart.desktop) and gnome-extra/polkit-gnome > > > (/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop)) > > > > I don't think those two need to be changed. > > > > polkit-gnome-authentication-agent-1.desktop already has "NotShowIn=KDE;". > > > > nautilus-autostart.desktop has "AutostartCondition=GSettings > > org.gnome.desktop.background show-desktop-icons", so it only gets autostarted > > if the user manually enables a hidden setting to have nautilus-3 manage the > > desktop like it did in gnome-2. In which case presumably the user gets > > precisely what he was asking for. > > I am not sure this is entirely correct. > > Yes, I switched a setting to use the background as folder while I was in a > gnome session. But no I do not want nautilus to start behind plasma-desktop > while I am logged in into a KDE session. > Right now, "nautilus -n" is running in the background which I can see in the > process table and for a short moment on logout. Looking to that case, I also think it shouldn't be autostarted on KDE
(In reply to comment #3) > Yes, I switched a setting to use the background as folder while I was in a > gnome session. But no I do not want nautilus to start behind plasma-desktop > while I am logged in into a KDE session. You are right, it's not good if two applications (plasma+nautilus or xfdesktop+nautilus) are trying to manage the desktop simultaneously. Fixed by adding "OnlyShowIn=GNOME;Unity;" to nautilus-autostart.desktop. Patch submitted upstream at https://bugzilla.gnome.org/show_bug.cgi?id=666218 >*nautilus-3.2.1-r1 (15 Dec 2011) > > 15 Dec 2011; Alexandre Rostovtsev <tetromino@gentoo.org> > +nautilus-3.2.1-r1.ebuild, > +files/nautilus-3.2.1-autostart-only-show-in.patch, > +files/nautilus-3.2.1-delete.patch, > +files/nautilus-3.2.1-key-press-forwarding.patch: > Restore the Delete keyboard shortcut for deleting files (bug #393663, thanks > to Pacho for reporting). Do not handle keyboard shortcuts in NautilusWindow > if a text entry is focused (prevents files from getting deleted when pressing > Delete in search entry). Only autostart in GNOME and Unity (bug #394379, > thanks to Marc Schiffbauer for reporting).