tuxedocomputers / tuxedo-control-center

A tool to help you control performance, energy, fan and comfort settings on TUXEDO laptops.
GNU General Public License v3.0
486 stars 63 forks source link

[Feature Request] Ability to change profiles using CLI #388

Open martinszeltins opened 1 month ago

martinszeltins commented 1 month ago

Sometimes I connect to my computer via ssh and would like to be able to change the profile using the command line.

Something like this:

$ tuxedo-control-center --set-profile="Default"
$ tuxedo-control-center --set-profile="Cool and breezy"
$ tuxedo-control-center --set-profile="Powersave extreme"
munix9 commented 1 month ago

It would be even better if tcc could/would adhere to the dbus specs from https://gitlab.freedesktop.org/upower/power-profiles-daemon.

Then you could even control tcc from KDE/GTK and manage it with a tool similar to powerprofilesctl.

https://pointieststick.com/2021/07/23/this-week-in-kde-power-profiles-and-a-more-polished-kickoff/ https://linuxconfig.org/how-to-manage-power-profiles-over-d-bus-with-power-profiles-daemon-on-linux

See also https://github.com/tuxedocomputers/tuxedo-control-center/issues/318 https://github.com/tuxedocomputers/tuxedo-control-center/issues/373