You are not logged in.

#1 2010-08-02 16:57:38

arkara
Member
Registered: 2010-05-02
Posts: 35

moving to awesome and a more "terminalized" system

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

#2 2010-08-02 17:02:36

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: moving to awesome and a more "terminalized" system

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

#3 2010-08-02 17:08:11

arkara
Member
Registered: 2010-05-02
Posts: 35

Re: moving to awesome and a more "terminalized" system

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

#4 2010-08-02 17:09:41

arkara
Member
Registered: 2010-05-02
Posts: 35

Re: moving to awesome and a more "terminalized" system

Offline

#5 2010-08-02 19:54:37

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: moving to awesome and a more "terminalized" system

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

#6 2010-08-02 20:23:36

arkara
Member
Registered: 2010-05-02
Posts: 35

Re: moving to awesome and a more "terminalized" system

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   0

Offline

#7 2010-08-02 22:50:13

arkara
Member
Registered: 2010-05-02
Posts: 35

Re: moving to awesome and a more "terminalized" system

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

#8 2010-08-05 05:55:58

k3ttc4r
Member
From: around somewhere
Registered: 2008-12-28
Posts: 137
Website

Re: moving to awesome and a more "terminalized" system

Use h,j,k,l to move.


arch64   ||   github | dotshare | blog

Offline

#9 2013-12-16 03:25:19

kevr
Member
From: CA, USA
Registered: 2010-05-01
Posts: 24
Website

Re: moving to awesome and a more "terminalized" system

Ogion wrote:

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

#10 2013-12-16 03:26:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: moving to awesome and a more "terminalized" system

And you are replying to a five year old thread: https://wiki.archlinux.org/index.php/Fo … Bumping.27



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB