diff --git a/data/keyboards/geometry/compact.xml b/data/keyboards/geometry/compact.xml
index e4a9ec5c..c30831f3 100644
--- a/data/keyboards/geometry/compact.xml
+++ b/data/keyboards/geometry/compact.xml
@@ -106,7 +106,7 @@
-
+
diff --git a/data/keyboards/symbols/us.xml b/data/keyboards/symbols/us.xml
index a3a72f2f..737072f8 100644
--- a/data/keyboards/symbols/us.xml
+++ b/data/keyboards/symbols/us.xml
@@ -102,42 +102,52 @@
q
Q
+ 1
w
W
+ 2
e
E
+ 3
r
R
+ 4
t
T
+ 5
y
Y
+ 6
u
U
+ 7
i
I
+ 8
o
O
+ 9
p
P
+ 0
bracketleft
@@ -151,44 +161,53 @@
backslash
bar
-
+
ISO_Level3_Shift
a
A
+ at
s
S
+ numbersign
d
D
+ dollar
f
F
+ percent
g
G
+ ampersand
h
H
+ minus
j
J
+ underscore
k
K
+ braceleft
l
L
+ braceright
semicolon
@@ -207,30 +226,37 @@
z
Z
+ plus
x
X
+ quotedbl
c
C
+ quoteright
v
V
+ colon
b
B
+ semicolon
n
N
+ exclam
m
M
+ question
comma
diff --git a/eek/eek-keysym.c b/eek/eek-keysym.c
index 0f0f6acf..12b8e0d7 100644
--- a/eek/eek-keysym.c
+++ b/eek/eek-keysym.c
@@ -177,7 +177,7 @@ get_modifier_mask (guint xkeysym)
case EEK_KEYSYM_Shift_Lock:
return EEK_SHIFT_MASK;
case EEK_KEYSYM_ISO_Level3_Shift:
- return EEK_MOD5_MASK;
+ return EEK_BUTTON1_MASK;
case EEK_KEYSYM_Control_L:
case EEK_KEYSYM_Control_R:
return EEK_CONTROL_MASK;
diff --git a/eek/eek-xml-layout.c b/eek/eek-xml-layout.c
index 1dc59783..b165f166 100644
--- a/eek/eek-xml-layout.c
+++ b/eek/eek-xml-layout.c
@@ -949,7 +949,7 @@ eek_xml_layout_real_create_keyboard (EekboardContextService *manager,
/* Use pre-defined modifier mask here. */
eek_keyboard_set_num_lock_mask (keyboard, EEK_MOD2_MASK);
- eek_keyboard_set_alt_gr_mask (keyboard, EEK_MOD5_MASK);
+ eek_keyboard_set_alt_gr_mask (keyboard, EEK_BUTTON1_MASK);
return keyboard;
}