In Debian 8 Jessie and Ubuntu Trusty 14.04 LTS, the
xbase-clients package has been replaced by a set of utilities found in the
x11-xkb-utils package. The
x11-xkb-utils contains the
The following invocation of the
setxkbmap command disables Ctrl-Alt-Fn console/virtual terminal switching:
setxkbmap -option srvrkeys:none
To return to the previous behavior of the ctrl-alt-Fn keys, and also remove all other options, such as
setxkbmap -option ''
To print the current settings invoke
To invoke per user, put the command in the ~/.xinitrc file.
To invoke when an Xsession starts, create a file in
containing the above
setxkbmap command, and make it executable with
sudo chmod +x /etc/X11/Xsession.d/65srvrkeys-none.
I tested this with KDE on Ubuntu 14.04 LTS (Trusty). These settings are also available in System Settings > Input Devices > Keyboard > Advanced. If you change
srvrkeys in the GUI Settings, it shows up immediately in
setxkbmap and vice versa.