Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th July 2009, 06:39 PM
zorgoth Offline
Registered User
 
Join Date: Jun 2009
Posts: 139
Noob fail on XKB layout, need help

I was attempting to create an XKB layout that would allow me to type Polish characters and mathematical symbols, which I attempted to do by editing /usr/share/X11/xkb/symbols/pl. When the computer tried to load it it said there was an error loading the XKB configuration.

Here is the code:

Code:
partial default alphanumeric_keys
xkb_symbols "basic" {

include "latin"

    name[Group1]="Poland";
    key <TLDE>  { [    dead_abovedot, U007E,      U0060,        U0060 ] };
    key <AE01>  { [     U0031,        U0021,      U21D2,        U21CF ] };
    key <AE02>  { [     U0032,        U0040,      U21D0,        U21CD ] };
    key <AE03>  { [     U0033,        U0023,      U21D4,        U21CE ] };
    key <AE04>  { [     U0034,        U0024,      U2208,        U2209 ] };
    key <AE05>  { [     U0035,        U0025,      U220B,        U220C ] };
    key <AE06>  { [     U0036,        U005E,      U22B2,        U22B4 ] };
    key <AE07>  { [     U0037,        U0026,      U22B3,        U22B5 ] };
    key <AE09>  { [     U0039,        U0028,      U2286,        U2288 ] };
    key <AE10>  { [     U0030',       U0029,      U2287,        U2289 ] };
    key <AE11>  { [     U002D,        U005F,      U2262,        U2263 ] };
    key <AE12>  { [     U003D,        U002B,      U2260,        U2295 ] };
    key <AD01>  { [         q,          Q,        U2203,        U2204 ] };
    key <AD02>  { [         w,          W,        U2200,        U2205 ] };
    key <AD03>	{ [         e,          E,      eogonek,      Eogonek ]	};
    key <AD04>  { [         r,          R,        U221A,        U224B ] };
    key <AD05>  { [         t,          T,        U2245,        U2247 ] };
    key <AD06>  { [         y,          Y,        U222B,        U222E ] };
    key <AD07>  { [         u,          U,        U222A,        U222A ] };
    key <AD08>  { [         i,          I,        U2229,        U221E ] };
    key <AD09>	{ [         o,          O,       oacute,       Oacute ]	};
    key <AD10>  { [         p,          P,        U00B1,        U2213 ] };
    key <AD11>  { [     U005B,      U007B,        U2282,        U2284 ] };
    key <AD12>  { [     U005D,      U007D,        U2283,        U2285 ] };
    key <BKSL>  { [     U005C,      U007C,        U2228,        U221F ] }; 
    key <AC01>	{ [         a,          A,      aogonek,      Aogonek ]	};
    key <AC02>	{ [         s,          S,       sacute,       Sacute ]	};
    key <AC03>  { [         d,          D,        U2202,        U2202 ] };
    key <AC04>  { [         f,          F,        U00A3,        U20AC ] };
    key <AC05>  { [         g,          G ] };
    key <AC06>  { [         h,          H ] };
    key <AC07>  { [         j,          J ] };
    key <AC08>  { [         k,          K ] };
    key <AC09>  { [         l,          L,        U0142,        U0141 ] };
    key <AC10>  { [     U003B,        U003A,      U227A,        U2280 ] };
    key <AC11>  { [     U0027,        U0022,      U227B,        U2281 ] };
    key <AB01>	{ [         z,          Z,    zabovedot,    Zabovedot ]	};
    key <AB02>	{ [         x,          X,       zacute,       Zacute ]	};
    key <AB03>	{ [         c,          C,       cacute,       Cacute ]	};
    key <AB04>  { [         v,          V,        U2206,        U2207 ] };
    key <AB05>  { [         b,          B ] };
    key <AB06>	{ [         n,          N,       nacute,       Nacute ]	};
    key <AB07>  { [         m,          M ] };
    key <AB08>  { [     U002C,      U003C,        U2264,        U226A ] };
    key <AB09>  { [     U002E,      U003E,        U2265,        U226B ] };
    key <AB10>  { [     U002F,      U003F,        U2227,        U221F ] };

    include "kpdl(comma)"
    include "level3(ralt_switch)"

};
What exactly is wrong here? Note that I know absolutely nothing.

(Don't worry I backed up the original pl file)
Reply With Quote
  #2  
Old 25th July 2009, 07:22 PM
zorgoth Offline
Registered User
 
Join Date: Jun 2009
Posts: 139
One problem was unicode characters. I got some unicode working by switching to xkb_symbols unicode rather than basic, but I still couldn't run the whole thing, and worse, characters like 21CF, which is ⇏, and lots of others, all come out as ¬ for some reason.
Reply With Quote
  #3  
Old 25th July 2009, 07:26 PM
zorgoth Offline
Registered User
 
Join Date: Jun 2009
Posts: 139
Fixed. A minor typo was the main problem. For some reason the unicode stuff fixed itself.
Reply With Quote
Reply

Tags
fail, layout, noob, xkb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
noob at fedora... noob at security... mrHappyPants Security and Privacy 12 10th April 2009 02:42 AM
Custom Layout Help Dead1nside Using Fedora 2 8th January 2009 01:07 PM
Keyboard Layout Ammand Using Fedora 1 14th April 2006 10:27 AM


Current GMT-time: 09:14 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat