06-30-2019 06:27 AM
Hello
I am using NI Linux Real-time on CRIO-9037 with embedded UI enable. When ever the operating system boots up , the num-lock key is disable. I want to enable the num-lock key programmatically at start of my program.
Solved! Go to Solution.
07-01-2019 11:14 AM - edited 07-01-2019 11:40 AM
Hi smojtabaei,
Embedded UI uses Xfce, so the methods for enabling numlock on that Desktop Environment should work on cRIO Embedded UI devices. There's a ton of documentation about this online so I recommend reading up if you're interested in learning more about Xfce and the options for it.
A quick search shows that what you ask can be done by editing the keyboards.xml file for the Embedded UI user (lvuser). This file can be found at /home/lvuser/.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml. In that file, you'll need to change the "Numlock" property value to "true," save the file, and then reboot the system.
07-01-2019 11:37 AM
Thank you for your help. This is worked for me.