Dear Hendrick,

Thanks for pointing out that this issue has been raised before on the fvwm mailing list:

https://www.mail-archive.com/fvwm@lists.math.uh.edu/msg16901.html

Indeed the problem Raphael describes seem identical to the one I have with fvwm 2.6.5 inside tightvncserver on Debian.

Unfortunately I must report that I still did not find a solution to the problem. I still keep fvwm pinned at version 2.5.30 which does bind the hotkeys on my systems also within a VNC server. You can easily install the older version using the package from Debian Wheezy and then hold it using aptitude. This does not affect any other packages on my Debian systems.
On the Debian list they say:

   So after  all, this  bug may have  been triggered by  a change  in VNC
   rather than in FVWM.

I don't see how Fvwm can help.
Try the VNC folks.
Well, before we jump to fast conclusions, I want to emphasize once more that, on my headless FreeBSD server, I run fvwm 2.6.5 inside tightvncserver 1.3.10 with all keybindings working perfectly (including Ctrl-Space). So it definitely is technically possible to get those two programs to work together as they should. And as TightVNC 1.3.10 has stopped evolving many years ago, I still wonder if the bug is not related to the specific way how fvwm 2.6.5 is packaged for Debian.

Someone with more knowledge of the build processes could actually look at how the FreeBSD ports maintainers make their builds. See

https://www.freshports.org/x11-wm/fvwm2/
https://www.freshports.org/net/tightvnc/

For convenience, I attach the Makefile which is used to automatically build fvwm (2.6.5 as of today) on my FreeBSD system. That built has always been binding keys correctly in the VNC server.

Yours,

Claude

--
-----------------------------------
Dr. Claude Krantz

Für das
Max-Planck-Institut fuer Kernphysik
Saupfercheckweg 1
D-69117 Heidelberg

Email: claude.kra...@mpi-hd.mpg.de

# Created by: peter
# $FreeBSD: head/x11-wm/fvwm2/Makefile 394508 2015-08-17 14:20:40Z mat $

PORTNAME=       fvwm
PORTVERSION=    2.6.5
PORTREVISION=   7
CATEGORIES=     x11-wm
MASTER_SITES=   ftp://ftp.fvwm.org/pub/fvwm/version-2/ \
                http://www.fvwm.org/generated/icon_download/
DISTFILES=      ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=     c...@freebsd.org
COMMENT=        Popular virtual window manager for X

RUN_DEPENDS=    gm4:${PORTSDIR}/devel/m4

# Other ports this port cannot coexist with
CONFLICTS?=     fvwm-1.* fvwm-2.[457].*

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-mandoc --without-gnome --disable-gtk
USES=           gmake perl5 pkgconfig tar:bzip2
USE_XORG=       xcursor xft xinerama xpm xrender

OPTIONS_DEFINE= ICONS ICONV STROKE RPLAY SESSION_MGMT PNG SVG BIDI NLS
OPTIONS_DEFAULT=ICONS ICONV SESSION_MGMT PNG
OPTIONS_SUB=    yes

STROKE_DESC=            support for mouse gestures
RPLAY_DESC=             RPlay support in FvwmEvent
SESSION_MGMT_DESC=      Session Management support
BIDI_DESC=              Asian bi-directional text support

PLIST_SUB=      FVWM_VERSION="${PORTVERSION}"

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MICONS}
FVWM_ICONS=     fvwm_icons-20070101
DISTFILES+=     ${FVWM_ICONS}.tar.bz2
.endif

.if ${PORT_OPTIONS:MICONV}
USES+=                  iconv
.else
CONFIGURE_ARGS+=        --disable-iconv
.endif

.if ${PORT_OPTIONS:MSTROKE}
LIB_DEPENDS+=   libstroke.so:${PORTSDIR}/devel/libstroke
CONFIGURE_ARGS+=        --with-stroke-library=${LOCALBASE}/lib \
                        --with-stroke-includes=${LOCALBASE}/include
.else
CONFIGURE_ARGS+=        --without-stroke-library
.endif

.if ${PORT_OPTIONS:MRPLAY}
LIB_DEPENDS+=   librplay.so:${PORTSDIR}/audio/rplay
CONFIGURE_ARGS+=        --with-rplay-library=${LOCALBASE}/lib \
                        --with-rplay-includes=${LOCALBASE}/include
.else
CONFIGURE_ARGS+=        --without-rplay-library
.endif

.if ${PORT_OPTIONS:MSESSION_MGMT}
USE_XORG+=      sm
.else
CONFIGURE_ARGS+=        --disable-sm
.endif

.if ${PORT_OPTIONS:MPNG}
LIB_DEPENDS+=   libpng.so:${PORTSDIR}/graphics/png
CONFIGURE_ARGS+=        --with-png-includes=${LOCALBASE}/include \
                        --with-png-library=${LOCALBASE}/lib
.else
CONFIGURE_ARGS+=        --without-png-library
.endif

.if ${PORT_OPTIONS:MSVG}
USE_GNOME+=     librsvg2
.else
CONFIGURE_ARGS+=        --disable-rsvg
.endif

.if ${PORT_OPTIONS:MBIDI}
LIB_DEPENDS+=   libfribidi.so:${PORTSDIR}/converters/fribidi
CONFIGURE_ARGS+=        --enable-bidi \
                        --with-bidi-bindir=${LOCALBASE}/bin
.else
CONFIGURE_ARGS+=        --disable-bidi
.endif

.if ${PORT_OPTIONS:MNLS}
USES+=          gettext
CONFIGURE_ARGS+=        --with-intl-library=${LOCALBASE}/lib \
                        --with-intl-includes=${LOCALBASE}/include
.else
CONFIGURE_ARGS+=        --disable-nls
.endif

.include <bsd.port.pre.mk>

.if empty(ICONV_LIB)
CONFIGURE_ARGS+=--without-iconv-library
.else
CONFIGURE_ARGS+=--with-iconv-library=${ICONV_PREFIX}/lib \
                --with-iconv-includes=${ICONV_PREFIX}/include
.endif

.if ${PORT_OPTIONS:MICONS}
post-extract:
        @${MKDIR} ${WRKDIR}/icons
        @${TAR} -xzf ${DISTDIR}/${FVWM_ICONS}.tar.bz2 -C ${WRKDIR}/icons
.endif

post-patch:
        @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \
                ${WRKSRC}/modules/FvwmM4/FvwmM4.c

post-install:
        ${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \
                ${STAGEDIR}${PREFIX}/etc/system.fvwm2rc.dist
.if ${PORT_OPTIONS:MICONS}
        ${MKDIR} ${STAGEDIR}${PREFIX}/share/fvwm/pixmaps
        ${INSTALL_DATA} ${WRKDIR}/icons/${FVWM_ICONS}/*.xpm \
                ${STAGEDIR}${PREFIX}/share/fvwm/pixmaps
.endif

.include <bsd.port.post.mk>

Reply via email to