XkbGetGeometry(3) XKB FUNCTIONS XkbGetGeometry(3)NAME
XkbGetGeometry - Loads a keyboard geometry if you already have the keyboard description
SYNOPSIS
Status XkbGetGeometry ( dpy, xkb )
Display * dpy;
XkbDescPtr xkb;
ARGUMENTS
- dpy connection to the X server
- xkb keyboard description that contains the ID for the keyboard and into which the geometry should be loaded
DESCRIPTION
You can load a keyboard geometry as part of the keyboard description returned by XkbGetKeyboard. However, if a keyboard description has
been previously loaded, you can instead obtain the geometry by calling the XkbGetGeometry. In this case, the geometry returned is the one
associated with the keyboard whose device ID is contained in the keyboard description.
XkbGetGeometry can return BadValue, BadImplementation, BadName, BadAlloc, or BadLength errors or Success if it succeeds.
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
BadName A font or color of the specified name does not exist
BadValue An argument is out of range
SEE ALSO XkbGetKeyboard(3)X Version 11 libX11 1.2.1 XkbGetGeometry(3)
Check Out this Related Man Page
XkbAllocGeometry(3) XKB FUNCTIONS XkbAllocGeometry(3)NAME
XkbAllocGeometry - Allocate an entire geometry
SYNOPSIS
Status XkbAllocGeometry (XkbDescPtr xkb, XkbGeometrySizesPtr sizes);
ARGUMENTS
- xkb keyboard description for which geometry is to be allocated
- sizes
initial sizes for all geometry components
DESCRIPTION
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify key-
board geometries. Note that these functions merely allocate space for the new element(s), and it is up to you to fill in the values
explicitly in your code. These allocation functions increase sz_* but never touch num_* (unless there is an allocation failure, in which
case they reset both sz_* and num_* to zero). These functions return Success if they succeed, BadAlloc if they are not able to allocate
space, or BadValue if a parameter is not as expected.
XkbAllocGeometry allocates a keyboard geometry and adds it to the keyboard description specified by xkb. The keyboard description should
be obtained via the XkbGetKeyboard or XkbAllocKeyboard functions. The sizes parameter specifies the number of elements to be reserved for
the subcomponents of the keyboard geometry and can be zero or more. These subcomponents include the properties, colors, shapes, sections,
and doodads.
To free an entire geometry, use XkbFreeGeometry.
DIAGNOSTICS
BadAlloc Unable to allocate storage
BadValue An argument is out of range
SEE ALSO XkbAllocKeyboard(3), XkbFreeGeometry(3), XkbGetKeyboard(3)X Version 11 libX11 1.6.0 XkbAllocGeometry(3)
A Solaris AXI 440 machine with Solaris 8 version.
I have PC users who use an emulation to login to the Solaris
server.
How can I change the keyboard mapping of the Sun keyboard
to fit to the PC keyboard ?
Any comment will be appreciated.
Thanks (1 Reply)
hi, i have a few questions regarding keyboard entry in unix...
1) sometimes, when i type , nothing appears in the screen. i am doing a telnet session.
2) how to create a buffer session of the entries that i have typed so that i pressed one of the arrows key (for example), then the previous... (9 Replies)
I've got a server that I need to send a break to.. But I have a Windows keyboard through a KVM switch.. I've tried Ctrl D and ctrl break and its not working..
Any thoughts? (3 Replies)
hi, i am new to UNIX and im reading up on it and in this book it talks about this pipe which is a straight up and down line however i can't find it? it talks about it being by my keyboard. does anyone know where it might be? (1 Reply)
Hi,
I have a sun sparc system. I don't have a sun keyboard, hence i connected a pc keyboard.
I would like to know the "STOP A" equivalent command to be used on pc keyboard.
Regards,
Raja (4 Replies)
Hi all,
i just purchased Sun Ultra Enterprise 3000,
but they did not include with keyboard/mouse .
i am very new with this box.
could you give me which type of keyboard i can use and video connector to my monitor since serial connectors for keyboard and video is different with my PC.
... (5 Replies)
Are we safe using the everyday wired keyboard? Although this concept is old, I had never seen an actual implementation on the matter until a few days ago. (Four ways of sniffing the electromagnetic emanations of wired keyboards currently on the market in up to 20 meters.)
Check the videos at:... (2 Replies)
Hai All,
I want to add a new ioctl to keyboard driver device file.
so now I want to know, what is the device file corresponding to keyboard?
kindly help me with this regards. (1 Reply)
Hi to everyone
Once again I tried to modify my keyboard , because I am crazy keyborad can not be changed using
kbd-s
eeprom
also I tried to modify /boot/solaris/bootenv.rc
but I tried opensolaris and my keyboard works perfectly
So my question is
Can I transfer settings from... (14 Replies)
Hello All,
I wounder if any one know if perl have the ability to run script in the background which record each keyboard keystorke?
If yes , how can I implement the part which reading the keyboard keystroke?
Is there any moudle that handle it ?
Thanks a head
Alalush (1 Reply)
Hi, mi question it's a little extrange
I'm using Ubuntu 9.04 - Jaunty Jackalope
I've elected my keyboard distribution, but i can't found some keyboard keys, as <, > symbols, i really need this symbols in my keyboard for programming.
i've tried all the possible combinations for found these... (1 Reply)
Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it.
I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Hello,
I have two linux pc towers and both works normally.
I have only one keyboard.
When i plug the keyboard into the first pc, I connect to 2nd pc remotely and send reboot command. Second pc stucks on black screen.
Could you please guide me what I should do?
Thanks in advance
Boris (6 Replies)