On Sun, Dec 21, 2014 at 8:26 PM, jenia.ivlev <jenia.ivlev@gmail.com> wrote:
I want to start xmonad in another tty. I would like it to use lxde as
the Desktop Environement. I read that in order to do that I need to
leave the following in the xmonad's config file (~/.xmonad/xmonad.hs):

    main = xmonad $ desktopConfig { terminal = "lxterminal" }

At the very least, you need some imports with that:

    import XMonad
    import XMonad.Config.Desktop
    
    main = xmonad desktopConfig { terminal = "lxterminal" }

I'm not sure what's up with the error you got, though; it appears to be at the end of the file. Control characters, perhaps? The output of

    env LANG=C od -c ~/.xmonad/xmonad.hs

might be illuminating.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net