Screen Brightness in CLI Mode












1














I made a cool alias out of an xrandr command I found on the internet in order to adjust my screen brightness on my laptop from the command line.



However, when I press Ctrl+Alt+F3 into a CLI mode the command doesn't work. I was hoping to find a way to adjust screen brightness while not using the GUI. Is it possible? If not, what brightness level is it set to by default?



Using Ubuntu 18.04.1 LTS.



Edit:



So it looks like switching back to the GUI and adjusting the brightness (either with the widget or the command) also adjusts it for the CLI mode. But I'd like to be able to adjust it entirely without the GUI and the xrandr command does not work in CLI mode. Any ideas?










share|improve this question
























  • if you prefer always tty3.. make default tempersture once and it will always start with that value.. ` gsettings is working in tty.. other commands are not working. i tried a way to restrat tty but no success.. to restart tty we are going to tty2 and coming back to tty3. it is just pressing keys only know. even if we write scripts.. it should do the same process to refresh tty after running gsettings
    – PRATAP
    Dec 15 at 19:27
















1














I made a cool alias out of an xrandr command I found on the internet in order to adjust my screen brightness on my laptop from the command line.



However, when I press Ctrl+Alt+F3 into a CLI mode the command doesn't work. I was hoping to find a way to adjust screen brightness while not using the GUI. Is it possible? If not, what brightness level is it set to by default?



Using Ubuntu 18.04.1 LTS.



Edit:



So it looks like switching back to the GUI and adjusting the brightness (either with the widget or the command) also adjusts it for the CLI mode. But I'd like to be able to adjust it entirely without the GUI and the xrandr command does not work in CLI mode. Any ideas?










share|improve this question
























  • if you prefer always tty3.. make default tempersture once and it will always start with that value.. ` gsettings is working in tty.. other commands are not working. i tried a way to restrat tty but no success.. to restart tty we are going to tty2 and coming back to tty3. it is just pressing keys only know. even if we write scripts.. it should do the same process to refresh tty after running gsettings
    – PRATAP
    Dec 15 at 19:27














1












1








1


0





I made a cool alias out of an xrandr command I found on the internet in order to adjust my screen brightness on my laptop from the command line.



However, when I press Ctrl+Alt+F3 into a CLI mode the command doesn't work. I was hoping to find a way to adjust screen brightness while not using the GUI. Is it possible? If not, what brightness level is it set to by default?



Using Ubuntu 18.04.1 LTS.



Edit:



So it looks like switching back to the GUI and adjusting the brightness (either with the widget or the command) also adjusts it for the CLI mode. But I'd like to be able to adjust it entirely without the GUI and the xrandr command does not work in CLI mode. Any ideas?










share|improve this question















I made a cool alias out of an xrandr command I found on the internet in order to adjust my screen brightness on my laptop from the command line.



However, when I press Ctrl+Alt+F3 into a CLI mode the command doesn't work. I was hoping to find a way to adjust screen brightness while not using the GUI. Is it possible? If not, what brightness level is it set to by default?



Using Ubuntu 18.04.1 LTS.



Edit:



So it looks like switching back to the GUI and adjusting the brightness (either with the widget or the command) also adjusts it for the CLI mode. But I'd like to be able to adjust it entirely without the GUI and the xrandr command does not work in CLI mode. Any ideas?







gui






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 15 at 7:38









Kulfy

3,27531039




3,27531039










asked Dec 14 at 20:04









some_guy632

62




62












  • if you prefer always tty3.. make default tempersture once and it will always start with that value.. ` gsettings is working in tty.. other commands are not working. i tried a way to restrat tty but no success.. to restart tty we are going to tty2 and coming back to tty3. it is just pressing keys only know. even if we write scripts.. it should do the same process to refresh tty after running gsettings
    – PRATAP
    Dec 15 at 19:27


















  • if you prefer always tty3.. make default tempersture once and it will always start with that value.. ` gsettings is working in tty.. other commands are not working. i tried a way to restrat tty but no success.. to restart tty we are going to tty2 and coming back to tty3. it is just pressing keys only know. even if we write scripts.. it should do the same process to refresh tty after running gsettings
    – PRATAP
    Dec 15 at 19:27
















if you prefer always tty3.. make default tempersture once and it will always start with that value.. ` gsettings is working in tty.. other commands are not working. i tried a way to restrat tty but no success.. to restart tty we are going to tty2 and coming back to tty3. it is just pressing keys only know. even if we write scripts.. it should do the same process to refresh tty after running gsettings
– PRATAP
Dec 15 at 19:27




if you prefer always tty3.. make default tempersture once and it will always start with that value.. ` gsettings is working in tty.. other commands are not working. i tried a way to restrat tty but no success.. to restart tty we are going to tty2 and coming back to tty3. it is just pressing keys only know. even if we write scripts.. it should do the same process to refresh tty after running gsettings
– PRATAP
Dec 15 at 19:27















active

oldest

votes











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%2f1100960%2fscreen-brightness-in-cli-mode%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f1100960%2fscreen-brightness-in-cli-mode%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

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido