[Pkg-haskell-maintainers] Bug#756646: Bug#756646: libghc-xmonad-contrib-dev: Cannot use xmonad with gnome

Joachim Breitner nomeata at debian.org
Fri Aug 1 11:53:47 UTC 2014


Hi,


Am Freitag, den 01.08.2014, 07:26 -0400 schrieb Kenn:
> Huh, I guess there’s some big political issue with newer versions of
> Gnome I wasn’t really aware of.
> 
> Is it possible to use XMonad with gnome-flashback?  (Does
> gnome-flashback work with 3.12, or are there any plans to make it?)  I
> just want to use gnome-panel with XMonad, which works fine with
> earlier versions :/

that’s what I did for many years. But I couldn’t get it working with
gnome-session 3.12 (see for example https://bugs.debian.org/755140

Likely that this particular problem can be worked around, but I
eventually concluded that it’s time switch to either GNOME only or
xmonad without GNOME. I went for the latter (using taffybar). See
https://www.joachim-breitner.de/blog/archives/655-Good-bye-GNOME.html
for more detail.


So I’m not using the gnome session in the xmonad package any more. If
someone finds way to make it usable and wants to feel responsible for
that, I’ll happily let them work on that and include their changes!


BTW, you can work around the dbus issue without waiting for a new
upstream version using this code in your ~/.xmonad/xmonad.hs:


main = do
  gnomeRegister'

  xmonad ...


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]


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/20140801/f6dc2517/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list