What exactly does Ctrl+Shift+X do in Firefox (Linux)?












2















On pressing Ctrl+Shift+X in browser text fields, the text changes its alignment to the right, but it is not exactly the same as right align. The symbols do not follow the alignment, they even change their relative position.



Example:



export http_proxy=""


Changes to



""=export http_proxy


After checking on many other texts, it seems to be mirroring the trailing symbols while keeping words, numbers and intermediate symbols in order. Can anyone explain this behavior and possible use cases for it?



Tested on:
Firefox 58,
Ubuntu 17.10










share|improve this question





























    2















    On pressing Ctrl+Shift+X in browser text fields, the text changes its alignment to the right, but it is not exactly the same as right align. The symbols do not follow the alignment, they even change their relative position.



    Example:



    export http_proxy=""


    Changes to



    ""=export http_proxy


    After checking on many other texts, it seems to be mirroring the trailing symbols while keeping words, numbers and intermediate symbols in order. Can anyone explain this behavior and possible use cases for it?



    Tested on:
    Firefox 58,
    Ubuntu 17.10










    share|improve this question



























      2












      2








      2








      On pressing Ctrl+Shift+X in browser text fields, the text changes its alignment to the right, but it is not exactly the same as right align. The symbols do not follow the alignment, they even change their relative position.



      Example:



      export http_proxy=""


      Changes to



      ""=export http_proxy


      After checking on many other texts, it seems to be mirroring the trailing symbols while keeping words, numbers and intermediate symbols in order. Can anyone explain this behavior and possible use cases for it?



      Tested on:
      Firefox 58,
      Ubuntu 17.10










      share|improve this question
















      On pressing Ctrl+Shift+X in browser text fields, the text changes its alignment to the right, but it is not exactly the same as right align. The symbols do not follow the alignment, they even change their relative position.



      Example:



      export http_proxy=""


      Changes to



      ""=export http_proxy


      After checking on many other texts, it seems to be mirroring the trailing symbols while keeping words, numbers and intermediate symbols in order. Can anyone explain this behavior and possible use cases for it?



      Tested on:
      Firefox 58,
      Ubuntu 17.10







      linux keyboard-shortcuts firefox text browser






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 14 mins ago







      Udayraj Deshmukh

















      asked Mar 2 '18 at 13:23









      Udayraj DeshmukhUdayraj Deshmukh

      1157




      1157






















          1 Answer
          1






          active

          oldest

          votes


















          2














          You have selected right-to-left mode (bidirectional text), which is used when entering text in (for example) Arabic and Hebrew. It's actually a Firefox keyboard shortcut in Linux and OS X. The behaviour is perfectly correct, but as you found out, it's a little strange if you're not expecting it!



          Some additional background reading:




          • Chen, Raymond. "Whether the Unicode Bidi algorithm is intuitive depends on your definition of 'intuitive'". The Old New Thing, updated October 26, 2012 (retrieved March 2, 2018).


          • W3C. Unicode Bidirectional Algorithm basics. Updated August 9, 2016 (retrieved March 2, 2018).



          Official document from 2011 covering its origin here -
          Additional Requirements for Bidi in HTML



          Latest official document (even longer to read :p)-
          https://www.w3.org/TR/html-bidi/






          share|improve this answer


























          • Thanks! may I know what keywords you searched for to get to these links?

            – Udayraj Deshmukh
            Mar 2 '18 at 15:18






          • 1





            I had the last two bookmarked from a while back, but if you search for "unicode" along with "bidirectional" (or "bidi"), you should get several results.

            – ErikF
            Mar 2 '18 at 16:00











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


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f427676%2fwhat-exactly-does-ctrlshiftx-do-in-firefox-linux%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          You have selected right-to-left mode (bidirectional text), which is used when entering text in (for example) Arabic and Hebrew. It's actually a Firefox keyboard shortcut in Linux and OS X. The behaviour is perfectly correct, but as you found out, it's a little strange if you're not expecting it!



          Some additional background reading:




          • Chen, Raymond. "Whether the Unicode Bidi algorithm is intuitive depends on your definition of 'intuitive'". The Old New Thing, updated October 26, 2012 (retrieved March 2, 2018).


          • W3C. Unicode Bidirectional Algorithm basics. Updated August 9, 2016 (retrieved March 2, 2018).



          Official document from 2011 covering its origin here -
          Additional Requirements for Bidi in HTML



          Latest official document (even longer to read :p)-
          https://www.w3.org/TR/html-bidi/






          share|improve this answer


























          • Thanks! may I know what keywords you searched for to get to these links?

            – Udayraj Deshmukh
            Mar 2 '18 at 15:18






          • 1





            I had the last two bookmarked from a while back, but if you search for "unicode" along with "bidirectional" (or "bidi"), you should get several results.

            – ErikF
            Mar 2 '18 at 16:00
















          2














          You have selected right-to-left mode (bidirectional text), which is used when entering text in (for example) Arabic and Hebrew. It's actually a Firefox keyboard shortcut in Linux and OS X. The behaviour is perfectly correct, but as you found out, it's a little strange if you're not expecting it!



          Some additional background reading:




          • Chen, Raymond. "Whether the Unicode Bidi algorithm is intuitive depends on your definition of 'intuitive'". The Old New Thing, updated October 26, 2012 (retrieved March 2, 2018).


          • W3C. Unicode Bidirectional Algorithm basics. Updated August 9, 2016 (retrieved March 2, 2018).



          Official document from 2011 covering its origin here -
          Additional Requirements for Bidi in HTML



          Latest official document (even longer to read :p)-
          https://www.w3.org/TR/html-bidi/






          share|improve this answer


























          • Thanks! may I know what keywords you searched for to get to these links?

            – Udayraj Deshmukh
            Mar 2 '18 at 15:18






          • 1





            I had the last two bookmarked from a while back, but if you search for "unicode" along with "bidirectional" (or "bidi"), you should get several results.

            – ErikF
            Mar 2 '18 at 16:00














          2












          2








          2







          You have selected right-to-left mode (bidirectional text), which is used when entering text in (for example) Arabic and Hebrew. It's actually a Firefox keyboard shortcut in Linux and OS X. The behaviour is perfectly correct, but as you found out, it's a little strange if you're not expecting it!



          Some additional background reading:




          • Chen, Raymond. "Whether the Unicode Bidi algorithm is intuitive depends on your definition of 'intuitive'". The Old New Thing, updated October 26, 2012 (retrieved March 2, 2018).


          • W3C. Unicode Bidirectional Algorithm basics. Updated August 9, 2016 (retrieved March 2, 2018).



          Official document from 2011 covering its origin here -
          Additional Requirements for Bidi in HTML



          Latest official document (even longer to read :p)-
          https://www.w3.org/TR/html-bidi/






          share|improve this answer















          You have selected right-to-left mode (bidirectional text), which is used when entering text in (for example) Arabic and Hebrew. It's actually a Firefox keyboard shortcut in Linux and OS X. The behaviour is perfectly correct, but as you found out, it's a little strange if you're not expecting it!



          Some additional background reading:




          • Chen, Raymond. "Whether the Unicode Bidi algorithm is intuitive depends on your definition of 'intuitive'". The Old New Thing, updated October 26, 2012 (retrieved March 2, 2018).


          • W3C. Unicode Bidirectional Algorithm basics. Updated August 9, 2016 (retrieved March 2, 2018).



          Official document from 2011 covering its origin here -
          Additional Requirements for Bidi in HTML



          Latest official document (even longer to read :p)-
          https://www.w3.org/TR/html-bidi/







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 4 '18 at 18:38









          Udayraj Deshmukh

          1157




          1157










          answered Mar 2 '18 at 14:26









          ErikFErikF

          2,9311513




          2,9311513













          • Thanks! may I know what keywords you searched for to get to these links?

            – Udayraj Deshmukh
            Mar 2 '18 at 15:18






          • 1





            I had the last two bookmarked from a while back, but if you search for "unicode" along with "bidirectional" (or "bidi"), you should get several results.

            – ErikF
            Mar 2 '18 at 16:00



















          • Thanks! may I know what keywords you searched for to get to these links?

            – Udayraj Deshmukh
            Mar 2 '18 at 15:18






          • 1





            I had the last two bookmarked from a while back, but if you search for "unicode" along with "bidirectional" (or "bidi"), you should get several results.

            – ErikF
            Mar 2 '18 at 16:00

















          Thanks! may I know what keywords you searched for to get to these links?

          – Udayraj Deshmukh
          Mar 2 '18 at 15:18





          Thanks! may I know what keywords you searched for to get to these links?

          – Udayraj Deshmukh
          Mar 2 '18 at 15:18




          1




          1





          I had the last two bookmarked from a while back, but if you search for "unicode" along with "bidirectional" (or "bidi"), you should get several results.

          – ErikF
          Mar 2 '18 at 16:00





          I had the last two bookmarked from a while back, but if you search for "unicode" along with "bidirectional" (or "bidi"), you should get several results.

          – ErikF
          Mar 2 '18 at 16:00


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f427676%2fwhat-exactly-does-ctrlshiftx-do-in-firefox-linux%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

          Loup dans la culture

          How to solve the problem of ntp “Unable to contact time server” from KDE?

          ASUS Zenbook UX433/UX333 — Configure Touchpad-embedded numpad on Linux