LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-30-2008, 06:00 PM   #1
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
gtk-chtheme app changes itself but not the other apps


Trying to get a High Contrast reverse image Theme for Linux 7/10 Gnu Ubuntu. Using Enlightenment E17 desktop.
Down Loaded gtk-chtheme and executed from cli and it selects and changes the theme for the gtk-chtheme applet but nothing else changes. I rebooted the system and still no joy.

Any help will be appreciated!
 
Old 07-31-2008, 12:48 PM   #2
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Original Poster
Rep: Reputation: 35
Getting High Read Traffic, but almost no Response traffic. Oops make that Absolutly no Response traffic
Let me restructure the question to see if I can elicit knowledgeable responses

If this is an inappropriate forum on how to make gtk-chtheme work can some kind soul point me to an appropriate forum>

Baseline issue = I can't read Light blue text on a glaring White Background. It's sort of a blind guy thing. Or, more like a semi-blind guy thing :-)

Is there a solution that will switch from a white background to a black background across the ubuntu gnu platform?

if gtk-chtheme is the only app designed to do the trick, is there someone that knows how to extend the function out beyond the applet and on to things like Firefox, Thunar and the open office apps?
 
Old 08-01-2008, 10:48 AM   #3
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Hi John
I don't use either Ubuntu or Enlightenment E17 desktop, but I can try to give you some general infos about how the gtk2 theme is used.
If you run gtk-chtheme as a user and you apply the chosen theme, the utility should create a $HOME/.gtkrc-2.0 file.
Check if you have one with the theme you chose.
For example here is mine :
Code:
include "/usr/share/themes/QtCurve/gtk-2.0/gtkrc"

style "user-font"
{
        font_name="DejaVu Sans 11"
}
widget_class "*" style "user-font"

gtk-fallback-icon-theme = "gnome"
gtk-theme-name="QtCurve"
gtk-font-name="DejaVu Sans 11"
You can also create/edit manually this file instead of using the gtk-chtheme utility.
The gtkrc file of the chosen theme in the first line should of course exist. As you see you can choose also the font and the icon theme.

Now to have that config file used, you need a environment variable :
GTK2_RC_FILES=$HOME/.gtkrc-2.0
Personally I have it created in my $HOME/.bashrc file :
Code:
export GTK2_RC_FILES=$HOME/.gtkrc-2.0
It can be .profile or something else for you.
Then do a logout/login .
I hope that these infos will help you.
Greetings.
 
Old 08-02-2008, 01:18 PM   #4
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Original Poster
Rep: Reputation: 35
Thank you for your help.
As it happens, the command gtk-chtheme works for Gnome applications executed from the CLI.
Those same applications executed from my Desktop (Enlightenment E17) revert to Theme provided with the E17 Desktop.

The current work around is to open the apps from the CLI and then minimize them to the Shelf for use as needed.

Going forward I will consider moving to a Gnome Desktop. (That's several clicks up on the learning Curve for me) :-) It looks like all the components are available from the gOS disk that came with my Walmart Special. I'm thinking all I need to do is:
1. Figure out how to disconnect the E17 Desktop so that It doesn't execute at power Up
2. Figure out which file needs to be installed in Synaptics for the Gnome Desktop
3. Edit some configuration file that will cause the Gnome Desktop to startup

Thanks again for your response
 
  


Reply


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
GTK apps display chinese, QT apps dont zhangmaike Linux - Desktop 0 07-04-2007 12:57 AM
'dialog' app for GTK+2.0 General Programming 6 04-23-2006 02:10 PM
XID in Gtk APP pulsez Programming 1 07-13-2005 07:12 PM
gtk app problem emg Linux - Software 3 04-30-2005 02:22 PM
GTK error when starting gtk-chtheme Dswissmiss Linux - Software 1 10-02-2004 12:53 AM


All times are GMT -5. The time now is 03:51 PM.

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