This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Konsole configuration / color schemes

Tags: konsole konsole konsole
(comma "," separated)
street spirit
Registered Member
Posts
19
Karma
0
Hi.

I've been using KDE 3.5 for a long time, and only recently installed Kubuntu Intrepid Ibex with KDE 4.2. After some initial disorientation, I find that I quite like the current KDE, but I still have a lot to learn about it.

I do most of my work in Konsole and Vim. I had custom color and font settings for both in my previous installation, and now I'm trying to set the colors I'm used to. The problem is that I can't find a way to disable the bold display. The old config files looked like this:

Code: Select all
#   slot    transparent bold
#      | red grn blu  | |
#      V V--color--V  V V
color  0 220 203 178  0 0 # 0 - Foreground Color
color  1   0   0   0  1 0 # 1 - Background Color
color  2   0   0   0  0 0 # 2 - Color 0 (black)
...


The new (auto-created) colorscheme file looks like this:

Code: Select all
[Background]
Color=0,0,0
Transparency=false

[BackgroundIntense]
Color=104,104,104
Transparency=false

[Color0]
Color=0,0,0
Transparency=false

[Color0Intense]
Color=104,104,104
Transparency=false

...


How are the names and numbers mapped from old to new?
And how can I prevent the text from being displayed bold?

TIA
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I believe this is controlled by the font specified in your Konsole profile.
Konsole > Edit Current Profile > Appearence > Edit Font.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
street spirit
Registered Member
Posts
19
Karma
0
Thanks, bcooksley. I failed to mention that only some of the color slots are displayed as bold, not all of them. For example, in a directory listing, normal files have regular font weight, while directories, links, executable files, or archives are displayed as bold. My apologies for being ambiguous about that.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does anything change if you try creating a new Profile?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
street spirit
Registered Member
Posts
19
Karma
0
bcooksley wrote:Does anything change if you try creating a new Profile?


No, that didn't change anything. Anyway, the new profile would use the same color scheme file as the default profile.

I've just discovered that the old style .schema files are still supported, in addition to the new .colorscheme format. I've copied my old .schema file to ~/.kde/share/apps/konsole, and it worked, except that the 'bold' setting is ignored, and the mapping is different. When I edit the schema with the GUI, a new .colorscheme file is created.

I'm beginning to suspect that this functionality was dropped from Konsole somewhere between 3.5 and 4.2. I hope I'm wrong about that, because I really really dislike bold fonts on my terminal. Reminds me too much of the old DOS days :'(.
street spirit
Registered Member
Posts
19
Karma
0
Ah, I think I just found a workaround: the Andale Mono font doesn't have a bold style.
I think I'm saved. [EDIT: or not, see below]

Thanks for your help.

Last edited by street spirit on Sun Apr 05, 2009 10:39 pm, edited 1 time in total.
street spirit
Registered Member
Posts
19
Karma
0
Something is still broken with the mapping. I've used a fresh profile from a virtualized Kubuntu Intrepid install for testing this, so there aren't any customizations yet.

When I edit a script file, the variable identifiers use the same color as the comments (in all the available color schemes). This isn't right... usually comments will be toned down, while identifiers should stick out. Are any of you seeing this too, or am I going crazy?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Sorry, but I do not experience this issue. This could be related to the way Kubuntu configures the default colours. Is XTerm affected?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
street spirit
Registered Member
Posts
19
Karma
0
bcooksley wrote:Sorry, but I do not experience this issue. This could be related to the way Kubuntu configures the default colours. Is XTerm affected?


(sorry for the late reply, I couldn't reach the forums all day)

If this problem is Kubuntu related, I'll check in their forums now, and file a Lauchpad bug if necessary. I'll post an update when I find out more.

Thanks.
street spirit
Registered Member
Posts
19
Karma
0
Found it.

Short answer: Vim now detects a different background color for the terminal; "set background=light" restored my preferred setting.

Long answer: see this posting
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you're issue has been resolved, could you please mark the thread as solved, using the "It's Solved" button, beside "New Reply". Thanks in advance.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
pchidamb
Registered Member
Posts
2
Karma
0
Actually this seems to be a bug with Konsole/KDE/Qt/Nvidia.

Please see
https://bugs.kde.org/show_bug.cgi?id=226308
street spirit
Registered Member
Posts
19
Karma
0
pchidamb wrote:Actually this seems to be a bug with Konsole/KDE/Qt/Nvidia.

Please see
https://bugs.kde.org/show_bug.cgi?id=226308

I don't think this is related. My problem was that the Konsole .colorscheme files in 4.2 (or earlier) didn't support setting any preferences for bold/normal styles, like the old .schema files did. I'm still using KDE 4.2, so I can't really comment on the issue you linked to, but it appears to be a different problem. I don't know if Konsole has added support for bold/normal preferences in the meantime; if it has, this may provide a workaround for you.
pchidamb
Registered Member
Posts
2
Karma
0
I am using kde 4.2 on Karmic and the konsole does not support bold characters well. The color scheme is a little messed up as well. The bold text in colors get snipped.

I am not sure what the issue is though.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell