2022-01-25 14:19:45 +01:00
|
|
|
# cutiepi-lxpanel-battery
|
2022-01-25 20:30:15 +01:00
|
|
|
|
2022-01-25 14:19:45 +01:00
|
|
|
lxpanel plugin for the CutiePi battery
|
2022-01-25 20:30:15 +01:00
|
|
|
|
|
|
|
## Installation from sources
|
|
|
|
|
2022-01-26 02:45:14 +01:00
|
|
|
1. Install the dependencies
|
|
|
|
|
2022-01-25 20:30:15 +01:00
|
|
|
```shell
|
|
|
|
$ sudo apt install \
|
|
|
|
build-essential autoconf automake libtool intltool \
|
|
|
|
libglib2.0-dev libgtk2.0-dev lxpanel-dev
|
|
|
|
```
|
2022-01-26 02:45:14 +01:00
|
|
|
|
|
|
|
2. Clone the repo, compile and install the plugin
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ git clone https://github.com/BlackLight/cutiepi-lxpanel-battery.git
|
|
|
|
$ cd cutiepi-lxpanel-battery
|
|
|
|
$ ./autogen.sh
|
|
|
|
$ make
|
|
|
|
$ sudo make install
|
|
|
|
```
|
|
|
|
|
|
|
|
3. Restart `lxpanel` if it's running
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ lxpanelctl restart
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
1. Right click on the panel
|
|
|
|
|
|
|
|
2. Select `Add / Remove Panel Items`
|
|
|
|
|
|
|
|
3. Click `Add`
|
|
|
|
|
|
|
|
4. Select `CutiePi battery`
|
|
|
|
|