You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, January 12th 2007, 7:38pm

[Kopete] Chat window style colors

Is there a way I can change the colors used by a Kopete Chat Window's Style, other than installing a new Style Variant?

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Friday, January 12th 2007, 8:52pm

RE: [Kopete] Chat window style colors

There's no other way than getting your hands dirty with the *.xsl file of your style.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

3

Friday, January 12th 2007, 9:22pm

RE: [Kopete] Chat window style colors

OK, I've taken a quick look at /usr/share/apps/kopete/styles/Gaim.xsl, and I'm not sure where to make my changes. The problem I am trying to solve is that messages sent to me via IRC (that is, messages that are directed to me by starting with "myname:") are hard to read because the text color is too similar to the background color. Any pointers on where I need to make my changes?
neopathseitz has attached the following file:
  • Gaim.xsl (3.3 kB - 39 times downloaded - latest: Jun 13th 2008, 1:26pm)

This post has been edited 1 times, last edit by "neopathseitz" (Jan 12th 2007, 9:23pm)


4

Friday, January 12th 2007, 11:39pm

kopete comes with quite a lot of chat window styles.
Isn't there anyone that would fit your needs?

By the way: for irc, konversation is much more appropiate..
Help mee om KDE 3.5.5 in het Nederlands te vertalen

5

Saturday, January 13th 2007, 1:09am

The thing is, the Gaim style does almost suit my needs. If I could just change the colors on messages labelled as being for me, I would be happy.

I did look through the other styles. I prefer the Gaim style, because it uses only one line per message.

I will look into Konversation. But since I already use Kopete for other chat services, I was hoping to avoid running two applications.

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

6

Saturday, January 13th 2007, 12:37pm

RE: [Kopete] Chat window style colors

Try to change lines 77 or 81 to another color.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

7

Sunday, January 14th 2007, 9:29pm

I hate the 'use something else for irc' argument. If the app wasn't built for the protocol, then remove it. Simple as that.

As for a good style - try the Psi style - similar to Gaim but cleaner.

Also, if it's only your nick that's not showing up, surely then you know it's you anyway? ;-)

8

Thursday, January 18th 2007, 12:12am

Quoted

Originally posted by Kasyx
As for a good style - try the Psi style - similar to Gaim but cleaner.


Thanks, I'll take a look.

Quoted


Also, if it's only your nick that's not showing up, surely then you know it's you anyway? ;-)


Unfortunately, it's not just my nick that's unreadable, it's the whole message text that's is addressed to my nick that is unreadable.

9

Thursday, January 18th 2007, 12:26am

RE: [Kopete] Chat window style colors

Quoted

Originally posted by bram85
Try to change lines 77 or 81 to another color.


I tried entering the color codes on those lines into an HTML color calculator, and got back blue and red. What I am seeing on messages sent to me looks like black text on a dark green background. So I don't think those are the key values.

I do see a reference to "darkgreen" on line 34, but that looks like a foreground color.

10

Thursday, January 18th 2007, 12:30am

In the sample text displayed in the "Chat Window" tab under the "Appearance" settings, it's the same colors shown on the line:

(16:28:52) Jack: This is a highlighted message

11

Thursday, January 18th 2007, 12:36am

Quoted

Originally posted by neopathseitz

Quoted

Originally posted by Kasyx
As for a good style - try the Psi style - similar to Gaim but cleaner.


Thanks, I'll take a look.


Using Psi does removes any special highlighting from messages addressed to me. That does solve the problem of the messages being unreadable. But it also means the messages directed to me are not highlighted, making them harder to spot.

So I guess I'm still looking for a solution that:
1. Highlights messages sent to my nick
2. Uses highlight colors that are readable

12

Thursday, January 18th 2007, 12:41am

I checked the "colors and fonts" tab, and notice that the settings are:

Base font color: black
Background color: white
Highlight foreground: white
Highlight background: dark green

So it looks like for highlighed messages sent to my nick, the Gaim style is using the Base font color, with the Highlight background. Is it possible to edit the xsl to use the Highlight foreground with the Highlight background?

13

Thursday, January 18th 2007, 12:45am

For now, I've managed to work around the problem by changing the Highlight background color from dark green to a very light green. Now messages sent to my nick are highlighted, and I can still read the black text.