'Windows key' keycodes

'Windows key' keycodes

Post by John S. J. Anderso » Wed, 26 Jul 2000 04:00:00



Greetings

I'm using a MS Natural keyboard with a Sun Ultra 10, through a Sible
PS2 interface converter. Currently, I've got the left Alt key set up
as Meta_L and the right Alt key as Alt_L. I'd like to make the
'Windows' keys = Alt_L and Alt_R and the Alt keys Meta_L and Meta_R,
but I can't seem to find out what keycode the Windows keys are
generating. xkeycaps tells me that the Windows key is being grabbed by
the X server, or something (exact error message on request).

Any pointers welcomed.

john.

--
------------------------------------------------------------------------
John S J Anderson                                           NCBI,NLM,NIH
IRTA Fellow                                              Bldg 38A, B2N14  

 
 
 

'Windows key' keycodes

Post by jrm.. » Fri, 28 Jul 2000 04:00:00


Hi John
in /usr/openwin/demo is a tool called xev which will tell you the
keycode of the Windows key



Quote:> Greetings

> I'm using a MS Natural keyboard with a Sun Ultra 10, through a Sible
> PS2 interface converter. Currently, I've got the left Alt key set up
> as Meta_L and the right Alt key as Alt_L. I'd like to make the
> 'Windows' keys = Alt_L and Alt_R and the Alt keys Meta_L and Meta_R,
> but I can't seem to find out what keycode the Windows keys are
> generating. xkeycaps tells me that the Windows key is being grabbed by
> the X server, or something (exact error message on request).

> Any pointers welcomed.

> john.

> --

------------------------------------------------------------------------

> John S J Anderson
NCBI,NLM,NIH
> IRTA Fellow                                              Bldg 38A,
B2N14

301.594.6087

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

'Windows key' keycodes

Post by John S. J. Anderso » Fri, 28 Jul 2000 04:00:00


jrm> Hi John in /usr/openwin/demo is a tool called xev which will tell
jrm> you the keycode of the Windows key

Unfortunately not the case on this particular box:

[janderso in /]-> find /usr -name 'xev' -print
find: cannot read dir /usr/lost+found: Permission denied
[janderso in /]->

Thanks for the suggestion -- anybody else?

john.

--
------------------------------------------------------------------------
John S J Anderson                                           NCBI,NLM,NIH
IRTA Fellow                                              Bldg 38A, B2N14  

 
 
 

'Windows key' keycodes

Post by Alan Coopersmit » Fri, 28 Jul 2000 04:00:00




|
|jrm> Hi John in /usr/openwin/demo is a tool called xev which will tell
|jrm> you the keycode of the Windows key
|
|Unfortunately not the case on this particular box:

pkgadd SUNWxwdem from your OS install CD then.

--
________________________________________________________________________


  Working for, but definitely not speaking for, Sun Microsystems, Inc.

 
 
 

'Windows key' keycodes

Post by John S. J. Anderso » Fri, 28 Jul 2000 04:00:00


[no xev on box]
Alan> pkgadd SUNWxwdem from your OS install CD then.

Did I mention my lack of root? Or, and I'm basically on my own for
this, too, so "talk to your friendly neighborhood sysadmin" isn't
really an option, either.

So, to re-state my problem: I've got a Microsoft 'Natural Elite'
keyboard, hooked up to an Ultra 10 via a Sible PS/2 interface
converter. I'd like to capture the keycodes generated by the 'windows'
and 'menu' keys, so that I can set modifier bits on them via xmodmap.

I do not have root. I do have working compilers, but I'm clueless as
to X programming. The obvious solution, xev, is not available.

Oh, yes, I've tried to use xkeycaps to get the information, but all it
tells me is "This key does not have a keycode; it is interpreted
specially by the X server. You cannot change its behavior with this
program". According to xkeycaps, all three keys have a keycode of 0.

There, I think that's the whole story. Any one with a spare clue for
me?

john.

--
------------------------------------------------------------------------
John S J Anderson                                           NCBI,NLM,NIH
IRTA Fellow                                              Bldg 38A, B2N14  

 
 
 

1. Shoebox with 'sense key' error ...

I've got a Sun SCSI (60 Mb tape X 141 Mb disk) shoebox (Emulex adapter)
that produces a sequence of

sd: sense key = 1  error = 17  - block xxx

errors at bootup.  The system is a stand alone 3/60 running 4.1, OW2
with the shoebox (terminated) as the only SCSI peripheral.  The cable
is short (and I get the same behavior with a different cable) but the
block numbers vary (with some peristence for a couple of blocks).  The
LEDs on the Emulex board go through a cycle at boot that leaves the
green one (LED 3) blinking and the red one (LED 4) flashes when I get
the above error.

Is the flashing green appropriate behavior?  Should I troubleshoot the
disk, the controller, or the on board SCSI?

Thanks for any help.
--

Atmospheric and Environmental Research, Inc.     Voice: (617)349-2286
840 Memorial Drive                                      (617)547-6207
Cambridge, MA  02139                             Fax:   (617)661-6479

2. Sound effects in ms-Windows

3. Faking 'Power' key on Type 4 keyboard?

4. Getting picture data from GDI+ objects

5. How can I use these 'extra' keys?

6. Btree variable record length?

7. Q: BS key <--> DEL key in a xterm window

8. RosettaNet

9. No 'ar' or 'ranlib': can't compile perl

10. Could n't find '_usrstack' '_base_addr' -- old crt0.o

11. 'WANGTEK ' Product '5525ES SCSI REV1'

12. Help: SCSI HD Vendor 'IBM', product '0663E15' format.dat Entry

13. HELP: 'suspend' problem with 'cpr'