PI 4 screen rotation from the terminalRaspbian - Save and restore terminal/screen contentRaspberry Terminal and SSH not workingCan 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
Is this mechanically safe?
Novel - Accidental exploration ship, broadcasts a TV show to let people know what they find
UX writing: When to use "we"?
Should students have access to past exams or an exam bank?
May a hotel provide accommodation for fewer people than booked?
"Will flex for food". What does this phrase mean?
Return last number in sub-sequences in a list of integers
Reasons for using monsters as bioweapons
Why are prop blades not shaped like household fan blades?
A coworker mumbles to herself when working. How can I ask her to stop?
Can black block with a hanging piece in a back rank mate situation?
Could flaps be raised upward to serve as spoilers / lift dumpers?
Error with uppercase in titlesec's label field
Can machine learning learn a function like finding maximum from a list?
How is Sword Coast North governed?
How do Canadians get a visa to go to Saudi Arabia?
How did Biff return to 2015 from 1955 without a lightning strike?
Constant Scan spooling
Skipping same old introductions
Can I shorten this filter, that finds disk sizes over 100G?
Can living where magnetic ore is abundant provide any protection from cosmic radiation?
Please explain the difference in the order of naming Tzelafchad's daughters
Why don't short runways use ramps for takeoff?
Why should I use a big powerstone instead of smaller ones?
PI 4 screen rotation from the terminal
Raspbian - Save and restore terminal/screen contentRaspberry Terminal and SSH not workingCan 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 8 hours ago
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 8 hours ago
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 8 hours ago
Glorfindel
3111 gold badge4 silver badges11 bronze badges
3111 gold badge4 silver badges11 bronze badges
asked 8 hours ago
user1070953user1070953
462 bronze badges
462 bronze badges
migrated from superuser.com 8 hours ago
This question came from our site for computer enthusiasts and power users.
migrated from superuser.com 8 hours ago
This question came from our site for computer enthusiasts and power users.
migrated from superuser.com 8 hours ago
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
.
New contributor
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.
New contributor
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
7 hours ago
@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
7 hours ago
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/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%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
.
New contributor
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
.
New contributor
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
.
New contributor
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
.
New contributor
New contributor
answered 7 hours ago
user1070953user1070953
462 bronze badges
462 bronze badges
New contributor
New contributor
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.
New contributor
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
7 hours ago
@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
7 hours ago
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.
New contributor
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
7 hours ago
@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
7 hours ago
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.
New contributor
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.
New contributor
edited 7 hours ago
New contributor
answered 8 hours ago
Cyber_AgentCyber_Agent
1214 bronze badges
1214 bronze badges
New contributor
New contributor
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
7 hours ago
@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
7 hours ago
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
7 hours ago
@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
7 hours ago
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
7 hours ago
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
7 hours ago
@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
7 hours ago
@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
7 hours ago
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