Page 1 of 2
urxvt looks terrible
Posted: 24. Sep 2012, 21:28
by mimosa
I undertook to package rxvt-unicode, and all seems fine - except that when I tested the version in the repos, its default configuration is awful. For a start, it's black-on-white. When I tried to run screen, I was told
And it has this clunky scrollbar all down the left side.
I see that urxvt is the default terminal emulator in Salix FLuxbox - and I also seem to remember it in Salix Openbox Beta, where it was the total opposite, slick and attractive and very very black. IIRC.
Is this config done in user-settings-{edition}? Suppose someone wanted to use it in Xfce or Ratpoison? I have a vague memory of trying and being frustrated ... more to the immediate point, it makes testing the package hard. I should emphasise that I haven't built it yet - this is the one from the repos.
I'd be grateful for any pointers - perhaps to a glitzy .urxvtrc somewhere?
Re: urxvt looks terrible
Posted: 25. Sep 2012, 07:01
by gapan
mimosa wrote:I undertook to package rxvt-unicode, and all seems fine - except that when I tested the version in the repos, its default configuration is awful. For a start, it's black-on-white. When I tried to run screen, I was told
And it has this clunky scrollbar all down the left side.
I see that urxvt is the default terminal emulator in Salix FLuxbox - and I also seem to remember it in Salix Openbox Beta, where it was the total opposite, slick and attractive and very very black. IIRC.
Is this config done in user-settings-{edition}? Suppose someone wanted to use it in Xfce or Ratpoison? I have a vague memory of trying and being frustrated ... more to the immediate point, it makes testing the package hard. I should emphasise that I haven't built it yet - this is the one from the repos.
I'd be grateful for any pointers - perhaps to a glitzy .urxvtrc somewhere?
Look here:
http://salix.enialis.net/i486/13.37/sou ... box.tar.gz
inside .Xresources and .bashrc.
Re: urxvt looks terrible
Posted: 25. Sep 2012, 07:39
by Tim CowChip
~/.Xdefaults
Code: Select all
!-------------------------------------------------------------------------------
!
! U R X V T - Setting
!
!real transparency with active compositor
!URxvt*depth: 32
!URxvt*background: rgba:0000/0000/0000/dddd
!
URxvt*scrollBar: false
!URxvt*scrollColor: grey13
!URxvt*troughColor: black
!URxvt*scrollBar_floating: true
!URxvt*scrollBar_right: true
URxvt*cursorColor: darkorange1
URxvt*foreground: grey75
URxvt*background: grey15
URxvt*saveLines: 7777
URxvt*cursorBlink: false
URxvt*termName: rxvt-256color
URxvt*font: xft:Dejavu Sans Mono:pixelsize=10.5
URxvt*boldFont: xft:Dejavu Sans Mono:pixelsize=10.5
URxvt*colorBD: orange
URxvt*transparent: true
URxvt*shading: 33
URxvt*tintColor: turquoise
URxvt.cutchars: ()*,<>[]{}|`""''
!URxvt.tabbed.tabbar-fg: 6
!URxvt.tabbed.tabbar-bg: 0
!URxvt.tabbed.tab-fg: 0
!URxvt.tabbed.tab-bg: 3
URxvt*iso14755_52: false
URxvt.perl-ext-common: matcher
URxvt.urlLauncher: urlLauncher $0
!URxvt*matcher.pattern.1: \\b(mailto:)[\\w\-\@;\/?:&=%\$_.+!*\x27(),~#]+ [\\w\-\@;\/?:&=%\$_+!*\x27()~]
!URxvt.matcher.launcher.1: claws-mail
URxvt*matcher.pattern.1: \\bhttps?:\/\/(?:(?:www.youtube|youtube).com\/watch\\?.*v=|youtu.be/)([\\w-]*)
URxvt*matcher.launcher.1: urlLauncher -video $0
URxvt*matcher.pattern.2: \\bhttps?:\/\/vimeo.com\/([\\w-]*)
URxvt*matcher.launcher.2: urlLauncher -video $0
URxvt*matcher.pattern.3: \\bhttps?:\/\/[\\w-.]*\/[\\w./?&@#-]*.(?i)(mp3|ogg|wav|wma|flv)
URxvt*matcher.launcher.3: urlLauncher -audio $0
URxvt*matcher.pattern.4: \\bhttps?:\/\/[\\w-.]*\/[\\w./?&@#-]*.(?i)(jpg|jpeg|png)
URxvt*matcher.launcher.4: urlLauncher -image $0
!colors
!black
URxvt*color0: #171717
URxvt*color8: #737373
!red
URxvt*color1: #FF5E5E
URxvt*color9: #FF7878
!green
URxvt*color2: #9CE82B
URxvt*color10: #9ACD32
!yellow
URxvt*color3: #F0E68C
URxvt*color11: #EEE8AA
!blue
URxvt*color4: #008AFF
URxvt*color12: #4F98FF
!magenta
URxvt*color5: #E88CFF
URxvt*color13: #EDA6FF
!cyan
URxvt*color6: #87CEFA
URxvt*color14: #B0E2FF
!white
URxvt*color7: #DCDCCC
URxvt*color15: #FFFFFF
Re: urxvt looks terrible
Posted: 25. Sep 2012, 09:40
by mimosa
Thank you both. That certainly improved things - though .Xdefaults was needed as well.
Curiously, the only difference in the first two files (apart from my own existing tweaks) was that the Fluxbox .bashrc contains the line
which seems counterintuitive if the standard terminal is urxvt.
Is there any way of including this configuration in the package? For instance, I bet there's a location in /etc where an .Xdefaults would be read it not present in ~/.
Otherwise, urxvt is practically unusable without the user configuring it.
EDIT
@TimCowchip
That file just gives me a pink screen with (I would guess) pink writing on it
Re: urxvt looks terrible
Posted: 25. Sep 2012, 09:43
by gapan
mimosa wrote:Is there any way of including this configuration in the package? For instance, I bet there's a location in /etc where an .Xdefaults would be read it not present in ~/.
No.
mimosa wrote:Otherwise, urxvt is practically unusable without the user configuring it.
Yes.
One can always make a wiki page with configuration instructions though.

Re: urxvt looks terrible
Posted: 25. Sep 2012, 17:59
by Tim CowChip
Try commenting out these lines:
Code: Select all
URxvt*transparent: true
URxvt*shading: 33
URxvt*tintColor: turquoise
while uncommenting these lines:
Code: Select all
!URxvt*depth: 32
!URxvt*background: rgba:0000/0000/0000/dddd
note that "!" is used instead of "#" for commenting in this file.
you can use a color other than turquoise and change the depth or shading numbers.
there is a good wiki here:
https://wiki.archlinux.org/index.php/Rxvt-unicode
Re: urxvt looks terrible
Posted: 25. Sep 2012, 18:21
by mimosa
Thanks gapan; I'll bear it in mind, once the packaging season is over. Is it legitimate to include some sort of warning in the package description, such as:
Making urxvt usable requires per-user configuration that can't be included in the package, please search for suggestions
?
@ TimCowChip
Thanks, I'll try those. However, in xfce, your config just gives me a pink cursor, not a pink screen; so it must be something to do with how windows are handled in Ratpoison.
Re: urxvt looks terrible
Posted: 25. Sep 2012, 18:29
by Tim CowChip
I got that .Xdefaults file from here:
http://fluxbox-wiki.org/index.php?title=Xdefaults_setup
I just copied the urxvt part since I don't really use xterm or aterm.
You could try eliminating lines until it works.
Re: urxvt looks terrible
Posted: 25. Sep 2012, 18:43
by gapan
mimosa wrote:Thanks gapan; I'll bear it in mind, once the packaging season is over. Is it legitimate to include some sort of warning in the package description, such as:
Making urxvt usable requires per-user configuration that can't be included in the package, please search for suggestions
?
Sure. You could also include a README you write with instructions in the package and also add sample configuration files in /usr/doc.
Re: urxvt looks terrible
Posted: 25. Sep 2012, 20:43
by mimosa
Well, if no-one's in a tearing hurry for this package, I think I'll take my time over it then, and try and do something along those lines. However, apart from that, it's basically ready to go.