Tags:
create new tag
, view all tags
xkeycaps is a graphical front-end to xmodmap. It opens a window that looks like a keyboard; moving the mouse over a key shows what KeySyms and Modifier bits that key generates.

See:

Hmmm, this in particular looks like a particularly worthless page -- what is the value of this page over someone simply doing a google search on Xkeycaps and quickly getting the same information? I guess none, at this point -- I guess the hope is that it (this page) grows, especially if I start to (or attempt to) use xkeycaps and have some notes or experiences to add (or links to other useful resources or whatever). Ok, maybe the page is not as worthless as I thought (for me) -- see #Notes.

Contents

Notes

BTW, this is the document that (almost??) says that the keyboard macros that I want can't be done in Linux (X):

BTW, I made a comment on Slashdot about this (several days after the thread started) -- don't know if I'll get any feedback. At first I thought my comment hadn't made it, then set up the display for newest first (ignore threads), -1, nested and found it -- it is a week younger than the next youngest comment so suspect I will not see any responses. The comment is quoted here as I may attempt to get it posted on Slashdot as an article (so I can get an answer(s).

I don't really need an improved keyboard so much as I need something like "Superkeys" (a Windows utility) in Linux. This (if I recall the name right) is a utility that let's you assign an arbitrary sequence of keys to an arbitrary key combination. For example, s might insert my signature in whatever application I happen to be using.

I'm sure other people would like the same thing -- after all, at least one person made a comment below about his keyboard that does that in hardware.

I really don't understand why a utility like this is not available in X -- I have seen a statement in the XKeyCaps Manual (http://www.jwz.org/xkeycaps/man.html) under a section named "THINGS YOU CAN'T DO" which says:

"People often ask if xkeycaps or xmodmap can be used to make one key generate a sequence of characters. Unfortunately, no: you can't do this sort of thing by manipulating the server's keymaps. The X keyboard model just doesn't work that way."

What is it about the X keyboard model that prevents someone from implementing something like that? (I've done a little (very little) digging into the X documentation and don't understand why it could not be done -- looks like you'd have to do it in the X server (rather than the X client) so it would work for any application you might be using, but surely it's possible?

Way OT, I should start a rant on the idea that people are more interested in talking than communicating. (Slashdot is for talking, a Wiki is for communicating. (Well, that's a little extreme, and I'd want to temper it -- I can see that, with respect to the CFK, the mail list is better for some things than the TWiki. (Quick transient communications.)

THINGS YOU CAN'T DO

People often ask if xkeycaps or xmodmap can be used to make one key generate a sequence of characters. Unfortunately, no: you can't do this sort of thing by manipulating the server's keymaps. The X keyboard model just doesn't work that way.

The way to do such things is to set translation resources on particular widgets. It has to be done on an application-by-application basis. For example, here's how you would convince xterm (1) to insert the string next when you hit F17:

xterm*VT100.Translations: #override F17: string("next")

Contributors

  • () RandyKramer - 27 Feb 2003
  • <If you edit this page: add your name here; move this to the next line; and include your comment marker (initials), if you have created one, in parenthesis before your WikiName.>

Page Ratings

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2003-02-27 - RandyKramer
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look