ubuntu 17.10 gdm numlockx cannot be activated
Bug #1727466 reported by
ubuntushop
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm |
Expired
|
Wishlist
|
|||
gdm3 (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
In ubuntu 17.10 i am not able to activate numlock on the login screen.
Tried with and without wayland. Cannot get numlockx working as I always did in other *ubuntu's with gdm.
/etc/gdm3/
is there a way to do it?
Guyd
affects: | gdm (Ubuntu) → gdm3 (Ubuntu) |
Changed in gdm3 (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in gdm: | |
importance: | Unknown → Wishlist |
status: | Unknown → Confirmed |
Changed in gdm3 (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in gdm: | |
status: | Confirmed → Expired |
tags: | added: artful |
To post a comment you must log in.
Dirty hack le=false/ WaylandEnable= false/g' /etc/gdm3/ custom. conf
Make sure numlockx is installed and
sudo sed -i -e 's/#WaylandEnab
as sudo: sbin/num. sh
create a script named num.sh in /usr/local/
sudo pico /usr/local/ sbin/num. sh
and put this in it:
#!/bin/bash /run/user/ 121/gdm/ Xauthority
gdm=`pidof gdm3`
until [ $gdm -gt 0 ] do
su - gdm -s /bin/sh
export $(dbus-launch)
DISPLAY=:0
export DISPLAY
export XAUTHORITY=
numlockx on
done
exit
make it excutable: sbin/num. sh
sudo chmod +x /usr/local/
create a /etc/rc.local file
sudo pico /etc/rc.local
put this in it:
#!/bin/sh -e sbin/num. sh &
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/usr/local/
exit 0
make it also executable:
sudo chmod +x /etc/rc.local
Should be working numlockx on gdm screen.
Place your script also in /etc/gdm3/ PostSession/ Default local/sbin/ num.sh &' /etc/gdm3/ PostSession/ Default
sed -i '$ i\/usr/
without it: when you log out,,, no numlockx,,