Linux Lite Forums

Software - Support => Other => Topic started by: penglezos on September 08, 2017, 12:35:34 PM

Title: Brightness Keys
Post by: penglezos on September 08, 2017, 12:35:34 PM
Hi guys, I hope you are all doing well!!


I have a question about how to adjust the brightness on my laptop screen through fn keys? I did a little research around the Internet but I didn't managed to make it work.


 So any user managed to make it work?




Best regards,


penglezos
Title: Re: Brightness Keys
Post by: bitsnpcs on September 08, 2017, 12:58:58 PM
Hello penglezos,

what is the laptop brand and model ?
Title: Re: Brightness Keys
Post by: penglezos on September 08, 2017, 01:07:56 PM
Hello penglezos,

what is the laptop brand and model ?

Thanks for your reply bitsnpcs, my laptop brand is an Asus F50 series.
Title: Re: Brightness Keys
Post by: bitsnpcs on September 08, 2017, 01:59:06 PM
Does this solution work ? - https://askubuntu.com/questions/798203/changing-screen-brightness-through-keyboard-functions-on-my-notebook (https://askubuntu.com/questions/798203/changing-screen-brightness-through-keyboard-functions-on-my-notebook)

Where the tutorial arrives at editing the shortcuts, on LL do -
Menu>All>Keyboard>Application Shortcuts
Title: Re: Brightness Keys
Post by: m654321 on September 08, 2017, 02:55:37 PM
For screen brightness control, the Fn-key combinations can be:
Fn+F5 - decrease brightness
Fn+F6 - increase brightness

You should see a 'brightness icon' stuck on the relevant keys on your keyboard for the control of screen brightness.

To get the Fn-keys to work, you will need to edit a line in the /etc/default/grub file. To do this open your terminal and type...
Code: [Select]
gksudo leafpad /etc/default/grub
The grub file will then open on your screen. Then look for this line in the file:
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Then add acpi_osi= to this line as follows:
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="
Then save the grub file:
Code: [Select]
sudo update-grub
On reboot, the Fn+F5 and Fn+F6 brightness keys should function ...


The link bitsnpcs gave you in post #3, describes using the terminal to fix the level of brightness. While this may work, it is more practical and immediate to use the Fn-keys as you can continuously vary the brightness to whatever level you wish, at a the touch of these keys.

Keyboards on modern gaming computers can have a backlight, which can also be controlled by Fn-key combinations. If yours is one of these, let me know and I'll try and help.



 
Title: Re: Brightness Keys
Post by: penglezos on September 08, 2017, 04:02:22 PM
Does this solution work ? - https://askubuntu.com/questions/798203/changing-screen-brightness-through-keyboard-functions-on-my-notebook (https://askubuntu.com/questions/798203/changing-screen-brightness-through-keyboard-functions-on-my-notebook)

Where the tutorial arrives at editing the shortcuts, on LL do -
Menu>All>Keyboard>Application Shortcuts

bitsnpcs I tried this before, no success!
Title: Re: Brightness Keys
Post by: penglezos on September 08, 2017, 04:06:31 PM
For screen brightness control, the Fn-key combinations can be:
Fn+F5 - decrease brightness
Fn+F6 - increase brightness

You should see a 'brightness icon' stuck on the relevant keys on your keyboard for the control of screen brightness.

To get the Fn-keys to work, you will need to edit a line in the /etc/default/grub file. To do this open your terminal and type...
Code: [Select]
gksudo leafpad /etc/default/grub
The grub file will then open on your screen. Then look for this line in the file:
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Then add acpi_osi= to this line as follows:
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="
Then save the grub file:
Code: [Select]
sudo update-grub
On reboot, the Fn+F5 and Fn+F6 brightness keys should function ...


The link bitsnpcs gave you in post #3, describes using the terminal to fix the level of brightness. While I'm sure this will work, it is more practical and immediate to use the Fn-keys as you can continuously vary the brightness to whatever level you wish, at a the touch of your keyboard.

Keyboards on modern gaming computers can have a backlight, which can also be controlled by Fn-key combinations. If yours is one of these, let me know and I'll try and help.



 

