I want to type guillemets (angle quotes, «») in Ubuntu when using
- Russian keyboard mapping
- English keyboard mapping
Is it possible (preferably without typing numeric codes)?
There is a discussion here, but it does not mention Linux.
I want to type guillemets (angle quotes, «») in Ubuntu when using
Is it possible (preferably without typing numeric codes)?
There is a discussion here, but it does not mention Linux.
Below is list of methods to enable special typographic symbols.
For Russian en English layouts they are defined in
/usr/share/X11/xkb/symbols/typo
file (mainly based on the layout proposed by Ilya Birman).As the result you will get the following symbols:
First keyboard row:
≈
;¹
, Shift+1 exclamdown¡
;²
, Shift+2 onehalf½
;³
, Shift+3 onethird⅓
;$
, Shift+4 onequarter¼
;‰
, Shift+5 NoSymbol;↑
, Shift+6 NoSymbol;&
, Shift+7 questiondown¿
;∞
, Shift+8 oneeighth⅛
;←
, Shift+9 NoSymbol;→
, Shift+0 NoSymbol;—
, Shift+- endash–
;≠
, Shift+= plusminus±
;Second keyboard row:
€
, Shift+e NoSymbol;®
, Shift+r NoSymbol;™
, Shift+t NoSymbol;¥
, Shift+y NoSymbol;´
, Shift+p doubleacute˝
;[
, Shift+[ braceleft{
;]
, Shift+] braceright}
.Third keyboard row:
́
, Shift+a NoSymbol;§
, Shift+s NoSymbol;°
, Shift+d division÷
;£
, Shift+f NoSymbol;„
, Shift+j singlelowquotemark‚
;“
, Shift+k leftsinglequotemark‘
;”
, Shift+l rightsinglequotemark’
;‘
, Shift+; minutes′
;’
, Shift+' seconds″
.Fourth keyboard row:
×
, Shift+x U22C5 (DOT OPERATOR)⋅
;©
, Shift+c cent¢
;↓
, Shift+v U25CA (LOZENGE)◊
;−
, Shift+m enfilledcircbullet•
;«
, Shift+, less<
;»
, Shift+. greater>
;…
, Shift+/ NoSymbol;Space:
, Shift+ Space nobreakspace
.
For other languages layouts may vary.
Settings for common desktop environments are presented below.
Ubuntu with Unity and GNOME desktop environments
Ubuntu 14.04 LTS and Ubuntu 16.04 LTS
Launch GNOME Tweaks (installable with
sudo apt-get install gnome-tweak-tool
, run bygnome-tweak-tool
)Open Keyboard preferences (or
unity-control-center keyboard
)Back to Text Entry section, select Russian keyboard layout and click small keyboard icon to ensure that we have guillemets («елочки»):
Close Keyboard windows.
Use guillemets («елочки») in any application by pressing RightAlt with corresponding keys (Б and Ю;
,
and.
).Ubuntu 18.04 LTS
sudo apt-get install gnome-tweaks
, run bygnome-tweaks
),
and.
).Ubuntu with MATE Desktop Environment (any version)
GUI way
mate-keyboard-properties
).Select Russian keyboard layout and click Show to ensure that we have guillemets («елочки»):
Use guillemets («елочки») in any application by pressing RightAlt with corresponding keys (Б and Ю;
,
and.
).Terminal way
Use GSettings to set two layouts (
us
andru
) using Alt+Shift as layout switcher, typographic symbols are enabled RightAlt as 3rd level switch::Other GUI sessions and terminal
Edit
/etc/default/keyboard
and add here two parameters as described inman xkeyboard-config
:misc:typo
to enable extra typographic characters andlv3:ralt_switch
to choose typographic symbols with Right Alt:After editing you should update initramfs images to include the new version of configuration file
On the English keyboard the simplest way I have found is this...
Tap Compose then >> (2x > in succession) which gives »
Tap Compose then << (2x < in succession) which gives «
Apparently having an AltGr (Alternate Graphics) key on your keyboard where the Right Alt resides on US style keyboards is helpful for « and » simulation key strokes.
From this French article, translated by google below, it says:
Under X11 (GNU / Linux) :
Further discussion can be found in Wikipedia:
There is a lot more to read in the link!