Public bug reported:

The System Settings menu stopped working since Trusty. The reason is
that the included gnome-session files are out of date: they use gnome-
settings-daemon, but the required gnome-control-center is no longer
installed by default.

While installing that package makes it "work," I believe the correct fix
is to do exactly what gnome-session-metacity already does, and use
unity-settings-daemon/unity-control-center instead.

The two files that need updating appear to have been cloned from gnome-
flashback-metacity at some point in the past, and not gotten updated
since. It's easy to just overwrite them with new ones:

    cd /usr/share/gnome-session/sessions && sed 's/metacity/xmonad/g'
gnome-flashback-metacity > gnome-flashback-xmonad

    sed 's/metacity/xmonad/g' /usr/lib/gnome-flashback/gnome-flashback-
metacity > /usr/bin/gnome-flashback-xmonad

With these two changes, it works perfectly: unity-settings-daemon is
running, and the Systems Settings menu brings up unity-control-panel.

As an aside, that second file belongs in /usr/lib/gnome-flashback/, not
/usr/bin. If moving it, simply update /usr/share/xsessions/gnome-
flashback-xmonad.desktop with the new location.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xmonad 0.12-1 [modified: 
usr/share/gnome-session/sessions/gnome-flashback-xmonad.session 
usr/share/xsessions/gnome-flashback-xmonad.desktop]
ProcVersionSignature: Ubuntu 4.4.0-64.85-generic 4.4.44
Uname: Linux 4.4.0-64-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: GNOME-Flashback:GNOME
Date: Wed Mar  8 22:42:37 2017
InstallationDate: Installed on 2017-02-19 (18 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: xmonad
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug xenial

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

Title:
  Outdated gnome-session files break System Settings menu

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to