Dear m654321, thanks for your reply!! I applied the lines to the grub file and after the reboot it didn't work!!
Title: Re: Brightness Keys
Post by: m654321 on September 08, 2017, 04:49:41 PM
Might need more than one reboot.
Also, when you use the F-keys, the Fn key should be pressed down continuously while you repeatedly & gently tap the F5 or F6 key until you get the brightness level you want.

Failing the above, add "Linux" to the GRUB_CMDLINE I mentioned in post#4, so that it reads:
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux"
Might be a longshot, but it worked in Manjaro.
Title: Re: Brightness Keys
Post by: penglezos on September 09, 2017, 03:02:16 PM
Might need more than one reboot.
Also, when you use the F-keys, the Fn key should be pressed down continuously while you repeatedly & gently tap the F5 or F6 key until you get the brightness level you want.

Failing the above, add "Linux" to the GRUB_CMDLINE I mentioned in post#4, so that it reads:
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux"
Might be a longshot, but it worked in Manjaro.

Dear m654321, thanks for your great input but unfortunately none of your methods worked for me!
Title: Re: Brightness Keys
Post by: m654321 on September 10, 2017, 12:49:46 AM
@penglezos

Did the brightness keys, for the Asus F50, work when you had Windows OS installed on it? 
Also, which model of Asus F50 do you have: Gx, Q, Sf, SI Sv, or Z?

I have checked the keyboard of the Sv model  - the F5 and F6 keys are marked as brightness control keys, and assume this is the same for all F50 models.

Just a couple of things penglezos:

1. After installing Linux Lite you should have adjusted the keyboard settings for an Asus laptop. If you haven't already done this then go to Menu --> Settings --> Keyboard --> Layout. Untick Use system defaults, click the drop-down box for Keyboard model and scroll up to select Asus Laptop. Close the window when done and reboot.

2. After installing Linux Lite, update your system first before editing the grub file (Menu --> Install Updates).

3. Did you remember to run sudo update-grub, after editing of the grub file, outlined in post #4?
I'm sure you probably did, but just thought I'd mention it ...

I have two Asus laptops (see signature below) - the brightness keys work without any problems for both of them - maybe the F50 is a bit of an awkward case ..!
Title: Re: Brightness Keys
Post by: TheDead on September 11, 2017, 02:11:29 PM
Just adding my two cents, I had laptops that had a "lock/disable" brightness function in the BIOS configuration, some even had a physical Brightness lock "switch" (rare).

Other laptops had brightness control disabled while power adapter was unplugged (or plugged can't remember).

Or, worst case is that it's a Windows "software" only function that "faked" the brightness output just darkening the display and not lowering the power to the backlight of the screen. I guess this would only applies to really low-quality laptops and not Asus...(?).

-TheDead (TheUxNo0b)
Title: Re: Brightness Keys
Post by: TheDead on September 11, 2017, 02:42:04 PM
Well, I guess my suggestions were maybe irrelevant, found this :
https://itsfoss.com/fix-brightness-ubuntu-1310/

(If the F50 has an Intel graphics card).

Cheers!
Title: Re: Brightness Keys
Post by: torreydale on September 12, 2017, 02:11:39 PM

@TheDead ,


I'm following this thread.  I came across something similar with a Toshiba Satellite laptop (a L755, I think).  Worked fine with LL 2.8 64bit.  Moved it to LL3.6 64-bit; was fine until a couple of reboots later.  The screen was very dim.  No response to brightness keys.  I have a workaround now where instead of fully dim, it is fully bright.  I'm looking for a permanent fix.  I will try what you've linked to, and if successful, I will report back.  It looks like a good link with a concise combination of the approaches I've seen in multiple links. 


Fingers crossed.
Title: Re: Brightness Keys
Post by: torreydale on September 27, 2017, 09:27:46 AM
I was about to do these things, but the machine got better on its own as mysteriously as the problem appeared.
Title: Re: Brightness Keys
Post by: TheDead on September 27, 2017, 11:30:48 AM
Lol, maybe it's a defective backlight. ;)
Don't forget to say a big thanks @m654321  though :)

Cheers!