LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-18-2011, 03:03 AM   #1
hopbyhop
Member
 
Registered: Aug 2008
Posts: 55

Rep: Reputation: 15
gnome keys applet


I need a caps/num lock indicator in GnomeSlackbuild 2.30.2 - Slackware64 13.1, since my new keyboard
has no leds.
I tried to install the GNOME LockKeys Applet, but it does not compile
(see error below).
I tried the 1.0 version from softpedia.com and a 1.083 from ubuntu
sources, without success.
I also tried to convert and install the x64 ubuntu compiled pkg, but
the applet does not load (gnome encountered a problem...)
Any suggestions? Advices? Alternatives?
Regards,
Mario

I run without errors
Code:
./configure --with-gnu-ld --prefix=/usr --libdir=/usr/lib64
then

Code:
lock-keys-applet-1.0$ make

make  all-recursive
make[1]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0'
Making all in docs
make[2]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs'
Making all in C
make[3]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs/C'
for file in lock-keys-applet-C.omf; do \
          scrollkeeper-preinstall /usr/share/gnome/help/lock-keys-applet/C/
lock-keys-applet.xml ./$file $file.out; \
        done
touch omf_timestamp
make[3]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs/C'
Making all in de
make[3]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs/de'
for file in lock-keys-applet-de.omf; do \
          scrollkeeper-preinstall /usr/share/gnome/help/lock-keys-applet/de/
lock-keys-applet.xml ./$file $file.out; \
        done
touch omf_timestamp
make[3]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs/de'
make[3]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs'
make[2]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs'
Making all in po
make[2]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/po'
Making all in src
make[2]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -DORBIT2=1 -
pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/
include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/
libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/
libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/
include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/
include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/
pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/
include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/
usr/include/pixman-1 -I/usr/include/libpng14 -I/usr/include/
panel-2.0   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -
DGNOME_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -
DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DDATADIR=\""/usr/
share/"\" -DPREFIX=\""/usr/"\" -DLIBDIR=\""/usr/lib64/"\" -DSYSCONFDIR=
\""/usr/etc/"\"    -g -O2 -MT lock-keys-applet.o -MD -MP -MF ".deps/
lock-keys-applet.Tpo" \
          -c -o lock-keys-applet.o `test -f 'lock-keys-applet.c' || echo
'./'`lock-keys-applet.c; \
        then mv -f ".deps/lock-keys-applet.Tpo" ".deps/lock-keys-applet.Po";
\
        else rm -f ".deps/lock-keys-applet.Tpo"; exit 1; \
        fi
lock-keys-applet.c:65: error: expected specifier-qualifier-list before
'GtkTooltips'
lock-keys-applet.c: In function 'about_cb':
lock-keys-applet.c:225: warning: cast to pointer from integer of
different size
lock-keys-applet.c: In function 'settings_cb':
lock-keys-applet.c:377: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
lock-keys-applet.c:381: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
lock-keys-applet.c:385: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
lock-keys-applet.c: In function 'ledstates_changed':
lock-keys-applet.c:500: error: 'LedApplet' has no member named
'tooltips'
lock-keys-applet.c: In function 'led_applet_factory':
lock-keys-applet.c:591: error: 'LedApplet' has no member named
'tooltips'
lock-keys-applet.c:653: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
lock-keys-applet.c:656: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
lock-keys-applet.c:659: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
make[2]: *** [lock-keys-applet.o] Error 1
make[2]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0'
make: *** [all] Error 2
 
Old 02-19-2011, 11:54 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
After searching around, it is a bug with the specific version of gtk you have. Look at the links I include for a workaround until the fix is pushed mainstream.

http://bugs.gentoo.org/206459
http://library.gnome.org/devel/gtk/s...-tooltips.html

Hope this helps man.
 
Old 02-22-2011, 01:58 AM   #3
hopbyhop
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Unhappy

GTK should be version 2.20: does not work...


Code:
ock-keys-applet-1.0$ make
make  all-recursive
make[1]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0'
Making all in docs
make[2]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/docs'
Making all in C
make[3]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/docs/C'
for file in lock-keys-applet-C.omf; do \
	  scrollkeeper-preinstall /usr/share/gnome/help/lock-keys-applet/C/lock-keys-applet.xml ./$file $file.out; \
	done
touch omf_timestamp
make[3]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/docs/C'
Making all in de
make[3]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/docs/de'
for file in lock-keys-applet-de.omf; do \
	  scrollkeeper-preinstall /usr/share/gnome/help/lock-keys-applet/de/lock-keys-applet.xml ./$file $file.out; \
	done
touch omf_timestamp
make[3]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/docs/de'
make[3]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/docs'
make[2]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/docs'
Making all in po
make[2]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/po'
Making all in src
make[2]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng14 -I/usr/include/panel-2.0   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGNOME_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DDATADIR=\""/usr/share/"\" -DPREFIX=\""/usr/"\" -DLIBDIR=\""/usr/lib64/"\" -DSYSCONFDIR=\""/usr/etc/"\"    -g -O2 -MT lock-keys-applet.o -MD -MP -MF ".deps/lock-keys-applet.Tpo" \
	  -c -o lock-keys-applet.o `test -f 'lock-keys-applet.c' || echo './'`lock-keys-applet.c; \
	then mv ".deps/lock-keys-applet.Tpo" ".deps/lock-keys-applet.Po"; \
	else rm -f ".deps/lock-keys-applet.Tpo"; exit 1; \
	fi
lock-keys-applet.c:66: error: expected specifier-qualifier-list before 'GtkTooltips'
lock-keys-applet.c: In function 'about_cb':
lock-keys-applet.c:227: warning: cast to pointer from integer of different size
lock-keys-applet.c: In function 'settings_cb':
lock-keys-applet.c:379: warning: passing argument 3 of 'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected 'GCallback' but argument is of type 'int'
lock-keys-applet.c:383: warning: passing argument 3 of 'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected 'GCallback' but argument is of type 'int'
lock-keys-applet.c:387: warning: passing argument 3 of 'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected 'GCallback' but argument is of type 'int'
lock-keys-applet.c: In function 'ledstates_changed':
lock-keys-applet.c:505: error: 'LedApplet' has no member named 'tooltips'
lock-keys-applet.c: In function 'led_applet_factory':
lock-keys-applet.c:598: error: 'LedApplet' has no member named 'tooltips'
lock-keys-applet.c:661: warning: passing argument 3 of 'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected 'GCallback' but argument is of type 'int'
lock-keys-applet.c:664: warning: passing argument 3 of 'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected 'GCallback' but argument is of type 'int'
lock-keys-applet.c:667: warning: passing argument 3 of 'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected 'GCallback' but argument is of type 'int'
make[2]: *** [lock-keys-applet.o] Error 1
make[2]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-applet-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/home/mario/Deskt

Last edited by hopbyhop; 02-22-2011 at 02:15 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome applet shogun1234 Programming 0 06-06-2010 03:03 AM
Make nm-applet store keys under KDE Jeff91 Linux - General 1 04-13-2010 05:58 PM
lock-keys-applet auto execution at startup dewittm LinuxQuestions.org Member Intro 0 03-14-2009 11:15 PM
Gnome Applet problems SuperNate Linux - Software 1 10-21-2005 12:43 PM
java applet doesn't real all keys nyk Programming 13 02-08-2005 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration