Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-21-2021, 02:04 PM
|
#1
|
Member
Registered: Jun 2007
Location: Nanoose Bay, B.C. Canada
Distribution: Mint, Ubuntu, Fedora, Debian, Win10, Win 11
Posts: 108
Rep:
|
Keyboard Lighting
No help on Ubuntu or mint so am trying here. It's frustrating constantly having to hit F10 to turn off keyboard lighting to save power.
Mint used to have an entry under system.d that in effect would deny keyboard lighting. It is no longer there so I was wondering if i could insert the file into system.d. I have a copy of the file which went something like this "<deny send_destination="org.freedesktop.UPower"send_inte rface="org.freedesktop.UPower.KbdBacklight"/>". This would cancel my keyboard lighting unless I wanted it. I have a Dell lapiron and the F10 key will turn it off and on. Without this entry the keyboard lighting keeps turning on.
So like I said could I insert that file into system.d somehow without causing a problem?
TIA
|
|
|
07-22-2021, 11:14 AM
|
#2
|
Senior Member
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
|
You should be able to control this somewhere in /sys/class/leds/"yourleddevice"
And you could probably make a simple shell file to automate the process (on boot) by running sh keylight.sh
Something like
Code:
echo 0 > max_brightness
Here are some fairly distro agnostic ways to look at the issue and deal with it in a few different ways:
https://wiki.archlinux.org/title/Keyboard_backlight
Last edited by zeebra; 07-22-2021 at 11:28 AM.
|
|
|
07-22-2021, 01:09 PM
|
#3
|
Member
Registered: Jun 2007
Location: Nanoose Bay, B.C. Canada
Distribution: Mint, Ubuntu, Fedora, Debian, Win10, Win 11
Posts: 108
Original Poster
Rep:
|
Quote:
Originally Posted by zeebra
You should be able to control this somewhere in /sys/class/leds/"yourleddevice"
And you could probably make a simple shell file to automate the process (on boot) by running sh keylight.sh
Something like
Code:
echo 0 > max_brightness
Here are some fairly distro agnostic ways to look at the issue and deal with it in a few different ways:
https://wiki.archlinux.org/title/Keyboard_backlight
|
Thanks ever so much for your help; looks like there will be a solution in there.
Regards, Allan
P.S. I used to edit this line to "deny" in /etc/dbus-1/system.d/org.freedesktop.UPower.conf. Thanks to you I discovered the line moved to:
/usr/share/dbus-1/system.d/org.freedesktop.UPower.conf
Last edited by AllanP; 07-23-2021 at 01:21 PM.
|
|
|
All times are GMT -5. The time now is 05:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|