Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-06-2010, 09:22 AM   #16
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372

Original Poster
Blog Entries: 2

Rep: Reputation: 32

So my question is this. I deleted gtkrc-2.0 file from my home directory and GNOME is still able to change themes and they work very well and it doesn't recreate gtkrc-2.0 file... how is this possible? how is this achieved?
Old 08-06-2010, 10:23 AM   #17
LQ Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
I use lxappearance, much better than gtk-chgtheme, etc

in all my builds I have as Dugan says a gtkrc-2.0 symlink and .gtkrc-2.0

except I link .gtkrc.2.0 to my gtkrc-2.0 in /home and /root
so I can point GDM, etc to the visible gtkrc-2.0

ln -sf .gtkrc-2.0 gtkrc-2.0
my .gtkrc-2.0 says

# DO NOT EDIT!  This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine

gtk-font-name="Sans Bold 10"
include "/home/guest/.gtkrc-2.0.mine"
and there you see lxappearance can change it
no need for script, etc

also you see there include "/home/guest/.gtkrc-2.0.mine"
thats for customizing further I guess so that lxappearance won't overwrite .gtkrc-2.0.mine?

theres probably a way to change cursor there too...?
I haven't tried as yet...

usually I keep a symlink in
that points to cursor theme I want; mine says

Inherits = crystalblue
crystalblue being the blue cursor from crystalcursors via SlackBuilds
as I'm in Slackware right now...

does any of that help?

Last edited by linus72; 08-06-2010 at 10:25 AM.
Old 08-06-2010, 11:04 AM   #18
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372

Original Poster
Blog Entries: 2

Rep: Reputation: 32
looks great. i think i have solved this one but here's another thing i can't figure out... I want to change the window manager theme too but can't figure out how... Metacity uses the gtk-window-decorator right? how do you change the theme of it without suing gconf or any other graphical tool?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to pass command-line parameter to shell script? Kropotkin Linux - Newbie 12 07-25-2011 10:24 AM
shell script read line from file, use it in command DiGiGoth Programming 5 08-31-2008 12:08 PM
command or shell script to print line range from file minil Programming 3 12-28-2005 09:05 AM
How to execute a command line in a shell script orgazmo Programming 5 05-09-2005 10:16 AM
Shell Script to read 500files from the command line saravanan1979 Programming 1 09-22-2004 10:44 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration