mixu / nwm

Tiling window manager for X11 written in Node.js
http://mixu.net/nwm/
MIT License
789 stars 72 forks source link

Error log? #48

Closed amacfie closed 8 years ago

amacfie commented 8 years ago

I'm trying to develop a new layout. When I switch to the layout, nwm crashes so there must be some error in the layout. Does nwm have a log file where I can see why it's crashing?

ashnur commented 8 years ago

Yes, if you start it something like this:

exec /usr/local/bin/node ~/mnt/nwm-user/nwm-user.js 2>~/nwm.err.log 1>~/nwm.log

Obviously you will have to change the paths so it makes sense on your system.

mixu commented 8 years ago

Another tip: it may be easier to use Xephyr to test your layout so that you don't need to keep restarting your X session - https://github.com/mixu/nwm#running-under-a-secondary-x11-server-xephyr

amacfie commented 8 years ago

Thanks all