Automatic xrandr call when plug monitor
Lars Behrens
Lars.Behrens at kit.edu
Fri Dec 7 11:08:53 CET 2018
Am 06.12.18 um 16:01 schrieb Pétùr:
> xrandr --output DP-1-2 --above eDP-1
>
> I would like this command to be launched each time I plug the external
> monitor.
Not exactly what you are looking for, but I have put the xrandr call in
a script and assigned a hotkey via xfce4-keyboard-settings.
To be exact, I assigned different hotkeys for different xrandr settings.
That way I can switch different settings for different situations.
Very quick and you don't have to rely on any autodetections.
HTH a bit.
Cheerz,
Lars
--
Karlsruher Institut für Technologie (KIT)
Physikalisches Institut
+49 721 608-43448
lars.behrens at kit.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xD665831236577C9A.asc
Type: application/pgp-keys
Size: 3825 bytes
Desc: not available
URL: <https://mail.xfce.org/pipermail/xfce/attachments/20181207/4641572e/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5373 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://mail.xfce.org/pipermail/xfce/attachments/20181207/4641572e/attachment.bin>
More information about the Xfce
mailing list