Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ubuntu higher displayer resolution

1. Open a Terminal by CTRL+ALT+T
2. Type xrandr and ENTER
3. Note the display name usually VGA-1 or HDMI-1 or DP-1
4. Type cvt 1920 1080 (to get the --newmode args for the next step) and ENTER
5. Type sudo xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync and ENTER
6. Type sudo xrandr --addmode VGA-1 "1920x1080_60.00" and ENTER (replace VGA-1 with your display type (step 3) like HDMI-1 or DP-1)
7. Now close the terminal and go to Settings >> Display settings and change it to 1920x1080
Enjoy FHD.
------------------------------------------
> For integrated displays:

goto your terminal and type vim ~/.profile ENTER
Paste in the shell command from step 5 and 6, then save.

> For external displays:

create a script called external_monitor_resolution.sh in the directory /etc/profile.d/. using sudo vim /etc/profile.d/external_monitor_resol.sh.
Paste in the shell command from step 5 and 6, then save.
(Note: if using sudo would require you typing a password, your system might freeze on startup while waiting for you to input a password. So when pasting do away with the sudo) 
Something like this:

xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --addmode VGA-1 "1920x1080_60.00"` and <kbd>ENTER</kbd> *(replace **VGA-1** with your display type (step 3) like **HDMI-1** or **DP-1**)*
Comment

PREVIOUS NEXT
Code Example
Shell :: list all the emulator 
Shell :: moodle purge cache from command line 
Shell :: cmd delete recursive 
Shell :: how to enable autocomplete in jupyter notebook 
Shell :: firebase hosting did not update 
Shell :: restart docker daemon windows 
Shell :: ubuntu 20 stop apache 
Shell :: ubuntu show memory usage 
Shell :: device or resource busy 
Shell :: tar gz compress extract 
Shell :: how to install frida 
Shell :: command separate words into lines 
Shell :: git log --graph 
Shell :: linux command to get number of lines in a file 
Shell :: command stop emulator android studio 
Shell :: bash print environment variables 
Shell :: kill port mac 
Shell :: clear bash command history 
Shell :: cmd kill process by pid 
Shell :: install older version of npm 
Shell :: update index assume changed 
Shell :: pacman remove orphaned dependencies 
Shell :: discord update ubuntu 
Shell :: Github Connection Error 
Shell :: where is zshrc 
Shell :: how to uninstall atom in ubuntu 
Shell :: fetch a particular branch git 
Shell :: linux typing hebrew 
Shell :: copy terminal preferences from one computer to another ubuntu 
Shell :: command to upgrade upgradable packages on Ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =