! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Numlock is inactive every boot
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
Xfsettingsd

Comments

Description Arnaud Vacquier 2011-10-15 14:57:31 CEST
Hello everybody,

We are fews body with little bug, after install numlock on Mageai Linux, the XFCE not active the numpad,

For fixing :

open root : 
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml

add :
<property name="Numlock" type="bool" value="true"/>

after : 
<property name="Default" type="empty">

thank you.
Sorry for my bad english

Bugzilla Mageia : https://bugs.mageia.org/show_bug.cgi?id=2194
Arnaud
Comment 1 kmic 2012-01-05 16:00:02 CET
Created attachment 4079 
keyboards.xml

I had the same problem with Xubuntu 11.10, which even doesn't ship with a keyboards.xml file. It seems that XFCE disables numlock on startup by default, *if* there doesn't exist a keyboards.xml file (see http://git.xfce.org/xfce/xfce4-settings/tree/xfsettingsd/keyboards.c, line 231). Because of this, all the workarounds based on numlockx (see http://wiki.xfce.org/faq#keyboard for example) doesn't work. (At least, I get numlock enabled in LightDM (http://wiki.ubuntuusers.de/Nummernblock_aktivieren#LightDM), but XFCE disables the already enabled numlock again when starting). 

Creating an appropriate keyboards.xml in /etc/xdg/xfce4/xfconf/xfce-perchannel-xml or in ~/.config/xfce4/xfconf/xfce-perchannel-xml solved the problem for me, but I think XFCE should not touch the status of numlock *except* it is explicitly told to do so.
Comment 2 Nick Schermer editbugs 2012-01-05 20:30:11 CET
Fixed in fabc8dfa.

Bug #8037

Reported by:
Arnaud Vacquier
Reported on: 2011-10-15
Last modified on: 2012-01-05

People

Assignee:
Nick Schermer
CC List:
5 users

Version

Attachments

keyboards.xml (202 bytes, text/plain)
2012-01-05 16:00 CET , kmic
no flags

Additional information