XkbGetNames(3)


NAME

   XkbGetNames - Obtain symbolic names from the server

SYNOPSIS

   Status XkbGetNames (Display *dpy, unsigned int which, XkbDescPtr Xkb);

ARGUMENTS

   - dpy  connection to the X server

   - which
          mask of names or map components to be updated

   - Xkb  keyboard description to be updated

DESCRIPTION

   XkbGetNames retrieves symbolic names for the components of the keyboard
   extension from the X server. The which  parameter  specifies  the  name
   components  to  be  updated  in  the  xkb parameter, and is the bitwise
   inclusive OR of the valid names mask bits defined in Table 1.

                             Table 1 Symbolic Names Masks
   
   Mask Bit                 Value      Keyboard     Field
                                       Component
   
   XkbKeycodesNameMask      (1<<0)     Xkb->names   keycodes
   XkbGeometryNameMask      (1<<1)     Xkb->names   geometry
   XkbSymbolsNameMask       (1<<2)     Xkb->names   symbols
   XkbPhysSymbolsNameMask   (1<<3)     Xkb->names   phys_symbols
   XkbTypesNameMask         (1<<4)     Xkb->names   type
   XkbCompatNameMask        (1<<5)     Xkb->names   compat
   XkbKeyTypeNamesMask      (1<<6)     Xkb->map     type[*].name
   XkbKTLevelNamesMask      (1<<7)     Xkb->map     type[*].lvl_names[*]
   XkbIndicatorNamesMask    (1<<8)     Xkb->names   indicators[*]
   XkbKeyNamesMask          (1<<9)     Xkb->names   keys[*], num_keys
   XkbKeyAliasesMask        (1<<10)    Xkb->names   key_aliases[*], num_key_aliases
   XkbVirtualModNamesMask   (1<<11)    Xkb->names   vmods[*]
   XkbGroupNamesMask        (1<<12)    Xkb->names   groups[*]
   XkbRGNamesMask           (1<<13)    Xkb->names   radio_groups[*], num_rg
   XkbComponentNamesMask    (0x3f)     Xkb->names   keycodes,
                                                    geometry,
                                                    symbols,
                                                    physical symbols,
                                                    types, and
                                                    compatibility map
   XkbAllNamesMask          (0x3fff)   Xkb->names   all name components

   If the names field of the keyboard description xkb is NULL, XkbGetNames
   allocates   and   initializes  the  names  component  of  the  keyboard
   description before obtaining the values specified  by  which.   If  the
   names  field  of  xkb  is  not  NULL,  XkbGetNames  obtains  the values
   specified by which and copies them into the keyboard description Xkb.

   If the map component of the xkb parameter is NULL, XkbGetNames does not
   retrieve  type  or  shift  level  names, even if XkbKeyTypeNamesMask or
   XkbKTLevelNamesMask are set in which.

   XkbGetNames can return Success, or BadAlloc, BadLength,  BadMatch,  and
   BadImplementation errors.

   To free symbolic names, use XkbFreeNames.

DIAGNOSTICS

   BadAlloc       Unable to allocate storage

   BadImplementation
                  Invalid reply from server

   BadLength      The  length  of a request is shorter or longer than that
                  required to minimally contain the arguments

   BadMatch       A compatible version of Xkb was  not  available  in  the
                  server or an argument has correct type and range, but is
                  otherwise invalid

SEE ALSO

   XkbFreeNames(3)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.