Brightness, Battery, Volume OSD options w/xbindkeys

I'm putting some polish on a X220 Thinkpad.  I'm running Awesome WM, and am using xbindkeys to handle the commands for the special keys.
I'd like to have an OSD notification (preferably with a horizontal bar graph) for when I change the Volume, Screen brightness, or want a detailed report of battery status (there is a battery button afterall).  I've shopped around a bit, but I haven't found much in the Official Repositories or AUR.  Something maintained the repositories would be nice so that I don't work in the future.
The stuff I've found so far won't fit well:
osdbattery: Seems to be broken for my system.  It's looking for the battery state in 'power_now', which doesn't exist.  I have 'energy_now', and its not that configurable.
tpb: Seems a little old: last updated in 2011.  I could probably get it to work, but it also seems like it would be doing a lot of the work that xbindkeys is already doing, and that could get messy... 
Custom Scripts:  There are a few forum posts with custom scripts that pass info to notify-osd and the like, but many of these posts are a bit old, and I would like to avoid the hassle of adapting and maintaining scripts like that. 
So, is there something that's hiding in the repositories and give me the functionality that I want?  Lightweight would be best, but I'd be willing to borrow some pieces from GNOME or XFCE to make it work.  Thanks for the help!

Volnoti should do the trick. At least for volume and brightness notification.
Forum thread:
https://bbs.archlinux.org/viewtopic.php?id=132218
Package:
https://aur.archlinux.org/packages/volnoti/

Similar Messages

  • Where are brightness and volume in percentage ?

    Hi, i'm configuring conky and i don't see where are brightness and volume. I found temperatures in /sys/class/thermal/thermal_zone0/temp, but i didn't find brightness or volume, i tryed find it via checking keyboardkeys, but i think i have controlling brightness only in bios. I have shortcuts (Fn+left or right arrow) which works but i need percentage lighting display, which i'll use for conky. The same problem i have for volume. Thanks for help

    [root@acer ~]# cat /proc/acpi/video/OVGA/CRT1/info
    device_id: 0x0100
    type: CRT
    known by bios: no
    [root@acer ~]# cat /proc/acpi/video/OVGA/DFP1/info
    device_id: 0x0300
    type: UNKNOWN
    known by bios: no
    [root@acer ~]# cat /proc/acpi/video/OVGA/DFP2/info
    device_id: 0x0600
    type: UNKNOWN
    known by bios: no
    [root@acer ~]# cat /proc/acpi/video/OVGA/DTV1/info
    device_id: 0x0200
    type: TVOUT
    known by bios: no
    [root@acer ~]# cat /proc/acpi/video/OVGA/DTV2/info
    device_id: 0x0500
    type: UNKNOWN
    known by bios: no
    [root@acer ~]# cat /proc/acpi/video/OVGA/LCD/info
    device_id: 0x0400
    type: UNKNOWN
    known by bios: no
    I really don't know how Fn+key work but i checked all infos in previous post
    Last edited by STANKAR (2010-12-26 14:04:17)

  • My profile only- Brightness and volume buttons stop working (+)

    I am having intermittent problems with my profile in OS X. It's the latest update, which I can't check (More on that in a minute).
    At random intervals of more than one week, my MBP's brightness and volume buttons stop responding. As soon as I notice that, I try to open system prefs. One bounce on the dock, then nothing. Console: one bounce, then nothing. Terminal: same thing.
    This only applies to Apple software, and only some Apple software. "About this mac" doesn't work. Same applies to Safari, Disk Utility, App Store, Activity Monitor, Quicktime, etc. Chrome, Firefox, Pandora, Adium, et al function normally. For some reason, iPhoto and Garageband do start and run normally.
    I just tried restarting Finder (shift + Apple menu, selected 'Force quit Finder' with Finder in the foreground). Now Finder won't start. Spotlight runs, but you can't use it to open anything that won't open via the dock or Finder.
    My trackpad settings have changed as well- it no longer recognizes 'tap to select'.
    I tried logging into my 'safe' troubleshooting account (untouched settings, nothing installed). Everything works fine under the safe account; the only trouble I could spot was that the cursor wouldn't change from an unmoving pinwheel. I could still click on things, open apps, etc.
    I'm 99% sure that a simple restart will cure everything but I'd like to solve the problem. It's kind of a big deal when my primary machine gorps up for no reason.
    Thanks for any help you can provide.
    -b

    Thanks for writing back.
    Here's another thing I found.
    1/28/11 1:13:50 PM com.apple.launchd[1] (at.obdev.littlesnitchd[675]) Exited with exit code: 1
    1/28/11 1:13:50 PM com.apple.launchd[1] (at.obdev.littlesnitchd) Throttling respawn: Will start in 10 seconds
    1/28/11 1:14:00 PM com.apple.launchd[1] (at.obdev.littlesnitchd[681]) posix_spawn("/Library/Little Snitch/lsd", ...): No such file or directory
    Apparently, part of an old install of Little Snitch persisted when I upgraded machines. The above example repeats itself over and over in my console messages, hundreds of times.
    EDIT: I forgot to mention that I just did a clean uninstall using the latest Little Snitch installer- no more console messages about it.
    And I found about 20 instances of this crash under /library/logs/diagnostic reports (all within the same 5-minute window)(also, /Library, not ~/Library):
    Process: Finder [55244]
    Path: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
    Identifier: Finder
    Version: ??? (???)
    Code Type: X86-64 (Native)
    Parent Process: launchd [147]
    Date/Time: 2011-01-28 12:43:23.213 -0600
    OS Version: Mac OS X 10.6.6 (10J567)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGSEGV)
    Exception Codes: KERNINVALIDADDRESS at 0x000000011af59800
    Crashed Thread: 3
    The drive checks out OK, permissions check was unremarkable. Tons of drive space available.
    Right now, all I can do is wait for the problem to happen again.
    The 'stuck spinning cursor' problem that I ran into in my backup account went away after a reboot, as predicted.
    -b
    Message was edited by: Benjamin Riordan

  • Volume adjustment option does not work when ipod is in cradle?!

    I have my entire mp3 collection "mp3-gained" to get a balanced volume level in all my songs. As this does not work for purchased songs from the itunes store I adjusted the volume levels of these songs significantly down using the volume adjustment option in itunes. This works perfectly fine when listening over headphones, but when I put the ipod in the cradle or in a jbl Radial the purchased songs scream at me like crazy while the others keep a moderate volume level. So obviously the dock output is controlled differently then the ear phones output?! Is there a way to get the same volume control over the dock output?
    ipod 80GB    

    Nope! Neither nor!
    I initially used soundcheck but I was not satisfied with the quality. So I used the already existing mp3gain tags (that worked perfectly with my rockboxed IRiver) and used mac mp3gain to change the files to a balanced level. This meant I had to switch off soundcheck as it still kept the old (and now wrong) results.
    ipod 80GB    

  • HT3932 Wireless Keyboard Update 2.0  his update doesn't work!  I'm at 10.5.8 on my old iMac G5, installed the update and brightness and volume just do not work.  What next?

    This update doesn't work!  I'm at 10.5.8 on my old iMac G5, installed the update and brightness and volume just do not work.  What next?

    I have a brand new wireless keyboard... so it's never going to work.  BUT... I found a sort of work round! 
    Since it's eyeTV that I want to control the volume more than the system volume I discovered cmd and up/down arrows do the job.  I gess I'll forgo the brightness function.
    I'm a little frustrated that it appears Apple seems to want to push me towards an upgrade of a perfectly serviceable iMac G5.  I'll be keeping it to watch TV, surf the web, wordprocess and let the macbook pro handle photos & video.

  • Notify-osd Gnome 3 Volume OSD

    I have installed the notify-osd package but it does not look like gnome 3 in fallback mode is using it.
    I want the volume osd as in Ubuntu at the upper right.
    My /usr/share/gnome-session/sessions/gnome-fallback.session
    RequiredComponents=gnome-panel;gnome-settings-daemon;
    RequiredProviders=windowmanager;
    DefaultProvider-windowmanager=metacity
    DefaultProvider-notifications=notify-osd

    This functionality relies on a patch for gnome-settings-daemon:
    http://bazaar.launchpad.net/~ubuntu-des … ions.patch

  • Brightness and volume control keys not working with windows 7?

    brightness, volume control and some other keys keys are not working with windows 7 with macbook pro retina. Can I fix it?

    Welcome to the Apple Support Communities
    Have you installed Boot Camp drivers? You need them to make your computer work properly on Windows, and to use your function keys as Play or Pause, volume and brightness keys.
    To install them, follow these steps:
    1. Press the X key while your Mac is starting to start into OS X.
    2. Open Boot Camp Assistant and tick only the option to download Windows support software.
    3. Windows support software will be downloaded and Boot Camp Assistant will ask you to burn it into a DVD or USB drive, so do it.
    4. Start into Windows, insert the DVD or USB drive and install Boot Camp drivers. Your Mac and your volume and brightness keys will be working after installing the drivers

  • Volume OSD always showing "0"

    Hi,
    I've got a problem with the green volume bar that appears when you use the volume keys. The OSD always shows the volume level as zero ("0" text on the right, empty bar). Controlling the volume works just fine though, it's just the volume level OSD that's broken. Mute icon in OSD also works. 
    I already reinstalled the hotkey drivers several times, including older versions. Also tried deleting the registry entries (HKCU\Software\IBM, HKCU\Software\Lenovo, HKLM\Software\IBM, HKLM\Software\Lenovo), no luck there. 
    Same thing also happens when logging in with a clean user profile. 
    Any ideas? 
    Message Edited by kalsm on 04-12-2009 06:07 AM

    and when i put it on charge the number of battery always decrease and stop on 0% !!!! Please help me

  • Gnome Brightness and Volume Meter

    So, whenever I turn compositing on in Metacity, I get the nice pretty popup with transparent background and all that for volume. However, the brightness popup remains the same as it was before. Now, this wasn't a terrible problem at first, but it's now becoming bothersome, especially since I'm now using notify-osd, and the volume meter comes up in a notification as opposed to Gnome's native display. Has anyone else had this problem/know how to fix it?
    Peter

    I'm not sure but perhaps the gnome brightness app is not aware that compositing is enabled (i.e. it doesn't check) whereas the sound daemon does?  Mine behaves in exactly the same way as yours using Compiz.
    Last edited by loafer (2009-07-29 19:44:19)

  • (SOLVED) Display brightness disappeared from Power Options in Vista, Lenovo G530

    Hello board,
    My system Lenovo G530 product ID 444638U
    I used to be able to adjust display brightness in Vista from Control Panel > Power Options. I could set how bright when on battery and how bright when on AC. Also, it used to be that when I unplugged power cable it would automatically adjust my brightness according to those settings. Now, nothing happens when I unplug power cable, not even a beep.
    Possible problem is as follows, but let's keep an open mind to other things as well. I spilled beer on keyboard recently. ONLY on keyboard I am sure. I replaced keyboard with something that fits but something that isn't made for my laptop, has different arrangement of Fn+ keys. Basically ever since the beer accident and ever since I replaced keyboard I had this brightness issue.
    Please help me solve this.
    -Alex
    Solved!
    Go to Solution.

    I solved this problem..
    Solution is to upgrade the BIOS to latest version. I am not sure actually whether latest BIOS had the needed fix or not, or it was just the process of updating the BIOS that solved this issue.  But no doubt, after flashing the BIOS, display brightness function reappeared!

  • XFCE4 and Volume OSD

    I have notify-osd-xfconf-bzr and xfce4-volumed installed.  I get notifications for brightness and if I use 
    notify-send testing
    notifications show up as well.  However, I get no notifications when I adjust the volume using my keyboard keys.  I bound the keys using the XFCE4 keyboard settings.
    Any help would be great. Thanks!

    Have you tried xfce4-notifyd + xfce4-volumed ?
    It works for me.

  • [solved] Gnome 3.6 : brightness, battery and background

    In addition to gdm freezing, here are the other problems I have:
    - Changing brightness does not work anymore (from hotkeys or brightness extension)
    - Remaining battery power does not show when unplugged
    - Background stays gray whatever I select in the settings
    Let me know if you have any fix for these issues.
    Note that I start gnome-session with slim instead of gdm.
    -- edit --
    One more problem: the keyboard settings panel crashes and I cannot change keyboard layout anymore.
    -- edit: solved ---
    Reinstalling gnome-settings-daemon did the trick (it removed the deprecated "gnome-settings-daemon-intel-backlight")
    sudo pacman -Syyu gnome-settings-daemon
    Last edited by benob (2012-10-31 14:15:31)

    My apologies for the slight necro-bump but I did a little digging in the wiki and found this very helpful piece of info:
    For any users that don't have any of the default folders such as Pictures, Downloads, etc, you can install and run:
    pacman -S xdg-user-dirs
    xdg-user-dirs-update
    everything in the Gnome places menu will be sorted and putting pictures in the 'Pictures' folder works!

  • How to get the brightness and volume icon to show one the screen?

    Whenever the volume and brightness buttons are pressed, the icons don't pop up on the screen to show the change. How can i get it to work again?

    Cynthia ...
    Try restarting your Mac then try again.

  • Brightness and Volume Display Broken

    Hello,
    Recently, I have installed the latest Mac OS X 10.5.6 update. Everything afterwards has been fine however, when I press the volume/brightness keys on my laptop, the little picture that displays the volume level etc now shows as blank. It still shows the level indicator bar but the rest of the image is white. I was wondering if this could be fixed perhaps through the replacement of a config file or something but I have no idea.
    I hope that someone can provide help with the issue.
    Thanks.

    Welcome to Apple Discussions:
    The function keys may have been reset.
    Check in Keyboard & Mouse in System Preferences and be sure the box marked
    "Use all F1, F2 etc...." is either checked or unchecked (try both).
    Also check the Keyboard Shortcuts.
    You might also check Universal Access to see if the keys have been reassigned.

  • Brightness and Volume control indicator not appear

    dear all,
    I have recently reinstalled my Win 7 Pro, also installed all drivers but when i am adjusting my volume or brightness with hotkeys (for volume push bottons and for brightness Fn delete home), i am not able to see grreen indicator bars,
    Please give  me solution,
    Pankaj

    Hi, pdas786
    Have you also installed Hotkey Features Integration? If not, it can be found here. This is the program that displays those indicators that are now missing from your system. If you have already installed it, which version are you using?
    Thanks in advance,
    Adam
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution!" This will help the rest of the community with similar issues identify the verified solution and benefit from it.

Maybe you are looking for