Results 1 to 10 of 10

Thread: gtk apps ignore gconf theme settings

  1. #1
    Join Date
    Apr 2009
    Beans
    13

    gtk apps ignore gconf theme settings

    I am having theme problems with a new Ubuntu 10.10 install. The theme settings in gconf are being ignored. Once I logged in for the second time into my ubuntu installation, I was greeted with the Raleigh theme in all applications except Appearance Preferences. I can remove .gconf to have my next login reset to the Ambience theme, but the one after that switches right back to raleigh and the gtk default icon theme. I am using an nvidia graphics card with proprietary drivers. This problem is not present on my laptop (also a new install of 10.10). Does anyone have a solution?

  2. #2
    Join Date
    Dec 2008
    Location
    Northwest Ohio
    Beans
    1,581
    Distro
    Lubuntu 13.10 Saucy Salamander

    Re: gtk apps ignore gconf theme settings

    Hi,
    Open a terminal and run this command:
    Code:
    gnome-settings-daemon
    Does that fix the theme for you?
    If so, this is because your desktop starts before gnome-settings-daemon does(the timing is off). Unfortunately, that won't keep the theme applied after you restart. I'll go hunt for the solution... I remember seeing it a while ago.

    Edit:
    Here is one you can try to see if it helps. See the pst made by "serfcx"
    http://ubuntuforums.org/archive/index.php/t-688522.html
    This wasn't the post I was thinking of though... I'm still looking
    Last edited by ankspo71; October 12th, 2010 at 06:48 AM.

  3. #3
    Join Date
    Dec 2008
    Location
    Northwest Ohio
    Beans
    1,581
    Distro
    Lubuntu 13.10 Saucy Salamander

    Re: gtk apps ignore gconf theme settings

    Hi,
    If my above advice didn't help much, then this advice should help.

    Open up your text editor and paste this code into a new document
    Code:
    #!/bin/sh
    sleep 2 && gnome-settings-daemon ;
    Save this file as "apply-theme.sh" and save it inside your home folder.

    Next go to System > Preferences > Startup Applications.
    Create a new entry so that script to be executed on startup:
    Name = Apply Themes
    Command = sh /home/yourname/apply-theme.sh

    Don't forget to include the "sh" in the beginning of the command, and also change "yourname" to your own ubuntu username.

    Log out then log back in several times to see if the problem ever comes back. The "sleep 2" amount can be adjusted too. The amount is measured in seconds.

    The past few days I have been having a similar problem (sort of). My themes load correctly everywhere except nautilus and the right click menu on the desktop, which is also nautilus. The script above hasn't fixed my problem though.

  4. #4
    Join Date
    Apr 2009
    Beans
    13

    Re: gtk apps ignore gconf theme settings

    Actually, I reinstalled again (this was a new install) and the problem is not present. Odd. The only setting I think I changed was to set ext4 instead of btrfs as root, but that doesn't make much sense as my laptop is doing fine with btrfs. Strange all around.

  5. #5
    Join Date
    Oct 2006
    Location
    NL, EU
    Beans
    1,477
    Distro
    Ubuntu Development Release

    Re: gtk apps ignore gconf theme settings

    Quote Originally Posted by ankspo71 View Post
    The past few days I have been having a similar problem (sort of). My themes load correctly everywhere except nautilus and the right click menu on the desktop, which is also nautilus. The script above hasn't fixed my problem though.
    As of today, I have the exact same problem, except for the fact that my desktop icons are also not themed. Since afaik the only update i applied today, Iĺl revert to the previous kernel and see what happens.
    I'm thinking about it

  6. #6
    Join Date
    Jun 2006
    Location
    Sweden
    Beans
    69
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: gtk apps ignore gconf theme settings

    I also have this exact problem. I had to add a "killall -9 gnome-settings-daemon" to the start of my script as well to get it to work

    But the problem persists with Nautilus for me as well Awaiting a solution for this in this thread

    I didn't have this problem before I installed the proprietary Nvidia drivers.
    Last edited by Jungleboss; October 15th, 2010 at 05:07 PM.
    "I have come to believe that the whole world is an enigma,
    a harmless enigma that is made terrible by our own mad attempt
    to interpret it as though it had an underlying truth."

  7. #7
    Join Date
    Jun 2006
    Location
    Sweden
    Beans
    69
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: gtk apps ignore gconf theme settings

    This worked for me to restore the theme to Nautilus as well

    http://wwww.ubuntuforums.org/showpos...80&postcount=4
    "I have come to believe that the whole world is an enigma,
    a harmless enigma that is made terrible by our own mad attempt
    to interpret it as though it had an underlying truth."

  8. #8
    Join Date
    Dec 2008
    Location
    Northwest Ohio
    Beans
    1,581
    Distro
    Lubuntu 13.10 Saucy Salamander

    Re: gtk apps ignore gconf theme settings

    Quote Originally Posted by Jungleboss View Post
    This worked for me to restore the theme to Nautilus as well

    http://wwww.ubuntuforums.org/showpos...80&postcount=4
    Interesting... Thanks! The first command works for me just fine.

  9. #9
    Join Date
    Jan 2007
    Location
    Chicago, IL
    Beans
    15
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: gtk apps ignore gconf theme settings

    Don't know if this will help anyone but I just ran

    Code:
    sudo apt-get install --reinstall gnome-settings-daemon
    Then restarted and my settings have been working like normal since then.

  10. #10
    Join Date
    Feb 2005
    Location
    New York City, New York
    Beans
    127
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: gtk apps ignore gconf theme settings

    Quote Originally Posted by gesquive View Post
    Don't know if this will help anyone but I just ran

    Code:
    sudo apt-get install --reinstall gnome-settings-daemon
    Then restarted and my settings have been working like normal since then.
    This worked like a charm for me thanks! =D
    I'll let the peeps over at the bug tracker know about this.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •