So I currently installed Manjaro KDE as dual-boot on my XPS 13 laptop, everything runs fine and it’s pretty fast. However, I have a TB3 Dell dock which I’m using it with an external monitor in which I want to use it as my primary screen and the laptop screen be off and lid closed. Problem happens whenever I reboot having my external monitor connected and laptop lid closed. Laptop boots but there’s no image in both laptop and monitor, I have to disconnect the dock and reboot the laptop and then connect again to get image on the monitor. This however DOES NOT happen when my laptop lid is open, however, display settings configurations are not saved therefore I always have to change display configurations to set my monitor as primary screen and disable laptop screen.
I googled this issue but couldn’t find one that fits my current issues, I read on the arch wiki that one can set the following command to “fix” this, however one has to create a udev rule, currently I can’t write udev rules as I always get the message “Permission Denied” even though I am the administrator account, and therefore can’t edit or see those files.
This only happens whenever the lid is closed after a reboot, if lid is open, I get images on both screens however no configurations are saved.
I also played with xrandr and xlayourdisplay however can’t find a way to set those settings permanently.
if xrandr | grep “$extern disconnected”; then
xrandr --output “$extern” --off --output “$intern” --auto
xrandr --output “$intern” --off --output “$extern” --auto
Actual Results: No image on both laptop and monitor screens after reboot, have to reboot Manjaro with the dock unplugged.
Expected Results: Reboot normally with laptop lid closed connected to the dock and showing image on external monitor.
Edit: Also tried to edit files within the Thunderbolt files on root folders, but can’t do it given that for some reason I’m not permitted to write and read root files.