Bug#201737: map LWIN to Mode_switch

2004-06-07 Thread Branden Robinson
On Wed, Jun 02, 2004 at 09:33:37AM +0200, Sebastian Henschel wrote:
> * Branden Robinson <[EMAIL PROTECTED]> [2004-06-02 09:02 +0200]:
> > Well, that's the downside to this solution.  You have to know by
> > convention or by reading XKB configuration, as Macintosh keyboards are
> > not engraved with any such keycap.
> 
> so you do not know either? playing around, i found out that fn+alt seems
> to be RALT. note that it is important to hit fn first.

Ah; I didn't know that.

> though i personally do not like it that much this way. this might not be
> part of your responsibilities, but the default configuration of the
> keyboard is to use alt+fn to use the F-keys, where it is important to hit
> alt first. this is a tad irritating.

Fn+ is implemented in hardware; there is no way to change it or
disable it that I know of.

A good way to find out what's done in hardware is to use the "xev" X
client (from xbase-clients) or the "showkey" command at the Linux
virtual console.

> anyway, your british keymap works when you know which RALT is. thank you
> very much. :)

Glad to hear it!

[...]
> > You're looking for a file called "group", with a section "switch", as
> > pasted above.
> 
> okay, found it.

Good!

Thanks for your help figuring out what's going on with UK Macintosh
keyboards.  :)

-- 
G. Branden Robinson| The more ridiculous a belief
Debian GNU/Linux   | system, the higher the probability
[EMAIL PROTECTED] | of its success.
http://people.debian.org/~branden/ | -- Wayne R. Bartz


signature.asc
Description: Digital signature


Bug#201737: map LWIN to Mode_switch

2004-06-02 Thread Sebastian Henschel
hello...

* Branden Robinson <[EMAIL PROTECTED]> [2004-06-02 09:02 +0200]:
> On Tue, Jun 01, 2004 at 06:01:54PM +0200, Sebastian Henschel wrote:
> > * Branden Robinson <[EMAIL PROTECTED]> [2004-05-31 19:13 +0200]:
> > > All you'll need is this for configuration.
> > > 
> > > XkbRules  xfree86
> > > XkbModel  macintosh
> > > XkbLayout gb
> > > 
> > > I realized that U.K. Macintosh people are already going to need a way to
> > > type the EuroSign as engraved, so people are going to have to learn
> > > about a "Mode Switch" or "AltGr" key no matter what.
> > > 
> > > So I went ahead and treated the number sign as a simple unengraved
> > > alternate group keycap, which is probably what everybody wanted in the
> > > first place.
> > > 
> > > I've tested this on my own keyboard and it seems to do what I expect.
> > 
> > the question is, which should be the key to "mode switch" / "altgr" in
> > your configuration? the apple (lwin) key?
> 
> Well, that's the downside to this solution.  You have to know by
> convention or by reading XKB configuration, as Macintosh keyboards are
> not engraved with any such keycap.

so you do not know either? playing around, i found out that fn+alt seems
to be RALT. note that it is important to hit fn first.
though i personally do not like it that much this way. this might not be
part of your responsibilities, but the default configuration of the
keyboard is to use alt+fn to use the F-keys, where it is important to hit
alt first. this is a tad irritating.

anyway, your british keymap works when you know which RALT is. thank you
very much. :)

> $ cat /etc/X11/xkb/symbols/group
> 
> // $Xorg: group,v 1.3 2000/08/17 19:54:43 cpqbld Exp $
> // using the group(switch) map, the right alt key temporarily chooses 
> // the second keyboard group (until it is released).
> //
> // $XFree86: xc/programs/xkbcomp/symbols/group,v 3.8 2003/01/20 03:48:39 
> dawes Exp $
> partial modifier_keys 
> xkb_symbols "switch" {
> key {   
>   symbols[Group1]= [  Mode_switch, Multi_key  ],
>   virtualMods= AltGr
> };
> };
> [...]
> 
> So it's the right Alt key by default.
> 
> > actually, i cannot find the file "switch" in my current installation.
> > well, i do not know if such a file _should_ exist, anyway. :) so i
> > have to map LWIN to do Mode_switch (and Multi_key when shifted)) in
> > the file "gb" directly to make it work.  which package should "switch"
> > be in? i am currently with many xfree packages from testing (dfsg.1-1)
> > and the following from unstable (dfsg.1-4): x-window-system,
> > x-window-system-core, xbase-clients, xfree86-common, xlibs,
> > xlibs-data, xterm, xutils.
> 
> You're looking for a file called "group", with a section "switch", as
> pasted above.

