You are not logged in.

#1 2007-09-11 14:52:13

Warren Watts
Member
Registered: 2007-09-09
Posts: 22

[SOLVED] adding grandr (a gnome-applet) to Xfce panel

There is a handy-dandy screen resolution switcher gnome applet I like called grandr (it's a gui front-end for randr) that I am having problems adding to my Xfce panel. 


It's not in any of the repositories, so I compiled it from source (which went faultlessly, I might add).  It installed with "make install" without a problem, but now I don't know how to add it to the Xfce panel. 
Here is the output from "make install":

[root@myhost grandr_applet-0.3]# make install
Making install in src
make[1]: Entering directory `/home/warren/grandr_applet-0/grandr_applet-0.3/src'
make[2]: Entering directory `/home/warren/grandr_applet-0/grandr_applet-0.3/src'
test -z "/usr/local/libexec" || mkdir -p -- "/usr/local/libexec"
  /bin/install -c 'grandr' '/usr/local/libexec/grandr'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/warren/grandr_applet-0/grandr_applet-0.3/src'
make[1]: Leaving directory `/home/warren/grandr_applet-0/grandr_applet-0.3/src'
Making install in po
make[1]: Entering directory `/home/warren/grandr_applet-0/grandr_applet-0.3/po'
if test -r ".././mkinstalldirs"; then \
          .././mkinstalldirs /usr/local/share; \
        else \
          /bin/sh ../mkinstalldirs /usr/local/share; \
        fi
mkdir /usr/local/share/locale
mkdir /usr/local/share/locale/en
mkdir /usr/local/share/locale/en/LC_MESSAGES
installing en.gmo as /usr/local/share/locale/en/LC_MESSAGES/grandr_applet.mo
if test "grandr_applet" = "glib"; then \
          if test -r ".././mkinstalldirs"; then \
            .././mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
          else \
            /bin/sh ../mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
          fi; \
          /bin/install -c -m 644 ./Makefile.in.in \
                          /usr/local/share/glib-2.0/gettext/po/Makefile.in.in; \
        else \
          : ; \
        fi
make[1]: Leaving directory `/home/warren/grandr_applet-0/grandr_applet-0.3/po'
make[1]: Entering directory `/home/warren/grandr_applet-0/grandr_applet-0.3'
make[2]: Entering directory `/home/warren/grandr_applet-0/grandr_applet-0.3'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/doc/grandr_applet" || mkdir -p -- "/usr/local/share/doc/grandr_applet"
 /bin/install -c -m 644 'README' '/usr/local/share/doc/grandr_applet/README'
 /bin/install -c -m 644 'COPYING' '/usr/local/share/doc/grandr_applet/COPYING'
 /bin/install -c -m 644 'AUTHORS' '/usr/local/share/doc/grandr_applet/AUTHORS'
 /bin/install -c -m 644 'ChangeLog' '/usr/local/share/doc/grandr_applet/ChangeLog'
 /bin/install -c -m 644 'INSTALL' '/usr/local/share/doc/grandr_applet/INSTALL'
 /bin/install -c -m 644 'NEWS' '/usr/local/share/doc/grandr_applet/NEWS'
test -z "/usr/local/share/pixmaps" || mkdir -p -- "/usr/local/share/pixmaps"
 /bin/install -c -m 644 'grandr.png' '/usr/local/share/pixmaps/grandr.png'
test -z "/usr/local/lib/bonobo/servers" || mkdir -p -- "/usr/local/lib/bonobo/servers"
 /bin/install -c -m 644 'GrandrApplet.server' '/usr/local/lib/bonobo/servers/GrandrApplet.server'
make[2]: Leaving directory `/home/warren/grandr_applet-0/grandr_applet-0.3'
make[1]: Leaving directory `/home/warren/grandr_applet-0/grandr_applet-0.3'

I selected XfApplet from the "Add Items to the Panel" dialog, but grandr doesn't appear on the list of gnome applets installed.  There isn't any option to add an applet that doesn't appear on the list.
I have scoured the web for answers related to adding gnome applets to Xfce, but I can't seem to find anything specific to my problem. 
Any clues on what I need to do in order for grandr to show up on the list of applets in XfApplet?

Last edited by Warren Watts (2007-09-12 19:28:52)


Dual Boot: Arch Linux/Wolvix Cub - 700 MHz AMD Duron - 256MB RAM - 10GB Hard Drive - 8MB AGP
             Ubuntu 7.04 - 450MHz Pentium III - 384MB RAM - 10GB Partition - 32MB AGP

Offline

#2 2007-09-11 18:54:34

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: [SOLVED] adding grandr (a gnome-applet) to Xfce panel

It's possible - I could be wrong - that it's because it's been installed to /usr/local, rather than /usr. There may be a way to make XfApplet search for it in /usr/local (if there is, I don't know it), but probably the easiest thing to do is "make uninstall", then run "configure" again with the option "--prefix=/usr". "make" should be a lot quicker, because it won't have to recompile much, then "make install" again.

It's worth a try. (I should make that my sig.)


0 Ok, 0:1

Offline

#3 2007-09-12 02:29:39

Warren Watts
Member
Registered: 2007-09-09
Posts: 22

Re: [SOLVED] adding grandr (a gnome-applet) to Xfce panel

Changing the install path in configure fixed the issue.
Grandr now appears in the list of available gnome applets and I can add it to a panel.
Only problem I am having now is that XfApplet doesn't properly display the associated icon properly.  In fact, it doesn't show any icon at all.  The applet is there; I can right click it the space in the panel where the icon should be and change screen resolutions just fine; but no icon.  I just put a separator on either side of it so I know where it is.

Thanks for your help, dunc!


Dual Boot: Arch Linux/Wolvix Cub - 700 MHz AMD Duron - 256MB RAM - 10GB Hard Drive - 8MB AGP
             Ubuntu 7.04 - 450MHz Pentium III - 384MB RAM - 10GB Partition - 32MB AGP

Offline

#4 2007-09-12 18:26:44

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: [SOLVED] adding grandr (a gnome-applet) to Xfce panel

I had similar problems myself. In the end, I just assumed XFApplet was a bit flaky. Running Gnome applets in the Xfce panel, it ain't natural. smile


0 Ok, 0:1

Offline

#5 2007-09-12 20:05:26

hdoria
Forum Fellow
From: Brazil
Registered: 2007-06-28
Posts: 52
Website

Re: [SOLVED] adding grandr (a gnome-applet) to Xfce panel

Offline

#6 2007-09-15 16:31:42

Warren Watts
Member
Registered: 2007-09-09
Posts: 22

Re: [SOLVED] adding grandr (a gnome-applet) to Xfce panel

You REALLY have to forgive my newbie-ness concerning the AUR...

I just spent the last 45 minutes trying to figure out how to retrieve the package listed in the last post so I could install it with pacman.

I just can't seem to make it find the package in the AUR.

I don't know what to add/delete/modify in my pacman.conf file to find the package.

Can someone help?


Dual Boot: Arch Linux/Wolvix Cub - 700 MHz AMD Duron - 256MB RAM - 10GB Hard Drive - 8MB AGP
             Ubuntu 7.04 - 450MHz Pentium III - 384MB RAM - 10GB Partition - 32MB AGP

Offline

#7 2007-09-15 18:41:11

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: [SOLVED] adding grandr (a gnome-applet) to Xfce panel

Warren Watts wrote:

I just can't seem to make it find the package in the AUR.

You won't. The AUR is a different kind of repository that doesn't (usually) contain the binary packages that pacman installs. You have to make them yourself out of the bits that are in there. Download the tarball from the page hdoria linked to, and take a look at the wiki entry about makepkg, ignoring the stuff about ABS.

Pacman's only half of what's so great about Arch. This is the other half. big_smile


0 Ok, 0:1

Offline

#8 2007-09-15 23:24:58

Thrillhouse
Member
From: Arlington, VA, USA
Registered: 2007-05-29
Posts: 175

Re: [SOLVED] adding grandr (a gnome-applet) to Xfce panel

And if you can figure out how to install that package from the AUR, you can figure out how to install others like yaourt or aurbuild, which you can use from the command line, just like pacman, to install packages from the AUR.  Good luck.


For the strength of the pack is the wolf, and the strength of the wolf is the pack.

Offline

Board footer

Powered by FluxBB