Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to type special symbol on Cloud Shell with Mac EU keyboard?

Considering this context:

  • MacBook
  • European Keyboard (or non US keyboard)
  • Google Cloud Shell (on Google Cloud Console)

How to type special symbols like | (pipe), \(backslash) ?

Normally, on MacOS, we can use ALT + SHIFT + L for | (pipe), and ALT + SHIFT + / for \ (backslash).

But on Google Cloud Shell, it's not working. How can we do ?

like image 536
Thierry Falvo Avatar asked Oct 10 '19 13:10

Thierry Falvo


People also ask

How do you type a star on a Mac?

You can use the asterisk on the numeric keypad, or you can press Shift 8 to get the asterisk you see above the number 8 on the keyboard. Thank goodness this key is also known as the Star key because so few people can spell or pronounce “asterisk.”


2 Answers

Here is the solution:

  • Open Cloud Shell
  • Click on settings icon at left side (gearing icon)
  • Select Terminal Preferences > Keyboard > Alt-Gr key
  • Choose Left + Alt or Right + Alt

You're done.

Now, ALT + SHIFT + L will work like a charm on your favorite Google Cloud Shell.

like image 178
Thierry Falvo Avatar answered Oct 24 '22 02:10

Thierry Falvo


Update 02/2021:

There is a new setting for tat.

  • Open Cloud Shell
  • Click on settings icon (gearing)
  • Enable checkbox for Alt is meta

Setting

That solved it for me.

like image 2
AFX Avatar answered Oct 24 '22 03:10

AFX