autorandr is a command-line tool in Linux that is used to automatically configure the display settings of a system based on the connected display devices. It is designed to make it easy to switch between different display configurations, such as when you connect or disconnect a monitor, projector, or other display device.
autorandr works by creating and storing “profiles” for different display configurations. When you run autorandr, it will detect the connected display devices and automatically apply the appropriate profile to configure the display settings. You can create and edit profiles using the autorandr command, or you can use the autorandr –save command to create a new profile based on the current display configuration.
For more information on using autorandr, you can consult the autorandr documentation or use the autorandr –help command to view a list of available options and usage examples.
# man autorandr
autorandr Command Examples
1. Save the current screen layout:
# autorandr -s profile_name
2. Show the saved profiles:
# autorandr
3. Change the profile:
# autorandr -l profile_name
4. Set the default profile:
# autorandr -d profile_name