LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 07-21-2021, 01:04 PM   #1
AllanP
Member
 
Registered: Jun 2007
Location: Nanoose Bay, B.C. Canada
Distribution: Mint
Posts: 66

Rep: Reputation: 15
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
 
Old 07-22-2021, 10:14 AM   #2
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 1,017
Blog Entries: 11

Rep: Reputation: 292Reputation: 292Reputation: 292
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 10:28 AM.
 
Old 07-22-2021, 12:09 PM   #3
AllanP
Member
 
Registered: Jun 2007
Location: Nanoose Bay, B.C. Canada
Distribution: Mint
Posts: 66

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by zeebra View Post
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 12:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Illuminated keyboard not lighting up with Mint Cinnamon 20.1 Ulyssa. MissMonkeyMac Linux - Hardware 10 07-12-2021 12:09 AM
K/B Caps Lock not lighting up@Ubuntu 18.04 boot process, Dell keyboard with Vostro Core 2 Quad RickDeckard Linux - Hardware 3 11-03-2018 12:47 PM
lighting in OpenGL (with C language) sterrenkijker Programming 4 08-24-2004 03:20 AM
The lighting in Quake3 Arena demo and Linux couvier Linux - Software 5 07-21-2004 08:32 AM
OpenGL lighting with SDL MadCactus Programming 0 09-21-2003 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration