Disclaimer

This information HAS errors and is made available WITHOUT ANY WARRANTY OF ANY KIND and without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. It is not permissible to be read by anyone who has ever met a lawyer or attorney. Use is confined to Engineers with more than 370 course hours of engineering.

Bi Lingual computer setups


altgr-intl Setup

There is a need to type different symbols

Change layout

setxkbmap -rules evdev -model evdev -layout us -variant altgr-intl 

Create ~/.xinitrc :

Section "InputClass"
   Identifier "Keyboard Defaults" 
   MatchIsKeyboard "yes" 
   Option  "XkbLayout" "us" 
   Option  "XkbVariant" "altgr-intl" 
EndSection 

KDE Setup

Kde-layouts.png


Usage

Holding the right-Alt-Key (AltGr) while pressing another key on the US International Keyboard yields the blue characters depicted in the layout below. Shown here is the PC104 (with 104 keys) which will obviously differ slightly with many notebook layouts. Example 1: To type the Euro sign € hold the Alt-Gr and press 5 Example 2: To type a capital C cedilla Ç hold both the Alt Gr and Shift keys and press ,

(thumbnail) US International (altgr-intl variant) Keyboard Layout

Dead-Keys

A dead key is different from a typical modifier key (such as CTRL, or AltGr). Rather than being pressed and held while another key is struck, a dead key is pressed and released before striking the key to be modified.

In our use here, the dead-key-strokes are produced with combinations of AltGr and sometimes the shift+AltGR.

There are 13 dead-key permutations under KDE on Debian..

First press the dead key (combination) then release the dead key (combination), and subsequently type a letter. Example 1: To type Ô, press AltGR+Shift+6, release and type O Example 2: To type ğ, press AltGr + Shift + 9, release and type g

In some cases you can combine two diacritics like in ậ; first press the dead keys for the circumflex and then the dead keys for the underdot (or vice versa).

AltGr+6 then a number produces a super script of the number.

AltGr+7 produces a horn AltGr+8 produces a hook


Pressing a dead key followed by pressing the space bar produces the character denoted by the dead key; e.g. ~ + space results in “~”.

On a M$4000 keyboard - the key in-between the right-alt and right-ctl

common

p π


Setting Compose Key

Go to KDE - systemsettings/hardware/keyboard/advanced
Enable config keyboard options
Disable annoying caps-lock
Set position of Compose key to caps-lock

See a long list of Compose key codes in"
 /usr/share/X11/locale/en_US.UTF-8/Compose

commonly used codes here:
 88  ∞ 
+-  ±
 oo  °



Customizing Compose-Key .XCompose file

Create a ~/.XCompose file, and put the following lines into it:

# ~/.XCompose # This file defines custom Compose sequences for Unicode characters # 
# Debian says -- but don't - too much cruft
#include "%L"
# same as:
# Import default rules from the system Compose file:
#include "/usr/share/X11/locale/en_US.UTF-8/Compose"

# To put some stuff onto compose key strokes:
<Multi_key> <8> <8> : "∞" U221e # 8 8 INFINITY
<Multi_key> <v> <slash> : "√" U221a # v / SQUARE ROOT
<Multi_key> <slash> <v> : "√" U221a # / v SQUARE ROOT
<Multi_key> <less> <equal> : "≤" U2264 # < _ LESS-THAN OR EQUAL TO
<Multi_key> <greater> <equal> : "≥" U2265 # > _ GREATER-THAN OR EQUAL TO
<Multi_key> <plus> <minus> : "±" plusminus # PLUS-MINUS SIGN
<Multi_key> <minus> <plus> : "±" plusminus # PLUS-MINUS SIGN
<Multi_key><slash> <equal> : "≠" notequal # NOT EQUAL TO
<Multi_key> <o> : "°" degree # DEGREE SIGN
<Multi_key> <O> <C> : "©" copyright # COPYRIGHT SIGN
<Multi_key> <O> <R> : "®" registered # REGISTERED SIGN
<Multi_key> <percent> <o> : "‰" U2030 # PER MILLE SIGN
<Multi_key> <c> <bar> : "¢" cent # CENT SIGN
<Multi_key> <d> <slash> : "⌀" U2300 # DIAMETER SIGN
<Multi_key> <bar> <equal>: "⏚" U23DA # Earth ground

<Multi_key> <1><slash> <4> : "¼" onequarter # VULGAR FRACTION ONE QUARTER
<Multi_key> <1> <slash><2> : "½" onehalf # VULGAR FRACTION ONE HALF
<Multi_key> <3> <slash><4> : "¾" threequarters # VULGAR FRACTION THREE QUARTER

Then add to your .profile file

export GTK_IM_MODULE="xim" 

and restart X.

en_Spanish dictionaries


Top Page wiki Index

Email

(C) Copyright 1994-2019
All trademarks are the property of their respective owners.