Re: How to be notified if the battery of my notebook is low?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rick Stevens <ricks <at> nerd.com> writes:

> ... 
> As to a "wall"-type message, there is nothing I know of but you could
> write a quick cron program that checks the various variables in
> /proc/acpi/battery/BAT0/state and does a "wall" if any of them get low.
> ...

... and combine it with a custom notification for your desktop :-)

$ notify-send "Title" "Desktop notification message"
$ notify-send --help
$ rpm -qf /usr/bin/notify-send
libnotify-0.5.1-1.fc14.i686
$ yum info libnotify
...
Summary     : Desktop notification library
URL         : http://www.galago-project.org/specs/notification/
License     : LGPLv2+
Description : libnotify is a library for sending desktop notifications to a
            : notification daemon, as defined in the freedesktop.org Desktop
            : Notifications spec. These notifications can be used to inform the
            : user about an event or display some form of information without
            : getting in the user's way.

JB


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux