You are not logged in.
Pages: 1
Topic closed
Hello, as i am a frequent user of a netbook on the move i wanted to find a way to abolish my mouse.
I have installed the awesome WM. And i am trying to make a full switch to using the terminal. I am using
the xterm. My defaults are:
!xterm*geometry: 80x25
xterm*faceName: terminusbold:pixelsize=12
!xterm*font: -*-dina-medium-r-*-*-16-*-*-*-*-*-*-*
!xterm*dynamicColors: true
xterm*utf8: 2
xterm*eightBitInput: true
xterm*saveLines: 512
xterm*scrollTtyKeypress: true
xterm*scrollTtyOutput: false
!xterm*scrollBar: true
xterm*background: black
xterm*foreground: green
!xterm*cursorColor: yellow What i am trying to do is make xterm able to select(highlight), copy and paste text with the keyboard.
I am searching google for hours, but i got no real result, just a way to do it by middle mouse click
Offline
Pasting what's in the primary selection can be done by middle click or shift-insert.
However copying without mouse is not as easy. There is for example xclip, with which you can do something like "echo Hello | xclip -i". Also, you could try out GNU screen which has a copy mode (ctrl-a [ in there you can move vim-like and space marks the start of a selection and another space ends it and copies into a buffer, you can paste what's in there then with ctrl-a ] )
Ogion
(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant
Offline
hm. I believe i must check it out more.
But for starters a more simple question,
How do i set up a color for the xterm scrollbar?
Offline
Also for copying a big portion text here are 2 good links:
http://cygwin.ru/ml/cygwin-xfree/2006-05/msg00006.html
http://cygwin.ru/ml/cygwin-xfree/2006-05/msg00008.html
Offline
I don't know about that in xterm, but in urxvt it 'just works' (i mean i'm not aware of anyything i might have done to enable it, so i assume it is default. That it scrolls when you go with mouse-holding-click to the upper or lower edge)
Ogion
(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant
Offline
Copy/Paste works ok with the mouse. But i would like it to work with a keyboard only configuration.
Anyway i will look it up later.
One the biggest problems i got now, is that i can't make the multimedia keys to play.(fn keys)
i got an asus eeepc 1000he netbook and the message i get from the xev and the mute/unmute button
and the vol up and down is the same for all three keys and is the following:
FocusOut event, serial 29, synthetic NO, window 0x1800001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 29, synthetic NO, window 0x1800001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 29, synthetic NO, window 0x0,
keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0Offline
Ok, solved it. now my problem is that when using vim in the xterm arrow keys move a word
instead of a letter, so this makes it really difficult to correct a spelling error of mine..
any clues?
Offline
I don't know about that in xterm, but in urxvt it 'just works' (i mean i'm not aware of anyything i might have done to enable it, so i assume it is default. That it scrolls when you go with mouse-holding-click to the upper or lower edge)
Ogion
He's trying to copy to clipboard via keyboard, without a mouse.
Kevin Morris <kevr@0cost.org>
Hangs out in #archlinux-aurweb. Loves the AUR.
Offline
And you are replying to a five year old thread: https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing
Offline
Pages: 1
Topic closed