Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/n0rbert/powerprofilesctl-tray
Tray icon indicator for powerprofilesctl for laptop, with support of modern Ayatana Indicators
https://github.com/n0rbert/powerprofilesctl-tray
ayatana ayatana-appindicator debian debian-desktop debian-linux mate mate-desktop mate-panel
Last synced: 25 days ago
JSON representation
Tray icon indicator for powerprofilesctl for laptop, with support of modern Ayatana Indicators
- Host: GitHub
- URL: https://github.com/n0rbert/powerprofilesctl-tray
- Owner: N0rbert
- License: gpl-2.0
- Created: 2024-09-08T10:29:48.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2024-09-12T18:56:23.000Z (about 2 months ago)
- Last Synced: 2024-10-12T17:41:27.959Z (25 days ago)
- Topics: ayatana, ayatana-appindicator, debian, debian-desktop, debian-linux, mate, mate-desktop, mate-panel
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# powerprofilesctl-tray
Tray icon indicator for `powerprofilesctl` command (from [power-profiles-daemon](https://gitlab.freedesktop.org/upower/power-profiles-daemon) project) for laptop, with support of modern Ayatana Indicators.
This indicator is compatible with Debian 12 (*bookworm*), it combines well with [debian-mate-ayatana-settings](https://github.com/N0rbert/debian-mate-ayatana-settings). For standalone use one should install three packages - `power-profiles-daemon`, `gir1.2-ayatanaappindicator3-0.1` and `adwaita-icon-theme`:
```
sudo apt-get update
sudo apt-get install power-profiles-daemon gir1.2-ayatanaappindicator3-0.1 adwaita-icon-theme
```Installation on the Debian 11 (*bullseye*) is possible too, but here user should download and install packages `power-profiles-daemon` and `adwaita-icon-theme` from Debian 12 (*bookworm*) repository manually.
To install this indicator for the current user use the commands below:
```
cd ~/Downloads
git clone https://github.com/N0rbert/powerprofilesctl-tray
cd powerprofilesctl-traymkdir ~/bin
cp -v powerprofilesctl-tray.py ~/bin/
chmod +x ~/bin/powerprofilesctl-tray.pymkdir -p ~/.config/autostart/
cat < ~/.config/autostart/powerprofilesctl-tray.py.desktop
[Desktop Entry]
Type=Application
Exec=python3 $HOME/bin/powerprofilesctl-tray.py
Hidden=false
Name[en_US]=powerprofilesctl-tray
Name=powerprofilesctl-tray
Comment[en_US]=powerprofilesctl-tray
Comment=powerprofilesctl-tray
X-MATE-Autostart-Delay=0
EOF
```The installed indicator will be placed inside MATE Panel as tray icon and will look as shown below:
| **Profile ↓** / **Look →** | **Default Debian with MATE desktop task** | **Debian with modern Ayatana Indicators using [debian-mate-ayatana-settings](https://github.com/N0rbert/debian-mate-ayatana-settings)** |
|:---------------------------:|:-----------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------:|
| **Power-saver** | ![](.github/debian-mate-default_power-saver.png) | ![](.github/debian-mate-ayatana_power-saver.png) |
| **Balanced** | ![](.github/debian-mate-default_balanced.png) | ![](.github/debian-mate-ayatana_balanced.png) |
| **Performance** | ![](.github/debian-mate-default_performance.png) | ![](.github/debian-mate-ayatana_performance.png) |Removal procedure is simple:
```
rm -v ~/.config/autostart/powerprofilesctl-tray.py.desktop
rm -v ~/bin/powerprofilesctl-tray.py
```