[Pkg-haskell-maintainers] Bug#749389: xmonad GNOME session references obsolete component gnome-panel
Joachim Breitner
nomeata at debian.org
Thu Jun 19 16:57:27 UTC 2014
Hi
Am Dienstag, den 17.06.2014, 20:30 +0100 schrieb Lars Wirzenius:
> On Mon, May 26, 2014 at 06:55:51PM +0100, David Banks wrote:
> > The file installed to /usr/share/gnome-session/xmonad.session contains a line
> > as such:
> >
> > RequiredComponents=gnome-settings-daemon;gnome-panel;xmonad
> >
> > However, in GNOME 3.8 the 'gnome-panel' component was removed, meaning that
> > xmonad is unable to start up through GDM. GDM will give the message
> > "Oh no! Something has gone wrong", while syslog will reveal the true culprit:
> >
> > May 26 15:51:45 motylyok gnome-session[5779]: gnome-session[5779]: WARNING: Unable to find required component 'gnome-panel'
> > May 26 15:51:45 motylyok gnome-session[5779]: WARNING: Unable to find required component 'gnome-panel'
> >
> > Removing the 'gnome-panel' reference from the session file allowed xmonad/GNOME
> > to start up correctly.
>
> I get the same error dialog, but removing gnome-panel from that
> session file doesn't fix it for me. My syslog has this:
>
> Jun 17 20:24:06 exolobe1 gnome-session[5646]: WARNING:
> Application 'xmonad.desktop' failed to register before timeout
are you using a custom .xmonad.hs?
Did you add the GNOME configuration (XMonad.Config.Gnome)?
If yes, does adding
gnomeRegister' :: MonadIO m => m ()
gnomeRegister' = io $ do
x <- lookup "DESKTOP_AUTOSTART_ID" `fmap` getEnvironment
whenJust x $ \sessionId -> safeSpawn "dbus-send"
["--session"
,"--print-reply"
,"--dest=org.gnome.SessionManager"
,"/org/gnome/SessionManager"
,"org.gnome.SessionManager.RegisterClient"
,"string:xmonad"
,"string:"++sessionId]
to .xmonad.hs and calling gnomeRegister' from the beginning of main
help?
Greetings,
Joachim
--
Joachim "nomeata" Breitner
Debian Developer
nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20140619/871f8dee/attachment.sig>
More information about the Pkg-haskell-maintainers
mailing list