Using Kubuntu 18.04 on an HP Envy DV6-7260HE, everything seems to run fine, really good actually.
I can't find the configuration file to turn on number lock at login screen. I have already turned on number lock in system settings but this doesn't control the login screen.
I had this same problem with Kubuntu 16.04 and fixed it by changing number lock to "ON" in a configuration file but cannot remember the file name or where it is.
I've already looked in etc/sddm, only file there is Xsession, and it says absolutely nothing about number lock.
Not sure where else to look and google hasn't been much help.
Can anyone help?
I can't find the configuration file to turn on number lock at login screen. I have already turned on number lock in system settings but this doesn't control the login screen.
I had this same problem with Kubuntu 16.04 and fixed it by changing number lock to "ON" in a configuration file but cannot remember the file name or where it is.
I've already looked in etc/sddm, only file there is Xsession, and it says absolutely nothing about number lock.
Code:
#! /bin/sh# Xsession - run as user
session=$1
# Note that the respective logout scripts are not sourced.
case $SHELL in
*/bash)
[ -z "$BASH" ] && exec $SHELL $0 "$@"
set +o posix
[ -f /etc/profile ] && . /etc/profile
if [ -f $HOME/.bash_profile ]; then
. $HOME/.bash_profile
elif [ -f $HOME/.bash_login ]; then
. $HOME/.bash_login
elif [ -f $HOME/.profile ]; then
. $HOME/.profile
fi
;;
*/zsh)
[ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
emulate -R zsh
[ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
zhome=${ZDOTDIR:-$HOME}
# zshenv is always sourced automatically.
[ -f $zdir/zprofile ] && . $zdir/zprofile
[ -f $zhome/.zprofile ] && . $zhome/.zprofile
[ -f $zdir/zlogin ] && . $zdir/zlogin
[ -f $zhome/.zlogin ] && . $zhome/.zlogin
setopt shwordsplit noextendedglob
;;
*/csh|*/tcsh)
# [t]cshrc is always sourced automatically.
# Note that sourcing csh.login after .cshrc is non-standard.
xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
$SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c 'export -p' >! $xsess_tmp"
.
$xsess_tmp
rm -f $xsess_tmp
;;
*/fish)
xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
$SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
. $xsess_tmp
rm -f $xsess_tmp
;;
*) # Plain sh, ksh, and anything we do not know.
[ -f /etc/profile ] && . /etc/profile
[ -f $HOME/.profile ] && . $HOME/.profile
;;
esac
# invoke global X session script
. /etc/X11/Xsession
Can anyone help?



Comment