Results 1 to 10 of 26

Thread: HOW TO: How to compile and install Gnome panel sensors-applet

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Berkeley
    Beans
    86
    Distro
    Ubuntu 8.10 Intrepid Ibex
    I wanted a persistent display of my CPU and hard drive temperatures on my Gnome panel (I tend to work with one maximized window at a time, so I'm not into gdesklets.) The Breezy universe repository offers the xfce4-sensors-plugin, but, for whatever reason, Breezy doesn't include sensors-applet for Gnome. Here's what I did to install it.

    First, get sensors working. Don't proceed without this step. Be warned that it's possible to render your machine unbootable if you configure things incorrectly.

    There are Debian packages available. I didn't use them. Maybe one or the other would work in Ubuntu; I don't know. This how-to calls for installing the build-essential package, which is a bunch of stuff you only need to compile things yourself. If disk space is tight or you otherwise don't like the idea of installing that much stuff to get one little applet, don't do it.

    Code:
    sudo apt-get install build-essential
    sudo apt-get install libpanel-applet2-dev
    sudo apt-get install libxml-parser-perl
    If your hard drive supports SMART monitoring (which it probably does unless it's really old) and you want to use the sensors-applet to display its temperature, then:

    Code:
    sudo apt-get install hddtemp
    When it asks you if you want it to run as a server, say yes. You can

    Code:
    sudo dpkg-reconfigure hddtemp
    if you want to change it later.

    Then download sensors-applet-1.5.2.tar.gz from Sourceforge. (This is the current unstable version; the release version is 1.4.)

    Code:
    cd ~/Desktop # or wherever you downloaded it to
    tar xvzf sensors-applet-1.5.2.tar.gz
    cd sensors-applet-1.5.2
    ./configure --prefix=/usr
    make
    sudo make install
    You should now be able to right-click on your panel, select 'Add to Panel', and the add to panel window will include 'Hardware Sensors Monitor' with a computer chip icon, under Accessories. Click and drag it to the panel. Right-click on it and select properties to configure it. Here's a picture of mine, on a left-hand-side vertical panel.
    Attached Images Attached Images
    Last edited by Zed; November 20th, 2005 at 02:31 AM.

  2. #2
    Join Date
    Jul 2005
    Beans
    431

    Re: HOW TO: How to compile and install Gnome panel sensors-applet

    Quote Originally Posted by Zed
    tar xvzf sensors-applet-1.5.2.tar
    should be "tar xvzf sensors-applet-1.5.2.tar.gz"

  3. #3
    Join Date
    Oct 2004
    Location
    Berkeley
    Beans
    86
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOW TO: How to compile and install Gnome panel sensors-applet

    Fixed; thanks.

  4. #4
    Join Date
    Nov 2005
    Beans
    15

    HOW TO: How to compile and install Gnome panel sensors-applet

    Tootal Linux newB here
    I get this error all the time I try to install anything. What do I lack? I tried installing gawk(what is this?). Anyways please help me on what I need to install to be able to compile? Thanks

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... no
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for gcc... gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables

  5. #5
    Join Date
    Oct 2005
    Location
    Sydney
    Beans
    1,952
    Distro
    Kubuntu

    Re: HOW TO: How to compile and install Gnome panel sensors-applet

    That error is basically saying you don't have some packages that are required to make, compile and build.

    I assume that you did a
    Code:
    sudo apt-get install build-essential
    as per the guide. You may also need to
    Code:
    sudo apt-get install gcc-3.4
    To install the GNU C compiler

  6. #6
    Join Date
    Nov 2005
    Beans
    15

    HOW TO: How to compile and install Gnome panel sensors-applet

    Thanks for the quick reply
    I already installed the GCC 4.0 also installed GCC 3.4 thru Synaptic.

  7. #7
    Join Date
    Oct 2004
    Location
    Northern California
    Beans
    92
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOW TO: How to compile and install Gnome panel sensors-applet

    I just followed these steps and it worked for sensors-applet-1.6.tar.gz, so the original thread may want to be updated with this information.

  8. #8
    Join Date
    Sep 2006
    Location
    Florida
    Beans
    45
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOW TO: How to compile and install Gnome panel sensors-applet

    For some reason I was missing the follwoing dependence: libpanel-applet2-dev
    I've looked for it in Synaptic and installed it.

    I'm using Dapper and once I've finished the install as suggested, I went to install Panel-sensor on my top panel. But I didn't find it under "Accessories". However, there was a "Hardware monitor" System... Is this the same program??

    Either way, I have what I need now!
    D201GLY2A SiS662; Celeron 220; Ubuntu Server 8.04 64bits
    A8V Deluxe; ATI Radeon 9550; AMD64 3800; Ubuntu 8.04 / XP
    GA-MA78GM-S2H; AMD LE-1620; Ubuntu 8.04 MythTV Front end
    Registered Linux User number 439576

  9. #9
    Join Date
    Apr 2010
    Beans
    4

    Re: HOW TO: How to compile and install Gnome panel sensors-applet

    Wow, still works perfectly after 7 years!!!! (with version 3.0, some more dependencies to solve but very easy, just do what the configure step tells you)
    Installing and using GNOME instead of Unity and following this guide allows you to use sensors-applet with ubuntu 11.10! (sensors-applet was removed from the 11.10 repo!!!)

  10. #10
    Join Date
    Mar 2006
    Beans
    3

    Re: HOW TO: How to compile and install Gnome panel sensors-applet

    big help! thanks!

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
  •