I think you should configure it using the bios of your computer, I've set it up like that usually.

Open
dconf-editor
Go to
org → gnome → settings-daemon → peripherals → keyboard
Now you can click on the key "numlock_state" and set to "on" to activate the numeric keypad. You can also find the key "remember_numlock_state" in the same scheme. You can choose this if GNOME should remember only the last status of the number block.

Unless you have an old machine, the preferred method should be to set it from the computer's firmware (UEFI or BIOS).

    13 days later

    well I have UEFI, but definetly not a num lock on boot option in it ... it's a 7-8 year old PC, i5 3rd gen ... will try out @Solus-Fan solution ...

    Ok, so no, neither of the options worked, the dconf-editor solution works, when i login, so after i login to my system, numlock is enabled, but it's not enabled on boot aka on the login screen, I have severan numeric characters in my random generated password and I find it easier to use the numeric keys for it, so thats why i want NumLock enabled on the login screen ... any other suggestions?

    I always use this method shown in Archwiki.https://wiki.archlinux.org/index.php/LightDM#NumLock_on_by_default.
    NumLock on by default
    Install the numlockx package and then edit/etc/lightdm/lightdm.conf:

    /etc/lightdm/lightdm.conf`
    
    ```
    [Seat:*]
    greeter-setup-script=/usr/bin/numlockx on

    But numlockx is not available in software centre.(I can't type below that greyed code box in the above post.Sorry.)

    I've just grabbed the numlockx binary manually from the pacman mirror, and moved in /usr/bin/
    And it's working

    Here is the numlockx package archive : http://mirrors.evowise.com/archlinux/community/os/x86_64/numlockx-1.2-4-x86_64.pkg.tar.

    Open the archive, the binary is in /usr/bin/numlockx

    Extract it somewhere and

    chmod +x numlockx
    sudo mv numlockx /usr/bin/

      Or you can just compile it from source :

      git clone https://github.com/rg3/numlockx
      cd numlockx/
      ./configure
      make
      sudo make install

        IAMISSAM That link does not work.However I downloaded numlockx from AUR and followed your steps.But numlock did not turn on during boot.As you show in the terminal screenshot it can only turn on or off from terminal.

          Justin No.Its turned on already.

          #greeter-wrapper=
          #guest-wrapper=
          #display-setup-script=
          #display-stopped-script=
          greeter-setup-script=/usr/bin/numlockx on
          #session-setup-script=
          #session-cleanup-script=
          #autologin-guest=false
          #autologin-user=

            Not sure on this one then. I've always set Num lock on boot via motherboard, but haven't had an issue with it for many years.

            well that simply is not a solution for everyone, as NumLock in BIOS or EFI, doesn't exist for everyone, me included .... on Plasma i just add a line to sddm.conf and numlock boots on boot without any additional packages ... everyone suggests numlockx for lightdm, yet it doesn't work on Solus, like some other core apps that i need...

              Have you made package requests for the apps you need?

              7 days later

              KronikPillow this is how i enabled numlock on boot:
              Download numlockx from here https://www.archlinux.org/packages/community/x86_64/numlockx/
              Extract and place numlockx bin into /usr/bin
              Edit /usr/share/lightdm/lightdm.conf.d/10_solus_default.conf

              [Seat:*]
              greeter-setup-script=/usr/bin/numlockx on