You are not logged in.
I've begun my transition to urxvt from Xfce-terminal, and I've managed to sort out its colour issues for the time being (there is considerably less pink), but I'm still having some difficulties setting up a few more settings to make it behave more like my old terminals.
Is it possible to set up keybindings so that C-S-v pastes from the clipboard (and C-S-x/C-S-c cuts/copies, but I never used that very often), as in GNOME and Xfce4-terminals? If not, how can I set it up to be as seamless as possible? I read that urxvt uses the X-selection, but from my experience this seems to behave slightly oddly and is not in sync with the clipboard as found in most DEs such as GNOME, Xfce and KDE; its reliance on the mouse is also a little offputting. A way to unify all of these, without needing a mouse (although with the option of being able to) would be really useful.
On a similar note, can the default C-S extended input method be changed to C-S-u as is now standard in GNOME and Xfce4? I've used xmodmap to give myself a Compose key, but sometimes it's useful to be able to enter the character code manually as not every character is mapped with the Compose sequences.
Cheers to anyone who can offer help and/or advice
Offline
Shift + insert pastes. You can remap it in .Xdefaults.
Offline
Pink? My media files used to be pink. The otherday I was starting up a movie for me and the wife to watch, and we had a conversation:
"You're using ArchLinux right?"
"Yup"
"So you've configured this all yourself the way you like it right?"
"Pretty much."
"Then why is there so much pink?"
...
I shamefully got around to fixing my terminal color scheme after the movie.
I was thinking autocutsel when I first read this (I always type it with an f on the end though, then laugh while I am hitting backspace)...
Maybe this post would be helpful on copy/paste behavior? http://bbs.archlinux.org/viewtopic.php?id=80226
To understand recursion, you must understand recursion.
Offline
Hmmm this is part of the solution I'm looking for. Xsel works most of the time, and S-Insert is mapped to CL-i with my Xmodmap, but it still doesn't seem quite right.
But if I want to copy some text from a screen session inside urxvt without using the mouse, how would I achieve this? To the best of my knowledge, I can switch to screen's copy mode, and select some text which is stored in its internal buffer, but I cannot transfer this to the X selection, be it primary, secondary, or clipboard without telling screen to dump anything in its buffer to a temporary file, which seems rather inconvenient and somewhat awkward to set up. And if I were to switch to a different multiplexer (i.e. tmux looks interesting), I'd have to figure out a new way all over again.
EDIT:
Aha a solution that works (despite feeling like a hack =/ ). Add the following (or something similar) to your ~/.screenrc :
bindkey -m > eval writebuf "exec sh -c 'xsel -p < /tmp/screen-exchange'"
It should copy the screen buffer contents to a temporary file named screen-exchange which xsel then reads and puts in the primary selection.
EDIT 2
Strangely enough the "solution" I posted earlier now doesn't work, and I haven't changed anything. I am curious why so many commands in screen have a "stuff" prefix in them; it's a shame there doesn't seem to be much documentation.
Last edited by zoqaeski (2009-11-22 13:53:12)
Offline