Coder Social home page Coder Social logo

chip-battery-status's Introduction

CHIP battery status for xfce4 desktop

A simple script to display battery percentage on the xfce4 desktop of NextThing.co's CHIP

Works nicely with PocketCHIP.

chip-battery-status xfce genmon preview

How to install

Download/clone the files to your CHIP.

cd chip-battery-status
sudo ./install.sh

Now you need to add a panel item to your xfce4 desktop.

  1. Right-click (or Ctrl-click) on an existing panel item, e.g your clock. Choose Panel > Add New Items...

xfce panel item setup #1

  1. Select Generic Monitor from the list and hit Add

xfce panel item setup #2

  1. You'll see (genmon) xxx appear in your panel. Right-click (or Ctrl-click) it and choose Properties

xfce panel item setup #3

  1. In the Command field enter chip-battery-xfce-genmon and for the Period (s) enter 5. Hit Close

xfce panel item setup #4

  1. Enjoy. ๐Ÿน ๐ŸŒด

How to uninstall

sudo ./uninstall.sh

This will disable the battery status polling service and remove previously-installed scripts and files.

It will not remove the desktop panel item. To remove that simply right-click (or Ctrl-click) the item and select Remove.

Customisation

You can change the way the battery status is displayed by editing /usr/local/bin/chip-battery-xfce-genmon.

Follow the instructions on the xfce4-genmon-plugin page to change colours, add images, etc.

chip-battery-status's People

Contributors

peterdekkers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.