Welch' Herzensgüte!stulle schrieb:Purer Mitleidwo kommt denn plötzlich deine motivation her, wenn ich fragen darf?

]
KEINE GARANTIE - KEINE GARANTIE - KEINE GARANTIE - KEINE GARANTIE - KEINE GARANTIE
Aber sag trotzdem Amen, Bruder.
Es kann eigentlich nix schief gehen.
Was passieren kann ist, das KDE nicht mehr starten möchte weil in der xorg.conf etwas steht was es daran hindert.
OK, das passt scho'.
Also los! (Ach ja, Amen!)
Nochmal der Link für die Anderen zu deinem 'howto': http://www.linux-club.de/ftopic15176-s10.html
(Ach bin ich nett heute.. :roll: )
RPM's installiert.
Die mittlerweile 6-te Kopie von xorg.conf angelegt.
Mit 'cat' (was macht es eigentlich, werde aus manual nicht schlau) den event nachgeschaut. Da steht unter anderem:
Code:
I: Bus=0003 Vendor=046d Product=c50e Version=2510
N: Name="Logitech USB RECEIVER"
P: Phys=usb-0000:00:1d.1-2/input0
H: Handlers=mouse2 event3
B: EV=7
B: KEY=ffff0000 0 0 0 0 0 0 0 0
B: REL=143
Nun ist xorg dran!
before:
Code:
Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "12"
Option "Device" "/dev/input/mice"
Option "Name" "Logitech USB RECEIVER"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection
after:
Code:
Section "InputDevice"
Driver "evdev"
Identifier "Mouse[1]"
Option "Device" "/dev/input/event3"
Option "Name" "Logitech MX1000"
EndSection
Und
Code:
InputDevices "/dev/input/event3"
Nun zu Xmodmap (/etc/X11/Xmodmap).
Hmm...
Da steht unter anderem:
Code:
!! Please note: the natural way to assign keys are their keycodes.
!! The only problem is, that keycodes do depend on the architecture,
!! therefore keysymbols are used herein. This has the disadvantage
!! that this file can only be called once with the program xmodmap.
!! To get keycodes of the keys use the program xev.
!! The system Xmodmap is /usr/X11R6/lib/X11/Xmodmap, have a look.
Ich mach' erstmal weiter, sag Bescheid ob's Mist ist.
So, habe die 'pointer = 3 ..' - Zeile einfach hinten dran gehängt.
Installiere nun xbindkeys-1.7.2.tar.gz
..Stunde später..
komme nicht mehr weiter..
Kannst du mit den Fehlermeldungen was anfangen?
Code:
linux:/etc/xbindkeys-1.7.2 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... 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 a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... gawk
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for XCreateWindow in -lX11... no
configure: WARNING: Xbindkeys depends on the X11 libraries!
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking for scm_boot_guile in -lguile... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for strcasecmp... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
linux:/etc/xbindkeys-1.7.2 # make
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -I. -Wall -g -O2 -c xbindkeys.c
xbindkeys.c:21:22: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden
In file included from xbindkeys.c:29:
xbindkeys.h:21:22: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden
In file included from xbindkeys.c:29:
xbindkeys.h:24: error: syntax error before '*' token
In file included from xbindkeys.c:30:
keys.h:21:22: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden
In file included from xbindkeys.c:30:
keys.h:39: error: syntax error before "KeySym"
keys.h:39: warning: no semicolon at end of struct or union
keys.h:39: warning: no semicolon at end of struct or union
keys.h:40: warning: type defaults to `int' in declaration of `code'
keys.h:40: warning: data definition has no type or storage class
keys.h:42: error: syntax error before '}' token
keys.h:43: warning: type defaults to `int' in declaration of `key'
keys.h:43: warning: data definition has no type or storage class
keys.h:47: error: syntax error before '}' token
keys.h:48: warning: type defaults to `int' in declaration of `Keys_t'
keys.h:48: warning: data definition has no type or storage class
keys.h:54: error: syntax error before "KeySym"
keys.h:58: error: syntax error before '*' token
keys.h:60: error: syntax error before '*' token
keys.h:62: error: syntax error before '*' token
keys.h:64: error: syntax error before '*' token
keys.h:66: error: syntax error before '*' token
keys.h:69: error: syntax error before '*' token
keys.h:71: error: syntax error before '*' token
keys.h:77: error: syntax error before '*' token
keys.h:77: warning: type defaults to `int' in declaration of `keys'
keys.h:77: warning: data definition has no type or storage class
In file included from xbindkeys.c:32:
get_key.h:21:22: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden
In file included from xbindkeys.c:32:
get_key.h:23: error: syntax error before '*' token
In file included from xbindkeys.c:33:
grab_key.h:21: error: syntax error before '*' token
grab_key.h:23: error: syntax error before '*' token
xbindkeys.c:40: error: syntax error before '*' token
xbindkeys.c:42: error: syntax error before '*' token
xbindkeys.c:42: warning: type defaults to `int' in declaration of `start'
xbindkeys.c:42: warning: data definition has no type or storage class
xbindkeys.c:43: error: syntax error before '*' token
xbindkeys.c:44: error: syntax error before '*' token
xbindkeys.c:50: error: syntax error before '*' token
xbindkeys.c:50: warning: type defaults to `int' in declaration of `local_dpy'
xbindkeys.c:50: warning: data definition has no type or storage class
xbindkeys.c: In function `inner_main':
xbindkeys.c:63: error: `Display' undeclared (first use in this function)
xbindkeys.c:63: error: (Each undeclared identifier is reported only once
xbindkeys.c:63: error: for each function it appears in.)
xbindkeys.c:63: error: `d' undeclared (first use in this function)
xbindkeys.c:79: warning: implicit declaration of function `XDisplayName'
xbindkeys.c:79: warning: assignment makes pointer from integer without a cast
xbindkeys.c: At top level:
xbindkeys.c:152: error: syntax error before '*' token
xbindkeys.c:154: warning: return type defaults to `int'
xbindkeys.c: In function `start':
xbindkeys.c:155: error: `Display' undeclared (first use in this function)
xbindkeys.c:155: error: `d' undeclared (first use in this function)
xbindkeys.c:158: warning: implicit declaration of function `XOpenDisplay'
xbindkeys.c:168: warning: implicit declaration of function `XAllowEvents'
xbindkeys.c:168: error: `AsyncBoth' undeclared (first use in this function)
xbindkeys.c:168: error: `CurrentTime' undeclared (first use in this function)
xbindkeys.c:170: warning: implicit declaration of function `ScreenCount'
xbindkeys.c:172: warning: implicit declaration of function `XSelectInput'
xbindkeys.c:172: warning: implicit declaration of function `RootWindow'
xbindkeys.c:173: error: `KeyPressMask' undeclared (first use in this function)
xbindkeys.c:173: error: `KeyReleaseMask' undeclared (first use in this function)
xbindkeys.c:173: error: `PointerMotionMask' undeclared (first use in this function)
xbindkeys.c: At top level:
xbindkeys.c:182: error: syntax error before '*' token
xbindkeys.c: In function `end_it_all':
xbindkeys.c:186: error: `d' undeclared (first use in this function)
xbindkeys.c:188: warning: implicit declaration of function `XUngrabKey'
xbindkeys.c:188: error: `AnyKey' undeclared (first use in this function)
xbindkeys.c:188: error: `AnyModifier' undeclared (first use in this function)
xbindkeys.c:189: warning: implicit declaration of function `XUngrabButton'
xbindkeys.c:189: error: `AnyButton' undeclared (first use in this function)
xbindkeys.c:192: warning: implicit declaration of function `XCloseDisplay'
xbindkeys.c: At top level:
xbindkeys.c:198: error: syntax error before '*' token
xbindkeys.c: In function `adjust_display':
xbindkeys.c:200: warning: implicit declaration of function `DisplayString'
xbindkeys.c:200: error: `xany' undeclared (first use in this function)
xbindkeys.c:200: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
xbindkeys.c:201: error: `XWindowAttributes' undeclared (first use in this function)
xbindkeys.c:201: error: syntax error before "attr"
xbindkeys.c:205: warning: format argument is not a pointer (arg 3)
xbindkeys.c:207: warning: implicit declaration of function `XGetWindowAttributes'
xbindkeys.c:207: error: `attr' undeclared (first use in this function)
xbindkeys.c:210: warning: implicit declaration of function `XScreenNumberOfScreen'
xbindkeys.c: At top level:
xbindkeys.c:225: error: syntax error before '*' token
xbindkeys.c: In function `event_loop':
xbindkeys.c:227: error: `XEvent' undeclared (first use in this function)
xbindkeys.c:227: error: syntax error before "e"
xbindkeys.c:230: warning: implicit declaration of function `XSetErrorHandler'
xbindkeys.c:230: error: `XErrorHandler' undeclared (first use in this function)
xbindkeys.c:230: error: syntax error before "null_X_error"
xbindkeys.c:232: error: `True' undeclared (first use in this function)
xbindkeys.c:234: warning: implicit declaration of function `XNextEvent'
xbindkeys.c:234: error: `d' undeclared (first use in this function)
xbindkeys.c:234: error: `e' undeclared (first use in this function)
xbindkeys.c:238: error: `KeyPress' undeclared (first use in this function)
xbindkeys.c:250: error: request for member `type' in something not a structure or union
xbindkeys.c:250: error: request for member `event_type' in something not a structure or union
xbindkeys.c:252: warning: implicit declaration of function `XKeysymToKeycode'
xbindkeys.c:252: error: request for member `key' in something not a structure or union
xbindkeys.c:253: error: request for member `modifier' in something not a structure or union
xbindkeys.c:261: error: request for member `type' in something not a structure or union
xbindkeys.c:261: error: request for member `event_type' in something not a structure or union
xbindkeys.c:263: error: request for member `key' in something not a structure or union
xbindkeys.c:264: error: request for member `modifier' in something not a structure or union
xbindkeys.c:274: error: `KeyRelease' undeclared (first use in this function)
xbindkeys.c:286: error: request for member `type' in something not a structure or union
xbindkeys.c:286: error: request for member `event_type' in something not a structure or union
xbindkeys.c:288: error: request for member `key' in something not a structure or union
xbindkeys.c:289: error: request for member `modifier' in something not a structure or union
xbindkeys.c:297: error: request for member `type' in something not a structure or union
xbindkeys.c:297: error: request for member `event_type' in something not a structure or union
xbindkeys.c:299: error: request for member `key' in something not a structure or union
xbindkeys.c:300: error: request for member `modifier' in something not a structure or union
xbindkeys.c:310: error: `ButtonPress' undeclared (first use in this function)
xbindkeys.c:319: error: `Button1Mask' undeclared (first use in this function)
xbindkeys.c:319: error: `Button2Mask' undeclared (first use in this function)
xbindkeys.c:320: error: `Button3Mask' undeclared (first use in this function)
xbindkeys.c:320: error: `Button4Mask' undeclared (first use in this function)
xbindkeys.c:320: error: `Button5Mask' undeclared (first use in this function)
xbindkeys.c:324: error: request for member `type' in something not a structure or union
xbindkeys.c:324: error: request for member `event_type' in something not a structure or union
xbindkeys.c:326: error: request for member `key' in something not a structure or union
xbindkeys.c:327: error: request for member `modifier' in something not a structure or union
xbindkeys.c:337: error: `ButtonRelease' undeclared (first use in this function)
xbindkeys.c:351: error: request for member `type' in something not a structure or union
xbindkeys.c:351: error: request for member `event_type' in something not a structure or union
xbindkeys.c:353: error: request for member `key' in something not a structure or union
xbindkeys.c:354: error: request for member `modifier' in something not a structure or union
xbindkeys.c: At top level:
xbindkeys.c:373: error: syntax error before '*' token
xbindkeys.c: In function `catch_HUP_signal':
xbindkeys.c:403: warning: implicit declaration of function `XDisplayKeycodes'
xbindkeys.c:410: error: `AnyKey' undeclared (first use in this function)
xbindkeys.c:410: error: `AnyModifier' undeclared (first use in this function)
xbindkeys.c: At top level:
xbindkeys.c:374: warning: `null_X_error' defined but not used
make: *** [xbindkeys.o] Fehler 1
Einige Pakete habe ich mit YAST nachinstalliert, dann schien configure durchzulaufen. Aber 'make' will nun gar nicht mehr.
Bin gespannt, was ich jetzt falsch gemacht habe. :wtf: