-
-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hotkey to control screen brightness not working - Lenovo Thinkpad w520 #141
Comments
It's certainly the kind of screen where a systemd unit is setting the brightness during the boot. You can try to add If it's not enough, try this command in the CLI, maybe using SSH from another PC:
|
Solution 1 didn't work.
to the file /etc/X11/xorg.conf . I don't see that file in Lakka. Solution 2 also didn't work. here's what's written :
|
i found out that this command works in the CLI using SSH : Where XXX is a value between 0 (backlight off) and max_brightness (4437 for this particular model). So it seams like it is really the Fn hotkey that isn't working with Lakka (no problem in win 7, or Ubuntu). Is there a way to create a hotkey in Lakka to send the command to max out the display ? or to create a new value in the menu ? |
For now let try the autostart service to automatically set the brightness on boot. |
i don't know how to do that, can you assist me ? |
Yes, first read this http://www.lakka.tv/doc/Accessing-Lakka-command-line-interface/ |
that's already done and i'm there :) |
OK, use nano to create the autostart.sh
Paste the content:
And save with CTRL+X Then enable the service:
And reboot to check if it worked |
Done. It is now booting at maximum brightness. That's good enough for me on that laptop, I'll try to boot it on different PC to see if that still works. On the side, i think i need to compile the ThinkPad ACPI Extras Driver to activate all my Fn keys. I never compiled anything. Thank you ! |
Yeah forget it, in Lakka compiling doesn't work exactly like on the other linux distributions. If this workaround works for you, it's already lucky :) |
@kivutar @CarlUpright
|
I'm using Build Apr 24 2017 on Linux (Lakka live usb) on a Lenovo Thinkpad w520.
When i press volume - and + , or when i press Fn + Home or Fn + End (supposed to be the brightness control hotkeys), nothing happen.
I made a hotkey for the volume control, so that's no big deal, but my screen is dimmed to the minimum.
Is there a little script i could use to create a hotkey to control the screen brightness? or maybe i need to use a different display driver ?
The text was updated successfully, but these errors were encountered: