Brightness key not working












0















The brightness key (fn + arrow(left or right)) on my acer laptop ASPIRE v15 are not working.

I can control the brightness by changing the value of brightness by editing the file:
/sys/class/backlight/intel_backlight/brightness



I want to connect the (fn + arrow) key to a script which edits the value in the

above file. But acpi_listen does not detect the pressing of (fn + arrow(left or right)) key. Though, it is able to detect (fn + arrow(up or down)) keys for volume control.
How to get these keys detected for brightness control by the acpi?

Edit1: I am using Ubuntu 16.04 LTS

Edit2: Binding another keys(other than the (fn + L/r) and calling the script as non-acpi event forces me to run the script by placing it inside /etc/sudoers.d/ directory in order to avoid prompting for password at each press of the key. (as changing the value of brightness requries root permission).










share|improve this question




















  • 1





    Welcome to Ask Ubuntu. You haven't told us your release of Ubuntu, or your desktop (which may be the default, but without release we cannot know).

    – guiverc
    Feb 3 at 13:20











  • I am using Ubuntu 16.04 LTS .

    – user2734113
    Feb 3 at 13:59
















0















The brightness key (fn + arrow(left or right)) on my acer laptop ASPIRE v15 are not working.

I can control the brightness by changing the value of brightness by editing the file:
/sys/class/backlight/intel_backlight/brightness



I want to connect the (fn + arrow) key to a script which edits the value in the

above file. But acpi_listen does not detect the pressing of (fn + arrow(left or right)) key. Though, it is able to detect (fn + arrow(up or down)) keys for volume control.
How to get these keys detected for brightness control by the acpi?

Edit1: I am using Ubuntu 16.04 LTS

Edit2: Binding another keys(other than the (fn + L/r) and calling the script as non-acpi event forces me to run the script by placing it inside /etc/sudoers.d/ directory in order to avoid prompting for password at each press of the key. (as changing the value of brightness requries root permission).










share|improve this question




















  • 1





    Welcome to Ask Ubuntu. You haven't told us your release of Ubuntu, or your desktop (which may be the default, but without release we cannot know).

    – guiverc
    Feb 3 at 13:20











  • I am using Ubuntu 16.04 LTS .

    – user2734113
    Feb 3 at 13:59














0












0








0








The brightness key (fn + arrow(left or right)) on my acer laptop ASPIRE v15 are not working.

I can control the brightness by changing the value of brightness by editing the file:
/sys/class/backlight/intel_backlight/brightness



I want to connect the (fn + arrow) key to a script which edits the value in the

above file. But acpi_listen does not detect the pressing of (fn + arrow(left or right)) key. Though, it is able to detect (fn + arrow(up or down)) keys for volume control.
How to get these keys detected for brightness control by the acpi?

Edit1: I am using Ubuntu 16.04 LTS

Edit2: Binding another keys(other than the (fn + L/r) and calling the script as non-acpi event forces me to run the script by placing it inside /etc/sudoers.d/ directory in order to avoid prompting for password at each press of the key. (as changing the value of brightness requries root permission).










share|improve this question
















The brightness key (fn + arrow(left or right)) on my acer laptop ASPIRE v15 are not working.

I can control the brightness by changing the value of brightness by editing the file:
/sys/class/backlight/intel_backlight/brightness



I want to connect the (fn + arrow) key to a script which edits the value in the

above file. But acpi_listen does not detect the pressing of (fn + arrow(left or right)) key. Though, it is able to detect (fn + arrow(up or down)) keys for volume control.
How to get these keys detected for brightness control by the acpi?

Edit1: I am using Ubuntu 16.04 LTS

Edit2: Binding another keys(other than the (fn + L/r) and calling the script as non-acpi event forces me to run the script by placing it inside /etc/sudoers.d/ directory in order to avoid prompting for password at each press of the key. (as changing the value of brightness requries root permission).







keyboard shortcut-keys laptop brightness backlight






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 3 at 18:35







user2734113

















asked Feb 3 at 13:17









user2734113user2734113

11




11








  • 1





    Welcome to Ask Ubuntu. You haven't told us your release of Ubuntu, or your desktop (which may be the default, but without release we cannot know).

    – guiverc
    Feb 3 at 13:20











  • I am using Ubuntu 16.04 LTS .

    – user2734113
    Feb 3 at 13:59














  • 1





    Welcome to Ask Ubuntu. You haven't told us your release of Ubuntu, or your desktop (which may be the default, but without release we cannot know).

    – guiverc
    Feb 3 at 13:20











  • I am using Ubuntu 16.04 LTS .

    – user2734113
    Feb 3 at 13:59








1




1





Welcome to Ask Ubuntu. You haven't told us your release of Ubuntu, or your desktop (which may be the default, but without release we cannot know).

– guiverc
Feb 3 at 13:20





Welcome to Ask Ubuntu. You haven't told us your release of Ubuntu, or your desktop (which may be the default, but without release we cannot know).

– guiverc
Feb 3 at 13:20













I am using Ubuntu 16.04 LTS .

– user2734113
Feb 3 at 13:59





I am using Ubuntu 16.04 LTS .

– user2734113
Feb 3 at 13:59










1 Answer
1






active

oldest

votes


















0














In settings > Devices > Keyboards look for the hotkeys for controlling brightness. If your built in keys don't work, you can manually bind over them (Select the adjust brightness shortcut and press Fn + L/R)






share|improve this answer
























  • I am unable to bind fn + l/r key through this method.

    – user2734113
    Feb 3 at 18:25











  • It seems that acer doesnot support fully featured acpi for GNU/Linux. I am just going with running the script and linking to other keyboard short cuts.

    – user2734113
    Feb 19 at 2:27














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1115249%2fbrightness-key-not-working%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














In settings > Devices > Keyboards look for the hotkeys for controlling brightness. If your built in keys don't work, you can manually bind over them (Select the adjust brightness shortcut and press Fn + L/R)






share|improve this answer
























  • I am unable to bind fn + l/r key through this method.

    – user2734113
    Feb 3 at 18:25











  • It seems that acer doesnot support fully featured acpi for GNU/Linux. I am just going with running the script and linking to other keyboard short cuts.

    – user2734113
    Feb 19 at 2:27


















0














In settings > Devices > Keyboards look for the hotkeys for controlling brightness. If your built in keys don't work, you can manually bind over them (Select the adjust brightness shortcut and press Fn + L/R)






share|improve this answer
























  • I am unable to bind fn + l/r key through this method.

    – user2734113
    Feb 3 at 18:25











  • It seems that acer doesnot support fully featured acpi for GNU/Linux. I am just going with running the script and linking to other keyboard short cuts.

    – user2734113
    Feb 19 at 2:27
















0












0








0







In settings > Devices > Keyboards look for the hotkeys for controlling brightness. If your built in keys don't work, you can manually bind over them (Select the adjust brightness shortcut and press Fn + L/R)






share|improve this answer













In settings > Devices > Keyboards look for the hotkeys for controlling brightness. If your built in keys don't work, you can manually bind over them (Select the adjust brightness shortcut and press Fn + L/R)







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 3 at 15:05









MintyMinty

89329




89329













  • I am unable to bind fn + l/r key through this method.

    – user2734113
    Feb 3 at 18:25











  • It seems that acer doesnot support fully featured acpi for GNU/Linux. I am just going with running the script and linking to other keyboard short cuts.

    – user2734113
    Feb 19 at 2:27





















  • I am unable to bind fn + l/r key through this method.

    – user2734113
    Feb 3 at 18:25











  • It seems that acer doesnot support fully featured acpi for GNU/Linux. I am just going with running the script and linking to other keyboard short cuts.

    – user2734113
    Feb 19 at 2:27



















I am unable to bind fn + l/r key through this method.

– user2734113
Feb 3 at 18:25





I am unable to bind fn + l/r key through this method.

– user2734113
Feb 3 at 18:25













It seems that acer doesnot support fully featured acpi for GNU/Linux. I am just going with running the script and linking to other keyboard short cuts.

– user2734113
Feb 19 at 2:27







It seems that acer doesnot support fully featured acpi for GNU/Linux. I am just going with running the script and linking to other keyboard short cuts.

– user2734113
Feb 19 at 2:27




















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1115249%2fbrightness-key-not-working%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?