5

I need to type a character similar that looks like space, in Windows I would've used Alt+255. But I don't know how to do this Ubuntu... Can I somehow use Alt codes in Ubuntu, or use another shortcut?

jarno
  • 5,317
  • 5
  • 49
  • 77
PKM
  • 789
  • 2
  • 12
  • 23

2 Answers2

9

Either Ctrl+Shift+U00A0 or AltGr+Space: it's called a non-breaking space.

See this thread on Ubuntu Forums for more info.

Zanna
  • 69,223
  • 56
  • 216
  • 327
Pal Kerecsenyi
  • 280
  • 1
  • 11
  • The Altgr + space does not work on all keyboard layout variants like classic ones in my experience, but it will work with the default one. You may want to disable that shortcut by changing the layout variant or by running `setxkbmap -option nbsp:none` because you might type it accidentally instead of typing normal space when typing shell pipe command by some keyboards; e.g. I have pipe character `|` behind AltGr key in Finnish keyboard. – jarno Apr 02 '20 at 10:13
  • AltGr+Space did not work fro me, but AltGr+Space+Space did – Steve Jorgensen Mar 09 '22 at 20:22
4

Press the Compose key (default Shift+AltGr although you can change it using gnome-tweak-tool), then press Space twice.

Shift+AltGr Space Space

Matt Raines
  • 141
  • 4