Question

I've tried to write my own (simple, but with few important features) window manager for X Window System. But after writing base (very minimal) I've got problem with testing. I have tried to test on virtual machine, but this way is uncomfortable. So, how to test window manager without login-out from current session?

Était-ce utile?

La solution

You can test your window manager in a nested X server. Xnest has been obsoleted by Xephyr so I would suggest the latter for your experiments.

Autres conseils

Another option is to start up a vnc server on your machine and set your DISPLAY variable to point to that to run your experimental WM.

You can use Xnest (doesn't seem to be default-installed ,but it does at least have a Debian package). That allows you to run an independent X server in a window on your current display.

I have, in the past, used this to experiment with or troubleshoot window manager configurations (simply start Xnest, start your window manager pointing to the new X display and you can troubleshoot or experiment there, without risking your current session).

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top