nx-libs
nx-libs copied to clipboard
/etc/nxagent hardcoded
The central Makefile knows ETCDIR_NX
:
Makefile:ETCDIR_NX ?= /etc/nxagent
Makefile: $(INSTALL_FILE) etc/nxagent.keyboard $(DESTDIR)$(ETCDIR_NX)/
But some source files have this hardcoded:
nx-X11/programs/Xserver/hw/nxagent/Keystroke.c: * - /etc/nxagent/keystrokes.cfg
nx-X11/programs/Xserver/hw/nxagent/Keystroke.c: char *etcfile = "/etc/nxagent/keystrokes.cfg";
nx-X11/programs/Xserver/hw/nxagent/Keyboard.c:#define XKB_CONFIG_FILE_NX "/etc/nxagent/nxagent.keyboard"
nx-X11/programs/Xserver/os/oscolor.c: "/etc/nxagent/rgb", \
PR #319 reduces this issue to /etc/nxagent/keystrokes.cfg and /etc/nxagent/nxagent.keyboard.
However, those two are tricky, as there is some NX vs. X2Go code involved for both cases. We need an all-satisfying approach for this, that ideally does not break existing setups.
and even nxagent.keyboard no longer exists