Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-06-26 09:47:22

cgmelch
Member
Registered: 2015-06-26
Posts: 2

[Solved] keyboard settings in settings editor (numlock=on setting)

Hi,

i accidently deleted the default setting in the settings editor under keyboard, which turns on the numlock.
Settings -> Settings Editor -> Keyboards

Now I wonder what are the allowed values here? How do I get the nomlock = on back?

Thanks
Chris

Offline

#2 2015-06-26 10:43:18

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,020

Re: [Solved] keyboard settings in settings editor (numlock=on setting)

"Restore num lock state on startup"?
Its a boolean value, either true or false. The property name is "RestoreNumlock".

I also have a "Numlock" property there. Its also a boolean.

If you've deleted them, you can manually re-create them via:

xfconf-query -c keyboards -p /Default/RestoreNumlock -n -t bool -s true
xfconf-query -c keyboards -p /Default/Numlock -n -t bool -s true

More info on xfconf-query here.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2015-06-26 10:51:11

cgmelch
Member
Registered: 2015-06-26
Posts: 2

Re: [Solved] keyboard settings in settings editor (numlock=on setting)

Hi ToZ,

Thanks a lot. Exactly what I was looking for! I Didn't know about Xfconf-query, cheers.

//Chris

Offline

Board footer

Powered by FluxBB