basta che hai una roba del genere nel file di configurazione del server grafico /etc/X11/XF86Config nella sezione "Input device":



# These are the default XKB settings for XFree86
#
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
# Option "XkbVariant" ""
# Option "XkbOptions" ""

EndSection



N.B. L'importante cmq è che alla voce layout della tua tastiera hai il parametro "it"