I emerged KLeds to be able to know the state of my NumLock and CapsLock keys (my Logitech keyboard doesn't have any leds or lights) The problem is that I want to use my "special" multimedia keys with this keyboard. In order to achieve this purpose, I run setxkbmap -rule xorg -Xbkmodel logiink -Xkblayout fr -Xkboptions caps:shift, which provide me a good keys' mapping (and my xorg.conf is also configured that way : but I used to run setxkbmap when opening my KDE sesssion, because I didn't notice since a few days ago that Kleds was the cause of my problems.) When setxkbmap is ran after Kleds, there is no problem : my multimedia keys are working well. When Kleds is ran after setxkbmap, the mapping is canceled. Another mapping seems to be applied, and this particular mapping doesn't fit my needs, since the multimedia keys are no more recognized. This problem is reproducible at each time. I don't know if it's a bug, or a misunderstanding of Kleds' parameters from me, but it's very annoying. Version of Kleds : kde-misc/kleds-0.8.0 (0) Version of KDE : kde-base/kde-3.4.3 (3.4) emerge --info : Portage 2.1-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 Celeron (Coppermine) Gentoo Base System version 1.12.4 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium3 -pipe -fomit-frame-pointer -mfpmath=sse -msse -mmmx" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -march=pentium3 -pipe -fomit-frame-pointer -mfpmath=sse -msse -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LINGUAS="fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa apache2 arts avi berkdb bitmap-fonts cdr cli crypt cups divx4linux dlloader dri dv dvd dvdread eds emboss encode fame flac foomaticdb fortran ftp gdbm gif gimpprint gpm gstreamer ieee1394 imlib ipv6 isdnlog java jpeg kde libg++ libwww mad matroska mikmod mmx motif mp3 mpeg ncurses nls nptl nsplugin nvidia ogg oggvorbis opengl pam pcre pdflib perl pic png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl subtitles tcpd truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis x86 xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_fr userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
I forgot the version of my X server : x11-base/xorg-server-1.0.2-r7 (0) x11-base/xorg-x11-7.0-r1 (0)
That's a design problem with the application. It hardcodes and registers the keys it wants to use. Broken approach. :) Please tell its developers about it. Nothing we can do anything about.
hello, I now changed kleds that it only reserves keys with X which are mapped via the dialog of kleds. that should do the trick. if nothing is ienterd, the key is not mapped. I attach the ebuild, please test it and feedback. thank you hans
Created attachment 97932 [details] ebuild for kleds-0.8.2 the ebuild file for the extended version 0.8.2 of kleds