xkeyboard-config add repo

This commit is contained in:
burakerturk
2015-07-18 01:37:08 +03:00
parent c2025abcf7
commit 40b88fe2c7
6 changed files with 206 additions and 0 deletions
@@ -0,0 +1,10 @@
Section "InputClass"
Identifier "Keyboard Options"
MatchIsKeyboard "on"
#Option "xkb_rules" "evdev"
#Option "xkb_model" "evdev"
#Option "xkb_options" "ctrl:nocaps,kpdl:dot,terminate:ctrl_alt_bksp"
#Option "xkb_layout" "tr"
#Option "xkb_variant" "f"
EndSection
@@ -0,0 +1,29 @@
ACTION!="add|change", GOTO="xkb_end"
ENV{ID_INPUT_KEYBOARD}!="?*", GOTO="xkb_end"
IMPORT{cmdline}="xkeymap"
ENV{xkeymap}=="?*", PROGRAM="/bin/sh -c 'echo $env{xkeymap} | tr : \\t'", ENV{xkblayout}="%c{1}"
ENV{xkeymap}=="?*:?*", ENV{xkbvariant}="%c{2}"
ENV{xkeymap}=="?*", GOTO="xkb_end"
# If a cmdline option is not given, use the configuration
# snippet (/etc/X11/xorg.conf.d/00-configured-keymap.conf).
ENV{ID_INPUT.tags}="use_configured_keymap"
IMPORT{file}="/etc/env.d/03locale"
ENV{LANG}=="?*", PROGRAM="/bin/sh -c 'echo $${LANG,,} | tr .@_ \\t'", ENV{.language}="%c{1}", ENV{.territory}="%c{2}"
ENV{.language}=="ar", ENV{xkblayout}="ara"
ENV{.language}=="el", ENV{xkblayout}="gr"
ENV{.language}=="es", ENV{.territory}!="es", ENV{xkblayout}="latam"
ENV{.language}=="sr", ENV{xkblayout}="rs"
ENV{.language}=="tr", ENV{xkblayout}="tr"
# See Pardus Bugzilla #4271
ENV{.territory}=="nl", ENV{xkblayout}="us", ENV{xkbvariant}="intl"
ENV{.territory}=="?*", ENV{xkblayout}!="?*", ENV{xkblayout}="$env{.territory}"
LABEL="xkb_end"
@@ -0,0 +1,31 @@
From 824ce3a400a452929f90a038033c83055c01a2d7 Mon Sep 17 00:00:00 2001
From: Fedora X Ninjas <x@fedoraproject.org>
Date: Mon, 24 Nov 2008 12:59:09 +1000
Subject: [PATCH] Map TLDE to Zenkaku/Hankaku in jp, and BKSL to bracket/brace right (#469537).
This patch is only needed for jp on a non-jp106 keyboard model.
---
symbols/jp | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/symbols/jp b/symbols/jp
index 694090c..ef0b0f7 100644
--- a/symbols/jp
+++ b/symbols/jp
@@ -24,6 +24,13 @@ xkb_symbols "common" {
symbols[Group1]= [ Zenkaku_Hankaku, Kanji ]
};
+ key <TLDE> {
+ type[Group1]="PC_ALT_LEVEL2",
+ symbols[Group1]= [ Zenkaku_Hankaku, Kanji ]
+ };
+
+ key <BKSL> { [ bracketright, braceright ] };
+
key <AE01> { [ 1, exclam ] };
key <AE02> { [ 2, quotedbl ] };
key <AE03> { [ 3, numbersign ] };
--
1.6.0.3