Gekkio / gnome-session-xmonad

Ubuntu package for Gnome + XMonad session files
GNU General Public License v2.0
98 stars 10 forks source link

What are "the necessary gnome hooks" and "gnomeConfig" and how does one use it "properly" ? #15

Closed phil-s closed 2 years ago

phil-s commented 3 years ago

The instructions say:

Your xmonad configuration must have the necessary gnome hooks in place. In practice things work perfectly if you are using gnomeConfig properly in your configuration.

There is no indication as to what any of that means, how one might establish whether it is the case, or where to begin if it is not. It's not too far from saying "Your xmonad configuration must contain mystery code."

Perhaps you could link to some documentation for "gnomeConfig" which explains how to use it?

srstevenson commented 3 years ago

This is documented on Hackage, which I agree would be good to link to from the README. You can get up and running by populating ~/.xmonad/xmonad.hs with:

import XMonad
import XMonad.Config.Gnome

main = xmonad gnomeConfig

and running xmonad --recompile from a shell.