You are not logged in.

#1 2010-03-02 23:48:02

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

VTE + light background + manpages = unreadable

Hi guys,

I'm having problems with VTE (virtual terminal emulator). I have configured it to use a very light background (something like rgb(220, 200, 200)). Now manpages and e.g. yaourt displays some stuff in white which is completely unreadable because of the light background.

Any solution for this? smile

Offline

#2 2010-03-03 00:01:28

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 319

Re: VTE + light background + manpages = unreadable

Sorry to interrupt your thread, but since I looked for a very long time for a way to change VTE's colors, I would really appreciate that if you tell me how you did it. AFAIK it doesn't accept any command line arguments.

Offline

#3 2010-03-03 01:37:25

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: VTE + light background + manpages = unreadable

dauerbaustelle:
By default plain VTE uses black text on a white background.  The default background is (221, 221, 221), so the default color scheme should work fine for you.  I poked around with yaourt and could not make it produce white-on-white.  Man also was fine, though the bright green on grey was a little hard to head.  Maybe "vte --reverse" ?

SoleSoul:
Plain VTE, while being perfect usable, is mostly a piece of example code illustrating how to use the library.  If you want to customize it, go with one of the many VTE based terms.  EvilVTE is about as light as they come (lighter than vanilla VTE!), though I really like the right click menu and hotkeys Lilyterm provides.  See http://www.calno.com/evilvte/ for a list of the VTE terms and their sizes.

Last edited by keenerd (2010-03-03 01:44:43)

Offline

#4 2010-03-03 13:15:08

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: VTE + light background + manpages = unreadable

keenerd, I'm using evilvte which uses vte and it is configured to use a light background.

This is a screenshot of the valgrind man page. http://ubuntu-pics.de/bild/45011/shot_6v303Z.png

Offline

#5 2010-03-03 14:13:15

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: VTE + light background + manpages = unreadable

See, there is an actual program called "vte" that provides a minimal example shell.  To receive assistance that is not worthless, please actually say what program you are using next time :-)

With EvilVTE, the fix is simple: change your color scheme.  Redefine white to be a darker shade.  Looking at http://www.calno.com/evilvte/config.h suggests several likely options, but I don't see an obvious way to change the 16 primary terminal colors, so you might be out of luck.  Why there is an option to desaturate the background image with the scroll wheel, but not set all the colors is beyond me.

Alternatively, enable colored man pages: http://wiki.archlinux.org/index.php/Man … _man_pages

Offline

#6 2010-03-03 19:54:52

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: VTE + light background + manpages = unreadable

Hrm. Maybe I just should switch the terminal emulator. I'm using colored man pages, but man's not the only problem, packer/yaourt for example are affected by this, too.

Hm.

Offline

#7 2010-03-03 20:58:49

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: VTE + light background + manpages = unreadable

Okay, I figured it out.  Use

define COLOR_STYLE    XTERM
or
define COLOR_STYLE    RXVT

and set the colors (through Xdefaults) the way you would for xterm or rxvt respectively.

Offline

#8 2010-03-03 21:03:19

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: VTE + light background + manpages = unreadable

Thank you very much! Worked for me. smile

Offline

#9 2010-03-03 22:09:34

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 319

Re: VTE + light background + manpages = unreadable

I know EvilVTE. I thought that he found a way to easily configure VTE standalone.
Thank you anyway keenerd.

Offline

Board footer

Powered by FluxBB