← 返回命令列表

Linux command

mhwd-gpu 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

mhwd-gpu --status

Check

mhwd-gpu --check

Example

sudo mhwd-gpu --setmod nvidia --setxorg [/path/to/nvidia.conf]

Example

sudo mhwd-gpu --setmod [catalyst|ati] --setxorg [/path/to/amdgpu.conf]

Example

mhwd-gpu --help

说明

mhwd-gpu is a Manjaro Linux utility for configuring graphics card settings, specifically managing Xorg configuration files for different GPU drivers. It handles the symlink at /etc/X11/xorg.conf.d/ that points to the active GPU configuration. The tool simplifies switching between different GPU configurations, particularly useful for systems with multiple graphics cards or when switching between open-source and proprietary drivers. Part of the Manjaro Hardware Detection (MHWD) toolset, it works alongside mhwd for driver installation and mhwd-kernel for kernel management.

参数

--status
Display the current Xorg configuration path
--check
Verify the Xorg configuration symlink is valid
--setmod _driver_
Set the GPU driver module (nvidia, catalyst, ati, intel)
--setxorg _path_
Set the path to the Xorg configuration file
--help
Display help information

FAQ

What is the mhwd-gpu command used for?

mhwd-gpu is a Manjaro Linux utility for configuring graphics card settings, specifically managing Xorg configuration files for different GPU drivers. It handles the symlink at /etc/X11/xorg.conf.d/ that points to the active GPU configuration. The tool simplifies switching between different GPU configurations, particularly useful for systems with multiple graphics cards or when switching between open-source and proprietary drivers. Part of the Manjaro Hardware Detection (MHWD) toolset, it works alongside mhwd for driver installation and mhwd-kernel for kernel management.

How do I run a basic mhwd-gpu example?

Run `mhwd-gpu --status` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --status do in mhwd-gpu?

Display the current Xorg configuration path