• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

autorandr Command Examples in Linux

by admin

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

Filed Under: Linux

Some more articles you might also be interested in …

  1. What happens in the Background when you execute the “useradd” command under Linux
  2. makepkg Command Examples in Linux
  3. update-alternatives: command not found
  4. How to recreate LVM device files under /dev directory using vgmknodes
  5. CentOS / RHEL 6 : How to Change the Volume Group Name for Root Disk Device
  6. debuild Command Examples in Linux
  7. mkfs.ext4 Command Examples in Linux
  8. Beginners Guide to User and Group Administration in Linux
  9. gnome-screenshot Command Examples in Linux
  10. How to Stop Audit Log Entries Written to System Logs in CentOS/RHEL 6

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright