Sorry for the delay...

@Sebastien:
> Do you have any example of thing that would stop working if you changed your 
> DesktopName to be "cairo-dock"?

Yes, I guess that if we change the DesktopName to "Cairo-Dock" (or
something else), we will have problems with programs which are launched
at startup.

    $ grep -rn GNOME /etc/xdg/autostart |grep -e OnlyShowIn -e 
AutostartCondition
/etc/xdg/autostart/gnome-keyring-ssh.desktop:6:OnlyShowIn=GNOME;Unity;MATE;
/etc/xdg/autostart/nautilus-autostart.desktop:5:OnlyShowIn=GNOME;Unity;
/etc/xdg/autostart/gnome-user-share.desktop:9:OnlyShowIn=GNOME;Unity;
/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop:9:OnlyShowIn=GNOME;XFCE;Unity;
/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop:11:AutostartCondition=GNOME3
 unless-session gnome
/etc/xdg/autostart/gnome-settings-daemon.desktop:5:OnlyShowIn=GNOME;Unity;
/etc/xdg/autostart/gnome-keyring-secrets.desktop:6:OnlyShowIn=GNOME;Unity;MATE;
/etc/xdg/autostart/gnome-sound-applet.desktop:16:AutostartCondition=GNOME3 
if-session gnome-fallback
/etc/xdg/autostart/gnome-keyring-pkcs11.desktop:6:OnlyShowIn=GNOME;Unity;MATE;
/etc/xdg/autostart/at-spi-dbus-bus.desktop:5:OnlyShowIn=GNOME;Unity;
/etc/xdg/autostart/onboard-autostart.desktop:9:OnlyShowIn=GNOME;Unity;
/etc/xdg/autostart/telepathy-indicator.desktop:12:OnlyShowIn=GNOME;Unity;
/etc/xdg/autostart/telepathy-indicator.desktop:13:AutostartCondition=GNOME3 
unless-session gnome
/etc/xdg/autostart/gnome-screensaver.desktop:7:OnlyShowIn=GNOME;Unity;
/etc/xdg/autostart/gnome-screensaver.desktop:8:AutostartCondition=GNOME3 
unless-session gnome
/etc/xdg/autostart/evolution-alarm-notify.desktop:10:OnlyShowIn=GNOME;Unity;XFCE;Dawati;
/etc/xdg/autostart/vino-server.desktop:6:OnlyShowIn=GNOME;Unity;
/etc/xdg/autostart/gsettings-data-convert.desktop:8:OnlyShowIn=GNOME;Unity;
/etc/xdg/autostart/orca-autostart.desktop:9:OnlyShowIn=GNOME;Unity;
/etc/xdg/autostart/user-dirs-update-gtk.desktop:7:OnlyShowIn=GNOME;LXDE;Unity;
/etc/xdg/autostart/gnome-fallback-mount-helper.desktop:10:OnlyShowIn=GNOME;Unity;
/etc/xdg/autostart/gnome-fallback-mount-helper.desktop:12:AutostartCondition=GNOME3
 unless-session gnome
/etc/xdg/autostart/gnome-keyring-gpg.desktop:6:OnlyShowIn=GNOME;Unity;MATE;

As we can see here, every time we have GNOME in the OnlyShowIn key, we also 
have Unity. So if we change the session name, we should do the same for 
Cairo-Dock.
Maybe we can patch all these applications to add "Cairo-Dock" in the OnlyShowIn 
key but I don't know if it's a good idea because we will also have to maintain 
these patches (except if Ubuntu Desktop and Gnome teams can help us by checking 
that when they change this key, they also notify us or add/remove Cairo-Dock 
from this key too).

When looking at the AutostartCondition key, we can see: "GNOME3 unless-session 
gnome" which means that this application is launched when: XDG_CURRENT_DESKTOP 
== GNOME but DESKTOP_SESSION != gnome (on a GNOME session but when it's not 
Gnome-Shell).
Why can't we do that for Nautilus?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1274740

Title:
  Re-enable traditional titlebar on 'gnome-but-not-shell' sessions too

Status in “nautilus” package in Ubuntu:
  Confirmed

Bug description:
  Hello and thank you for maintaining Nautilus packages,

  I'm using Ubuntu on a Cairo-Dock session. With the latest version of 
Nautilus, we have the new titlebar (CSD) specially made for Gnome-Shell.
  Is it maybe possible to re-enable the traditional titlebar on 
'gnome-but-not-shell' sessions too? (and then only use the new titlebar on 
Gnome-Shell sessions)

  On my session, XDG_CURRENT_DESKTOP=GNOME but DESKTOP_SESSION=cairo-
  dock

  Best Regards,

  Matt

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: nautilus 1:3.10.1-0ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
  Uname: Linux 3.13.0-5-generic x86_64
  ApportVersion: 2.13.2-0ubuntu2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Thu Jan 30 23:43:46 2014
  GsettingsChanges: b'org.gnome.nautilus.list-view' b'default-column-order' 
b"['name', 'size', 'type', 'date_modified', 'where', 'group', 'permissions', 
'owner', 'mime_type']"
  InstallationDate: Installed on 2011-08-10 (904 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to