nx-libs icon indicating copy to clipboard operation
nx-libs copied to clipboard

/etc/nxagent hardcoded

Open uli42 opened this issue 8 years ago • 2 comments

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", \

uli42 avatar Oct 27 '16 22:10 uli42

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.

sunweaver avatar Feb 06 '17 16:02 sunweaver

and even nxagent.keyboard no longer exists

uli42 avatar Jan 16 '20 22:01 uli42