daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Jan 24th, 2016 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. How to fix resolution size so we get 1920x1080.
  2.  
  3. Step 1: Create two files.
  4.     File 1: /usr/share/loginresfix.sh
  5.     File 2: /usr/share/sessionresfix.sh
  6.  
  7. Both files should contain the following.
  8. #!/bin/bash
  9.  
  10. xrandr --newmode "FullHD" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
  11.  
  12. xrandr --addmode DVI-1 FullHD
  13.  
  14. xrandr --output DVI-1 --mode FullHD
  15.  
  16.  
  17. Step 2: Make both loginresfix and sessionresfix files executeable.
  18.     chmod a+x /usr/share/loginresfix.sh
  19.     chmod a+x /usr/share/sessionresfix.sh
  20.  
  21.  
  22. Step 3: Edit /etc/lightdm/lightdm.conf
  23.     Change 1: display-setup-script=/usr/share/loginresfix.sh
  24.     Change 2: session-setup-script=/usr/share/sessionresfix.sh
RAW Paste Data
Top