Automatic xrandr call when plug monitor

killermoehre killermoehre at
Fri Dec 7 12:34:05 CET 2018

Am 6. Dezember 2018 16:01:54 MEZ schrieb "Pétùr" <peturvilj at>:
>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
>Is it possible in Xfce?


seems like you want - Display Profiles.


More information about the Xfce mailing list