[SOLVED] Problem launching rxvt-unicode
$ rxvt-unicode
bash: rxvt-unicode: command not found
$ pacman -Q rxvt-unicode
rxvt-unicode 9.10-1
PS: I'm having to type all this since copying from xterm refuses to work...
Last edited by NoobCp (2011-04-10 18:45:01)
The wiki links to http://pod.tst.eu/http://cvs.schmorp.de … rxvt.1.pod which says
SYNOPSIS
urxvt [options] [-e command [ args ]]
Similar Messages
-
[Solved] Rxvt-Unicode-256colors , -pe tabbed extension problem.
Hello.
I use rxvt-unicode-256colors for long time.
Wheb try to run -pe tabbed extension I got following errors:
iurxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 82.
urxvt: Can't call method "focus_in" on an undefined value at /usr/lib/urxvt/perl/tabbed line 161.
urxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 82.
urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
urxvt: Can't call method "focus_out" on an undefined value at /usr/lib/urxvt/perl/tabbed line 169.
urxvt: Can't call method "focus_in" on an undefined value at /usr/lib/urxvt/perl/tabbed line 161.
urxvt: Can't call method "key_press" on an undefined value at /usr/lib/urxvt/perl/tabbed line 177.
urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
urxvt: Can't call method "key_press" on an undefined value at /usr/lib/urxvt/perl/tabbed line 177.
urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
urxvt: Can't call method "key_press" on an undefined value at /usr/lib/urxvt/perl/tabbed line 177.
urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
urxvt: Can't call method "key_press" on an undefined value at /usr/lib/urxvt/perl/tabbed line 177.
urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
urxvt: Can't call method "key_press" on an undefined value at /usr/lib/urxvt/perl/tabbed line 177.
urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
urxvt: Can't call method "focus_out" on an undefined value at /usr/lib/urxvt/perl/tabbed line 169.
urxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 82.
urxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 82.
And opened terminal is not responsive
Thanks for help.
Last edited by SpeedVin (2009-08-16 19:51:55)I just rebuild and reinstall both perl and rxvt-unicode-256colors packages but still have the error
I think I must give a try to another term and I will quote myself:
I think I will give chance to another terminal , can you give me some proposition? :)
-It must be lightweight,tabbed,and flexible :)
Roxterm is good?
Phh and it must use my .Xdefaults config
Last edited by SpeedVin (2009-08-16 19:16:31) -
[SOLVED] rxvt-unicode 9.17 + tmux = visual artifacts on resize
Getting visual artifacts with the latest urxvt update.
Thinking possibly an upstream issue, but would like confirmation first.
Using dwm 6.0 with resizehints = False, if that matters.
Can anyone reproduce and/or recommend a fix?
Reproduce:
- Run tmux in rxvt-unicode 9.17-1
- Fill terminal with text, e.g. `ls -la`
- Resize window
Expected:
Actual:
Observation:
If affected window is placed behind another window (e.g. by changing tags in dwm, or by dragging another window over it), the artifacts disappear.
Edit: Solved
Temp fix:
Downgrading to rxvt-unicode 9.16.
bangkok_manouel wrote:revert patch of guilty commit: https://gist.github.com/anonymous/5180682
Last edited by w0ng (2013-03-20 20:56:11)I'm also encountering this issue after upgrading rxvt-unicode to 9.17. I'm using xmonad w/ an accordion layout so the instance of urxvt in which tmux is running is resized on focus resulting in the tmux status line not being removed from the position it was at prior to the resize. I can reproduce the problem while enlarging a floating urxvt+tmux window as well.
The problem doesn't exist after downgrading to rxvt-unicode 9.16. -
[solved] rxvt-unicode-8.5a-1
Update Issue
update rxvt-unicode-8.5a-1,
[root@arch-01 jada]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
warning: ffmpeg: local (20071009-1) is newer than extra (20070505-4)
resolving dependencies... done.
looking for inter-conflicts... done.
Targets: rxvt-unicode-8.5a-1
Total Package Size: 2.08 MB
Proceed with installation? [Y/n] y
checking package integrity... done.
cleaning up... done.
(1/1) checking for file conflicts [#####################] 100%
(1/1) upgrading rxvt-unicode [#####################] 100%
[root@arch-01 jada]# pacman -Scc
Do you want to remove all packages from cache? [Y/n] y
removing all packages from cache... done.
[root@arch-01 jada]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
warning: ffmpeg: local (20071009-1) is newer than extra (20070505-4)
resolving dependencies... done.
looking for inter-conflicts... done.
Targets: rxvt-unicode-8.5a-1
Total Package Size: 2.08 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
rxvt-unicode 2.1M 550.1K/s 00:00:04 [#####################] 100%
checking package integrity... done.
cleaning up... done.
(1/1) checking for file conflicts [#####################] 100%
(1/1) upgrading rxvt-unicode [#####################] 100%
[root@arch-01 jada]#
It doesn't take the update! With "pacman -Syu" it will allways update again and again ...........
Last edited by JaDa (2007-11-22 19:52:08)the problem was solved today with the new update
rxvt-unicode-8.5a-2
the right packages are now on the update server
Last edited by JaDa (2007-11-22 19:54:04) -
[SOLVED] Emacs + rxvt-unicode Cursor Bug
When running emacs inside of a rxvt-unicode terminal, pressing the spacebar advances the cursor as it should, but sometimes it does not erase the cursor from it's previous position. Entering a third character will finally make this superfluous cursor disappear.
I have found references to similar issues in an Ubuntu bug report and a livejournal post, both of which date back to 2008. I am not sure if these issues are directly related or just similar in appearance. I seem to recall having similar issues with the cursor under emacs around three years ago when I was running Ubuntu and gnome-terminal.
Has anyone else noticed this? It's quite distracting when I'm typing in emacs and I've finally become annoyed enough to get this ball rolling.
Duplicating the Bug
Open a rxvt-unicode terminal and launch emacs with the following comand:
emacs -nw
Create a new emacs buffer named "foo".
Switch the buffer "foo" to "text-mode".
Turn on the "visual-line-mode" minor mode.
Type the following into the emacs buffer, replacing <space> with the actual whitespace (i.e. spacebar) character:
1234<space>1234<space>1234<space>
The third space will advance the cursor but not erase the cursor from its previous position, making it look twice as wide. Entering a third character will advance the cursor once more, and things will look normal again.
Failed Workarounds
In my attempt to understand the problem, I have tried a few things which don't seem to help.
Setting the TERM environment variable to various values including "linux", "screen", "vt100", "vt102", etc.
Turning cursor blinking on and off in the rxvt-unicode configuration.
Successful Workarounds
I have discovered a few workarounds, which may give some clues as to the root of the problem.
If I use rxvt-unicode to launch an instance of Gnu Screen and run emacs inside of that, the problem disappears.
If I run emacs emacs inside of an xterm instead of rxvt-unicode the problem disappears.
If I set column-number-mode in emacs as suggested by the aforementioned livejournal post, the problem will also disappear.
Last edited by battlepanic (2011-11-21 20:00:53)I spoke with someone familiar with rxvt-unicode and got some answers. It seems that this is likely related to tab characters being output instead of spaces which may be an emacs optimization of some sort. Turning on the +ptab switch when invoking rxvt-unicode seems to elimnate the issue. A log of my discussion follows for anyone curious.
< __OoO__ > battlp: emacs outputs a tab character
< __OoO__ > battlp: which is "wide"
< __OoO__ > battlp: so you don't see an extra cursor, just the cursor
itself is wider
< __OoO__ > battlp: you can probably work around this emacs issue by
using "+ptab" when strating urxvt
< battlp > __OoO__: interesting. Is this "wide" cursor a unique
feature of urxvt? I've tested all the other terms I can
think of and haven't seen the same thing.
< __OoO__ > any temrinal has this
< __OoO__ > but only urxvt can store tabs
< __OoO__ > thats mostly useful when you want to paste text and want
tabs intact
< __OoO__ > because other terminals always convert tabs to whitespace
< __OoO__ > sorry, spaces
< battlp > Not your domain, I know, but any clue why emacs would be
spitting a tab in this plain "text" mode. It seems
bizarre.
< __OoO__ > tab is both a tab character as you are used to
< __OoO__ > as well as a cursor movement
< __OoO__ > for emacs, it's probably an optimization
< __OoO__ > 9000 cpu cycles wasted to avoid an extra space going over
your serial line
< __OoO__ > on second thought, its pretty bizarre, because thereis
only one space
< __OoO__ > but then, can happen if your screen engine it too
intelligent
< battlp > I also can't predict which spaces will do this. Running
emacs inside of screen eliminates the issue, to, which I
also don't understand.
< __OoO__ > likely, screen's engine isn't so cool and uses plain old
spaces or cursor movements
< __OoO__ > which spaces - probably the ones falling directly before a
tab boundary, i.e. at 7th, 15th etc.
< __OoO__ > column
< battlp > That sounds like it might be the spots where I'm seeing it.
Turning on emacs' column-number-mode Make it disappear for
the most part, except when backspacing.
< __OoO__ > so will +ptab, which tells urxvt to treat tab as a cursor
movement only
< battlp > Just tried to measure it with ruler-mode and of course that
makes it disappear as well.
< battlp > Yep, +ptab makes it go away. -
Rxvt-unicode 9.16-1 and click to launch url (urlLauncher)
After upgrading to rxvt-unicode 9.16-1 I found out I can't click to open a url in my browser.
Turns out
URxvt.urlLauncher: firefox
doesn't do anything because http://cvs.schmorp.de/rxvt-unicode/Changes the new version introduced
INCOMPATIBLE CHANGE: renamed urlLauncher resource to url-launcher.
Sidenote: https://www.archlinux.org/packages/comm … t-unicode/ says that gtk2-perl is an optional dependency to use the urxvt-tabbed, but I've been using urxvt-tabbed w/o it (even after the update).I found this with urxvt-perls; I had to change url-select.launcher to get it working again...
-
[SOLVED] Highlighted text in the shell, appearance rxvt-unicode
Hi,
Short question, when I highlight text in the shell or when text get highlighted in ncmpcpp or outer app running in the shell it gets basically impossible to read. Because background to text get the same color and strength then the text.
what setting should I look for to change what it look like when I mark and highlight text in the shell?
Thank you!
All the best,
Christer
Last edited by agkbill (2012-10-13 20:41:41)Additional info.
I am using i3 as window manager and terminal emulator "rxvt-unicode-256color"
.xinitrc
# set the cursor
xsetroot -cursor_name left_ptr
# set German keyboard layout
# setxkbmap -layout de
# start xmonad
#Power management turn off monitor etc
#xset dpms 0 7200 10800 &
xset -dpms; xset s off
# xloadimage laddar bakgrundsbild fick det inte att fungera tillsamans med xcompmgr som man
# använder för att få genomskinliga terminal fönster mm. Ersätter med bildvisaren "feh"
#xloadimage -onroot -fullscreen /home/christer/devices-extern/windows7/archlinux/stone_wall_ce.png
xrdb -merge ~/.Xresources # Denna rad behövs ifall man vill använda TERMINAL/emulator "urxvt"
feh --bg-scale /home/christer/devices-extern/windows7/archlinux/stone_wall_ce.png
setxkbmap -layout "us, se" -option "grp:alt_shift_toggle" #alt"grp:caps_toggle"
xcompmgr -c &
#xmonad
#awesome
exec /usr/bin/i3 -V -d all >~/i3log/i3log-$(date +'%F-%k-%M-%S') 2>&1
.Xresources
# transparency - true or false (default)
#URxvt*transparent: true
# tint with any color; i.e., blue, red, tomato4, olivedrab2, etc.
# some nice listings are at:
# http://www.nisrv.com/drupal/?q=node/11
# http://www.htmlgoodies.com/tutorials/colors/article.php/3478921
URxvt*tintColor: white
URxvt*inheritPixmap: true
# shading - 0 to 99 darkens, 101 to 200 lightens.
# Don't use with tintColor; just use a darker or lighter color instead.
#URxvt*shading: 40
# scrollback buffer lines - 65535 is max on most machines (64 is default)
URxvt*saveLines: 12000
# font color (default is black)
URxvt*foreground: DarkSlateGray1
# background color (prior to tinting) (default is white)
URxvt.depth: 32
URxvt.background: [10]#black
# Xft (X FreeType) with Bitstream, DejaVu, Liberation, or Terminus fonts:
# Fedora/debian packages: libXft/libxft2
# An anti-aliased font setup with Xft looks fantastic; it can be a bit choppy
# on older systems. You can always turn off anti-aliasing (antialias=false) if
# your terminal is sluggish. Use only ONE of the Xft pairs below:
# Xft: Bitstream fonts
# Fedora/debian packages: bitstream-vera-sans-mono-fonts/ttf-bitstream-vera
#URxvt*font: xft:Bitstream Vera Sans Mono:pixelsize=12:antialias=true:hinting=true
#URxvt*boldFont: xft:Bitstream Vera Sans Mono:bold:pixelsize=12:antialias=true:hinting=true
# Xft: DejaVu fonts
# Fedora/debian packages: dejavu-sans-mono-fonts/ttf-dejavu
URxvt*font: xft:DejaVu Sans Mono:pixelsize=12:antialias=true:hinting=true
URxvt*boldFont: xft:DejaVu Sans Mono:bold:pixelsize=12:antialias=true:hinting=true
# Xft: Liberation fonts
# Fedora/debian packages: liberation-mono-fonts/ttf-liberation
#URxvt*font: xft:Liberation Mono:pixelsize=13:antialias=true:hinting=true
#URxvt*boldFont: xft:Liberation Mono:bold:pixelsize=13:antialias=true:hinting=true
# Xft: Terminus fonts
# Fedora/debian packages: terminus-fonts/xfonts-terminus
#URxvt*font: xft:terminus:pixelsize=15
#URxvt*boldFont: xft:terminus:bold:pixelsize=15
# Traditional fonts - a more traditional font setup in lieu of xft
#URxvt*font:-*-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
#URxvt*boldFont:-*-courier-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
# Replace blue folder colors with a lighter shade for clarity. To
# set colored folders and files within urxvt, xterm, and aterm, add
# the following line to your ~/.bashrc ($HOME/.bashrc) file under
# the heading "# User specific aliases and functions":
# alias ls="ls -h --color=auto"
URxvt*color4: RoyalBlue
URxvt*color12: RoyalBlue
# scrollbar - true (default) or false
URxvt*scrollBar: false
# scrollbar position - left=false (default) or right=true
URxvt*scrollBar_right: false
# scrollbar style - rxvt (default), plain, next, or xterm
URxvt*scrollstyle: plain
#Fade the text by the given percentage when focus is lost.
URxvt*enable-fading on
URxvt*fade 50
URxvt*fadecolor black
Biggest problem is when I running console based applications like ncmpcpp or ranger.
Last edited by agkbill (2012-10-13 08:34:28) -
[solved] pacman -Syu made my rxvt-unicode pink
nothing against those who likes their terminal looking like Barbie's Dream House, but I'm baffled.
I did a pacman -Syu, shutdown, installed a 1TB drive, booted back up and now my urxvt background is bright pink.
This is my .Xdefaults.
URxvt*termName: rxvt-unicode
URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: firefox
URxvt.matcher.button: 2
URxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]
URxvt*saveLines: 4000
URxvt*background: #1c1c1c
!URxvt*background: #2E3436
URxvt*secondaryScroll: true
URxvt*scrollBar: false
URxvt*geometry: 130x25
URxvt.font: xft:DejaVu Sans Mono:size=8
URxvt.xftAntialias: true
URxvt*foreground: white
URxvt*pointerColor: white
URxvt*pointerColorBackground: black
URxvt*cursorColor: white
URxvt*keysym.Home: \033[1~
URxvt*keysym.End: \033[4~
!URxvt*inheritPixmap: True
URxvt*shading: 20
URxvt*tintColor: black
! Black
URxvt*color0: #262626
URxvt*color8: #252525
! Red
URxvt*color1: #C12121
URxvt*color9: #E50E0E
! Green
URxvt*color2: #597b20
URxvt*color10: #89b83f
! Yellow
URxvt*color3: #Ded838
URxvt*color11: #efef60
! Blue
URxvt*color4: #265997
URxvt*color12: #3F6FD0
! Magenta
URxvt*color5: #706c9a
URxvt*color13: #826ab1
! Cyan
URxvt*color6: #69a2b0
URxvt*color14: #a1cdcd
! White
URxvt*color7: #BBBBBB
URxvt*color15: #EEEEEF
I can't figure this out. Any ideas?
Last edited by scv5 (2009-08-12 16:46:40)I've had the same problem with Cygwin, so I gave a try... looks like the problem is the whitespace after the colours.
URxvt*background: #1c1c1c_
URxvt*foreground: white_ -
[SOLVED] Escape sequences instead of colors in rxvt-unicode
On a Git cheat sheet I found that I could add nice colors to Git's output, so I edited my ~/.gitconfig by adding:
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
However, when performing a git log my terminal looks like this:
ESC[33mcommit 226dcb52565b58952b78fb107d8d9def3ca396abESC[m
Merge: 8f8af9f 93341d8
where ESC's colors are reversed. So, instead of yellow commit lines it outputs everything in plain text.
What's wrong with my configuration? I am using rxvt-unicode 9.15-3.
Last edited by Marcel- (2012-12-06 13:14:12)Someone on the mailing list said that this was due to incorrect parameters to my pager, less. Adding -R to $LESS (or deleting the variable entirely) solved this issue.
-
[rxvt-unicode]pseudo-transparency not working with Awesome WM (solved)
Hi all,
first of all, let me tell you that I googled about this problem, I read the Archwiki, the rxvt FAQ and several threads in multiple forums but nothing that I found actually worked.
I'm using Awesome WM and OpenBox and my rxvt is the standard rxvt-unicode from the repos.
Since an update, rxvt is not transparent anymore (I was using pseudo-transparency). Actually, transparency works with OpenBox but it does not work with Awesome WM. I find it very weird.
I tried increasing the shading value in .Xdefaults as suggested in an other thread in this form but it did not help at all. I thought the problem was that I needed libafterimage so I installed it but then, how to use it?
Does someone have any idea about this? I'd be very thankfull!
Last edited by Sherwood51 (2011-01-18 17:04:37)And how exactly did you get it to work with feh ? I keep failing to get pseudo-transparency.
My theme.lua has this:
awsetbg -f -u feh path/to/wallpaper
and I also tried this:
feh --bg-scale path/to/wallpaper
and in Xdefaults:
URxvt*background 0
URxvt*depth 24 ( doesn't work with 32 either )
URxvt*inheritPixmap true
URxvt*transparent true
EDIT:
I got cairo working ( finally ), so I have true transparency, so don't mind my post.
Last edited by Varg (2011-01-19 21:08:33) -
[Solved] no non-ASCII character input in rxvt-unicode
Hello everyone,
For some days now, I can't write any non-ASCII characters any more in rxvt-unicode and rxvt-unicode-patched. Unfortunately, downgrading the rxvt-unicode package doesn't seem to help. To have at least a temporary solution, I'd like to know at least which packages I could try to downgrade as well. Any ideas, anyone?
greez,
maxmin
Last edited by Maximalminimalist (2011-03-12 13:12:26)When I try to type a non-ASCII-character I get nothing at all. This happens with my custom keyboard layout (modified programmer dvorak) and in some layouts I already tried (us: altgr-intl, ch, de and fr)
When I paste a non-ASCII characters in rxvt-unicode I get
maxmin ~ $ ?
This happens only on my x86_64 desktop which is more up to date than my i686 laptop. (I'm afraid now to do any updates.)
EDIT: I'm sorry, I don't know what you mean with locale settings. What do you mean with that?
EDIT2: Maybe just typing locale in the terminal is what you mean:
maxmin ~ $ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
With other terminal emulators I get sometimes also nothing and sometimes right displayed but wrong interpreted character in vim. I didn't take notes while doing that but I'll try again if needed.
Last edited by Maximalminimalist (2011-03-06 21:51:23) -
[SOLVED]missing terminfo entry rxvt-unicode-256color
i've installed rxvt-unicode-patched 9.18-3 from aur. first i could not open any terminal because of missing rxvt-unicode-256color terminfo entry in /usr/share/terminfo/r. i fixed this by adding URxvt*termName: rxvt-256color into .Xresources, but as far as i understand, this is not the right thing to do.
what should i do?
Last edited by s0l!d (2013-08-14 15:24:28)pacman -Qi rxvt-unicode-terminfo
Name : rxvt-unicode-terminfo
Version : 9.18-7
Beschreibung : Terminfo files for urxvt
Architektur : i686
URL : http://software.schmorp.de/pkg/rxvt-unicode.html
Lizenzen : GPL
Gruppen : Nichts
Stellt bereit : Nichts
Hängt ab von : Nichts
Optionale Abhängigkeiten: Nichts
Benötigt von : rxvt-unicode-patched
Optional für: Nichts
Konflikt mit : Nichts
Ersetzt : Nichts
Installationsgröße: 5,00 KiB
Packer : Sébastien Luttringer <[email protected]>
Erstellt am : Fr 05 Jul 2013 15:03:33 CEST
Installiert am : Do 08 Aug 2013 23:07:11 CEST
Installationsgrund : Installiert als Abhängigkeit für ein anderes Paket
Installations-Skript : Nein
Verifiziert durch: Signatur -
[SOLVED] Rxvt-unicode fails to paste PRIMARY selection owned by Vim
Urxvt almost always work with the X PRIMARY selection. i.e., if I select some
text in Firefox or other applications, I will be able to paste it in urxvt.
But Vim seems to be an exception. Steps to reproduce:
1. Select some text ("foo") in Vim, either using the mouse or in visual mode.
Leave the Vim window open.
2. In another urxvt window, press Shift-Insert, _nothing_ is pasted.
Middle mouse click has the same effect as Shift-Insert in urxvt.
3. Issue the command `xsel -po`, and the text "foo" is printed. This means
the text is indeed what the X PRIMARY selection holds (or points to).
4. The text "foo" is also pasted in Firefox by middle mouse click.
The text "foo" is also pasted in xterm by either middle mouse click or
Shift-Insert.
5.1. If you do `xsel -po | xsel -pi`, urxvt will behave like everyone else.
5.2. Without doing 5.1, quit Vim (:q). After that, "foo" will be pasted in
urxvt by Shift-Insert.
What Vim does on quit is documented in its help (:h x11-cut-buffer):
Vim wrote:
There are, by default, 8 cut-buffers: CUT_BUFFER0 to CUT_BUFFER7. Vim only
uses CUT_BUFFER0, which is the one that xterm uses by default.
Whenever Vim is about to become unavailable (either via exiting or becoming
suspended), and thus unable to respond to another application's selection
request, it writes the contents of any owned selection to CUT_BUFFER0. If the
"+ CLIPBOARD selection is owned by Vim, then this is written in preference,
otherwise if the "* PRIMARY selection is owned by Vim, then that is written.
My guesses are:
* Urxvt somehow requires the cut buffer (CUT_BUFFER0) to sync with the
PRIMARY selection, otherwise it will fail to request the PRIMARY selection.
* The reason why text selected from applications other than Vim can be pasted
just fine in urxvt is probably that they always sync the cut buffer with the
PRIMARY selection.
I may be wrong, so please do comment.
If my conclusion proves to be right, I will file a bug report to rxvt-unicode.
Edit: This issue is fixed in rxvt-unicode 9.12.
Last edited by lolilolicon (2011-07-02 16:31:45)lolilolicon wrote:
Urxvt almost always work with the X PRIMARY selection. i.e., if I select some
text in Firefox or other applications, I will be able to paste it in urxvt.
But Vim seems to be an exception. Steps to reproduce:
1. Select some text ("foo") in Vim, either using the mouse or in visual mode.
Leave the Vim window open.
2. In another urxvt window, press Shift-Insert, _nothing_ is pasted.
Middle mouse click has the same effect as Shift-Insert in urxvt.
3. Issue the command `xsel -po`, and the text "foo" is printed. This means
the text is indeed what the X PRIMARY selection holds (or points to).
4. The text "foo" is also pasted in Firefox by middle mouse click.
The text "foo" is also pasted in xterm by either middle mouse click or
Shift-Insert.
5.1. If you do `xsel -po | xsel -pi`, urxvt will behave like everyone else.
5.2. Without doing 5.1, quit Vim (:q). After that, "foo" will be pasted in
urxvt by Shift-Insert.
What Vim does on quit is documented in its help (:h x11-cut-buffer):
Vim wrote:
There are, by default, 8 cut-buffers: CUT_BUFFER0 to CUT_BUFFER7. Vim only
uses CUT_BUFFER0, which is the one that xterm uses by default.
Whenever Vim is about to become unavailable (either via exiting or becoming
suspended), and thus unable to respond to another application's selection
request, it writes the contents of any owned selection to CUT_BUFFER0. If the
"+ CLIPBOARD selection is owned by Vim, then this is written in preference,
otherwise if the "* PRIMARY selection is owned by Vim, then that is written.
My guesses are:
* Urxvt somehow requires the cut buffer (CUT_BUFFER0) to sync with the
PRIMARY selection, otherwise it will fail to request the PRIMARY selection.
* The reason why text selected from applications other than Vim can be pasted
just fine in urxvt is probably that they always sync the cut buffer with the
PRIMARY selection.
I may be wrong, so please do comment.
If my conclusion proves to be right, I will file a bug report to rxvt-unicode.
Hi lolilolicon,
I cannot reproduce the errors from step 2. My system has the following packages:
gvim 7.3.206-1
vim-runtime 7.3.206-1
rxvt-unicode 9.12-1
To be fair, rxvt-unicode was upgraded to 9.12 recently (I think it was sometime last week), and I also recall vim's visual mode selections NOT being paste-able into a separate urxvt window. But I guess the 9.12 update fixed things. (There are a couple regression fixes with the words "selection" to describe them @ http://cvs.schmorp.de/rxvt-unicode/Changes .) I tested both gvim and regular console vim (visual mode) and it all worked. I also double-checked with `xsel -po`. -
[SOLVED] vim-powerline with rxvt-unicode
Hi! I was wondering if anyone has been able to make the vim plugin vim-powerline work with urxvt.
It works fine with gvim and with gnome-terminal once i change the encoding to utf-8. I think there must be something missing form my urxvt configuration.
Here's my .Xresources, maybe some of you guys knows what i'm missing:
URxvt.imLocale: pt_PT.UTF-8
URxvt.scrollBar: off
URxvt.font: xft:Inconsolata-dz-Powerline:pixelsize=12:antialias=true:hinting=true
URxvt*loginShell:true
URxvt*termName:rxvt-unicode
URxvt.perl-ext-common: default,matcher,tabbed
URxvt.urlLauncher: /usr/bin/iceweasel
URxvt.matcher.button: 1
URxvt.perl-ext: default,url-select
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.underlineURLs: true
URxvt.tabbed.tabbar-fg: 2
URxvt.tabbed.tabbar-bg: 0
URxvt.tabbed.tab-fg: 3
URxvt.tabbed.tab-bg: 0
Last edited by ruaz (2012-03-31 12:23:37)I use powerline, but i have it installed via YADR. I had to tweak settings here-and-there as it's oriented towards a OSX install, but on the whole it worked out of the box. What exactly is the issue you're seeing? I think the only special stuff I did was making sure I had suitable fonts, and a snippet along the lines of:
if has("gui_running")
" GUI stuff
else
colorscheme solarized
set background=dark
let g:Powerline_symbols = 'unicode'
endif
EDIT: BTW, I can highly recommend the YADR configs; they are nicely organized and use a lot of nice plugins for any serious dev work.
Last edited by nogoma (2012-03-30 23:15:44) -
[SOLVED] rxvt-unicode: disable iso 14755
Hi,
I want to disable all the urxvt functionalities associated with the ctrl+shift keys. Is there a way to do this at runtime ?
The PKGBUILD seems to have the "disable-frills" flag. Then the only thing related to ctrl+shift should be iso 14755.
I was using rxvt-unicode-256color from AUR before and this was not happening.
Last edited by X-dark (2011-01-03 16:15:19)either compile with --disable-iso14755 or try URxvt* iso14755: False and URxvt* iso14755_52: False
Last edited by Mr.Elendig (2011-01-03 16:07:46)
Maybe you are looking for
-
URGENT: Please Help....Can't make or receive calls on Z10
Hi, I bought a Z10 about a month ago. Updated it as soon as the 10.2 was available officially and it has been running perfectly. Tonight, however, I was on a call and suddenly the audio went away. I tried disconnecting from the call but it wasn't di
-
What attributes must have a loop-ready audio file?
Hi! I perform songs for video production and have doubts about how must I edit my songs so as to be useful for video production, specially when they have to be looped. A few days ago one of my files was rejected because it has a tempo of 99.9732 bpm
-
Sp.Procurement key 40 stock transfer order.
Hi Friends, I am facing typical probelm in post go live stage of the project . Scenario : 2 plants say 'A ' & 'B' both are producing product 'x'. this product contains dependent componenets 'y' it is onle produced in plant A. Hence sp.procurement ke
-
Periodically when I open my site from a browser (i.e.6), I see some pages of my site split in half (See URL for pictures). Two Pictures The top picture shows the split (bad), the bottom picture shows how it should look. If I refresh my browser the pa
-
Set user password auto expired in ACS Server
Hi, Is the ACS has a function for me to configure in ACS Server to set the users' password will be expired in a period of time(e.g. 90 days)? Thanks and regards Ernest