View previous topic :: View next topic |
Author |
Message |
popetto n00b
Joined: 13 Aug 2019 Posts: 27 Location: Italy
|
Posted: Sat Apr 03, 2021 5:47 pm Post subject: Save last session screen brightness |
|
|
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 _________________ 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 |
|
|
gasmat n00b
Joined: 15 Feb 2021 Posts: 10 Location: Italy
|
Posted: Sun Apr 04, 2021 3:12 pm Post subject: |
|
|
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 _________________ Chi vuol esser lieto sia, di doman non c'è certezza |
|
Back to top |
|
|
popetto n00b
Joined: 13 Aug 2019 Posts: 27 Location: Italy
|
Posted: Mon Apr 05, 2021 7:14 am Post subject: |
|
|
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 |
|
|
Banana Veteran
Joined: 21 May 2004 Posts: 1391 Location: Germany
|
|
Back to top |
|
|
popetto n00b
Joined: 13 Aug 2019 Posts: 27 Location: Italy
|
Posted: Mon Apr 05, 2021 7:59 am Post subject: |
|
|
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 |
|
|
gasmat n00b
Joined: 15 Feb 2021 Posts: 10 Location: Italy
|
Posted: Mon Apr 05, 2021 7:59 am Post subject: |
|
|
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 |
|
|
popetto n00b
Joined: 13 Aug 2019 Posts: 27 Location: Italy
|
Posted: Mon Apr 05, 2021 8:09 am Post subject: |
|
|
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 |
|
|
|