20517b0d-40d8-425d-8c0c-e8515a02f7d9
prompter
How can I switch to my DisplayLink monitor on boot? I am using Arch Linux with LightDM.
72d0c0ee-a496-4498-b791-be2661de4a75
20517b0d-40d8-425d-8c0c-e8515a02f7d9
assistant
To switch to your DisplayLink monitor on boot, you need to configure your display manager to recognize the DisplayLink monitor as a valid display device. Since you're using LightDM, you'll need to modify the configuration file for LightDM to include the DisplayLink monitor.

Here's how you can do it:

Open the LightDM configuration file in a text editor with root privileges:

`sudo nano /etc/lightdm/lightdm.conf`

Scroll down to the [Seat:*] section of the file and add the following lines:

`display-setup-script=/usr/bin/xrandr --output <name-of-your-DisplayLink-monitor> --auto`
`greeter-setup-script=/usr/bin/xrandr --output <name-of-your-DisplayLink-monitor> --auto`

Replace <name-of-your-DisplayLink-monitor> with the actual name of your DisplayLink monitor as shown by the xrandr command.

For example, if the name of your DisplayLink monitor is DP-1, the lines should look like this:

`display-setup-script=/usr/bin/xrandr --output DP-1 --auto`
`greeter-setup-script=/usr/bin/xrandr --output DP-1 --auto`
Save and close the file.

Reboot your system and LightDM should automatically switch to the DisplayLink monitor during boot.

Note: If you have multiple DisplayLink monitors, you may need to add additional --output and --auto options to the xrandr commands to configure them properly.
8c40e697-0364-4601-b172-42bae9dd6303
72d0c0ee-a496-4498-b791-be2661de4a75
prompter
Thank you