Just to include some links to the system76 power switcher thingy:
It’s written in RUST.
The program the original poster was referring to was probably the gnome shell extension. Well that gui part on the taskbar will not work under Budgie. It would need to be re-written as a stantalone application like psensors. Or otherwise a Budgie specific applet, which is probably vala.
However you can install the cmdline tool for these features on ubuntu. As follows:
- First, add the system76 ppa
$ sudo add-apt-repository -y ppa:system76/pop
- Then install the system76 program(s) which you are interested in
$ sudo apt-get install -y system76-power
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
The following NEW packages will be installed
0 to upgrade, 1 to newly install, 1 to remove and 57 not to upgrade.
Need to get 212 kB of archives.
After this operation, 714 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/system76/pop/ubuntu bionic/main amd64 system76-power amd64 0.1.2~1535146271~18.04~d792564 [212 kB]
Fetched 212 kB in 3s (61.4 kB/s)
(Reading database ... 667868 files and directories currently installed.)
Removing nvidia-prime (0.8.8) ...
Selecting previously unselected package system76-power.
(Reading database ... 667856 files and directories currently installed.)
Preparing to unpack .../system76-power_0.1.2~1535146271~18.04~d792564_amd64.deb ...
Unpacking system76-power (0.1.2~1535146271~18.04~d792564) ...
Setting up system76-power (0.1.2~1535146271~18.04~d792564) ...
Created symlink /etc/systemd/system/multi-user.target.wants/system76-power.service → /lib/systemd/system/system76-power.service.
Processing triggers for initramfs-tools (0.130ubuntu3.1) ...
update-initramfs: Generating /boot/initrd.img-4.18.6-041806-lowlatency
Processing triggers for dbus (1.12.2-1ubuntu1) ...
- Try the cmdline program (probably requires a
system76-power [options] [sub-command] [args...]
--quiet - reduce logging verbosity
--verbose - increase logging verbosity
daemon - run in daemon mode
daemon --experimental - run in daemon mode with experimental features
profile - query current profile
profile performance - set profile to performance
profile balanced - set profile to balanced
profile battery - set profile to battery
graphics - query graphics mode
graphics intel - set graphics mode to intel
graphics nvidia - set graphics mode to nvidia
graphics power - query discrete graphics power state
graphics power auto - turn off discrete graphics if not in use
graphics power off - power off discrete graphics
graphics power on - power on discrete graphics
Looks like a nice introduction to the RUST programming language to me. Very good example.