Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-06-24 15:15:42

kunzlata
Member
Registered: 2019-06-24
Posts: 42

'Restore numlock state on startup' keyboard setting not working.

Fedora 30 installed from minimal netinstall iso so I don't know if it's a bug in xfce 4.13 or if I'm missing some package for it to work.
Note that I don't save session on logout.

Offline

#2 2019-06-24 22:39:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: 'Restore numlock state on startup' keyboard setting not working.

Hello and welcome.

Perhaps a bug. What does the following return:

xfconf-query -c keyboards -lv | grep -i numlock

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 2019-06-25 15:12:25

kunzlata
Member
Registered: 2019-06-24
Posts: 42

Re: 'Restore numlock state on startup' keyboard setting not working.

$ xfconf-query -c keyboards -lv | grep -i numlock
/Default/RestoreNumlock  true

Yep, looks like it isn't working.

Offline

#4 2019-06-26 00:33:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: 'Restore numlock state on startup' keyboard setting not working.

Can you try running this command to create a Numlock xfconf setting:

xfconf-query -c keyboards -p /Default/Numlock -t bool -s VALUE --create

...where VALUE is one of "true" or "false" depending on whether you want the numlock key to be enabled or not on startup.

Then re-start to see if numlock is properly restored.


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

#5 2019-06-26 12:34:46

kunzlata
Member
Registered: 2019-06-24
Posts: 42

Re: 'Restore numlock state on startup' keyboard setting not working.

Now we have

$ xfconf-query -c keyboards -lv | grep -i numlock
/Default/Numlock         true
/Default/RestoreNumlock  true

and numlock starts at login. Next I'll try to remember to toggle it to off before logging out to see if it will login disabled, as it should.

Last edited by kunzlata (2019-06-26 13:29:04)

Offline

#6 2019-06-26 17:21:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: 'Restore numlock state on startup' keyboard setting not working.

If it does work, then its definitely a bug that the /Default/Numlock entry is not being created.


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

#7 2019-06-26 17:58:50

kunzlata
Member
Registered: 2019-06-24
Posts: 42

Re: 'Restore numlock state on startup' keyboard setting not working.

Offline

#8 2019-06-26 23:06:28

kunzlata
Member
Registered: 2019-06-24
Posts: 42

Re: 'Restore numlock state on startup' keyboard setting not working.

ToZ wrote:

If it does work, then its definitely a bug that the /Default/Numlock entry is not being created.

Actually, the whole keyboard sections ins't there as default (tested in a new user). Items are created as we create them from the command line or when we mess with the graphical settings.
the /Default/Numlock entry specially couldn't be there as there's no graphical option for it in xfce4-keyboard-settings.

The bug really is not saving the state of numlock (although maybe it saves when session is saved, but I didn't test that).

Offline

#9 2019-06-26 23:21:37

peter.48
Member
Registered: 2017-01-31
Posts: 124

Re: 'Restore numlock state on startup' keyboard setting not working.

I don't know, but in F29 and F30 (both with xfce 4.13) there is simply no "/home/xxxx/.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml". I don't know if it's intentional or a simple oversight, but in my installation I just created it...

Offline

#10 2019-06-27 00:41:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: 'Restore numlock state on startup' keyboard setting not working.

The keyboards channel will get created if you toggle the "Restore numlock state on startup" checkbox or if you specify a custom keyboard layout. However, the check to restore the numlock state is dependent on a "/Default/Numlock" settings that doesn't exist and doesn't appear to be auto-created at any point in time. Manually creating it, as above, fixes the issue, but xfsettingsd should auto-create this setting.

The bug report is in. Hopefully it will get fixed soon. Great catch by the OP.


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

#11 2019-06-27 07:53:09

annoying_daniel
Member
Registered: 2017-01-02
Posts: 15

Re: 'Restore numlock state on startup' keyboard setting not working.

We talked about this quite a while back in one of the Manjaro threads. Never thought of reporting it upstream at the time...oh well.

Offline

#12 2019-07-01 23:54:14

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: 'Restore numlock state on startup' keyboard setting not working.

ToZ wrote:

The bug report is in. Hopefully it will get fixed soon. Great catch by the OP.

It was, and quickly. This shows the importance of reporting bugs.

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#13 2019-07-07 01:28:51

annoying_daniel
Member
Registered: 2017-01-02
Posts: 15

Re: 'Restore numlock state on startup' keyboard setting not working.

@MountainDewManiac I really hope the xfce devs take a look at manjaro's announcement threads from time to time because we seem to be the "guinea pig" distro atm with various issues when it comes to 4.13 and 4.14. From what I understand, Arch's convention is still to install xfce's 4.12 group.

Anyway, various bizarre things have been happening lately with manjaro...the Qt overlay packages, the inclusion of enabling snapd by default, and the lead developer recommending to not changing your theme at all.

Offline

Board footer

Powered by FluxBB