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;









5

















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?










share|improve this question


















migrated from superuser.com Aug 2 at 18:31


This question came from our site for computer enthusiasts and power users.

























    5

















    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?










    share|improve this question


















    migrated from superuser.com Aug 2 at 18:31


    This question came from our site for computer enthusiasts and power users.





















      5












      5








      5








      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?










      share|improve this question

















      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






      share|improve this question
















      share|improve this question













      share|improve this question




      share|improve this question








      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.






















          2 Answers
          2






          active

          oldest

          votes


















          7


















          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.






          share|improve this answer

































            2


















            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.






            share|improve this answer




























            • 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












            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
            );



            );














            draft saved

            draft discarded
















            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









            7


















            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.






            share|improve this answer






























              7


















              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.






              share|improve this answer




























                7














                7










                7









                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.






                share|improve this answer














                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.







                share|improve this answer













                share|improve this answer




                share|improve this answer










                answered Aug 2 at 19:55









                user1070953user1070953

                1214 bronze badges




                1214 bronze badges


























                    2


















                    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.






                    share|improve this answer




























                    • 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















                    2


















                    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.






                    share|improve this answer




























                    • 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













                    2














                    2










                    2









                    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.






                    share|improve this answer
















                    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.







                    share|improve this answer















                    share|improve this answer




                    share|improve this answer








                    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

















                    • 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


















                    draft saved

                    draft discarded















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?