You are not logged in.
Pages: 1
I have a steam deck and it has a portrait panel and My bootloader and sddm are in portrait mode i tried to make a script to rotate it my bash was
xrandr --output eDP-1 --rotate right
Xsetup - run as root before the login dialog appears If somone could tell me where I went wrong that would be very helpful as I would like to make mmy own diy handheld mode and I cant do that with it rotated
Offline
You can rotate the framebuffer, see https://www.kernel.org/doc/Documentation/fb/modedb.rst
i tried to make a script to rotate it my bash was
You can run xrandr and other commands in /usr/share/sddm/scripts/Xsetup - unless you've configured sddm to run on https://wiki.archlinux.org/title/SDDM#Wayland
The bootloader would be ahead of all of that and rotating that will be tricky, it might work w/ grub, for other bootloaders I'm not so optimistic.
Offline
Ok I will try that thanks yeah I assumed the bootloader would be hard to change ![]()
Offline
Okay I tried with and without wayland and both times it did not work wayland also would not let me sign in Idk what to do i might try to use gdm instead of sddm Idk if you have recommendations let me know possibly light dm ?
Offline
For SDDM on X11, post the /usr/share/sddm/scripts/Xsetup and also the output of "xrandr -q"
nb. that if you're starting a wayland session from SDDM, the xrandr changes won't remain, you'll have to rotate the output in the session for sure (and maybe make sure to rotate them explicitly no matter what in case the session restores some settings)
Also what did you video= kerrnel commandline look like and
for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; doneYou'll need https://archlinux.org/packages/extra/x86_64/v4l-utils/
Offline
here is the output of xrandr -q
eDP-1 connected 1280x800+0+280 right (normal left inverted right x axis y axis) 100mm x 160mm
800x1280 89.87*+
800x600 89.85
640x480 89.73
320x240 87.89
800x500 89.80
768x480 89.62
720x480 89.45
640x400 89.60
320x200 87.21
720x400 89.87
640x350 89.05
DP-1 connected primary 1920x1080+1280+0 (normal left inverted right x axis y axis) 345mm x 195mm
1920x1080 59.96*+
1440x1080 59.99
1400x1050 59.98
1280x1024 59.89
1280x960 59.94
1152x864 59.96
1024x768 59.92
800x600 59.86
640x480 59.38
320x240 59.29
1680x1050 59.95
1440x900 59.89
1280x800 59.81
1152x720 59.97
960x600 59.63
928x580 59.88
800x500 59.50
768x480 59.90
720x480 59.71
640x400 59.95
320x200 58.14
1600x900 59.95
1368x768 59.88
1280x720 59.86
1024x576 59.90
864x486 59.92
720x400 59.27
640x350 59.28
I found no card directory I found a card1 though but running do echo $OUT; edid-decode it out put
bash: syntax error near unexpected token `do'
Offline
Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.
post the /usr/share/sddm/scripts/Xsetup
running do echo $OUT; edid-decode it out put
You're supposed to run the entire command, it loops through the relevant paths and prints the edids.
Offline
Pages: 1