Timeline for Get display resolution from the command line for Linux Desktop
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 20, 2017 at 10:17 | history | edited | CommunityBot |
replaced http://superuser.com/ with https://superuser.com/
|
|
May 7, 2015 at 14:52 | comment | added | Stéphane Gourichon | Indeed, but some (all ?) multi-monitor setups appear as one screen in xdpyinfo while xrandr correctly enumerates screens and their resolution. This may or may not be a problem depending on the context. | |
Apr 13, 2015 at 21:16 | comment | added | crayzeewulf | @Peter.O, thanks. This is a nice compact form of the command. I've updated the answer. | |
Apr 13, 2015 at 21:15 | history | edited | crayzeewulf | CC BY-SA 3.0 |
Updated answer to use a more compact version of the original command.
|
Apr 13, 2015 at 15:29 | comment | added | Peter.O | xdpyinfo | awk -F'[ x]+' '/dimensions:/{print $3, $4}' | |
Jun 27, 2013 at 21:31 | history | edited | crayzeewulf | CC BY-SA 3.0 |
Added command to place the x and y resolution values in to variables.
|
Jun 27, 2013 at 21:10 | history | answered | crayzeewulf | CC BY-SA 3.0 |