8

Is there a way to turn NUM LOCK on permanently, across all remote desktop sessions (99% Windows OS) and my local install of Ubuntu 14.04? I have never met anyone in the past 25 years of computing who actually uses a 10-key keypad with NUM LOCK off.

All day I'm hitting the Num Lock key to turn it ON for a particular Remmina (RDP) session. I connect to the same servers most of the day, and my Remmina settings (settings that never actually SAVE!) are to "Remember last view mode for each connection" but I don't think that setting has anything to do with keyboard stuff, just video and interface settings -- WHO'S SETTINGS DON'T SAVE EITHER! MADDENING!!!!!

Thanks!

00fruX
  • 1,271
  • 1
  • 17
  • 32

4 Answers4

1

Yes this is possible, with a workaround. First save this script somewhere

#!/bin/sh
while true
do
sleep 4
numlockx on
done

then type in crontab -e in the terminal, add this entry to it:

@reboot /path/to/script

It should work, restoring numlock all the time.


Source

Amith KK
  • 13,547
1

The issue with Num Lock key in Remmina can be fixed by installing a newer version from ppa:remmina-ppa-team/remmina-next. This is what I got on Linux Mint 17.1 (based on Ubuntu 14.04 LTS):

$ sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
$ sudo apt-get update
$ sudo apt-get upgrade
$ dpkg -l | grep freerdp
ii  freerdp-x11                        1.2.0~git20141201+dfsg1-0trusty1  amd64  RDP client for Windows Terminal Services
ii  libfreerdp-plugins-standard:amd64  1.2.0~git20141201+dfsg1-0trusty1  amd64  RDP client for Windows Terminal Services (plugins)
ii  libfreerdp1:amd64                  1.2.0~git20141201+dfsg1-0trusty1  amd64  RDP client for Windows Terminal Services (library)
ii  libpam-freerdp                     1.0.1+13.10.20130724-0ubuntu1     amd64  PAM Module to auth against an RDP server using FreeRDP
$ dpkg -l | grep remmina
ii  remmina                            1.1.1-1+547+next~ubuntu14.04.1    amd64  remote desktop client for GNOME desktop environment
ii  remmina-common                     1.1.1-1+547+next~ubuntu14.04.1    all    common files for remmina remote desktop client
ii  remmina-plugin-rdp                 1.1.1-1+547+next~ubuntu14.04.1    amd64  RDP plugin for remmina remote desktop client

It seems this build of remmina uses freerdp-x11.

rpr
  • 472
0

Virtualbox with seamless mode accomplishes this PERFECTLY. No longer will I have to RDP to a guest VM on my local desktop. Never again will I have to press the Num Lock key. Still baffled why ON isn't the default for Num Lock. Who actually uses the arrow keys on a 10-key keypad!?!?!

00fruX
  • 1,271
  • 1
  • 17
  • 32
0

@rpr, one more line of code and your answer would have worked -- maybe you can edit the answer? Here are the three lines of code that worked for me:

sudo apt-add-repository ppa:remmina-ppa-team/remmina-next

sudo apt-get update

sudo apt-get install remmina remmina-plugin-rdp

00fruX
  • 1,271
  • 1
  • 17
  • 32