exit 0
----------------------------------
# /etc/X11/Xsession.d/55numlockx
# In the script that called this, set -e has been set. Errors in any
# command will abort the entire script and X won't start. By putting
# this part in a subshell, any errors will abort the subshell - which
# we want, in case numlockx fails.
# The 'true' at the end ensures that the entire script will never end
# with an error code, even if there was an error.
# Ariel Shkedi <[email protected]>
# numlockx用于X启用NumLock
(
test -x /usr/bin/X11/numlockx && /usr/bin/X11/numlockx on
)