alienware-cli
The alienware-cli
application controls the LEDs and the HDMI in and out ports on an Alienware Alpha desktop machine.
The API is based on the alienware_wmi_control.sh
script that used to come with the SteamOS distribution of Linux for
Alienware machines.
You might also want to check out a python project to control the same lights
AlienFX
.
Install
First method: if cargo is available to your root user with a correct toolchain:
Second method: install for yourself using cargo and then copy to a location that is in all users path:
Third method: grab the latest version from the releases page:
&&
Use
To see a description of the command line parameters use the -h
parameter:
)
The -c
and -l
parameters show information about the hdmi connections and LEDs respectively, this two parameters can
be used together or separately and can also be used with the -j
parameter which formats the response in json format
for machine readability:
}} } }}}
The colour of the LEDs can be set for different LED clusters with the -H
, -L
, and -R
parameters for the head, left
and right clusters respectively. The LED colours can be set either with the name of the colour or the RGB value where
the value of each colour has a 0-15 scale. Since these commands are changing the values of files in sysfs, the command
should be run with root permissions:
Both of the following examples sets the head button to cyan:
Disclaimer and License
If you use this software, you use it AT YOUR OWN RISK.
This software is licenced under the Apache-2.0 licence.