Bonjour à tous,
J'aurais besoin d'aide pour verrouiller le pavé numérique avant l'ouverture de ma session. Je reprends
ce post dont j'ai suivi les solutions et pour l'instant rien ne marche.
Dans mes paramètres clavier, j'ai décoché l'option restaurer l'état du verrouillage du clavier au démarrage, ci dessous le code du fichier .config/xfce4/xfconf/xfce-perchannel-xml//keyboards.xml :
<?xml version="1.0" encoding="UTF-8"?>
<channel name="keyboards" version="1.0">
<property name="Default" type="empty">
<property name="Numlock" type="bool" value="true"/>
<property name="RestoreNumlock" type="bool" value="false"/>
</property>
</channel>
ensuite le fichier /etc/lightdm/lightdm.conf :
[SeatDefaults]
...
session-wrapper=/etc/X11/xinit/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=/usr/bin/numlockx on
...
Et enfin le fichier /etc/X11/xinit/xinitrc :
#!/bin/sh
# Copyright (C) 1999 - 2005 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Authors:
# Mike A. Harris <mharris@redhat.com>
# Mandatorily source xinitrc-common, which is common code shared between the
# Xsession and xinitrc scripts which has been factored out to avoid duplication
. /etc/X11/xinit/xinitrc-common
[b]. /etc/X11/xinit/xinitrc.d/numlockx[/b]
Voilà, si vous savez quoi faire.
Accessoirement, comment savoir sous quel gestionnaire graphique on est connecté? (Ou comment savoir si je dois modifier xintirc ou lighdm)
Merci d'avance