I'm looking at https://github.com/canonical/ubuntu-...ity-server#L22
I see:
Is there a way to do the same, but programmaticaly find out in a shell script how many there are displays and what are the numbers. For example, it is not ":0" just now, it's ":10.0". Hard-code do not fit.Code:export DISPLAY=:0
How do I know what are available current values for DISPLAY for a session?
thx!
Bookmarks