okay, found it.

bye,
 sebastian
-- 
::: .O.
::: ..O
::: OOO
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import


signature.asc
Description: Digital signature


Bug#201737: map LWIN to Mode_switch

2004-06-02 Thread Branden Robinson
On Tue, Jun 01, 2004 at 06:01:54PM +0200, Sebastian Henschel wrote:
> * Branden Robinson <[EMAIL PROTECTED]> [2004-05-31 19:13 +0200]:
> > All you'll need is this for configuration.
> > 
> > XkbRulesxfree86
> > XkbModelmacintosh
> > XkbLayout   gb
> > 
> > I realized that U.K. Macintosh people are already going to need a way to
> > type the EuroSign as engraved, so people are going to have to learn
> > about a "Mode Switch" or "AltGr" key no matter what.
> > 
> > So I went ahead and treated the number sign as a simple unengraved
> > alternate group keycap, which is probably what everybody wanted in the
> > first place.
> > 
> > I've tested this on my own keyboard and it seems to do what I expect.
> 
> the question is, which should be the key to "mode switch" / "altgr" in
> your configuration? the apple (lwin) key?

Well, that's the downside to this solution.  You have to know by
convention or by reading XKB configuration, as Macintosh keyboards are
not engraved with any such keycap.

$ cat /etc/X11/xkb/symbols/group

// $Xorg: group,v 1.3 2000/08/17 19:54:43 cpqbld Exp $
// using the group(switch) map, the right alt key temporarily chooses 
// the second keyboard group (until it is released).
//
// $XFree86: xc/programs/xkbcomp/symbols/group,v 3.8 2003/01/20 03:48:39 dawes 
Exp $
partial modifier_keys 
xkb_symbols "switch" {
key   {   
symbols[Group1]= [  Mode_switch, Multi_key  ],
virtualMods= AltGr
};
};
[...]

So it's the right Alt key by default.

> actually, i cannot find the file "switch" in my current installation.
> well, i do not know if such a file _should_ exist, anyway. :) so i
> have to map LWIN to do Mode_switch (and Multi_key when shifted)) in
> the file "gb" directly to make it work.  which package should "switch"
> be in? i am currently with many xfree packages from testing (dfsg.1-1)
> and the following from unstable (dfsg.1-4): x-window-system,
> x-window-system-core, xbase-clients, xfree86-common, xlibs,
> xlibs-data, xterm, xutils.

You're looking for a file called "group", with a section "switch", as
pasted above.

-- 
G. Branden Robinson|I'm sorry if the following sounds
Debian GNU/Linux   |combative and excessively personal,
[EMAIL PROTECTED] |but that's my general style.
http://people.debian.org/~branden/ |-- Ian Jackson


signature.asc
Description: Digital signature


Bug#201737: map LWIN to Mode_switch

2004-06-01 Thread Sebastian Henschel
hello again..

* Branden Robinson <[EMAIL PROTECTED]> [2004-05-31 19:13 +0200]:
> I think I've got it now.

mostly, though i believe it is a user error now..

> All you'll need is this for configuration.
> 
> XkbRules  xfree86
> XkbModel  macintosh
> XkbLayout gb
> 
> I realized that U.K. Macintosh people are already going to need a way to
> type the EuroSign as engraved, so people are going to have to learn
> about a "Mode Switch" or "AltGr" key no matter what.
> 
> So I went ahead and treated the number sign as a simple unengraved
> alternate group keycap, which is probably what everybody wanted in the
> first place.
> 
> I've tested this on my own keyboard and it seems to do what I expect.

