How to get the desktop resolution of your monitor on Linux using the command line.
Getting information about your desktop resolution with the Linux command line is very easy to do. This one-liner will print the current desktop resolution. This could be used in a script that will then do something with the output. jason@jason-desktop:~/Videos$ xrandr | awk ‘{if(NR==5) print $0}’ | awk ‘{print $1}’ 3440x1440jason@jason-desktop:~/Videos$ xrandr | awk ‘{if(NR==5) … Read more