The Linux Journey

Getting Started

- What is Linux?
- Installing Ubuntu

Site Navigation

- Home
- About
- Recent News
- Downloads

Account

- Login
- Register
- Logout

Search



Other Links

free search engine website submission top optimization
News

Gnome Panel Text Colors - March 27th, 2008 03:44:03

Like I promised, here is a tutorial on changing the text on the GNOME Panel to something other than black, and, like always, this tutorial will be copied to the Tutorial section of this site. It would have been nice if there was an option to change the color in the panel properties, but unfortunately there isn't. Hopefully this feature will be added to GNOME in the near future. Until then here is what you will need to do.

First of all go to your home folder (Main Menu -> places -> home folder) and see if there is a file in there called "gtkrc-2.0" . The period at the beginning of the file name means it is hidden, so in order to see it you will need to go to to the View menu at the top of the file browser and check "Show Hidden Files." If there file isn't there simply create it by right clicking -> Create Document (Be sure to name the file .gtkrc-2.0). Inside of this file You will want to add the following:
 style "panel"
{
 fg[NORMAL] = "#ffffff"
# fg[PRELIGHT] = "#000000"
# fg[ACTIVE] = "#ffffff"
# fg[SELECTED] = "#000000"
# fg[INSENSITIVE] = "#8A857C"
# bg[NORMAL] = "#000000"
# bg[PRELIGHT] = "#dfdfdf"
# bg[ACTIVE] = "#D0D0D0"
# bg[SELECTED] = "#D8BB75"
# bg[INSENSITIVE] = "#EFEFEF"
# base[NORMAL] = "#ffffff"
# base[PRELIGHT] = "#EFEFEF"
# base[ACTIVE] = "#D0D0D0"
# base[SELECTED] = "#DAB566"
# base[INSENSITIVE] = "#E8E8E8"
# text[NORMAL] = "#161616"
# text[PRELIGHT] = "#000000"
# text[ACTIVE] = "#000000"
# text[SELECTED] = "#ffffff"
# text[INSENSITIVE] = "#8A857C"
}
widget "*PanelWidget*" style "panel"
widget "*PanelApplet*" style "panel"
class "*Panel*" style "panel"
widget_class "*Mail*" style "panel"
class "*notif*" style "panel"
class "*Notif*" style "panel"
class "*Tray*" style "panel"
class "*tray*" style "panel"
This code here will change your panel text color from black to white. If you want a different color you only need to worry about the third line from the top... the one that says fg[NORMAL] = "#ffffff". You may be wondering what exactly this means. #ffffff is hexadecimal notation for the color white. The hexadecimal color codes are set up like this:

# Red Green Blue

Where each value goes from 00 to FF. That probably didn't make any sense, so I'll give some examples. If I wanted red text I would replace that line with fg[NORMAL] = "#ff0000" or if I wanted darker red I could go with fg[NORMAL] = "#bb0000". Here is a nice little website that might be useful. Once you have the color like you want it save the file and type this into the terminal to reset you panel:

killall gnome-panel

Thats all! Your text should now be in whatever color it is you chose. I know there is a lot of other stuff in the file we created that we didn't do anything with, but thats another topic for another day. If you want to play around with it you can try uncommenting the line you want (delete the "#" before the line) and changing the value to see what happens.
Comments (0)


No More Tutorial Section - March 25th, 2008 01:22:10

In my continuing indecision on how I should set this site up, I've decided to do away with the Tutorials page. Now don't get me wrong, I'm still going to write tutorials on how to get some things done, but I just figured that since most of my blog posts will be tutorials anyway theres no point of just copying my blog posts to another section. Might make things a bit confusing. One little problem, though, is that I wrote a few tutorials that I didn't make blog posts about, so my next few blog posts are probably just going to be duplicates of those. Shouldn't be too big of a problem because this site is still relatively new.
Comments (0)


Website Troubles and Future Updates - March 20th, 2008 23:56:30

Any good website designer knows to check out his or her website in multiple browsers to make sure it is rendering ok... So of course I did not do this. Well I just happened to get on a family member's laptop today, which happens to be running Windows Vista, and out of boredom I decided to see what this site looks like in Internet Explorer. Surprise Surprise it looks like crap. Internet Explorer doesn't render it anything like Firefox does, which would have been nice if it did. I guess sometime soon I'll tweak the format and try to get a little more consistency. I may have to do away with my div layers and just go with tables.

Now I realize I haven’t updated the site in a while, mostly due to school work, but hopefully I'll get on that soon. My next tutorial is going to cover a problem I had early on in my Linux adventure. I started off by getting a sweet black desktop wallpaper and made my GNOME panel transparent. I thought it looked pretty sweet, or would have looked sweet if the panel's text color wasn't black. The text blended right in with the wallpaper, which obviously isn't desirable. Long story short, I did some research and found out how to change the text color. It’s a little more complicated than I would have like, but it works. I'll be sure to get that tutorial up sometime soon.
Comments (0)


Page: | 1 | 2 | 3 | 4 | 5