[SOLVED] Change clock/buttons color XFCE4 ?

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Change clock/buttons color XFCE4 ?

Postby onikage » Nov 19th, '12, 19:41

Hey guys,
I'm trying to make something of a theme of my own with xfce4:
Screen: http://prikachi.com/images/564/5512564N.png

I made the panels black, but as you can see the buttons in both panels retained the default color. Plus both the clock and the Mageia logo are still black and thus unreadable.

What I want to do:
1. Make buttons black as well.
2. Make clock, logo and button font white so they can be readable on a black background.

How can I make this ? Thanks in advance.
Last edited by onikage on Nov 24th, '12, 21:46, edited 1 time in total.
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Change clock/buttons color XFCE4 ?

Postby doktor5000 » Nov 19th, '12, 22:31

Maybe grab some theme from http://xfce-look.org and take a look at how it is done there?
Or have a look in their forum? http://forum.xfce.org/viewtopic.php?id=7295
You can also use pretty much any guide that handles customizing or creating your own GTK theme, AFAIK.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18017
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Change clock/buttons color XFCE4 ?

Postby onikage » Nov 24th, '12, 19:10

Someone on another forum suggested to right click the clock module:
Properties=>Set format to "Custom Format"=>Edit the code
Code: Select all
<span color="#000000">%R</span>

However when I try to write in the format box, nothing happens. Any ideas why ?
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Change clock/buttons color XFCE4 ?

Postby winstonteacox » Nov 24th, '12, 19:50

Changing font color of panel (to white in this example).

Have a look at .gtkrc-2.0 in your home-folder. It should contain the line

Code: Select all
include "/home/YOURUSER/.gtkrc.mine"


If yes, ok. If not, attach this line.


Now create a new document and name it .gtkrc.mine

It should have the following content:

Code: Select all
style "panel"
{
    fg[NORMAL] = "#FFFFFF"
}

widget_class "*Panel*"      style "panel"
widget "*Panel*"            style "panel"
class "*Panel*"             style "panel"


Save .gtkrc.mine in your home folder.

So you have always a white (#FFFFF) font with the XFC-Panel.

Hope I could help.
cheers,
Bernd
Now after my words of profound wisdom, I'm going back to procrastinating.
User avatar
winstonteacox
 
Posts: 139
Joined: Mar 30th, '11, 16:05
Location: Straubing Germany

Re: Change clock/buttons color XFCE4 ?

Postby onikage » Nov 24th, '12, 20:20

Sound really helpful, only I don't have a .gtkrc-2.0 in ~/
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Change clock/buttons color XFCE4 ?

Postby doktor5000 » Nov 24th, '12, 21:27

Well, then create one containing that line mentioned before ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18017
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Change clock/buttons color XFCE4 ?

Postby onikage » Nov 24th, '12, 21:46

doktor5000 wrote:Well, then create one containing that line mentioned before ...


Ok, that worked quite well. Thanks :)
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest