Linux command
arandr 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Launch the graphical display configuration
arandr
Configure a different display
arandr --randr-display [DISPLAY]
说明
ARandR (Another RandR) is a graphical front end for the XRandR 1.2 extension. It provides a visual interface for configuring display outputs, resolutions, refresh rates, and multi-monitor layouts. The application shows connected monitors as draggable rectangles, allowing intuitive arrangement of display positions. Changes take effect immediately, and configurations can be saved as executable shell scripts for later use or automatic execution at login. Key features include drag-and-drop monitor positioning with edge snapping, support for rotation, resolution selection, and enabling/disabling outputs. Saved scripts are plain text and can be edited to include additional commands. For command-line control of display settings, use xrandr directly. ARandR generates xrandr commands internally and is useful for visualizing and experimenting with multi-monitor setups.
参数
- --randr-display=_DISPLAY_
- Use a specific X display for xrandr operations while showing the GUI on the display from the environment
- -h, --help
- Display help message
- --version
- Display version information
FAQ
What is the arandr command used for?
ARandR (Another RandR) is a graphical front end for the XRandR 1.2 extension. It provides a visual interface for configuring display outputs, resolutions, refresh rates, and multi-monitor layouts. The application shows connected monitors as draggable rectangles, allowing intuitive arrangement of display positions. Changes take effect immediately, and configurations can be saved as executable shell scripts for later use or automatic execution at login. Key features include drag-and-drop monitor positioning with edge snapping, support for rotation, resolution selection, and enabling/disabling outputs. Saved scripts are plain text and can be edited to include additional commands. For command-line control of display settings, use xrandr directly. ARandR generates xrandr commands internally and is useful for visualizing and experimenting with multi-monitor setups.
How do I run a basic arandr example?
Run `arandr` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --randr-display=_DISPLAY_ do in arandr?
Use a specific X display for xrandr operations while showing the GUI on the display from the environment