Switch text direction to right-to-left in Chrome under Ubuntu

2

In Chrome under Windows, I can press right control+right shift and the text direction in text fields and text boxes becomes right-to-left. But under Ubuntu, nothing happens.

In other programs (Gedit for example,) I can right-click then select Insert Unicode Control Character->RLM Right-to-left Mark to change the text direction, but that menu is not present when I right-click a text box in Chrome.

How can I change the text direction in Chrome?

Edit: I tried Manually inserting a RLM Mark (a list is here) by holding control+shift then typing u followed by the hex code of the control character. Out of the seven listed (U+200E, U+200F, U+202A, U+202B, U+202C, U+202D, U+202E), three of them (U+200F, U+202B, U+202E) worked in Gedit, but not in Chrome.

imgx64

Posted 2010-08-19T10:49:53.710

Reputation: 448

Answers

4

Using this open source extension provides a switch direction button that will added to your Google chrome and can switch text edits direction in any OS.

Disclaimer: I am publisher of the extension.

Update: Chrome now itself provides similar functionality on text edits context menu thus makes such extension somehow useless.

Ebrahim Byagowi

Posted 2010-08-19T10:49:53.710

Reputation: 336

What about Firefox? – Royi – 2017-08-30T11:27:40.853

On Firefox, you can use Ctrl+Shift+X (or Alt? I don't remember) or double Right/Left Ctrl+Shift there after enabling browser.bidi.ui https://support.mozilla.org/en-US/questions/1128107

– Ebrahim Byagowi – 2017-08-31T11:22:00.877

yes, @ebraminio: it was automatically deleted because it looked spammy. If this is your product/software, clearly say so. – studiohack – 2011-03-23T18:07:28.347

yes. but this is not a product, just a simple extension :) – Ebrahim Byagowi – 2011-03-23T18:58:48.807

Thanks, I had given up on this (The question was asked more than half a year ago). – imgx64 – 2011-03-24T04:08:05.637

2

Couple of guesses - does either Left CTRL+Right SHIFT, or SHIFT+CTRL+X work?

There are some subtle differences in Linux Chrome due to the use of GTK controls.

Colin Pickard

Posted 2010-08-19T10:49:53.710

Reputation: 6 774

Nope, they don't work. – imgx64 – 2010-08-19T13:52:31.323

What about Firefox? – Royi – 2017-08-30T11:27:52.530

2Ctrl+Shift+X works splendidly for me in Firefox, which is what I was looking for now, since I accidentally switched it and didn't know how to get it back. Thanks! – cincodenada – 2014-03-26T17:56:54.873