When will we have a clipboard that works?
Cameron Hutchison
camh at xdna.net
Thu Nov 23 11:08:18 UTC 2006
Erik Christiansen wrote:
>On Wed, Nov 22, 2006 at 02:03:41PM -0800, Pete Slagle wrote:
>>
>> Just hit ctrl-t in Firefox; it will open a new tab with the cursor in
>> just the right place to drop the URL with a middle click.
>Tha gods are kind, to provide a fix, and you Sir, are a scholar and a
>gentleman, for finding and sharing it with us. Hot diggity! :-)
>Now we just need a way to make double-click select past a colon, in the
>xterm. ;-)
xterm is amazingly configurable. What you want is doable through X
resources. Put the following lines in your .Xdefaults file in your home
directory:
XTerm.VT100*CharClass: 45-47:48,58:48,64:48
UXTerm.VT100*CharClass: 45-47:48,58:48,64:48
That tells xterm what characters it should consider to be part of a
word, and what marks a boundary (by omission from the char class).
"man ascii" will tell you what characters correspond to those numbers
(in the Decimal column).
To have this loaded in the X server when you log in, make sure you have
a line in your /etc/X11/Xsession.options that says
"allow-user-resources".
To load this into the X server without logging out, run this:
$ xrdb -load .Xdefaults
The next time you start an xterm after this, your double-click should
include the colon.
More information about the ubuntu-users
mailing list