Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-12-24 20:05:04

zakazak
Member
Registered: 2018-12-11
Posts: 13

Keyboard Backlight: Autostart and turn off on inactivity?

Hello everyone, 
I am running XFCE on my laptop and currently wonder how to fix the following situation:

1. After booting the system, the keyboard backlight is turned off. I always need to manually activate it via "Fn + Space".
Is there a way to automatically enable it? Probably with auto-running the keyboard shortcut on boot?

2. Is there a way to automatically turn off the keyboard backlight after a certain inactivity and then turn it on again when pressing a button?

Thanks in advance!

Offline

#2 2018-12-24 20:26:57

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,017

Re: Keyboard Backlight: Autostart and turn off on inactivity?

On my laptop, the keyboard backlight settings are set and managed in the bios. Do you have something similar? What is the make and model of your laptop?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2018-12-24 21:56:14

zakazak
Member
Registered: 2018-12-11
Posts: 13

Re: Keyboard Backlight: Autostart and turn off on inactivity?

Hmm no there isnt anything similiar in my BIOS.
But I believe (could be wrong) that the keyboard backlight already worked before? Maybe only on AC? I will try later. Coukd be that TLP is changing the behaviour.

But a defenitive way to set it would be nice anyway (e.g. lightning strength, inactivity tkmeout,...).

Thinkpad  X1 Extreme

Last edited by zakazak (2018-12-24 22:01:08)

Offline

#4 2018-12-24 22:43:58

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,017

Re: Keyboard Backlight: Autostart and turn off on inactivity?

zakazak wrote:

1. After booting the system, the keyboard backlight is turned off. I always need to manually activate it via "Fn + Space".
Is there a way to automatically enable it? Probably with auto-running the keyboard shortcut on boot?

Unfortunately, since the function key doesn't generate an event in linux (it's bios-based) there is not way to replicate the press in linux (that I am aware of).

2. Is there a way to automatically turn off the keyboard backlight after a certain inactivity and then turn it on again when pressing a button?

See this Arch Wiki page for some info on managing the keyboard backlight. Hopefully it will work for you.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2018-12-24 23:54:11

zakazak
Member
Registered: 2018-12-11
Posts: 13

Re: Keyboard Backlight: Autostart and turn off on inactivity?

I already knew that wiki article.
It would let me allow to turn it on after boot (although I believe that this already worked).

But I still cant control the automatic disabling after a certain time of inactivity?

Offline

#6 2018-12-25 01:53:52

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,017

Re: Keyboard Backlight: Autostart and turn off on inactivity?

zakazak wrote:

But I still cant control the automatic disabling after a certain time of inactivity?

Xfce doesn't have this functionality natively. You'll need to use external tools or processes to manage this.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2018-12-25 10:01:07

zakazak
Member
Registered: 2018-12-11
Posts: 13

Re: Keyboard Backlight: Autostart and turn off on inactivity?

Hmm alright, thanks!

I will give it a try in the Arch forum.

Offline

Board footer

Powered by FluxBB