Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Get KDE's colors into Wine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 996

PostPosted: Sat May 05, 2007 5:50 pm    Post subject: Get KDE's colors into Wine Reply with quote

Hello all,

I wanted to get rid of the shabby Wine colors, so I went and checked which
variables in Wine and KDE have about the same effect. Here's what I came
up with:

Code:

KDE                             Wine

################################################

~/.kde/share/config/kdeglobals  ~/.wine/user.reg

activeBackground                ActiveTitle
activeForeground                TitleText
selectBackground                Hilight
selectForeground                HilightText
background                      Scrollbar
                                Menu
                                ButtonFace
windowBackground                Window
windowForeground                WindowText
inactiveBackground              InactiveTitle
inactiveForeground              InactiveTitleText
foreground                      MenuText
                                ButtonText

################################################

~/.kde/share/config/kdesktoprc  ~/.wine/user.reg

Color1                          Background

################################################

KDE non-editable colors         ~/.wine/user.reg

KDE tooltip bg 255,255,221      InfoWindow
KDE tooltip fg 0,0,0            InfoText


The values are always the colors in RGB, the difference is that they're seperated
by spaces in Wine and commas in KDE.

For instance, this is what a variable in KDE might look like:

Code:

foreground=106,105,102


In Wine it looks like this:

Code:

"MenuText"="106 105 102"


In ~/.wine/user.reg you look out for the line

Code:

[Control Panel\\Colors] <some numbers>


and put the variables beneath it. E.g.

Code:

[Control Panel\\Colors] 1178384500
"ActiveTitle"="106 105 102"
"Background"="58 110 165"
"ButtonFace"="248 245 237"
"ButtonText"="106 105 102"
"Hilight"="106 105 102"
"HilightText"="255 255 255"
"InactiveTitle"="215 215 215"
"InactiveTitleText"="127 127 127"
"InfoText"="0 0 0"
"InfoWindow"="255 255 221"
"Menu"="248 245 237"
"MenuText"="106 105 102"
"Scrollbar"="248 245 237"
"TitleText"="255 255 255"
"Window"="255 255 255"
"WindowText"="106 105 102"


This example is for the carmelo KDE color scheme I downloaded from KDE-look.org.

There are more variables in Wine to control the colors, but the above are the
only ones accessible through winecfg, thus easy to figure out. Still, the Wine apps I
use fit the rest of my desktop much better now. I'd post a pic but I don't have
webspace handy atm.

Regards
mic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum