This is a simple tray widget using appindicator
to switch asusctl
profiles stored in /etc/asusd/asusd.conf
and easily switch between dual graphics modes. Profiles are read from the config file dynamically so custom profiles are totally supported
- Added radio items to change cpu governor via cpupower
- Added radio items to change different tdp levels via ryzenadj
- Obviously needs ryzenadj and cpupower installed.
- Add both cpupower and ryzenadj so sudo works without password query for them
Create a new file /etc/sudoers.d/asusctltray
and add
%wheel ALL = NOPASSWD: /usr/bin/cpupower
%wheel ALL = NOPASSWD: /usr/bin/ryzenadj
Make sure your user is in the group wheel or adjust the sudoers entry accordingly
This project depends on AppIndicator3
. Refer to your distro's documentation/software repositories to install it (both the runtime and development files are needed).
Running the script install.sh
as root will install asusctltray
to /usr/local/bin
, the icon to /usr/share/pixmaps
and the asusctl.desktop
to /usr/share/applications
. This makes the tray icon available in application menus.
GNOME dropped support for appindicator
/tray icons (see blog post and Status of Status Icons in GNOME Shell).
Unofficial support for tray icons can be easily brought back to the shell with ubuntu/gnome-shell-extension-appindicator, which I tested with asusctltray and can recommend.
Moreover, GNOME users should check out the excellent asusctl-gex shell extension from the maintainers of asusctl.
On click: open context menu with all the profiles, selecting one will apply it (calls asusctl profile <profile>
).