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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux