Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Save last session screen brightness
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
popetto
n00b
n00b


Joined: 13 Aug 2019
Posts: 27
Location: Italy

PostPosted: Sat Apr 03, 2021 5:47 pm    Post subject: Save last session screen brightness Reply with quote

Hi all,
I'm writing here after a deep search on the web on the topic. I'm trying to make Gentoo save last session's screen brightness in order to use it in the next session. I found several topics on this problem but what I need isn't a script that does this job. I did this on another laptop but unfortunately I don't remember how and I don't know how to find the guide I used. So, the question is: has anyone got a solution for this problem that doesn't involve the use of scripts or something external to the system?
Thanks in advance :D
_________________
There are two types of user: the one who reads guides and the one who writes them. For now, I'm the one who reads :(
Back to top
View user's profile Send private message
gasmat
n00b
n00b


Joined: 15 Feb 2021
Posts: 10
Location: Italy

PostPosted: Sun Apr 04, 2021 3:12 pm    Post subject: Reply with quote

I think you read this https://wiki.archlinux.org/index.php/Backlight#Kernel_command-line_options, it's one of the three examples but I don't know which one (try, at the moment I haven't the computer...)
P.S.: Thank you for reminding me of something I always forget :D
_________________
Chi vuol esser lieto sia, di doman non c'è certezza
Back to top
View user's profile Send private message
popetto
n00b
n00b


Joined: 13 Aug 2019
Posts: 27
Location: Italy

PostPosted: Mon Apr 05, 2021 7:14 am    Post subject: Reply with quote

gasmat wrote:
I think you read this https://wiki.archlinux.org/index.php/Backlight#Kernel_command-line_options, it's one of the three examples but I don't know which one (try, at the moment I haven't the computer...)
P.S.: Thank you for reminding me of something I always forget :D


:? What I meant was make Gentoo (or Plasma, in my case) have the same brightness it had in the last session (i.e. 25% - 25%) and not a fixed brightness at every start.
Probably I didn't read well the Arch guide :? :? :?
_________________
There are two types of user: the one who reads guides and the one who writes them. For now, I'm the one who reads :(
Back to top
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1391
Location: Germany

PostPosted: Mon Apr 05, 2021 7:57 am    Post subject: Reply with quote

do you use a desktop enviroment?
_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
Back to top
View user's profile Send private message
popetto
n00b
n00b


Joined: 13 Aug 2019
Posts: 27
Location: Italy

PostPosted: Mon Apr 05, 2021 7:59 am    Post subject: Reply with quote

Banana wrote:
do you use a desktop enviroment?


Yes, I use plasma.
_________________
There are two types of user: the one who reads guides and the one who writes them. For now, I'm the one who reads :(
Back to top
View user's profile Send private message
gasmat
n00b
n00b


Joined: 15 Feb 2021
Posts: 10
Location: Italy

PostPosted: Mon Apr 05, 2021 7:59 am    Post subject: Reply with quote

I tried to add
Code:
acpi_backlight = vendor

(as they say on arch linux) but it doesn't work for me (when I was using Arch it worked...).
Did you run sudo grub-mkconfig -o /boot/grub/grub.cfg after changing the kernel parameters?
_________________
Chi vuol esser lieto sia, di doman non c'è certezza
Back to top
View user's profile Send private message
popetto
n00b
n00b


Joined: 13 Aug 2019
Posts: 27
Location: Italy

PostPosted: Mon Apr 05, 2021 8:09 am    Post subject: Reply with quote

gasmat wrote:
I tried to add
Code:
acpi_backlight = vendor

(as they say on arch linux) but it doesn't work for me (when I was using Arch it worked...).
Did you run sudo grub-mkconfig -o /boot/grub/grub.cfg after changing the kernel parameters?


Yes, I ran it but it doesn't work... I have no idea of how to achieve it... :?
_________________
There are two types of user: the one who reads guides and the one who writes them. For now, I'm the one who reads :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum