Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Desktop / X-Windows > xkb: compat: symbols:

Forgot Password?
 Linux Desktop / X-Windows   Anything X. Gnome, KDE, remote desktop's, XGames etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-09-2008   #1 (permalink)
Just Joined!
 
Join Date: Sep 2008
Location: Southwest Kansas
Posts: 57
xkb: compat: symbols:

I've wracked my brain left, and I banged it right. I threw a few bits of code in, and I removed a few lines of bruhaha...Can someone please explain what am I missing?

Here's the links that I've been reading through...
http://tldp.org/HOWTO/Danish-HOWTO-2.html
http://hektor.umcs.lublin.pl/~mikosm...youts-xkb.html
http://pascal.tsu.ru/en/xkb/

Here's the basic compat file...
Code:
default xkb_compatibility "basic"  {
    virtual_modifiers NumLock,AltGr;

    interpret.repeat= False;
    setMods.clearLocks= True;
    latchMods.clearLocks= True;
    latchMods.latchToLock= True;

    interpret Shift_Lock+AnyOf(Shift+Lock) {
	action= LockMods(modifiers=Shift);
    };

    interpret Any+Lock {
	action= LockMods(modifiers=Lock);
    };

    interpret Num_Lock+Any {
	virtualModifier= NumLock;
	action= LockMods(modifiers=NumLock);
    };

    interpret Mode_switch {
	useModMapMods= level1;
	virtualModifier= AltGr;
	action= SetGroup(group=+1);
    };

    interpret Any + Any {
	action= SetMods(modifiers=modMapMods);
    };

    group 2 = AltGr;
    group 3 = AltGr;
    group 4 = AltGr;

    include "ledcaps"
    include "lednum"
    indicator "Shift Lock" {
	!allowExplicit;
	whichModState= Locked;
	modifiers= Shift;
    };
};
Here's my Cherokee symbol file...

Code:
default
partial alphanumeric_keys modifier_keys 
xkb_symbols "basic" {

    name[Group1]= "us"
    name[Group2]= "Cherokee";

    // Alphanumeric section
    key <TLDE> {	[     grave,	asciitilde	],
                                  [     	U13E9,  U13CB             ]       };
    key <AE01> {	[	  1,	exclam 		],
    				[	U13E3,	U13B1 		]	};
    key <AE02> {	[	  2,	at		],
    				[	U13A3,	U13C7		]	};
    key <AE03> {	[	  3,	numbersign	],
    				[	U13E9,	U13E7	]	};
    key <AE04> {	[	  4,	dollar		],
    				[	U13D9,	U13B0		]	};
    key <AE05> {	[	  5,	percent		],
    				[	U13E6,	U13B9		]	};
    key <AE06> {	[	  6,	asciicircum	],
    				[	U13DC,	U13DD	]	};
    key <AE07> {	[	  7,	ampersand	],
    				[	U13CB,	U13BA	]	};
    key <AE08> {	[	  8,	asterisk	],
    				[	U13D6,	U13BB	]	};
    key <AE09> {	[	  9,	parenleft	],
    				[	U13D2,	parenleft	]	};
    key <AE10> {	[	  0,	parenright	],
    				[	U13C4,	parenright	]	};
    key <AE11> {	[     minus,	underscore	],
    				[     	U13BF,	U13BC	]	};
    key <AE12> {	[     equal,	plus		],
    				[     	U13F3,	U13BD		]	};

    key <AD01> {	,
    				[	U13AA,	U13C6		]	};
    key <AD02> {	,
    				[	U13B3,	U13EB		]	};
    key <AD03> {	,
    				[	U13A1,	U13E3		]	};
    key <AD04> {	,
    				[	U13DB,	U13CF		]	};
    key <AD05> {	,
    				[	U13D4,	U13D8		]	};
    key <AD06> {	,
    				[	U13EF,	U13F2		]	};
    key <AD07> {	,
    				[	U13A4,	U13AD		]	};
    key <AD08> {	,
    				[	U13A2,	U13F1		]	};
    key <AD09> {	,
    				[	U13A3,	U13EC		]	};
    key <AD10> {	,
    				[	U13C1,	U13EA		]	};
    key <AD11> {	[ bracketleft,	braceleft	],
    				[ 	U13D5,	U13D1	]	};
    key <AD12> {	[ bracketright,	braceright	],
    				[ 	U13B6,	U13E4	]	};

    key <AC01> {	,
    				[	U13A0,	U13CC		]	};
    key <AC02> {	,
    				[	U13CD,	U13CE		]	};
    key <AC03> {	,
    				[	U13D7,	U13D0		]	};
    key <AC04> {	,
    				[	U13A9,	U13C8		]	};
    key <AC05> {	,
    				[	U13A6,	U13E5		]	};
    key <AC06> {	,
    				[	U13AF,	U13B2		]	};
    key <AC07> {	,
    				[	U13DA,	U13AB		]	};
    key <AC08> {	,
    				[	U13B8,	U13A7		]	};
    key <AC09> {	,
    				[	U13B5,	U13AE		]	};
    key <AC10> {	[ semicolon,	colon		],
    				[ 	U13E8,	U13E0		]	};
    key <AC11> {	[ apostrophe,	quotedbl	],
    				[ apostrophe,	quotedbl	]	};

    key <AB01> {	,
    				[	U13AC,	U13C3		]	};
    key <AB02> {	,
    				[	U13F4,	U13ED		]	};
    key <AB03> {	,
    				[	U13D3,	U13DF		]	};
    key <AB04> {	,
    				[	U13A5,	U13DE		]	};
    key <AB05> {	,
    				[	U13A8,	U13F0		]	};
    key <AB06> {	,
    				[	U13BE,	U13BB		]	};
    key <AB07> {	,
    				[	U13C5,	U13B7		]	};
    key <AB08> {	[     comma,	less		],
    				[     comma,	U13E2		]	};
    key <AB09> {	[    period,	greater		],
    				[    period,	U13B4		]	};
    key <AB10> {	[     slash,	question	],
    				[     	U13C2,	U13C9	]	};

    key <BKSL> {	[ backslash,         bar	],
    				[ 	U13E9,  U13EE	]	};
    key <CAPS> {	[ Caps_Lock],
    				[ Caps_Lock	]	};
	key <LWIN> {
		symbols[Group1]=[Mode_switch, Multi_key],
		virtualMods=AltGr
	};
	key <RWIN> {
		symbols[Group1]=[Mode_switch, Multi_key],
		virtualMods=AltGr
	};
    // End alphanumeric section
};
Am I not allowed to use the MS windows keys to change groups? Or am I using the wrong code?

I've read and reread these sites, as well as a pdf file I downloaded and it is really driving me ...

The basic compat file has the group declarations/statements/whatever in it, or is it just the wrong one?

Code:
	Option     "XkbModel"      "pc105"
Mol_Bolom is offline  


Reply With Quote
Old 10-10-2008   #2 (permalink)
Just Joined!
 
Join Date: Sep 2008
Location: Southwest Kansas
Posts: 57
Well, I huffed and I puffed, but I just couldn't blow the house down...

Here's some thoughts I've had while going from start to nowhere...


From keysymdef.h (Everything I've read states that the xkb files use this file, however, I do not understand why the defs have XK_ prefixed when they are not used like this in the xkb files).
Code:
#define XK_AE          0x00c6  /* U+00C6 LATIN CAPITAL LETTER AE */
#define XK_ae           0x00e6  /* U+00E6 LATIN SMALL LETTER AE */
#define XK_a             0x0061  /* U+0061 LATIN SMALL LETTER A */
#define XK_A            0x0041  /* U+0041 LATIN CAPITAL LETTER A */

#define XK_dead_grave                    0xfe50

#define XK_agrave                        0x00e0
0x00e0 is the character AE11 + AC01
Search for agrave in Latin symbol, NOT FOUND.
Search for agrave in es symbol, NOT FOUND.
In character map, 0xFE50 is shown as a small comma in the common unicode characters.

From the es symbol file
Code:
key <AD11>	{ [dead_grave, dead_circumflex, bracketleft, dead_abovering ] };
From the included latin symbol file.
Code:
"basic"
	key <AC01>   { [   a,   A,   ae,   AE ]	};

"type2"
	key <AC01>   { [   a,   A,  ordfeminine,    masculine ]	};
XK_AE is the letter Æ.
ordfeminine is ª.

No where in any of these files does it show the dead keys, AE11 = [ and { on the us keyboard, pressing AE11 with AC01 in the spanish keyboard gives à and â, but I do not see these defined anywhere...

Questions I ask myself:

So where are these files at? Or are the dead keys predefined and there is no way to redefine them or define new ones?

Are groups a little more involved than what every site has mentioned, or is there some information that I do not understand?

[edit]

Dead key files have nothing to do with dead key...Instead the files are named compose...
Mol_Bolom is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 07:41 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2