[XFCE] Laptop Brightness OSD?
A couple days ago, I was checking to see if brightness adjustment worked [it hadn't for the longest time, but I figured I'd try anyway since my laptop was almost out of battery] and it didn't at the time. However there was a bubble in the middle of the screen showing the supposed brightness level.
I've since figured out how to get my backlight working, but I can't get that OSD to appear again. From what I've been able to search up, it seems to be part of xfce4-power-manager.
I'm wondering: Does anyone know how to get this working reliably or know of a lightweight alternative to it?
Thanks!
Actually, I have working brightness keys (acpid + acpi_osi=Linux kernel bootline got this working), but I was looking for the actual notify bubble. It happened like twice, and it seems that XFCE's power manager is responsible for this, but there isn't any setting or documentation on this.
Your reply prompted me to make a little script that sits in the background and makes notify bubbles for brightness, since this has been a nagging issue every time I have to go mobile.
Here's a little script that shows notify bubbles if you change the brightness, the only issue is that (with xfce4-notifyd at least) the bubbles don't replace each other, so I set the expire time a little low and set the delay time a little higher so you don't end up filling your screen with bubbles.
The only non-standard dependency is bc, since bash can't do floating point math.
#!/bin/bash
# Put the full path to your backlight's sys folder here.
backclass=/sys/class/backlight/acpi_video0
# How long to wait between brightness checks? (Seconds)
delay=2
while true; do
# Get the current backlight number
read current<"${backclass}/actual_brightness"
# Check for changes
if [ "$current" != "$last" ]; then
# If there ARE changes, it's ok to run the rest.
read max <"${backclass}/max_brightness"
percent=$(printf "%s\n" "scale = 2; ${current}/${max}" | bc | tr -d '.')
# Spit the notification out on whatever notify daemon we're using
notify-send "Brightness" -i xfpm-brightness-lcd -h int:value:${percent} -h string:synchronous:volume -t 4000
fi
# Create a "Last" Value for the next check
last=$current
# Wait this long before running the check again
sleep $delay
done
Last edited by DarkSniper (2012-03-03 19:49:12)
Similar Messages
-
Brightness OSD not working in 64 bit Windows 7
Hi,
After having used the laptop for a long time with a 32 bit Windows 7, I've upgraded the RAM and added an SSD, and reinstalled with a 64 bit Windows 7. Everything works great, some things even better than before (used to have occasional problems hibernating, but not anymore). However, there is one small, irritating problem:
The brightness OSD is not working, even though the buttons do control the brightness and every other OSD is working properly, only this one isn't.
After installing windows, I've used the ThinkVantage System Update utility to install everything. Then I tried installing all kinds of drivers seperately. So far, no luck.
I'd really appreciate some help resolving this issue.
Thanks a lotI've tried several different versions of the On Screen Display from the Hotkey Features Integration for Windows 7, including 6.60.03, 6.60.01, 6.60.03, 6.42.00, 6.24.00. And every time, it's the same thing. Everyhting works but the brightness control OSD.
What else can I try? -
[SOLVED] Systemd forcing laptop brightness down to zero.
Can somebody please, pretty please, explain to me how I can tell systemd to STOP turning off my laptop brightness half-way during boot?
Started Load/Save Screen Backlight Brightness of acpi_video0.
Turns brightness down to zero. According to the man page:
[email protected] is a service that restores the display backlight brightness at early-boot and saves it at shutdown. On disk, the backlight brightness is stored in /var/lib/backlight/.
On my Arch it is actually in /var/lib/systemd/backlight/acpi0. I tried modifying the value to anything between 1 and 100 but it the file is reset to 0 every boot, maybe this is normal.
I also tried to disable the damn systemd-backlight service but it re-enables itself every boot too.
Please can somebody help me, I'm pulling my hair out. I have tried various kernel parameters and acpi_backlight=vendor works but forces brightness to 100% and I can't change it. (unless of course if I force /sys/class/... which is not a solution)
Last edited by beanaroo (2013-10-12 07:30:49)It definitely isn't normal for it to keep going to 0. Mine currently has the value 12 in it. (My file is /var/lib/systemd/backlight/acpi_video0.) I'm not sure if it makes a difference that I have laptop-mode-tools managing the backlight, though. But I don't see it go to 0 at any point during boot.
That is, unless something somewhere is configuring it this way, this sounds like a bug and the solution you're using a work around. Not suggesting you shouldn't use it, of course, but maybe worth reporting, too?
Last edited by cfr (2013-10-16 02:25:51) -
Hello everyone, i have this strange issue: i can't ajust my laptop brightness.
The display indicates it is reducing/increasing but nothing happens ...https://wiki.archlinux.org/index.php/Backlight#ACPI and see this post from another thread: https://bbs.archlinux.org/viewtopic.php … 8#p1472378
Start with that and if you're still stuck we will require a lot more information than "I can't adjust my laptop brightness."
Last edited by MoonSwan (2014-11-05 18:14:34) -
Brightness osd missing after kde 4.6 update.
Today i updated my kde to 4.6, every thing works the same, but the brightness osd is missing.
It has something to do with hal? Because i uninstalled it.
Thanks in advance.Hmm... It works just fine for me. Thing is, I'm using a patched version of Qt. While recompiling Qt isn't a viable option to fix this, that info might help someone pinpoint the issue. Which now reminds me--try this out:
export QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/
It's been noticed by KDE users across the Linux community that QtCurve and Oxygen don't appear in their QtConfig options; that string above solved the issue (a hopefully temporary KDE regression, purportedly made for stablity's sake). If it works, stick it in your ~/.bashrc. -
Xfce4-power-manager screen brightness osd
I'm having trouble with xfce4-power-manager and the screen brightness osd on my thinkpad t530. There seem to be only 2 different brightness levels. If I change the brightness manually in /sys/class/backlight/acpi_video0/brightness it seems to work fine, but when i do fn-f8 or fn-f9 its either on full brightness or 11. Does anyone else have this working? It used to work fine.
I'm having trouble with xfce4-power-manager and the screen brightness osd on my thinkpad t530. There seem to be only 2 different brightness levels. If I change the brightness manually in /sys/class/backlight/acpi_video0/brightness it seems to work fine, but when i do fn-f8 or fn-f9 its either on full brightness or 11. Does anyone else have this working? It used to work fine.
-
[SOLVED]suspend laptop: brightness always goes to 0
Hi everyone,
I'm using laptop-mode to control the brightness of my LCD. Here is the snipped of the "/etc/laptop-mode/conf.d/lcd-brightness.conf":
# Should laptop mode tools control LCD brightness?
CONTROL_BRIGHTNESS=1
# Commands to execute to set the brightness on your LCD
BATT_BRIGHTNESS_COMMAND="echo 22"
LM_AC_BRIGHTNESS_COMMAND="echo 23"
NOLM_AC_BRIGHTNESS_COMMAND="echo 24"
BRIGHTNESS_OUTPUT="/proc/acpi/video/IGFX/LCD/brightness"
I work with a lot of vim sessions and multiple xterms and when I set my laptop to hibernate (suspend2disk) with pm-utils, everything works lightning fast and without a problem (Arch is a revelation for me, it's magnificent). The only problem is that the brightness variable in the /proc/acpi/video/IGFX/LCD/brightness, the current one is set to 0 after I wake up from suspend to disk. If I unplug the cable, nothing happens (switch to battery), if I plug it back in, a small increase (not like the huge ones I have defined in the code block above) happens.
What could be the reason? Could acpi control this even if I have set the laptop-mode obviously to control the LCD?
Has anyone had these issues? This is the only thing that is keeping me shuting down the machine.... and to resume my work after takes about 4.67 annoying minutes with the use of vim sessions....
Help?
Last edited by tomislavski (2010-04-21 11:59:09)I found the solution.
The note in the /etc/laptop-mode/conf.d/lcd-brightness.conf that states that these values for the echo commands at the bottom of this file can be read from /sys/class/backlight/../max_brightness are wrong at least for my Laptop. This info is for HP Compaq 615:
if you want to have your brightness set properly, check out the values that are already in the /proc/acpi/video/IGFX/LCD/brightness file (with maybe IGFX changed to VID on some machines). In this file the values are defined from 0 to 100, so the value of 24 from the max_brightness file is actually a very low brightness value, not even near to 100% brightness. The proper way to define the echo commands in lcd-brightness.conf file is to set them accordingly to the ones defined in the brightness file, not max_brightness file.
cool. I love Arch linux. It makes me learn. -
Screen brightness OSD not working after 7 clean install
Hi all,
I just did a clean install of Windows 7 on my T400. Initially, none of the OSDs were working (volume, led light, screen brightness). But, I found this thread--http://forums.lenovo.com/t5/T400-T500-and-newer-T-series/On-Screen-Display-feature-no-longer-works-i...--and downloaded the Hotkey drivers. This brought back the volume and led OSDs, but not brightness. Additionally, for some reason now the screen does not get nearly as dim as it used to.
Am I missing something obvious? Thanks!
Solved!
Go to Solution.Fantastic. FIxed the problem. Thanks so much for your help!
-
hi i have a small problem. every 2 minutes the brightness of my laptop is going down to about 50%. so everytime i have to manual set the brightness to 100% with FN keys. what can i do?
thanksHohoho wrote:I had the same issue, but my memory fails me too, its one of these for sure:
1) use xscreensaver instead of gnome-screensaver, or none at all
2) play around with xset settings in terminal
3) use gconf-editor and look for some keys relating to gnome-power-manager and screensaver, switch em around
allright now! i found a tutorial how to replace gnome-screensaver with xscreensaver! there is no problem with brightness! and i like the skytentacles thing!! xd
Last edited by manolos (2009-07-02 01:08:40) -
Laptop brightness too bright after installing kpowersave!!
Just managed to install kpowersave-devel 0.7.3-1 using AUR.
However, after restarting the laptop, the brightness is extremely bright.
command
xbacklight -dec 30%
outputs
No outputs have backlight property
After idea what can be done to adjust the brightness?
I am using the kde (not kdemod)zyghom wrote:why do you use xbacklight ?
kpowersave is not enough ?
there are options there
Good questions
I am stumbled by habit !! Was using xbacklight previously and never thought too much about kpowersave.
You are right , kpowersave can do the same :lol::lol::lol:
my apology for the confusion ! -
Can't adjust screen brightness on Acer Aspire One anymore
It used to work before, but now that kernel26-one-dev is really outdated, I've started using the standard Arch kernel26 package. I can't adjust brightness with the fn keys, and GNOME's brightness adjustment applet says it's unable to get laptop brightness read.
I guess it could be acpid related, /sys/class/backlight/ is empty, but I'm currently doing a full system upgrade and will update the thread if that solves it.Hello myizham,
Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
I understand you are having issues adjusting the screen brightness on you HP Envy 23 Beats Edition All in One PC. I would be happy to assist you, but first I would encourage you to post which operating system you are using. And whether your operating system is 32-bit or 64-bit as with this I can provide you with accurate information.
Which Windows operating system am I running?
Is the Windows Version on My Computer 32-bit or 64-bit?
Please re-post with the requested information and I would be happy to provide you with assistance. Thank you for posting on the HP Forums. Have a great day!
Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
Dunidar
I work on behalf of HP
Find out a bit more about me by checking out my profile!
"Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter -
Unable to lower brightness to below 95% in GNOME 3 using Fn keys
Hello,
I just installed GNOME 3 and this is a relatively fresh Arch install. I am using a ThinkPad X1 Carbon.
The problem I am having is that, the Fn+F8, Fn+F9 brightness control keys are not having significant effects. When I press Fn+F8, the GNOME shell brightness OSD does appear, and the bar does go down a bit, but it won't go anywhere lower even if I keep pressing Fn+F8. And when I run
[jiehan@tpx1c ~]$ /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness
95
It is always 95. Using Fn+F9 to raise the brightness, I am able to get 100.
This is very awkward. I want to be able to set my brightness to something lower than 95 using keyboard shortcuts!
However, I am able to lower the brightness to < 95 by issuing the following, and it works:
[jiehan@tpx1c ~]$ sudo /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 50
[sudo] password for jiehan:
[jiehan@tpx1c ~]$ /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness
50
[jiehan@tpx1c ~]$
If you have any idea on getting the keyboard shortcuts to work, please let me know. Thank you!
Last edited by jiehanzheng (2013-03-20 18:56:52)Thanks for the information... I just subscribed to this:
https://bbs.archlinux.org/viewtopic.php?id=158775
I will see if these are related.
Last edited by jiehanzheng (2013-03-21 14:03:05) -
Lenovo B570e brightness not working
i have bought lenovo B570e nine months ago. everything was going fine. now i have reinstalled the win 7 but brightness control is not working. other Fn keys are working correctly except brightness. laptop brightness is stuck to maximum. kindly help me out. thanks in advance
hi zaidi7,
Thanks for Using Lenovo Community Forums!
Can we try installing this Driver for your Display
Intel Wireless Display Driver
89zz04ww.exe
115.24 MB
And try uninstalling the Lenovo Energy managerment Software under control panel / Programs and features uninstall
and reinstall this
Lenovo Energy Management Software
CAEZ19WW.exe
13.7 MB
Best Regards
Solid Cruver
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.
Follow @LenovoForums on Twitter! -
MBAM 2.0 SP1, SCCM 2012 SP1 - OSD
Found a few threads on this but just looking for an answer before I spend to much time fiddling to get this to work. What I am looking to do is encrypt laptops during OSD as follows:
Enable TPM (working fine)
Activate TPM (working fine)
Pre-Provision Bitlocker (using Win 7 Ent SP1)
Install OS
Install MBAM
Enable Bitlocker and escrow both TPM and Drive recovery keys to MBAM server
The bit I am not too sure about is the Pre-Provision and also the TPM key backup. Ideally I'd like both the TPM and Disk keys stored in MBAM but I am not sure if this will work if I have activated the TPM pre OS?
CheersPre-provisioning only works on a bare metal machine and occurs in WinPE. It also uses TPM so you need to make sure that is on an active in the BIOS.
This blog post provides some detail on how to enable MBAM and pre-provisioning. If you are using Windows 8+, and you want MBAM to back up TPM to its db instead of AD, you have to turn off auto-provisioning or Windows 8+ will take ownership automatically
and escrow to AD. To disable auto-provisioning you can set the following key when the OS has come up:
Reg Key to disable auto-provision:
HKLM\System\CurrentControlSet\Services\TPM\WMI
NoAutoProvision = 1
you
will need
to create a
regkey called
NoAutoProvision=1
Hope that helps!
Lance -
[t400s] Win7 too bright
Hi
yesterday I removed Vista32 and installed Win7.64 Professional. The brightness OSD is gone and i can't adjust the brightness to a minimum. Once i uninstall the Intel GMA driver the issues are gone. I can see the OSD and the brightness goes down to the real minimum.
Anyone got the same issues or any fixes? I use the 8.15.10.2226 Intel Driver (downloaded directly at intel.com)
I recently updated the BIOS using the BIOS update tool.
greetsHello mate,
Try to use Lenovo drivers instead of intel one as they are optimized for Lenovo systems.
You would need Hotkey as well to get the brightness control work : http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-74261
Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information on it.
ThinkPad T510 4313-CTO Windows 8 x64 - Intel Core i7-620M - NVIDIA NVS 3100M - 8GB RAM - 240GB SSD- Intel Centrino Ultimate-N 6300 - Gobi 2000.
ThinkPad Helix 3697-CTO Windows 8.1 x64 - Intel Core i7-3667U - Intel HD Graphics 4000 - 8GB RAM- 256GB SSD - Intel Centrino Advanced-N 6205 - Ericsson C5621gw
Maybe you are looking for
-
I have downloaded the most recent version of Itunes on my pc running Vista 32 . When I click on the icon nothing happens. Same thing when I go to the program and click. I have removed the software and reloaded it twice and it continues not to work.
-
Hi guys, since I'm learning and testing the SAP Netweaver BI 7.0 I'm loading with full upload to the targets (DSO, InfoCube). Now I have read about loading with delta load. As I have undetstood the delta load enables me to load only new data to the t
-
Photoshop Elements Download Serial Number
I have purchased photoshop elements and premier elements. I am in the process of installing the software and now it is asking for the serial number. Where is the serial number?
-
How to check Passthrough nad auto commit status
Hi; I am connected with my dsn. [timesten@dellstudio info]$ ttisql tt_passuser1 Copyright (c) 1996-2008, Oracle. All rights reserved. Type ? or "help" for help, type "exit" to quit ttIsql. All commands must end with a semicolon character. connect "DS
-
How to create a template like JFrame Form in netbeans?
Hi! I'm working with netbeans 5.5.1 jdk 6 and i'm trying to make my own JFrame form template to avoid writing a lot of code. I look in the Template manager and add my template but when i add it to the template list it appears like ".java" extension,