"Fossies" - the Fresh Open Source Software Archive

Member "cbatticon-1.6.13/README" (27 Apr 2022, 3592 Bytes) of package /linux/privat/cbatticon-1.6.13.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "README": 1.6.12_vs_1.6.13.

    1 
    2 A lightweight and fast battery icon that sits in your system tray.
    3 Based on code from xbattbar-acpi.
    4 
    5 Make options:
    6   WITH_GTK3=1 to build against gtk3, it is the default option
    7   WITH_GTK3=0 to build against gtk2 (version 2.16)
    8 
    9   WITH_NOTIFY=1 to build with libnotify support, it is the default option
   10   WITH_NOTIFY=0 to build without libnotify support
   11 
   12 Usage:
   13   cbatticon [OPTION...] [BATTERY ID]
   14 
   15 Help Options:
   16   -h, --help                       Show help options
   17 
   18 Application Options:
   19   -v, --version                    Display the version
   20   -d, --debug                      Display debug information
   21   -u, --update-interval            Set update interval (in seconds)
   22   -i, --icon-type                  Set icon type ('standard', 'notification' or 'symbolic')
   23   -l, --low-level                  Set low battery level (in percent)
   24   -r, --critical-level             Set critical battery level (in percent)
   25   -o, --command-low-level          Command to execute when low battery level is reached
   26   -c, --command-critical-level     Command to execute when critical battery level is reached
   27   -x, --command-left-click         Command to execute when left clicking on tray icon
   28   -n, --hide-notification          Hide the notification popups
   29   -t, --list-icon-types            List available icon types
   30   -p, --list-power-supplies        List available power supplies (battery and AC)
   31 
   32 Default value for options:
   33   update interval        : 5 seconds
   34   icon type              : the first one that is available in this sequence:
   35                            standard, notification or symbolic
   36                            (check your setup with --list-icon-types)
   37   low level              : 20 percent
   38   critical level         : 5 percent
   39   command low level      : none
   40   command critical level : none
   41   command left click     : none
   42   battery id             : the first one that is reported by sysfs
   43                            (check your setup with --list-power-supplies)
   44 
   45 Examples:
   46   cbatticon
   47   cbatticon -t
   48   cbatticon -p
   49   cbatticon -u 20 -i notification -c "poweroff" -l 15 -r 3
   50   cbatticon -u 20 -i notification -r 3 -c "poweroff" -l 15 -o "xbacklight = 5"
   51 
   52 Thanks to:
   53 
   54   - hasufell <hasufell@gentoo.org> for the following improvements:
   55   Allow AC only tray icon
   56   Allow building with(out) libnotify support
   57   Allow building with gtk2 or gtk3
   58   Allow execution of command when left clicking on the tray icon
   59   Many other improvements in Makefile, comments, whitespace cleaning, ...
   60 
   61   - fluxer <xakepa10@gmail.com> to allow compilation with libnotify < 0.7.0
   62 
   63   - slyos <rameshvraj@gmail.com> to allow calculation of estimated remaining
   64   time for those batteries not providing the current (dis)charge rate.
   65 
   66   - Alexandr (Pro-pra) Proklov <ssaa@rambler.ru> for the initial translation support
   67 
   68   - Undeterminant <claire@undeterminant.net> for the plural translations support
   69 
   70   - Translators:
   71   Brazilian Portuguese: Raffaello Salvetti <raffaello.salvetti@gmail.com>
   72   Bosnian, Croatian, Serbian: Dino Duratović <dinomol@mail.com>
   73   French: Valère Monseur <valere.monseur@ymail.com>
   74   German: Julian Ospald <hasufell@gentoo.org>
   75   Greek: George Vlahavas <vlahavas@gmail.com>
   76   Hebrew: Yotam Salmon <yotam.salmon@gmail.com>
   77   Indonesia: Mahyuddin <yudial@gmail.com>
   78   Japanese: Eshin Kunishima <ek@esh.ink>
   79   Spanish: Mauricio Medeiros <jesusmlmph@gmail.com>
   80   Turkish: Behzat Erte <behzaterte@yandex.com>
   81   Russian: Alexandr Proklov <ssaa@rambler.ru>
   82   Traditional chinese: Lego Chiang <qas612820704@gmail.com>
   83 
   84   - All other contributors reporting bugs, sending feature requests, ...