Bug#729371: bepo: map AltGr+G to dead_greek instead of mu

2013-11-12 Thread Lionel Vaux
Package: xkb-data
Version: 2.5.1-3
Severity: normal
Tags: patch

Dear Maintainer,

In the Bépo layout of /usr/share/X11/xkb/symbols/fr (partial
alphanumeric_keys xkb_symbols "bepo"), the key  is mapped to
letter "g" (keysym 0x67), with third-level mapped to greek character "µ"
(keysym 0xb5).

This differs from the official Bépo layout as advertised on the project
website[1], where the combination  produces the dead key
 (keysym 0xfe8c), allowing to access greek letters via the
corresponding latin ones.

Attached is a patch to restore the intended symbol.

Another possible (and probably better) fix would be to upgrade
xkeyboard-config to a more recent version:  was
introduced[2] in version 2.6, hence solving #718730 would solve this bug
too.

Cheers,
iouri.

[1] http://bepo.fr
[2] https://bugs.freedesktop.org/show_bug.cgi?id=21475



-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
>From 8795f1d6f0d7e7122c7c1ccc5b4e2208fe7ac9a9 Mon Sep 17 00:00:00 2001
From: Lionel Vaux 
Date: Tue, 12 Nov 2013 12:51:26 +0100
Subject: [PATCH] bepo: map AltGr+G to dead_greek instead of mu

---
 symbols/fr |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/symbols/fr b/symbols/fr