the question is, which should be the key to "mode switch" / "altgr" in
your configuration? the apple (lwin) key?

> Please let me know if it does what *you* expect.

[...]

> xkb_symbols "basic" {
> 
> // Describe the differences between a U.S. Extended Macintosh keyboard
> // and a U.K. Extended Macintosh keyboard.
> 
> name[Group1]="Great Britain";
> 
> key  {  [ section,  plusminus   ]   };
> key  {  [],
>   [EuroSign   ]   };
> key  {  [   3,  sterling],
>   [  numbersign   ]   };
> key  {  [   quoteleft,  asciitilde  ]   };
> 
> include "group(switch)"
> };

actually, i cannot find the file "switch" in my current installation. well, i 
do not know if such a file _should_ exist, anyway. :)
so i have to map LWIN to do Mode_switch (and Multi_key when shifted)) in the
file "gb" directly to make it work.
which package should "switch" be in? i am currently with many xfree packages
from testing (dfsg.1-1) and the following from unstable (dfsg.1-4):
x-window-system, x-window-system-core, xbase-clients, xfree86-common,
xlibs, xlibs-data, xterm, xutils.

thanks,
 sebastian
-- 
::: .O.
::: ..O
::: OOO
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import


signature.asc
Description: Digital signature


Bug#201737: map LWIN to Mode_switch

2004-06-01 Thread Branden Robinson
On Mon, May 31, 2004 at 06:07:46PM +0100, Mark Brown wrote:
> On Mon, May 31, 2004 at 11:12:57AM -0500, Branden Robinson wrote:
> 
> > So I went ahead and treated the number sign as a simple unengraved
> > alternate group keycap, which is probably what everybody wanted in the
> > first place.
> 
> Yes, that looks to be about what Apple do too.
> 
> > Please let me know if it does what *you* expect.
> 
> It seems to.
> 
> Thanks!

