[06:17] <xu-help83w> Hi, can someone please help me
[06:18] <diogenes_> !ask
[06:20] <xu-help83w> I am having troubles changing my screen resolution. Whenever, I change it to my desired resolution the screen goes black
[06:20] <xu-help83w> Sorry I am new to Xubuntu
[06:24] <diogenes_> xu-help83w, how you change it?
[06:27] <xu-help83w> I know how to change it. But when I change my resolution to say 800 x 1280. My screen simply goes black
[06:28] <xu-help83w> I am running xubuntu on an lenovo ideapad 2 in 1 laptop and tablet
[06:28] <xu-help83w> after, I finished installed xubuntu. My screen was rotated horizontally
[06:29] <xu-help83w> So I would like to fix it
[06:29] <xu-help83w> Currently, my running 1280 x 800 resolution
[06:30] <xu-help83w> Its just I would like my resolution to fit my whole screen
[06:30] <xu-help83w> Currently, I have a small vertical screen and two black boxes side it
[06:35] <diogenes_> xu-help83w, what GPU driver?
[06:40] <xu-help83w> How do I find my gpu xubuntu?
[06:41] <pmjdebruijn> glxinfo?
[06:41] <well_laid_lawn> lspci | grep VGA
[06:43] <diogenes_> xu-help83w, lspci -k | grep -i -A 3 'vga\|3d\|2d' | nc termbin.com 9999
[06:43] <diogenes_> share url
[06:45] <xu-help83w> Sorry I not sure what you mean by that. You will have to explain everything to me step by step
[06:46] <pmjdebruijn> xu-help83w: execute that command in a terminal, the command will give you a URL, which you need to paste here
[06:48] <xu-help83w> ok got it
[06:48] <xu-help83w> https://termbin.com/x50d
[06:51] <pmjdebruijn> ok. so that's nothing strange
[06:52] <diogenes_> xu-help83w, now the following command: cat /var/log/Xorg.0.log | nc termbin.com 9999
[06:53] <xu-help83w> https://termbin.com/a60p
[06:58] <diogenes_> xu-help83w, ls /usr/lib/xorg/modules/drivers/ | grep -i intel
[06:58] <diogenes_> does it give any output?
[06:59] <xu-help83w> it gave: intel_drv.so
[07:00] <well_laid_lawn> from the X log    15.720] (II) modeset(0): Output DSI-1 using initial mode 800x1280 +0+0    says X thinks the screen is still rotated
[07:00] <diogenes_> xu-help83w, ok now your system runs on oss drive called modesetting we can try to load intel driver.
[07:01] <xu-help83w> sure, please lead the way
[07:02] <diogenes_> pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY mousepad /etc/X11/xorg.conf.d/20-intel.conf
[07:03] <xu-help83w> yep got the root account
[07:04] <diogenes_> got an empty doc?
[07:05] <xu-help83w> yeh
[07:05] <diogenes_> inthere paste the content of this link: https://dpaste.com/GCBVYG8FN
[07:06] <xu-help83w> yeh, pasted it
[07:06] <diogenes_> save, close and run: cat /etc/X11/xorg.conf.d/20-intel.conf | nc termbin.com 9999
[07:09] <xu-help83w> ok, it says "failed to save document no such file or directory exists"
[07:09] <xu-help83w> Should I save as somewhere
[07:10] <diogenes_> ah ok then close without saving and run the following:
[07:10] <diogenes_> sudo mkdir /etc/X11/xorg.conf.d
[07:10] <diogenes_> pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY mousepad /etc/X11/xorg.conf.d/20-intel.conf
[07:10] <diogenes_>  the content of this link: https://dpaste.com/GCBVYG8FN
[07:10] <diogenes_> save, close and run: cat /etc/X11/xorg.conf.d/20-intel.conf | nc termbin.com 9999
[07:10] <diogenes_> share the url
[07:13] <xu-help83w> ok hopefully I did it correct
[07:14] <xu-help83w> here is the link: https://termbin.com/i8fa
[07:15] <diogenes_> all seems ok and now before you reoot, in case you got a black screen then write down or take a pic with your phone of the following steps to recover from the black screen:
[07:15] <diogenes_> 1) hit ctrl+alt+f1
[07:15] <diogenes_> 2) you gonna be asked to login so type in your username (hit enter), your password (hit enter)
[07:16] <diogenes_> after you login run the following command: sudo rm /etc/X11/xorg.conf.d/20-intel.conf
[07:16] <diogenes_> 3) type in: systemctl reboot (hit enter)
[07:16] <diogenes_> that's it
[07:16] <xu-help83w> ok, sweet
[07:16] <diogenes_> you can now reboot
[07:17] <xu-help83w> on it
[07:37] <Xubutu> Hi, can someone please help me to rotate my screen. Currently, its horizontal/sideways.
[07:37] <Xubutu> Even, on the login screen