PI 4 screen rotation from the terminalRaspbian - Save and restore terminal/screen contentCan I set the desktop to automatically lock the screen after a specified duration of inactivity?Is there a way to Mirror the HDMI TTY Terminal over the Network (i.e. Not Desktop and Not SSH)Attempting to ssh from Mac TerminalHow can you SSH into your raspberry pi with x11 forwarding enabled on mac?Connect via SSH to the main display active terminalLost console log after running any app that takes over the screen (but not on SSH)How do you fix the screen size of raspberry Pi 7" screenUsing a KS0108 type screen for a portable terminal
Resonance structure of acetate
Is it possible to use gases instead of liquids as fuel in a rocket engine?
What precisely is scarcity?
How prevalent is the sound /ʑ:/ in Russian?
Horizontally mirror a brainflak program
Commutative algebras with modules of small complexity
Show the acid nature of hydrogen sulfide
Short story about two entangled quantum physicists
What are the colours of Lisa's jewelry in portrait room?
How to avoid after work hours team dinner?
My boss wants me to recreate everything I have done for my previous employer
Can Mathematica achieve this diagram?
Why was the DC-9-80 so successful despite being obsolete almost from birth?
Font size in pmatrix: Elegant Summation in big Vectors
Chess evaluation function
Where is a warlock's soul?
Equipment replacement problem
“philanthropy” as an uncountable noun
Are humans superior to machines in chess?
About an ambiguity that really prevents me from understanding the principle " the laws of physics are invariant in all inertial frames"
Covering the disk with a family of infinite total measure
What was meant by the protest sign "Bundestag nach Berlin"?
Why do airline tickets have titles in addition to names?
What DC should I use for someone trying to survive indefinitely solely with an alchemy jug as their only source of food and water? (survival campaign)
PI 4 screen rotation from the terminal
Raspbian - Save and restore terminal/screen contentCan I set the desktop to automatically lock the screen after a specified duration of inactivity?Is there a way to Mirror the HDMI TTY Terminal over the Network (i.e. Not Desktop and Not SSH)Attempting to ssh from Mac TerminalHow can you SSH into your raspberry pi with x11 forwarding enabled on mac?Connect via SSH to the main display active terminalLost console log after running any app that takes over the screen (but not on SSH)How do you fix the screen size of raspberry Pi 7" screenUsing a KS0108 type screen for a portable terminal
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I know that you can use the Screen Configuration tool from the desktop, but can I set this over ssh? Basically how can I use the Screen Configuration tool in the terminal on PI4?
ssh screen
migrated from superuser.com Aug 2 at 18:31
This question came from our site for computer enthusiasts and power users.
add a comment
|
I know that you can use the Screen Configuration tool from the desktop, but can I set this over ssh? Basically how can I use the Screen Configuration tool in the terminal on PI4?
ssh screen
migrated from superuser.com Aug 2 at 18:31
This question came from our site for computer enthusiasts and power users.
add a comment
|
I know that you can use the Screen Configuration tool from the desktop, but can I set this over ssh? Basically how can I use the Screen Configuration tool in the terminal on PI4?
ssh screen
I know that you can use the Screen Configuration tool from the desktop, but can I set this over ssh? Basically how can I use the Screen Configuration tool in the terminal on PI4?
ssh screen
ssh screen
edited Aug 2 at 18:54
Glorfindel
3311 gold badge4 silver badges11 bronze badges
3311 gold badge4 silver badges11 bronze badges
asked Aug 2 at 18:20
user1070953user1070953
1214 bronze badges
1214 bronze badges
migrated from superuser.com Aug 2 at 18:31
This question came from our site for computer enthusiasts and power users.
migrated from superuser.com Aug 2 at 18:31
This question came from our site for computer enthusiasts and power users.
migrated from superuser.com Aug 2 at 18:31
This question came from our site for computer enthusiasts and power users.
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
I figured it out. Screen Configuration tool is just a GUI for XRandR. We can use,
DISPLAY=:0 xrandr --output $monitorName --rotate $orientation
Where $monitorName
is the display name from the output of DISPLAY=:0 xrandr
.
$orientation is left
, right
, inverted
, or normal
.
add a comment
|
EDIT: It seems that the process I described here no longer works with the raspberry PI 4
I didn’t even know that the raspberry PI 4 was a thing yet, haha.
I found a thread here that seems to cover the solution.
Basically, while in the terminal (or SSH) try editing the following config file like so:
sudo nano /boot/config.txt
And then adding ONE of the following flags at the bottom of the file depending on how you want the screen to rotate (don’t include the parts in parentheses):
display_rotate=0 (Normal)
display_rotate=1 (90 degrees)
display_rotate=2 (180 degrees)
It does look like this approach might also rotate the mouse movement, however if you are using SSH I get the feeling that this won’t be a problem for you.
This doesn’t work on the Pi 4. The work around is to use the screen configuration tool. But I’m looking for a way to do this though ssh
– user1070953
Aug 2 at 19:11
@user1070953 I see... most results I’ve found don’t explicitly apply to or don’t work with the raspberry pi 4. I’ll keep looking, but I don’t own a PI 4 yet so I can’t try and crack the issue firsthand, sorry
– Cyber_Agent
Aug 2 at 19:22
add a comment
|
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("schematics", function ()
StackExchange.schematics.init();
);
, "cicuitlab");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "447"
;
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/4.0/"u003ecc by-sa 4.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%2fraspberrypi.stackexchange.com%2fquestions%2f101282%2fpi-4-screen-rotation-from-the-terminal%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
I figured it out. Screen Configuration tool is just a GUI for XRandR. We can use,
DISPLAY=:0 xrandr --output $monitorName --rotate $orientation
Where $monitorName
is the display name from the output of DISPLAY=:0 xrandr
.
$orientation is left
, right
, inverted
, or normal
.
add a comment
|
I figured it out. Screen Configuration tool is just a GUI for XRandR. We can use,
DISPLAY=:0 xrandr --output $monitorName --rotate $orientation
Where $monitorName
is the display name from the output of DISPLAY=:0 xrandr
.
$orientation is left
, right
, inverted
, or normal
.
add a comment
|
I figured it out. Screen Configuration tool is just a GUI for XRandR. We can use,
DISPLAY=:0 xrandr --output $monitorName --rotate $orientation
Where $monitorName
is the display name from the output of DISPLAY=:0 xrandr
.
$orientation is left
, right
, inverted
, or normal
.
I figured it out. Screen Configuration tool is just a GUI for XRandR. We can use,
DISPLAY=:0 xrandr --output $monitorName --rotate $orientation
Where $monitorName
is the display name from the output of DISPLAY=:0 xrandr
.
$orientation is left
, right
, inverted
, or normal
.
answered Aug 2 at 19:55
user1070953user1070953
1214 bronze badges
1214 bronze badges
add a comment
|
add a comment
|
EDIT: It seems that the process I described here no longer works with the raspberry PI 4
I didn’t even know that the raspberry PI 4 was a thing yet, haha.
I found a thread here that seems to cover the solution.
Basically, while in the terminal (or SSH) try editing the following config file like so:
sudo nano /boot/config.txt
And then adding ONE of the following flags at the bottom of the file depending on how you want the screen to rotate (don’t include the parts in parentheses):
display_rotate=0 (Normal)
display_rotate=1 (90 degrees)
display_rotate=2 (180 degrees)
It does look like this approach might also rotate the mouse movement, however if you are using SSH I get the feeling that this won’t be a problem for you.
This doesn’t work on the Pi 4. The work around is to use the screen configuration tool. But I’m looking for a way to do this though ssh
– user1070953
Aug 2 at 19:11
@user1070953 I see... most results I’ve found don’t explicitly apply to or don’t work with the raspberry pi 4. I’ll keep looking, but I don’t own a PI 4 yet so I can’t try and crack the issue firsthand, sorry
– Cyber_Agent
Aug 2 at 19:22
add a comment
|
EDIT: It seems that the process I described here no longer works with the raspberry PI 4
I didn’t even know that the raspberry PI 4 was a thing yet, haha.
I found a thread here that seems to cover the solution.
Basically, while in the terminal (or SSH) try editing the following config file like so:
sudo nano /boot/config.txt
And then adding ONE of the following flags at the bottom of the file depending on how you want the screen to rotate (don’t include the parts in parentheses):
display_rotate=0 (Normal)
display_rotate=1 (90 degrees)
display_rotate=2 (180 degrees)
It does look like this approach might also rotate the mouse movement, however if you are using SSH I get the feeling that this won’t be a problem for you.
This doesn’t work on the Pi 4. The work around is to use the screen configuration tool. But I’m looking for a way to do this though ssh
– user1070953
Aug 2 at 19:11
@user1070953 I see... most results I’ve found don’t explicitly apply to or don’t work with the raspberry pi 4. I’ll keep looking, but I don’t own a PI 4 yet so I can’t try and crack the issue firsthand, sorry
– Cyber_Agent
Aug 2 at 19:22
add a comment
|
EDIT: It seems that the process I described here no longer works with the raspberry PI 4
I didn’t even know that the raspberry PI 4 was a thing yet, haha.
I found a thread here that seems to cover the solution.
Basically, while in the terminal (or SSH) try editing the following config file like so:
sudo nano /boot/config.txt
And then adding ONE of the following flags at the bottom of the file depending on how you want the screen to rotate (don’t include the parts in parentheses):
display_rotate=0 (Normal)
display_rotate=1 (90 degrees)
display_rotate=2 (180 degrees)
It does look like this approach might also rotate the mouse movement, however if you are using SSH I get the feeling that this won’t be a problem for you.
EDIT: It seems that the process I described here no longer works with the raspberry PI 4
I didn’t even know that the raspberry PI 4 was a thing yet, haha.
I found a thread here that seems to cover the solution.
Basically, while in the terminal (or SSH) try editing the following config file like so:
sudo nano /boot/config.txt
And then adding ONE of the following flags at the bottom of the file depending on how you want the screen to rotate (don’t include the parts in parentheses):
display_rotate=0 (Normal)
display_rotate=1 (90 degrees)
display_rotate=2 (180 degrees)
It does look like this approach might also rotate the mouse movement, however if you are using SSH I get the feeling that this won’t be a problem for you.
edited Aug 2 at 19:33
answered Aug 2 at 18:38
Cyber_AgentCyber_Agent
1294 bronze badges
1294 bronze badges
This doesn’t work on the Pi 4. The work around is to use the screen configuration tool. But I’m looking for a way to do this though ssh
– user1070953
Aug 2 at 19:11
@user1070953 I see... most results I’ve found don’t explicitly apply to or don’t work with the raspberry pi 4. I’ll keep looking, but I don’t own a PI 4 yet so I can’t try and crack the issue firsthand, sorry
– Cyber_Agent
Aug 2 at 19:22
add a comment
|
This doesn’t work on the Pi 4. The work around is to use the screen configuration tool. But I’m looking for a way to do this though ssh
– user1070953
Aug 2 at 19:11
@user1070953 I see... most results I’ve found don’t explicitly apply to or don’t work with the raspberry pi 4. I’ll keep looking, but I don’t own a PI 4 yet so I can’t try and crack the issue firsthand, sorry
– Cyber_Agent
Aug 2 at 19:22
This doesn’t work on the Pi 4. The work around is to use the screen configuration tool. But I’m looking for a way to do this though ssh
– user1070953
Aug 2 at 19:11
This doesn’t work on the Pi 4. The work around is to use the screen configuration tool. But I’m looking for a way to do this though ssh
– user1070953
Aug 2 at 19:11
@user1070953 I see... most results I’ve found don’t explicitly apply to or don’t work with the raspberry pi 4. I’ll keep looking, but I don’t own a PI 4 yet so I can’t try and crack the issue firsthand, sorry
– Cyber_Agent
Aug 2 at 19:22
@user1070953 I see... most results I’ve found don’t explicitly apply to or don’t work with the raspberry pi 4. I’ll keep looking, but I don’t own a PI 4 yet so I can’t try and crack the issue firsthand, sorry
– Cyber_Agent
Aug 2 at 19:22
add a comment
|
Thanks for contributing an answer to Raspberry Pi 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%2fraspberrypi.stackexchange.com%2fquestions%2f101282%2fpi-4-screen-rotation-from-the-terminal%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