screen orientation now off by 90 degrees, how fix before grub?
Had an Asus t102h touch tablet w win 10 that I no longer need so i put kali on it to use as a learning tool.
after installation, the bios and asus boot logo are correct orientation, but when grub starts its 90 degrees rotated left.
after login the touchpad and touchscreen are also incorrectly matched to the left rotation making touch useless and the touchpad a pain.
in terminal i ran "xrandr -o right" and everything resolves... (auto rotation works but not the touchpad as a side note
i added the above to the startup script but it only starts after loggin so the log in screen remains sideways, as does grub and bootup posts.
i also noticed that the screen resolution is swapped which would account to the incorrect orientation, but i do not how to change that, especially since it appears with grub to start but not before.
0
also, screen brightness control doesnt work, its always maxed but not a big deal at this point, but if someone also knows how to fix that ;)
thanks all! love the new theme too, last time i used kali was a few years ago and it was quite dated looking.
Screen Orientation - GRUB 2.02-2
I have not discovered a resolution for the GRUB screen rotation, yet. But I have found other that have similar issues with other devices.
Here, we have a couple of users that are trying to achieve exactly the opposite of what we are wanting to do. They have added monitors that they have physically rotated to portrait mode, and they are merely annoyed with the fact that GRUB streams across in landscape mode and they want to rotate it to portrait more. Though they have not updated the thread since 2013, there is some useful information there:
- fbcon doesn't appear to hold the solution;
- xrandr doesn't appear to hold the solution; and,
- The GNU GRUB Manual isn't helpful in this regard. (I went through this and decided to save a PDF copy for a later point in time. Might come in handy some day.)
Despite what the last cited thread says about fbcon, I found this in the askubuntu forum and am going to give it a shot since fbcon comes up A LOT in searches for screen rotation and GRUB:
Quote:
You can rotate your virtual framebuffers using fbcon. 0 through 3 to represent the various rotations:
- 0 - Normal rotation
- 1 - Rotate clockwise
- 2 - Rotate upside down
- 3 - Rotate counter-clockwise
These can be set from the command line by putting a value into the correct system file. Rotate the current framebuffer:
echo 1 | sudo tee /sys/class/graphics/fbcon/rotate
Rotate all virtual framebuffers:
echo 1 | sudo tee /sys/class/graphics/fbcon/rotate_all
If you want this to happen automatically when you start your system, you need to modify your boot loader configuration to give it the correct options. In /etc/default/grub add fbcon=rotate:1 to the GRUB_CMDLINE_LINUX line:
GRUB_CMDLINE_LINUX="fbcon=rotate:1"
(Don't forget to run sudo update-grub after changing this file.)
Screen Orientation - GRUB 2.02-2
Quote:
If you want this to happen automatically when you start your system, you need to modify your boot loader configuration to give it the correct options. In /etc/default/grub add fbcon=rotate:1 to the GRUB_CMDLINE_LINUX line:
GRUB_CMDLINE_LINUX="fbcon=rotate:1"
(Don't forget to run sudo update-grub after changing this file.)
Using # cd /etc/default then # nano grub I edited the entry:
Code:
GRUB_CMDLINE_LINUX=""
to read:
Code:
GRUB_CMDLINE_LINUX="fbcon=rotate:1"
Then I saved and exited.
I then ran # update-grub which came back with no errors. I then entered # reboot now.
From here, the system rebooted as expected. The OS selector screen (GRUB console) was still 90 degrees out (no change), but the next screen did actually rotate clockwise by 90 degrees to the correct landscape view as the post on askubuntu suggested.
Note that prior to this edit, I reported that this failed. The failure was actually due to an error during the update-grub command. I ran it again without error and everything is good.
Also, disabling the GRUB console causes the native OS screen to be in the Chevy orientation. So I have narrowed the issue down to the fancier GRUB console. Everything else looks good in this regard.