Skip to content

Simple tray profile switcher for asusctl

License

Notifications You must be signed in to change notification settings

ghostface/asusctltray

 
 

Repository files navigation

asusctltray

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

Changes in this fork

  • Added radio items to change cpu governor via cpupower
  • Added radio items to change different tdp levels via ryzenadj

Requirements

  1. Obviously needs ryzenadj and cpupower installed.
  2. 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

Table of contents

Installation

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.

Note for GNOME 40 users

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.

Usage

On click: open context menu with all the profiles, selecting one will apply it (calls asusctl profile <profile>).

Screenshots

tray.png

dialog.png

About

Simple tray profile switcher for asusctl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.5%
  • Shell 2.5%