LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gtk-chtheme app changes itself but not the other apps (https://www.linuxquestions.org/questions/linux-newbie-8/gtk-chtheme-app-changes-itself-but-not-the-other-apps-659346/)

john test 07-30-2008 05:00 PM

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!

john test 07-31-2008 11:48 AM

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?

berbae 08-01-2008 09:48 AM

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.

john test 08-02-2008 12:18 PM

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


All times are GMT -5. The time now is 05:56 AM.