Automatic xrandr call when plug monitor

killermoehre killermoehre at gmx.net
Fri Dec 7 12:34:05 CET 2018



Am 6. Dezember 2018 16:01:54 MEZ schrieb "Pétùr" <peturvilj at gmail.com>:
>Hello,
>
>I use two monitors : laptop and above an external one.
>
>I have configured this layout in xfce4-display-settings and it is
>working if I power on the laptop when the external monitor plugged.
>
>However, if I unplug and replug the external monitor, I have mirror
>screens. At this point, I use xrandr to set the layout :
>
>xrandr --output DP-1-2 --above eDP-1
>
>I would like this command to be launched each time I plug the external
>monitor.
>
>Is it possible in Xfce?
>
>Pétùr

Hi,

seems like you want https://simon.shimmerproject.org/2018/10/02/new-xfce4-settings-release/ - Display Profiles.

BR


More information about the Xfce mailing list