<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Dec 21, 2014 at 8:26 PM, jenia.ivlev <span dir="ltr"><<a href="mailto:jenia.ivlev@gmail.com" target="_blank">jenia.ivlev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":19x" class="a3s" style="overflow:hidden">I want to start xmonad in another tty. I would like it to use lxde as<br>
the Desktop Environement. I read that in order to do that I need to<br>
leave the following in the xmonad's config file (~/.xmonad/xmonad.hs):<br>
<br>
    main = xmonad $ desktopConfig { terminal = "lxterminal" }<br></div></blockquote></div><br>At the very least, you need some imports with that:</div><div class="gmail_extra"><br></div><div class="gmail_extra">    import XMonad</div><div class="gmail_extra">    import XMonad.Config.Desktop</div><div class="gmail_extra">    </div><div class="gmail_extra">    main = xmonad desktopConfig { terminal = "lxterminal" }<br><br clear="all"><div>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</div><div><br></div><div>    env LANG=C od -c ~/.xmonad/xmonad.hs</div><div><br></div><div>might be illuminating.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>