Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6002

Linux retrieve monitor names

$
0
0

Situation: I'm using multiple monitors and I want to get their names in bash. Currently I'm using Ubuntu 10.04.

I know about xrandr. From it I can get only statistics data. What I want is to read all monitor names in an array to work with them.

Is there a clear way to do that without cutting names from some kind of string? A clear way would be reading them from file. A not clear way would be to pipe xrandr output to some sort a function to cut names out from it.


Viewing all articles
Browse latest Browse all 6002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>