I recently discovered Xmonad, and installed it on all of my computers; however, on my desktop computer, vanilla xmonad has mirrored screens and poor resolution. The 'gnome with xmonad' desktop environment seems to be the only way for me to use xmonad, while also utilising my dual screens and showing crisp visuals.
To the problem. Every time I login with gnome xmonad, I am logged out again within a minute. Contrast that with vanilla xmonad, which has been on all day with no problem; and basic Cinnamon, which would often crash (not just log out) my computer.
To the question. I'm looking for some way to either extend xmonad to use both screens, with a reasonable resolution; or stop gnome xmonad from quitting on me.
Addendum: my (minimal) xmonad.hs:
import XMonad main = xmonad $ defaultConfig
From this post, I've been able to use the
gnome-settings-daemon while in xmonad, which doesn't seem to cause either a crash or a logout, but does throw some scary warnings when I start it:
** (gnome-settings-daemon:2114): WARNING **: Unable to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files (gnome-settings-daemon:2114): media-keys-plugin-WARNING **: Grab failed for some keys, another application may already have access the them.
Now I need a way to run that command whenever xmonad starts, assuming those warnings are harmless.