Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Modified double-click in xterm' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Modified double-click in xterm
Authored by: durham1 on Jul 11, '05 06:57:18PM

Works for me in both directions too (10.4.1, X11 v1.0, XFree86 v4.3.0)

I have made one change to my X11 setup the makes copying/pasting easier, and makes the experience more "linux like":

If you add the following to /usr/X11R6/lib/X11/app-defaults/Xterm

*charClass: 33:48,37:48,45-47:48,64:48

the next time you start an Xterm, double-clicking in the window will select a whole file name (including the extension) or directory path in the same manner as linux Xterms (btw, it would be wise to back up the '....../app-defaults/Xterm' file first).



[ Reply to This | # ]
Modified double-click in xterm
Authored by: ua on Dec 16, '05 06:13:04PM
It's much safer to put this command into your perfect .Xdefaults file. This command will implement the above preferences in a [safer] manner:

echo '*charClass: 33:48,37:48,45-47:48,64:48' >> ~/.Xdefaults

You'll have to open a new XTerm window for the changes to become active.

[ Reply to This | # ]