Open mipimipi opened 2 years ago
It looks like my issue almost fits to the issue @mipimipi has reported.
I am using arch linux and i3wm too but just log in on the shell and call xinit
after login.
My issue is, that all connected screens are powered up but not with the expected profile. Having a look into journalctl -u autorandr.service
, it looks like:
Jul 08 07:39:42 urz-n238676 systemd[1]: Starting autorandr execution hook...
Jul 08 07:39:43 urz-n238676 systemd[1]: autorandr.service: Deactivated successfully.
Jul 08 07:39:43 urz-n238676 systemd[1]: Finished autorandr execution hook.
Jul 08 07:45:12 urz-n238676 systemd[1]: Starting autorandr execution hook...
Jul 08 07:45:16 urz-n238676 autorandr[23752]: autorandr running as user <string: username> (started fr>
Jul 08 07:45:16 urz-n238676 autorandr[23752]: office (detected)
Jul 08 07:45:16 urz-n238676 autorandr[23752]: stand_alone
Jul 08 07:45:16 urz-n238676 autorandr[23752]: homeoffice
I've installed the package from the regular repository.
Hi,
autorandr
is a great tool, but unfortunately I have one problem that I couldn't solve to far:I am running a laptop with Arch Linux and i3wm. I created 2 autorandr profiles:
autorandr --default laptop
When I have the external monitor connected and I reboot the system. I can log in (I use lightdm as login mgr), but then both screens (laptop and external monitor) remain dark. When I unplug the external monitor, the laptop screen appears. When I plug in the external monitor again, the laptop monitor automatically is switched off and the external monitor is switched on.
The status of the autorandr systemd service is as follows:
Any idea why this happens and how I can ensure that after reboot and login one screen is switched on?
Also tried to create a profile called "default" as described in #257. That didn't work, same system behavior.
Update: I tried different things, unfortunately without success:
autorandr --batch -c --default default
via script during the login phase (assigned the script to 'session-setup-script` in the Lightdm config).autorandr -c --force
to my .xinitrcIt seems that autorandr is not executed after login when the user session starts.
Thanks, mipi