Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85477

Re: Wildly OT: pop-up virtual keyboard for Mac or Linux?

From Laura Creighton <lac@openend.se>
Subject Re: Wildly OT: pop-up virtual keyboard for Mac or Linux?
References <CANc-5UxsR3_3qhpCubwGh+Kfpt4mk4RM1RbMxkkcuPKsEk65HQ@mail.gmail.com><20150210152900.54129700@bigbox.christie.dr>
Date 2015-02-10 23:15 +0100
Newsgroups comp.lang.python
Message-ID <mailman.18631.1423606525.18130.python-list@python.org> (permalink)

Show all headers | View raw


In a message of Tue, 10 Feb 2015 15:29:00 -0600, Tim Chase writes:
>While it's not exactly a hold-down-get-a-menu, I opt for changing my
>(otherwise-useless) caps-lock key to an X compose key:
>
>  $ setxkbmap -option compose:caps
>
>I can then hit caps-lock followed by what are generally intuitive
>sequences.  For your first one, that would be "capital-D minus".  I'm
>not sure what the other characters are supposed to be, so I'm not
>sure how to find them.  But é is "compose, e, apostrophe", ñ is
>"compose, n, tilde", the degree sign is "compose, o, o", the € is
>"compose, E, equals", etc. There are loads of these documented in (on
>my machine, where my locale is en_US.UTF-8)
>/usr/share/X11/locale/en_US.UTF-8/Compose
>
>Some of them are a little less intuitive, though the majority of the
>time I can just guess them (I'd never typed "Đ" before, but guessed
>and was right). Otherwise I search that above file.
>
>This also has the advantage that it should work in every X
>application, including Unicode-aware terminal applications (in
>Unicode-aware terminals).  Adding some sort of press-and-hold UI
>would limit it to those applications that chose to support it (or
>even *could* support it).
>
>> While I'm a touch typist, I almost never use auto-repeat, which is
>> the "binding" of held keys in most environments
>
>I agree, as vi/vim makes it easy to insert multiples of the same
>character (or characters) akin to what you describe in Emacs.
>
>-tkc

Wow.  US keyboards do not come with a 'compose' key, then?  It just
never occurred to me that Skip might be missing one.

Oh, goodness gracious then, go with this solution.  Much better than
mine --though the one I pointed at is great should you suddenly need
to type something in cyrillic while at a non-cyrillic keyboard.

Laura

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Wildly OT: pop-up virtual keyboard for Mac or Linux? Laura Creighton <lac@openend.se> - 2015-02-10 23:15 +0100
  Re: Wildly OT: pop-up virtual keyboard for Mac or Linux? Grant Edwards <invalid@invalid.invalid> - 2015-02-10 23:15 +0000
  Re: Wildly OT: pop-up virtual keyboard for Mac or Linux? alister <alister.nospam.ware@ntlworld.com> - 2015-02-11 09:33 +0000
    Re: Wildly OT: pop-up virtual keyboard for Mac or Linux? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-02-11 08:50 -0500

csiph-web