Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For those interested in something similar with sway, you can:

- Add a headless display with `swaymsg create_output SOME_NAME`

- Configure its resolution and position like you do for other outputs

- Start a VNC server on that output with `wayvnc --output=SOME_NAME`

- Start a VNC client somewhere else you want to use your second screen (there are some that are browser-based)

Unfortunately it is somewhat undocumented: https://github.com/swaywm/sway/issues/5553 but you can find some info on the net: https://www.reddit.com/r/swaywm/comments/k1zl41/thank_you_de...

I saw in that readme that they wanted ways to get rid of dummy adapters. That above is one such possible way for sway.



Oh, and I played a bit with multiseat yesterday. If you want, every VNC user can have their own mouse/keyboard, with independent focus.

Though that currently takes a bit of fiddling (`swaymsg seat seat_name attach "virtual pointer"` + one wayvnc instance per pointer), wayvnc reportedly has a branch where it's done automatically.


Thanks for the tip, that's definitely something I'll try out.


> with sway

This made me think, "Sway. Sway. Sway. Sway in the Morning."

Not sure how many hip hop fans there are here...


I know we'll be downvoted to death for this.

Sway is so deeply rooted in the game and remains a solider for the culture to this day. Always a positive beam of positivity from him.


Are we being downvoted because it's not related?


I'm so much older that it made me think of Dean Martin.


Same! Made me smile :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: