How to create keyboard shortcuts for screen brightness in Xubuntu (XFCE Ubuntu)?
How to create keyboard shortcuts for screen brightness in XFCE?
Ideally the solution uses inbuilt functionality which does not additionaly drain the battery (by installing a service/daemon, etc)
ubuntu keyboard-shortcuts xfce xubuntu brightness
add a comment |
How to create keyboard shortcuts for screen brightness in XFCE?
Ideally the solution uses inbuilt functionality which does not additionaly drain the battery (by installing a service/daemon, etc)
ubuntu keyboard-shortcuts xfce xubuntu brightness
add a comment |
How to create keyboard shortcuts for screen brightness in XFCE?
Ideally the solution uses inbuilt functionality which does not additionaly drain the battery (by installing a service/daemon, etc)
ubuntu keyboard-shortcuts xfce xubuntu brightness
How to create keyboard shortcuts for screen brightness in XFCE?
Ideally the solution uses inbuilt functionality which does not additionaly drain the battery (by installing a service/daemon, etc)
ubuntu keyboard-shortcuts xfce xubuntu brightness
ubuntu keyboard-shortcuts xfce xubuntu brightness
asked Apr 8 '17 at 8:23
GregGreg
3651216
3651216
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You can use xbacklight to control the screen brightness. In XFCE, open the settings and add calls to xbacklight
under “Keyboard” → “Application Shortcuts”: something like xbacklight -dec 5 -steps 1
for BrightnessDown and xbacklight -inc 5 -steps 1
for BrightnessUp.
A few graphics drivers don't support xbacklight
. If it doesn't work on your system, you can ask about it on this site, mentioning your exact graphics card model.
A generic method that works with any desktop environment (or none at all) is to run xbindkeys (available in most distributions, including Ubuntu). Xbindkeys only consumes CPU when it starts up or when a key is pressed, and very little at that; it isn't a battery drain at all. (This would be the case for any remotely decent software providing the same functionality.) In ~/.xbindkeysrc
, put something like
"xbacklight -dec 5 -steps 1"
XF86MonBrightnessDown
"xbacklight -inc 5 -steps 1"
XF86MonBrightnessUp
and add xbindkeys
to your startup applications in your desktop environment, or to ~/.xsession
or ~/.xinitrc
if you don't use a desktop environment.
The formatting is broken.
– Mateusz Piotrowski
Sep 25 '17 at 14:14
add a comment |
XFCE backlight buttons
Firstly, install xbacklight
$ sudo apt install xbacklight
Secondly, check whether you have control over the backlight.
$ xbacklight -1
$ xbacklight +5
Should these commands result in a No outputs have backlight property
error,
then follow these remediating steps before proceeding.
Once xbacklight -1
and xbacklight +1
work from the command line, proceed with assigning these commands to respectively the XF86MonBrightnessDown
and XF86MonBrightnessUp
keys. This is done by hitting those keys when asked by the Settings → Keyboard → Application Shortcuts application.
Finally, reboot for these changes to take effect.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f356730%2fhow-to-create-keyboard-shortcuts-for-screen-brightness-in-xubuntu-xfce-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use xbacklight to control the screen brightness. In XFCE, open the settings and add calls to xbacklight
under “Keyboard” → “Application Shortcuts”: something like xbacklight -dec 5 -steps 1
for BrightnessDown and xbacklight -inc 5 -steps 1
for BrightnessUp.
A few graphics drivers don't support xbacklight
. If it doesn't work on your system, you can ask about it on this site, mentioning your exact graphics card model.
A generic method that works with any desktop environment (or none at all) is to run xbindkeys (available in most distributions, including Ubuntu). Xbindkeys only consumes CPU when it starts up or when a key is pressed, and very little at that; it isn't a battery drain at all. (This would be the case for any remotely decent software providing the same functionality.) In ~/.xbindkeysrc
, put something like
"xbacklight -dec 5 -steps 1"
XF86MonBrightnessDown
"xbacklight -inc 5 -steps 1"
XF86MonBrightnessUp
and add xbindkeys
to your startup applications in your desktop environment, or to ~/.xsession
or ~/.xinitrc
if you don't use a desktop environment.
The formatting is broken.
– Mateusz Piotrowski
Sep 25 '17 at 14:14
add a comment |
You can use xbacklight to control the screen brightness. In XFCE, open the settings and add calls to xbacklight
under “Keyboard” → “Application Shortcuts”: something like xbacklight -dec 5 -steps 1
for BrightnessDown and xbacklight -inc 5 -steps 1
for BrightnessUp.
A few graphics drivers don't support xbacklight
. If it doesn't work on your system, you can ask about it on this site, mentioning your exact graphics card model.
A generic method that works with any desktop environment (or none at all) is to run xbindkeys (available in most distributions, including Ubuntu). Xbindkeys only consumes CPU when it starts up or when a key is pressed, and very little at that; it isn't a battery drain at all. (This would be the case for any remotely decent software providing the same functionality.) In ~/.xbindkeysrc
, put something like
"xbacklight -dec 5 -steps 1"
XF86MonBrightnessDown
"xbacklight -inc 5 -steps 1"
XF86MonBrightnessUp
and add xbindkeys
to your startup applications in your desktop environment, or to ~/.xsession
or ~/.xinitrc
if you don't use a desktop environment.
The formatting is broken.
– Mateusz Piotrowski
Sep 25 '17 at 14:14
add a comment |
You can use xbacklight to control the screen brightness. In XFCE, open the settings and add calls to xbacklight
under “Keyboard” → “Application Shortcuts”: something like xbacklight -dec 5 -steps 1
for BrightnessDown and xbacklight -inc 5 -steps 1
for BrightnessUp.
A few graphics drivers don't support xbacklight
. If it doesn't work on your system, you can ask about it on this site, mentioning your exact graphics card model.
A generic method that works with any desktop environment (or none at all) is to run xbindkeys (available in most distributions, including Ubuntu). Xbindkeys only consumes CPU when it starts up or when a key is pressed, and very little at that; it isn't a battery drain at all. (This would be the case for any remotely decent software providing the same functionality.) In ~/.xbindkeysrc
, put something like
"xbacklight -dec 5 -steps 1"
XF86MonBrightnessDown
"xbacklight -inc 5 -steps 1"
XF86MonBrightnessUp
and add xbindkeys
to your startup applications in your desktop environment, or to ~/.xsession
or ~/.xinitrc
if you don't use a desktop environment.
You can use xbacklight to control the screen brightness. In XFCE, open the settings and add calls to xbacklight
under “Keyboard” → “Application Shortcuts”: something like xbacklight -dec 5 -steps 1
for BrightnessDown and xbacklight -inc 5 -steps 1
for BrightnessUp.
A few graphics drivers don't support xbacklight
. If it doesn't work on your system, you can ask about it on this site, mentioning your exact graphics card model.
A generic method that works with any desktop environment (or none at all) is to run xbindkeys (available in most distributions, including Ubuntu). Xbindkeys only consumes CPU when it starts up or when a key is pressed, and very little at that; it isn't a battery drain at all. (This would be the case for any remotely decent software providing the same functionality.) In ~/.xbindkeysrc
, put something like
"xbacklight -dec 5 -steps 1"
XF86MonBrightnessDown
"xbacklight -inc 5 -steps 1"
XF86MonBrightnessUp
and add xbindkeys
to your startup applications in your desktop environment, or to ~/.xsession
or ~/.xinitrc
if you don't use a desktop environment.
edited Sep 25 '17 at 14:33
answered Apr 9 '17 at 1:50
GillesGilles
538k12810881606
538k12810881606
The formatting is broken.
– Mateusz Piotrowski
Sep 25 '17 at 14:14
add a comment |
The formatting is broken.
– Mateusz Piotrowski
Sep 25 '17 at 14:14
The formatting is broken.
– Mateusz Piotrowski
Sep 25 '17 at 14:14
The formatting is broken.
– Mateusz Piotrowski
Sep 25 '17 at 14:14
add a comment |
XFCE backlight buttons
Firstly, install xbacklight
$ sudo apt install xbacklight
Secondly, check whether you have control over the backlight.
$ xbacklight -1
$ xbacklight +5
Should these commands result in a No outputs have backlight property
error,
then follow these remediating steps before proceeding.
Once xbacklight -1
and xbacklight +1
work from the command line, proceed with assigning these commands to respectively the XF86MonBrightnessDown
and XF86MonBrightnessUp
keys. This is done by hitting those keys when asked by the Settings → Keyboard → Application Shortcuts application.
Finally, reboot for these changes to take effect.
add a comment |
XFCE backlight buttons
Firstly, install xbacklight
$ sudo apt install xbacklight
Secondly, check whether you have control over the backlight.
$ xbacklight -1
$ xbacklight +5
Should these commands result in a No outputs have backlight property
error,
then follow these remediating steps before proceeding.
Once xbacklight -1
and xbacklight +1
work from the command line, proceed with assigning these commands to respectively the XF86MonBrightnessDown
and XF86MonBrightnessUp
keys. This is done by hitting those keys when asked by the Settings → Keyboard → Application Shortcuts application.
Finally, reboot for these changes to take effect.
add a comment |
XFCE backlight buttons
Firstly, install xbacklight
$ sudo apt install xbacklight
Secondly, check whether you have control over the backlight.
$ xbacklight -1
$ xbacklight +5
Should these commands result in a No outputs have backlight property
error,
then follow these remediating steps before proceeding.
Once xbacklight -1
and xbacklight +1
work from the command line, proceed with assigning these commands to respectively the XF86MonBrightnessDown
and XF86MonBrightnessUp
keys. This is done by hitting those keys when asked by the Settings → Keyboard → Application Shortcuts application.
Finally, reboot for these changes to take effect.
XFCE backlight buttons
Firstly, install xbacklight
$ sudo apt install xbacklight
Secondly, check whether you have control over the backlight.
$ xbacklight -1
$ xbacklight +5
Should these commands result in a No outputs have backlight property
error,
then follow these remediating steps before proceeding.
Once xbacklight -1
and xbacklight +1
work from the command line, proceed with assigning these commands to respectively the XF86MonBrightnessDown
and XF86MonBrightnessUp
keys. This is done by hitting those keys when asked by the Settings → Keyboard → Application Shortcuts application.
Finally, reboot for these changes to take effect.
answered Feb 8 at 8:56
Serge StroobandtSerge Stroobandt
83521326
83521326
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f356730%2fhow-to-create-keyboard-shortcuts-for-screen-brightness-in-xubuntu-xfce-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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