How can I get the monitor resolution using the command line?

Published: 22 August 2021
on channel: Virtual Assistant for Linux
228
3

If for example you want to get a wallpaper that best suits your monitor. You can get the resolution just by writing commands in the terminal.

For the pixel width and height of your screen, type

xdpyinfo | grep dimensions

If you want more detailed information about your visual display you can use the following command

xrandr


Watch video How can I get the monitor resolution using the command line? online without registration, duration hours minute second in high quality. This video was added by user Virtual Assistant for Linux 22 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 228 once and liked it 3 people.