Results 1 to 10 of 10

Thread: How to change computertemp applet background color to match curent theme?

  1. #1
    Join Date
    Dec 2007
    Beans
    89

    How to change computertemp applet background color to match curent theme?

    The Computer Temperature Monitor Applet's background color stays constant and ignores current theme settings.

    I have attached a picture which shows the Radiance theme with the applet on the top bar. Notice how the background under the applet is a completely different color than the rest of the applets?

    Is there any way to fix this?
    Attached Images Attached Images

  2. #2
    Join Date
    Apr 2005
    Location
    Xpain
    Beans
    117
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to change computertemp applet background color to match curent theme?

    This bug is fixed in current svn trunk. To install enter these commands on terminal:

    Code:
    $ sudo apt-get remove --purge computertemp
    $ sudo apt-get build-dep computertemp
    $ sudo apt-get install gnome-common subversion
    $ svn co http://svn.infinicode.org/computerte...k/computertemp
    $ cd computertemp
    $ sh autogen.sh --prefix /usr
    $ make
    $ sudo make install

  3. #3
    Join Date
    Nov 2005
    Location
    Sacramento,CA
    Beans
    7
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to change computertemp applet background color to match curent theme?

    You can also use checkinstall to make the sources into a package and install them:

    https://help.ubuntu.com/community/CheckInstall

  4. #4
    Join Date
    Jun 2010
    Beans
    11
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: How to change computertemp applet background color to match curent theme?

    Hi,

    I'm experiencing the same white background as impact.
    I tried the code suggested by infinito but it was not recognized, didn't work.
    Any ideas, it looks so darned ugly, using 10.04 and Bisigi Exotic panel.

    Edit: I guess the key is SVN trunk, looks like a whole lot of work to simply chance a background color.

    Thanks, guess I'll live with it.
    Last edited by Budchekov; September 29th, 2010 at 04:33 AM.

  5. #5
    Join Date
    Oct 2008
    Beans
    3,509

    Re: How to change computertemp applet background color to match curent theme?


  6. #6
    Join Date
    Jun 2010
    Beans
    11
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: How to change computertemp applet background color to match curent theme?

    Checked out that link, no such file exists to edit.

    Thanks for trying, it's no big deal, simpler to just use sensors-applet, I give up !

  7. #7
    Join Date
    Oct 2008
    Beans
    3,509

    Re: How to change computertemp applet background color to match curent theme?

    It's there.
    Each theme has it's own gtkrc file.
    Eg for the Ambiance theme it will be in the
    /usr/share/themes/Ambiance/gtk-2.0 folder.

    Then, because the themes in usr/share/themes are owned by root
    you would use in the terminal.
    Code:
    gksudo gedit /usr/share/themes/Ambiance/gtk-2.0/gtkrc
    or
    start the file browser with root privileges with
    Code:
    gksudo nautilus
    and navigate to the gtkrc file.

    If the theme has a panel.rc file you will need to edit that file.
    Last edited by stinkeye; October 3rd, 2010 at 05:54 AM.

  8. #8
    Join Date
    Jun 2010
    Beans
    11
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: How to change computertemp applet background color to match curent theme?

    Thanks stinkeye, I should have said I found the file but couldn't fine the code posted.
    I'll give it a go again later and report back.
    I'm new at this stuff and haven't been brave enough to touch anything root related...yet.


    Edit: OK found Exotic panel.rc file and put a hash mark in front of 'bg_pixmap [NORMAL] = "panel.png" '.
    Saved , logged off/in and it didn't work. Tried it with a space after the hash mark too.

    Edit: Solved ! appended this line as described here, it worked

    [gnome] Customising gnome panel applets - Page 2 - Ubuntu Forums

    @Thanks for your help with the 'root stuff' stinkeye, think I'm figuring things out.
    Last edited by Budchekov; October 4th, 2010 at 12:11 AM. Reason: Solved.

  9. #9
    Join Date
    Dec 2007
    Beans
    89

    Re: How to change computertemp applet background color to match curent theme?

    Thank you infinito and phosphoricx, it worked perfectly. I managed to download, compile and install the resulting package without a hitch and the background problem is fixed.

  10. #10
    Join Date
    Jun 2009
    Beans
    1

    Re: How to change computertemp applet background color to match curent theme?

    Quote Originally Posted by Budchekov View Post
    ...simpler to just use sensors-applet, I give up !

    I tried everything this thread said, and I have come to the conclusion that this statement is true.

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
  •