index a1dbb59..c58eb0d 100644
--- a/symbols/fr
+++ b/symbols/fr
@@ -527,7 +527,7 @@ xkb_symbols "bepo" {
 key  { [   k,K, asciitilde ] }; // k K ~
 key  { [  apostrophe, question,   questiondown,  dead_hook ] }; // ' ? ¿ ̉
 key  { [   q,Q, dead_abovering,  dead_belowdot ] }; // q Q ˚ ̣
-key  { [   g,G, mu ] }; // g G µ
+key  { [   g,G, dead_greek ] }; // g G µ
 key  { [   h,H, dagger,   doubledagger ] }; // h H † ‡
 key  { [   f,F,dead_ogonek,ordfeminine ] }; // f F ̨ ª
 
-- 
1.7.10.4



Bug#470944: xkb-data: Duplicate entries for audio keys in section 'inspiron' of 'inet' symbols file

2008-03-14 Thread Lionel Vaux
Package: xkb-data
Version: 0.9-4
Severity: normal


Hi, 

The section about 'inspiron' multimedia keys in file
/usr/share/X11/symbols/inet is: 

  partial alphanumeric_keys
  xkb_symbols "inspiron" {
  key{   [ XF86AudioStop ]   };
  key{   [ XF86AudioNext ]   };
  key{   [ XF86AudioPrev ]   };
  key{   [ XF86AudioNext ]   };
  key{   [ XF86AudioMute ]   };
  key{   [ XF86Eject ]   };
  key{   [ XF86AudioPlay, XF86AudioPause ] };
  key{   [ XF86AudioStop ]   };
  key{   [ XF86AudioLowerVolume  ]   };
  key{   [ XF86AudioRaiseVolume  ]   };
  key   {   [ XF86AudioPrev ]   };
  key   {   [ XF86AudioPlay, XF86AudioPause ] };
  };


This introduces duplicate entries for symbols XF86AudioStop, XF86AudioNext,
XF86AudioPrev, XF86AudioPlay and XF86AudioPause. As a result, launching xev and
pressing, e.g., key Play/Pause results in the following output:

KeyPress event, serial 32, synthetic NO, window 0x1a1,
root 0x5c, subw 0x0, time 2924632689, (168,179), root:(221,230),
state 0x0, keycode 162 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
XKeysymToKeycode returns keycode: 129
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x1a1,
root 0x5c, subw 0x0, time 2924632852, (168,179), root:(221,230),
state 0x0, keycode 162 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
XKeysymToKeycode returns keycode: 129
XLookupString gives 0 bytes: 

(notice the 'XKeysymToKeycode returns keycode: 129' line) and X11 clients do
not handle correctly the corresponding symbols (for instance fluxbox misses
those keypresses).

Removing duplicate entries as follows: 

partial alphanumeric_keys
xkb_symbols "inspiron" {
key{   [ XF86AudioPrev ]   };
key{   [ XF86AudioNext ]   };
key{   [ XF86AudioMute ]   };
key{   [ XF86Eject ]   };
key{   [ XF86AudioPlay, XF86AudioPause ] };
key{   [ XF86AudioStop ]   };
key{   [ XF86AudioLowerVolume  ]   };
key{   [ XF86AudioRaiseVolume  ]   };
};

solved this problem on my Inspiron 6400. The output of xev becomes

  KeyPress event, serial 29, synthetic NO, window 0x1a1,
  root 0x5c, subw 0x0, time 2924325407, (29,-11), root:(82,40),
  state 0x0, keycode 162 (keysym 0x1008ff14, XF86AudioPlay), same_screen 
YES,
  XLookupString gives 0 bytes: 
  XmbLookupString gives 0 bytes: 
  XFilterEvent returns: False
  
  KeyRelease event, serial 32, synthetic NO, window 0x1a1,
  root 0x5c, subw 0x0, time 2924325566, (29,-11), root:(82,40),
  state 0x0, keycode 162 (keysym 0x1008ff14, XF86AudioPlay), same_screen 
YES,
  XLookupString gives 0 bytes: 

and fluxbox catches audio keys correctly.


Cheers,
iouri.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (920, 'stable'), (900, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#391192: xkb-data: Symbols for Logitech Cordless Desktop Optical are lacking

2007-04-23 Thread Lionel VAUX
Hi Brice,

The bug has just been fixed in upstream CVS: see also
http://bugs.freedesktop.org/show_bug.cgi?id=10671

Lionel.

Le mercredi 21 mars 2007 à 20:53, Brice Goglin a écrit:
> Hi Lionel,
> 
> I think this bug still applies to xkb-data 0.9.4. We should probably
> forward it upstream at bugzilla.freedesktop.org. Would you mind doing so
> since your wrote the patch?
> 
> Thanks,
> Brice
> 
> 



Bug#276143: Still present (Re: Bug#276143: altwin:meta_win breaks 3rd level modifier (AltGr))

2006-10-05 Thread Lionel VAUX
Package: xkb-data
Version: 0.8-15
Followup-For: Bug #276143

This bug is still present in versions 0.8-12 (testing) and 0.8-15
(unstable). The patch from Jean-Christophe Dubacq worked for me and
seems to solve a quite longstanding bug. Is there anything wrong with
this patch ?

iouri.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#391192: xkb-data: Symbols for Logitech Cordless Desktop Optical are lacking

2006-10-05 Thread Lionel VAUX
Package: xkb-data
Version: 0.8-15
Severity: normal
Tags: patch

Hi,

/usr/share/X11/xkb/rules/base defines a model name for Logitech Cordless
Desktop Optical: logicdo. This is not used anywhere else in the package,
hence choosing logicdo as keyboard model results in using a default
model. In particular multimedia keys are not supported.

Using base Logitech symbols (logitech_base) enables multimedia keys. A
patch doing this is attached.

Cheers,
iouri.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

-- no debconf information

diff -ur xkb_from_xkb-data_0.8-15_all/rules/base xkb/rules/base
--- xkb_from_xkb-data_0.8-15_all/rules/base 2006-10-04 23:13:00.0 
+0200
+++ xkb/rules/base  2006-10-04 23:21:28.0 +0200
@@ -49,7 +49,7 @@
   hp2501 hp2505 hp5xx hp500fa hp5181 hp5185 \
   hpi6 hpxe3gc hpxe3gf hpxe4xxx hpxt1000 hpzt11xx \
   ipaq inspiron latitude \
-  logiaccess logicdp logicdpa logicdit logicink logiciink 
logiclx300 \
+  logiaccess logicdo logicdp logicdpa logicdit logicink logiciink 
logiclx300 \
   logiinkse logiinkseusb logiitc logiik itouch logiultrax ltcd \
   microsoftinet microsoftpro microsoftprousb microsoftprooem 
microsoftprose \
   microsoftoffice microsoftmult \
diff -ur xkb_from_xkb-data_0.8-15_all/rules/xfree86 xkb/rules/xfree86
--- xkb_from_xkb-data_0.8-15_all/rules/xfree86  2006-10-04 23:13:00.0 
+0200
+++ xkb/rules/xfree86   2006-10-04 23:21:28.0 +0200
@@ -49,7 +49,7 @@
   hp2501 hp2505 hp5xx hp500fa hp5181 hp5185 \
   hpi6 hpxe3gc hpxe3gf hpxe4xxx hpxt1000 hpzt11xx \
   ipaq inspiron latitude \
-  logiaccess logicdp logicdpa logicdit logicink logiciink 
logiclx300 \
+  logiaccess logicdo logicdp logicdpa logicdit logicink logiciink 
logiclx300 \
   logiinkse logiinkseusb logiitc logiik itouch logiultrax ltcd \
   microsoftinet microsoftpro microsoftprousb microsoftprooem 
microsoftprose \
   microsoftoffice microsoftmult \
diff -ur xkb_from_xkb-data_0.8-15_all/rules/xorg xkb/rules/xorg
--- xkb_from_xkb-data_0.8-15_all/rules/xorg 2006-10-04 23:13:00.0 
+0200
+++ xkb/rules/xorg  2006-10-04 23:21:28.0 +0200
@@ -49,7 +49,7 @@
   hp2501 hp2505 hp5xx hp500fa hp5181 hp5185 \
   hpi6 hpxe3gc hpxe3gf hpxe4xxx hpxt1000 hpzt11xx \
   ipaq inspiron latitude \
-  logiaccess logicdp logicdpa logicdit logicink logiciink 
logiclx300 \
+  logiaccess logicdo logicdp logicdpa logicdit logicink logiciink 
logiclx300 \
   logiinkse logiinkseusb logiitc logiik itouch logiultrax ltcd \
   microsoftinet microsoftpro microsoftprousb microsoftprooem 
microsoftprose \
   microsoftoffice microsoftmult \
diff -ur xkb_from_xkb-data_0.8-15_all/symbols/inet xkb/symbols/inet
--- xkb_from_xkb-data_0.8-15_all/symbols/inet   2006-10-04 23:13:00.0 
+0200
+++ xkb/symbols/inet2006-10-04 23:21:28.0 +0200
@@ -1366,6 +1366,12 @@
 include "inet(logitech_base)"
 };
 
+// Logitech Cordless Desktop Optical
+partial alphanumeric_keys
+xkb_symbols "logicdo" {
+include "inet(logitech_base)"
+};
+
 // Logitech Cordless Desktop Pro
 partial alphanumeric_keys
 xkb_symbols "logicdp" {
diff -ur xkb_from_xkb-data_0.8-15_all/symbols.dir xkb/symbols.dir
--- xkb_from_xkb-data_0.8-15_all/symbols.dir2006-10-04 23:13:00.0 
+0200
+++ xkb/symbols.dir 2006-10-04 23:21:28.0 +0200
@@ -329,6 +329,7 @@
 --p- a--- inet(latitude)
 --p- a--- inet(logiaccess)
 --p- a--- inet(logicdit)
+--p- a--- inet(logicdo)
 --p- a--- inet(logicdp)
 --p- a--- inet(logicdpa)
 --p- a--- inet(logiciink)



Bug#241034: xlibs: Same problem

2004-04-02 Thread Lionel Vaux
Package: xlibs
Version: 4.3.0-7
Severity: normal
Followup-For: Bug #241034

Hi,

I have the same problem, and maybe one piece of information : X also
outputs the following error message (even when simply running X instead
of xinit or startx) :

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:Meta_L added to symbol map for multiple modifiers
>   Using Mod4, ignoring Mod1.
Errors from xkbcomp are not fatal to the X server

I also noticed that AltGr now "cancels" Compose, while it used to work
fine before : 
* the previous behaviour was that you could press Compose, then issue a
combination AltGr+ (e.g. to get a circumflex accent) and then a 
letter and that would combine the symbol with the letter (you got an 
accented letter);
* now if you press compose then issue AltGr+ you immediately get
the accent.
Note that when you don't use AltGr it works just fine (e.g. Compose
then ' then e gives é).

This is a change since upgrading to 4.3, so it might be linked with the
other problem.

I tried to mess with the files in /etc/X11/xkb with no success.

I hope this helps,
Lionel.


-- Package-specific info:
Keyboard-related contents of XFree86 X server log file
/var/log/XFree86.0.log:
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "Carte vidéo générique"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "fr"
(**) XKB: layout: "fr"
(**) Option "XkbOptions" "altwin:left_meta_win,compose:menu"
(**) XKB: options: "altwin:left_meta_win,compose:menu"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Synaptics Touchpad"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Generic Mouse"
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
--
(**) SAVAGE(0): DPMS enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Keyboard "Generic Keyboard" handled by legacy driver
(II) Synaptics touchpad driver version 0.12.4
(--) Synaptics Touchpad auto-dev sets Synaptics Device to /dev/input/event1
(**) Option "Device" "/dev/input/event1"
(**) Option "SHMConfig" "on"
(**) Option "LeftEdge" "1700"

XFree86 X server log files on system:
-rw-r--r--1 root root35259 2004-04-02 18:14 
/var/log/XFree86.0.log


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-garion-20040302-2322
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages xlibs depends on:
ii  libice6   4.3.0-7Inter-Client Exchange library
ii  libsm64.3.0-7X Window System Session Management
ii  libx11-6  4.3.0-7X Window System protocol client li
ii  libxext6  4.3.0-7X Window System miscellaneous exte
ii  libxft1   4.3.0-7FreeType-based font drawing librar
ii  libxi64.3.0-7X Window System Input extension li
ii  libxmu6   4.3.0-7X Window System miscellaneous util
ii  libxmuu1  4.3.0-7lightweight X Window System miscel
ii  libxp64.3.0-7X Window System printing extension
ii  libxpm4   4.3.0-7X pixmap library
ii  libxrandr24.3.0-7X Window System Resize, Rotate and
ii  libxt64.3.0-7X Toolkit Intrinsics
ii  libxtrap6 4.3.0-7X Window System protocol-trapping 
ii  libxtst6  4.3.0-7X Window System event recording an
ii  xlibs-data4.3.0-7X Window System client data

-- no debconf information