• 1 Post
  • 7 Comments
Joined 2 years ago
cake
Cake day: August 15th, 2023

help-circle
  • My office “requires” that I use the provided Apple M1 but I don’t give a shit because 1) MacOS is garbage, and 2) I make frontend and backend services that are going to run in containers on the cloud. So I’m using a Mint mini-pc in office and a Mint VM at home. Just use whatever you like.

    BTW:

    Immutable setups ftw

    I don’t like them but if you are willing to work your ass off to make docker and everything else works be my guest. I prefer to keep everything work-related in a VM so I can just save snapshots.

    Arch is stable enough though

    Too risky for me but whatever.

    Type of work affects distro choice more so than DE choice (I do backend webdev, my deliverables are very platform independent, so I didn’t think about this much)

    I also do full stack and neither the distro and the DE matters IMHO.

    Plenty of XFCE users out there!

    I have XFCE on my Mint mini-pc. It’s fine but it looks so poor…





  • I have the same setup (EndeavourOS / KDE plasma 6 / Wayland / SDDM / 2 monitors) and had the same problem. The worst thing is that typing the password in the “active” login prompt (the one with the focus) wasn’t working anyway, so I had to use the mouse to give focus to the other monitor first, and then type the password. Absolutely annoying.

    The solution I found (sorry I forgot where, some forum) is to disable all the detected monitors except one in /usr/share/sddm/scripts/Xsetup. Basically your secondary monitor will not get any signal until you type the password and log in. At that point any other monitor will be reactivated automatically.

    This is my Xsetup:

    #!/bin/sh
    xrandr --output DisplayPort-0 --mode 2560x1440 --pos 0x0 --rotate normal
    xrandr --output DisplayPort-1 --off
    xrandr --output HDMI-A-0 --off
    xrandr --output HDMI-A-1 --off
    

    IMPORTANT

    Check out the output of xrandr in Wayland on my system:

    $ xrandr | grep ' connected'
    DP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 590mm x 334mm
    DP-2 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 590mm x 334mm
    

    DP-1 and DP-2 are the names used by Wayland, but they don’t work in Xsetup because X11 calls the ports DisplayPort-0 and DisplayPort-1 - and I don’t remember if HDMI ports are also called differently.

    So you need to log in X11 first, get the names with xrandr, create or update Xsetup and reboot.