문제

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?

도움이 되었습니까?

해결책

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.

다른 팁

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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top