Display

Screen rotation fixes for the login screen and stubborn apps

The panel is portrait-native, so SDDM and some apps come up sideways; an xrandr line in Xsetup or Xsession.d puts them right on X11.

Compatibility
Universal
Difficulty
Easy
Status
Available
Author
Mykhailo_Chuha
Added
Source
ClockworkPi forum

What it takes

  • Config change

Difficulty 1 of 3 — easy.

Details

Mykhailo_Chuha's SDDM fix: add xrandr --output DSI-1 --rotate right to /usr/share/sddm/scripts/Xsetup and point DisplayCommand at it in /var/lib/sddm/state.conf so the login screen is upright from boot; check the output name with xrandr first (DSI-1 or DSI-2, XWAYLAND0 under Wayland). Kirou's alternative is booting to the desktop and locking the screen immediately, which also survives external monitors.

For apps that ignore the session rotation (VNC, Kodi, VLC fullscreen, Steam Link, Moonlight, Crawl tiles), Glbr_Hanson's thread uses /etc/X11/Xsession.d/100custom_xrandr with the same xrandr line, or runs kodi.bin directly so it uses Xorg rather than the framebuffer. fbcon=rotate:1 in cmdline.txt only rotates the text console; GPU apps launched from a TTY need per-app handling.

Open at Forum thread
  • rotation
  • xrandr
  • SDDM
  • software

← Back to Display