Wonderful.  Sorry it took almost a year to fix this damn thing.  :(

-- 
G. Branden Robinson|
Debian GNU/Linux   | Cogitationis poenam nemo meretur.
[EMAIL PROTECTED] |
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


Bug#201737: map LWIN to Mode_switch

2004-05-31 Thread Mark Brown
On Mon, May 31, 2004 at 11:12:57AM -0500, Branden Robinson wrote:

> So I went ahead and treated the number sign as a simple unengraved
> alternate group keycap, which is probably what everybody wanted in the
> first place.

Yes, that looks to be about what Apple do too.

> Please let me know if it does what *you* expect.

It seems to.

Thanks!

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."




Bug#201737: map LWIN to Mode_switch

2004-05-31 Thread Mark Brown
On Mon, May 31, 2004 at 05:12:08PM +0100, Mark Brown wrote:

> previously I wasn't able to type a EuroSymbol with the existing setup
> but adding:

> key  {[   2,  quotedbl],
> [EuroSign   ]

> to the group in /etc/X11/xkb/symbols/macintosh/gb sorted that out.

Err, clearly that's actually:

key  {[   2,  at  ],
[EuroSign   ]  };

Sorry.

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."




Bug#201737: map LWIN to Mode_switch

2004-05-31 Thread Branden Robinson
I think I've got it now.

All you'll need is this for configuration.

XkbRulesxfree86
XkbModelmacintosh
XkbLayout   gb

I realized that U.K. Macintosh people are already going to need a way to
type the EuroSign as engraved, so people are going to have to learn
about a "Mode Switch" or "AltGr" key no matter what.

So I went ahead and treated the number sign as a simple unengraved
alternate group keycap, which is probably what everybody wanted in the
first place.

I've tested this on my own keyboard and it seems to do what I expect.

Please let me know if it does what *you* expect.

I've attached two files.

One is a new version of the file /etc/X11/xkb/symbols/macintosh/gb; the
other is a diff between the stock version of that file in xlibs
4.3.0.dfsg.1-4 and my modified version.

Please confirm that this (finally) works as you desire and as a U.K.
Macintosh keyboard user would reasonably expect, and I will push Fabio
to let me include this in -5.

Thank you!

-- 
G. Branden Robinson| Exercise your freedom of religion.
Debian GNU/Linux   | Set fire to a church of your
[EMAIL PROTECTED] | choice.
http://people.debian.org/~branden/ |
// $XConsortium: gb /main/3 1996/08/31 12:19:51 kaleb $
// $XFree86: xc/programs/xkbcomp/symbols/macintosh/gb,v 1.1 2000/09/19 12:46:25 
eich Exp $

partial default alphanumeric_keys
xkb_symbols "basic" {

// Describe the differences between a U.S. Extended Macintosh keyboard
// and a U.K. Extended Macintosh keyboard.

name[Group1]="Great Britain";

key  {[ section,  plusminus   ]   };
key  {[],
[EuroSign   ]   };
key  {[   3,  sterling],
[  numbersign   ]   };
key  {[   quoteleft,  asciitilde  ]   };

include "group(switch)"
};
--- /etc/X11/xkb/symbols/macintosh/gb~  2004-05-31 10:46:48.0 -0500
+++ /etc/X11/xkb/symbols/macintosh/gb   2004-05-31 11:06:13.0 -0500
@@ -1,19 +1,20 @@
 // $XConsortium: gb /main/3 1996/08/31 12:19:51 kaleb $
 // $XFree86: xc/programs/xkbcomp/symbols/macintosh/gb,v 1.1 2000/09/19 
12:46:25 eich Exp $
-partial default alphanumeric_keys 
-xkb_symbols "basic" {
 
-// Describes the differences between a very simple en_US
-// keyboard and a very simple U.K. keyboard layout
+partial default alphanumeric_keys
+xkb_symbols "basic" {
 
+// Describe the differences between a U.S. Extended Macintosh keyboard
+// and a U.K. Extended Macintosh keyboard.
 
-name[Group1]= "Great Britain";
+name[Group1]="Great Britain";
 
-key  {   [   3,sterling  ],
+key  {   [ section,  plusminus   ]   };
+key  {   [],
+   [EuroSign   ]   };
+key  {   [   3,  sterling],
[  numbersign   ]   };
+key  {   [   quoteleft,  asciitilde  ]   };
 
-// End alphanumeric section
-
+include "group(switch)"
 };
-
-


signature.asc
Description: Digital signature


Bug#201737: map LWIN to Mode_switch

2004-05-31 Thread Mark Brown
On Mon, May 31, 2004 at 10:25:23AM -0500, Branden Robinson wrote:

> See /etc/X11/xkb/rules/xfree86 for a list of legal option names.  They
> use "grp" instead of "group".

That did the trick - I can now type # with a UK keymap.  As mentioned
previously I wasn't able to type a EuroSymbol with the existing setup
but adding:

key  {[   2,  quotedbl],
[EuroSign   ]

to the group in /etc/X11/xkb/symbols/macintosh/gb sorted that out.

Thanks!

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."




Bug#201737: map LWIN to Mode_switch

2004-05-31 Thread Branden Robinson
On Sat, May 29, 2004 at 03:13:27PM +0100, Mark Brown wrote:
> On Fri, May 28, 2004 at 04:38:27AM -0500, Branden Robinson wrote:
> 
> > XkbRulesxfree86
> > XkbModelmacintosh
> > XkbLayout   gb
> > XkbOptions  group:lwin_switch
> 
> > Mark, between this and the modification to 
> > /etc/X11/xkb/symbols/macintosh/gb I
> > sent you last July, are your problems resolved?
> 
> Turning on that option I still can't seem to generate a number symbol
> (or, I notice the Euro symbol which is the third character on 2).  My
> keyboard configuration is:
> 
> Section "InputDevice"
> Identifier  "Generic Keyboard"
> Driver  "keyboard"
> Option  "CoreKeyboard"
> Option  "XkbRules"  "xfree86"
> Option  "XkbModel"  "macintosh"
> Option  "XkbLayout" "gb"
> Option  "XkbOptions""ctrl:nocaps,group:lwin_switch"
> EndSection
> 
> I've tried all the modifier keys I can think of but this could still be
> user error.

Sorry, I forgot about an annoying feature of the XKB client utilties.

An option name is ignored if it's not recongized.

See /etc/X11/xkb/rules/xfree86 for a list of legal option names.  They
use "grp" instead of "group".

You can see the recognized selections within the group file as well.

I myself did get success in seeing mode_switch key events with:

setxkbmap -rules xfree86 -model pc104 -layout gb -option ctrl:nocaps,grp:switch

...but could not produce any particular special symbols this way.

-- 
G. Branden Robinson|  "To be is to do"   -- Plato
Debian GNU/Linux   |  "To do is to be"   -- Aristotle
[EMAIL PROTECTED] |  "Do be do be do"   -- Sinatra
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


Bug#201737: map LWIN to Mode_switch

2004-05-30 Thread Mark Brown
On Sun, May 30, 2004 at 04:35:43AM -0500, Branden Robinson wrote:

> With the above configuration, can you use xev and tell us what key
> events are reported when you press the Left Apple/Bucky key?

Keycode 115, (keysym 0xffe7, Meta_L)

> Just for giggles, how about Left Alt?

Keycode 64, (keysym 0xffe9, Alt_L)

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."




Bug#201737: map LWIN to Mode_switch

2004-05-30 Thread Branden Robinson
On Sat, May 29, 2004 at 03:13:27PM +0100, Mark Brown wrote:
> On Fri, May 28, 2004 at 04:38:27AM -0500, Branden Robinson wrote:
> 
> > XkbRulesxfree86
> > XkbModelmacintosh
> > XkbLayout   gb
> > XkbOptions  group:lwin_switch
> 
> > Mark, between this and the modification to 
> > /etc/X11/xkb/symbols/macintosh/gb I
> > sent you last July, are your problems resolved?
> 
> Turning on that option I still can't seem to generate a number symbol
> (or, I notice the Euro symbol which is the third character on 2).  My
> keyboard configuration is:
> 
> Section "InputDevice"
> Identifier  "Generic Keyboard"
> Driver  "keyboard"
> Option  "CoreKeyboard"
> Option  "XkbRules"  "xfree86"
> Option  "XkbModel"  "macintosh"
> Option  "XkbLayout" "gb"
> Option  "XkbOptions""ctrl:nocaps,group:lwin_switch"
> EndSection

Damn, damn, DAMN!  Everytime I think I have learned something about XKB,
reality laughs in my face.

> I've tried all the modifier keys I can think of but this could still be
> user error.

With the above configuration, can you use xev and tell us what key
events are reported when you press the Left Apple/Bucky key?

Just for giggles, how about Left Alt?

-- 
G. Branden Robinson| When I die I want to go peacefully
Debian GNU/Linux   | in my sleep like my ol' Grand
[EMAIL PROTECTED] | Dad...not screaming in terror like
http://people.debian.org/~branden/ | his passengers.


signature.asc
Description: Digital signature


Bug#201737: map LWIN to Mode_switch

2004-05-29 Thread Mark Brown
On Fri, May 28, 2004 at 04:38:27AM -0500, Branden Robinson wrote:

> XkbRules  xfree86
> XkbModel  macintosh
> XkbLayout gb
> XkbOptionsgroup:lwin_switch

> Mark, between this and the modification to /etc/X11/xkb/symbols/macintosh/gb I
> sent you last July, are your problems resolved?

Turning on that option I still can't seem to generate a number symbol
(or, I notice the Euro symbol which is the third character on 2).  My
keyboard configuration is:

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "macintosh"
Option  "XkbLayout" "gb"
Option  "XkbOptions""ctrl:nocaps,group:lwin_switch"
EndSection

I've tried all the modifier keys I can think of but this could still be
user error.

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."




Bug#201737: map LWIN to Mode_switch

2004-05-28 Thread Branden Robinson
On Fri, May 28, 2004 at 12:08:15PM +0100, Mark Brown wrote:
> On Fri, May 28, 2004 at 04:38:27AM -0500, Branden Robinson wrote:
> 
> > How often do British secretaries need to be able to type a number sign
> > ("#")?
> 
> Very infrequently, it's just not commonly used in the UK.

So it wouldn't be completely unreasonable, then, to use a default layout
in the UK that doesn't allow one to type it?

I suspect the direction the debconf questions are going to go
keyboard-wise is to document a whole bunch of XKB options.

Another thing we're trying to do is have much smarter defaults based on
d-i answers to keyboard configuration questions.

-- 
G. Branden Robinson|  The greatest productive force is
Debian GNU/Linux   |  human selfishness.
[EMAIL PROTECTED] |  -- Robert Heinlein
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


Bug#201737: map LWIN to Mode_switch

2004-05-28 Thread Branden Robinson
On Fri, May 28, 2004 at 12:11:53PM +0200, Sebastian Henschel wrote:
> * Branden Robinson <[EMAIL PROTECTED]> [2004-05-28 12:04 +0200]:
> > Do all British Macintosh keyboard users really expect the left Apple key
> > to work as a mode switch (I think "group shift" would be a less confusing 
> > term,
> > but they didn't put me in charge of the nomenclature) and (when shifted) a
> > compose key?
> 
> dunno, it is just that there is no Alt_GR and Alt does not do the
> mode_switch, so i suppose the apple key is the one to go for. :)

Yeah, I'm just pointing out how the choice of key is at least somewhat
arbitrary and non-intuitive, thanks to the lack of an AltGr engraving on
any key.

> > How often do British secretaries need to be able to type a number sign
> > ("#")?
> 
> dunno, the specific machine at hand is for an italian professor (not
> me). and i believe him to type the number sign when programming on his
> computer.

Okay, then he would qualify as a "geek or programmer" as I stated.  :)

> > I suspect that this is a customization best left to geeks and
> > programmers by using one of the specialized symbol maps for this
> > purpose, e.g.:
> > 
> > XkbRulesxfree86
> > XkbModelmacintosh
> > XkbLayout   gb
> > XkbOptions  group:lwin_switch
> 
> aha, did not know that one...

Does the above work for him/you?

-- 
G. Branden Robinson|I've made up my mind.  Don't try to
Debian GNU/Linux   |confuse me with the facts.
[EMAIL PROTECTED] |-- Indiana Senator Earl Landgrebe
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


Bug#201737: map LWIN to Mode_switch

2004-05-28 Thread Mark Brown
On Fri, May 28, 2004 at 04:38:27AM -0500, Branden Robinson wrote:

> How often do British secretaries need to be able to type a number sign
> ("#")?

Very infrequently, it's just not commonly used in the UK.

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."




Bug#201737: map LWIN to Mode_switch

2004-05-28 Thread Sebastian Henschel
hello branden...

* Branden Robinson <[EMAIL PROTECTED]> [2004-05-28 12:04 +0200]:
> 
> On Mon, May 24, 2004 at 03:10:18PM +0200, Sebastian Henschel wrote:
> > 
> > it is not discussed here and the initial bug reporter wrote that
> > everything is fine with the additions from brandon robinson. but it is
> > not. one item is missing in the gb symbol table:
> > 
> > key{ [ Mode_switch, Multi_key  ] };
> > 
> > without that, i cannot generate the numbersign when hitting the apple
> > key and 3. that snippet was taken from the german symbol table for 
> > macintosh,
> > btw.
> 
> Do all British Macintosh keyboard users really expect the left Apple key
> to work as a mode switch (I think "group shift" would be a less confusing 
> term,
> but they didn't put me in charge of the nomenclature) and (when shifted) a
> compose key?

dunno, it is just that there is no Alt_GR and Alt does not do the
mode_switch, so i suppose the apple key is the one to go for. :)

> How often do British secretaries need to be able to type a number sign
> ("#")?

dunno, the specific machine at hand is for an italian professor (not
me). and i believe him to type the number sign when programming on his
computer.

> I suspect that this is a customization best left to geeks and
> programmers by using one of the specialized symbol maps for this
> purpose, e.g.:
> 
> XkbRules  xfree86
> XkbModel  macintosh
> XkbLayout gb
> XkbOptionsgroup:lwin_switch
> 
> (Note, the latter consists of:
> 
>   // using the group(lwin_switch) map, the left Windows' logo key
>   // temporarily chooses the second keyboard group (until it is
>   // released).  If you use this map, you would declare you keyboard as
>   // pc101 or pc102 instead of pc104 or pc105.
>   partial modifier_keys
>   xkb_symbols "lwin_switch" {
> key  {
>   symbols[Group1] = [ Mode_switch, Multi_key ],
>   virtualMods= AltGr
>   };
>   };
> 
> )

aha, did not know that one...

thank,
 sebastian
-- 
::: .O.
::: ..O
::: OOO
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import


signature.asc
Description: Digital signature


Bug#201737: map LWIN to Mode_switch

2004-05-28 Thread Branden Robinson
retitle 201737 xlibs: cannot type # on UK Macintosh keyboard 
(xfree86/macintosh/gb)
reassign 201737 xlibs
tag 201737 + moreinfo
thanks

On Mon, May 24, 2004 at 03:10:18PM +0200, Sebastian Henschel wrote:
> hi there...
> 
> it is not discussed here and the initial bug reporter wrote that
> everything is fine with the additions from brandon robinson. but it is
> not. one item is missing in the gb symbol table:
> 
> key{ [ Mode_switch, Multi_key  ] };
> 
> without that, i cannot generate the numbersign when hitting the apple
> key and 3. that snippet was taken from the german symbol table for macintosh,
> btw.

Do all British Macintosh keyboard users really expect the left Apple key
to work as a mode switch (I think "group shift" would be a less confusing term,
but they didn't put me in charge of the nomenclature) and (when shifted) a
compose key?

How often do British secretaries need to be able to type a number sign
("#")?

I suspect that this is a customization best left to geeks and
programmers by using one of the specialized symbol maps for this
purpose, e.g.:

XkbRulesxfree86
XkbModelmacintosh
XkbLayout   gb
XkbOptions  group:lwin_switch

(Note, the latter consists of:

  // using the group(lwin_switch) map, the left Windows' logo key
  // temporarily chooses the second keyboard group (until it is
  // released).  If you use this map, you would declare you keyboard as
  // pc101 or pc102 instead of pc104 or pc105.
  partial modifier_keys
  xkb_symbols "lwin_switch" {
key  {
  symbols[Group1] = [ Mode_switch, Multi_key ],
  virtualMods= AltGr
  };
  };

)

Mark, between this and the modification to /etc/X11/xkb/symbols/macintosh/gb I
sent you last July, are your problems resolved?

If so, I'll queue up the changes for a future package release.

-- 
G. Branden Robinson|Fair use is irrelevant and
Debian GNU/Linux   |improper.
[EMAIL PROTECTED] |-- Asst. U.S. Attorney Scott
http://people.debian.org/~branden/ |Frewing, explaining the DMCA


signature.asc
Description: Digital signature


Processed: Re: Bug#201737: map LWIN to Mode_switch

2004-05-28 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> retitle 201737 xlibs: cannot type # on UK Macintosh keyboard 
> (xfree86/macintosh/gb)
Bug#201737: No # on UK Powerbook keyboard
Changed Bug title.

> reassign 201737 xlibs
Bug#201737: xlibs: cannot type # on UK Macintosh keyboard (xfree86/macintosh/gb)
Bug reassigned from package `xserver-xfree86' to `xlibs'.

> tag 201737 + moreinfo
Bug#201737: xlibs: cannot type # on UK Macintosh keyboard (xfree86/macintosh/gb)
There were no tags set.
Tags added: moreinfo

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



Bug#201737: map LWIN to Mode_switch

2004-05-24 Thread Sebastian Henschel
hi there...

it is not discussed here and the initial bug reporter wrote that
everything is fine with the additions from brandon robinson. but it is
not. one item is missing in the gb symbol table:

key{ [ Mode_switch, Multi_key  ] };

without that, i cannot generate the numbersign when hitting the apple
key and 3. that snippet was taken from the german symbol table for macintosh,
btw.

thanks,
 sebastian
-- 
::: .O.
::: ..O
::: OOO
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import


signature.asc
Description: Digital signature