Vielen Dank erst einmal! Aber betrachten wir den ganzen Versuch besser als "aufgegeben", nicht als "gelöst".
Beim Versuch von "wmctl" ./configure kommt:
Code:
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)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for pkg-config... no
checking for GLIB - version >= 2.0.0... no
*** A new enough version of pkg-config was not found.
*** See http://www.freedesktop.org/software/pkgconfig/
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
Gut, aber das ich kein X am laufen habe, wage ich zu bezweifeln ...
Und "gcc -o sdtoggle -lX11 sdtoggle.c" liefert:
Code:
sdtoggle.c:1:23: error: X11/Xatom.h: Datei oder Verzeichnis nicht gefunden
sdtoggle.c:2:22: error: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden
sdtoggle.c: In function ‘main’:
sdtoggle.c:9: error: ‘Display’ undeclared (first use in this function)
sdtoggle.c:9: error: (Each undeclared identifier is reported only once
sdtoggle.c:9: error: for each function it appears in.)
sdtoggle.c:9: error: ‘d’ undeclared (first use in this function)
sdtoggle.c:10: error: ‘Window’ undeclared (first use in this function)
sdtoggle.c:10: error: expected ‘;’ before ‘root’
sdtoggle.c:11: error: ‘Atom’ undeclared (first use in this function)
sdtoggle.c:11: error: expected ‘;’ before ‘_NET_SHOWING_DESKTOP’
sdtoggle.c:23: error: ‘root’ undeclared (first use in this function)
sdtoggle.c:26: error: ‘_NET_SHOWING_DESKTOP’ undeclared (first use in this function)
sdtoggle.c:26: error: ‘False’ undeclared (first use in this function)
sdtoggle.c:29: error: ‘XA_CARDINAL’ undeclared (first use in this function)
sdtoggle.c:30: error: ‘actual_type’ undeclared (first use in this function)
sdtoggle.c:31: error: ‘Success’ undeclared (first use in this function)
sdtoggle.c:52: error: ‘XEvent’ undeclared (first use in this function)
sdtoggle.c:52: error: expected ‘;’ before ‘xev’
sdtoggle.c:65: error: ‘SubstructureRedirectMask’ undeclared (first use in this function)
sdtoggle.c:65: error: ‘SubstructureNotifyMask’ undeclared (first use in this function)
sdtoggle.c:65: error: ‘xev’ undeclared (first use in this function)
Hier bin ich nicht C-Guru genug, aber es scheint so ziemlich nichts deklariert zu sein, evtl. weil die Verz. fehlen?
Danke noch mal für die Mühe, und sicher ist das auch irgendwie lösbar, aber das ist für mich so eine Sache wo ganz einfach Aufwand und Nutzen nicht mehr stimmen. (Zur Einnnerung, Super+D macht das selbe, dann muss man halt gefälligst diese Tastenkombi drücken!) Vielleicht sind die angegebenen Links auch schon nicht mehr aktuell?
Mit freundlichem Gruß, FM_81
Lesezeichen