How to add xorg config file for screen and graphics issue

/etc/X11/xorg.conf.d/20-intel.conf

Section “Device”
Identifier “IntelGraphics”
Driver “intel”
Option “AccelMethod” “sna”
Option “TearFree” “true”
EndSection

end of 20-intel.conf

Above config file needs to be added, kindly share how to add and create this file. never used linux based system before.

Open a terminal window: click on the Q app menu (top-left) and select Terminal Emulator.

Then run the following command:

[user@dom0 ~]$ cat << EOF | sudo tee -a /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "IntelGraphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection
EOF

You can confirm a successful execution with:

[user@dom0 ~]$ cat /etc/X11/xorg.conf.d/20-intel.conf

Mind that the config you posted uses which will likely result in errors. The code I suggested uses " instead.

1 Like