LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] The euro grail: xev output

[ILUG] The euro grail: xev output

Declan Moriarty declan.moriarty at ntlworld.ie
Thu Jan 31 10:45:10 GMT 2002


	After searching the web, asking you guys for it, d/ling uninstallable rpms, 
even reading the rpm manpage, cursing the guy who named a game XEV, I finally 
found a versions of xev....  Imakefile-1.1, xev.c-1.5, & xev.man-1.3 :-/
It built.
	I have done as following (in an X terminal) 
xmodmap -e 'keycode 26 = e E currency'
xev > outputfile
less outputfile
This is the relevant event. 

KeyPress event, serial 26, synthetic NO, window 0xc00001,
    root 0x26, subw 0x0, time 3154276089, (500,205), root:(506,591),
    state 0x2000, keycode 26 (keysym 0xa4, currency), same_screen YES,
    XLookupString gives 0 characters:  ""

That looks OK. In trying to find what setup X is using, I went to 
/usr/X11R6/lib/X11/xkb and poked around, to find the XKB stuff  and see what 
the thing was actually using. All I found funny was this
[root at genius symbols]# ls -l /usr/X11R6/lib/X11/xkb/compiled
lrwxrwxrwx    1 root     root           26 Jun 29  2001 
/usr/X11R6/lib/X11/xkb/compiled -> ../../../../../var/lib/xkb/

In /var/lib/xkb (the appointed place) there is only this README under X
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The X server uses this directory to store the compiled version of the
current keymap and/or any scratch keymaps used by clients.  The X server
or some other tool might destroy or replace the files in this directory,
so it is not a safe place to store compiled keymaps for long periods of
time.  The default keymap for any server is usually stored in:
     X<num>-default.xkm
where <num> is the display number of the server in question, which makes
it possible for several servers *on the same host* to share the same 
directory.
Unless the X server is modified, sharing this directory between servers on
different hosts could cause problems.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

but updating the database under X and doing a search for 'default.xkm' or 
even 'xkm' with slocate (which accepts partial file names) produced nothing: 
nihil; zada :-o.

In answer to the obvious, I did check XF86Config, and XKBDisable is commented 
out.

I think that's odd behaviour, but I need someone to verify that. 
Another Mandrake symlink pointing nowhere (mutter, mutter, growl). I suspect 
something's defaulting to US keyboard somewhere, which gives me the ¢ but 
fails on the euro.
What do I fix now? This system knows more about me than I know about it.
-- 
	Regards,


	Declan Moriarty




Applied Researches - Ireland's Foremost Electronic Hardware Genius

	A Slightly Serious(TM) Company

Experience is like a comb, 
that Life gives you - AFTER all your hair has fallen out!




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell