- Включите NumLock при запуске в Linux Mint
- Для всех версий Linux Mint
- Linux Mint 19.x (LightDM)
- Linux Mint 18.x (MDM)
- Turn on NumLock on startup in Linux Mint in the Login window
- 3 Answers 3
- For all versions of Linux Mint
- Linux Mint 20.x / 19.x (LightDM)
- Linux Mint 18.x / 17.x (MDM)
- numlock on startup on linux mint 18.2
- 4 Answers 4
- On plain Ubuntu
- Linux Mint Forums
- Enable NumLock on at Login screen — Linux Mint Cinnamon 17.3
- Enable NumLock on at Login screen — Linux Mint Cinnamon 17.3
- Linux Mint Forums
- Num Lock on startup
- Num Lock on startup
- Re: Num Lock on startup
- Re: Num Lock on startup
- Re: Num Lock on startup
- Re: Num Lock on startup
- Re: Num Lock on startup
- Re: Num Lock on startup
- Re: Num Lock on startup
Включите NumLock при запуске в Linux Mint
Ситуация:
Когда я включаю свой Linux Mint 17.3 / 18 Cinnamon, NumLock отключается в окне входа в систему.
Задача:
Включите NumLock автоматически при запуске.
Для всех версий Linux Mint
Вам необходимо установить программу, необходимую для этой цели — numlockx ; справочная страница :
Выберите, хотите ли вы достичь цели через CLI или GUI ниже.
Linux Mint 19.x (LightDM)
GUI ; наверное наиболее удобно при нормальной работе:
После numlockx установки, следующий пункт меню в окне входа в систему -> Настройки называется:
становится доступным; как вы видете:
Это добавит строку:
в следующий файл:
Linux Mint 18.x (MDM)
GUI ; наверное наиболее удобно при нормальной работе:
После numlockx установки, следующий пункт меню в окне входа в систему -> Параметры называется:
становится доступным; как вы видете:
Как указано в другом ответе , это добавит следующую строку /etc/mdm/mdm.conf :
CLI ; подходит, если вы настраиваете другие компьютеры через SSH, например:
Откройте текстовый редактор, в котором вы разбираетесь с этим файлом, например, nano если не уверены:
Добавьте эти строки в начале файла:
Как указывает Жиль , не ставьте exec перед командой.
Источник
Turn on NumLock on startup in Linux Mint in the Login window
Situation:
When I turn on my Linux Mint 20/19/18/17 Cinnamon the NumLock is Off in the Login window.
Objective:
Turn on NumLock automatically at startup in the Login window.
3 Answers 3
For all versions of Linux Mint
You need to install a program needed for this purpose — numlockx ; man page:
Choose if you wish to achieve the goal through CLI or GUI below.
Linux Mint 20.x / 19.x (LightDM)
GUI; probably most convenient under normal operation:
Once numlockx is installed, the following menu item in Login Window -> Settings called:
becomes available; as you can see:
This will add the line:
to the following file:
Linux Mint 18.x / 17.x (MDM)
GUI; probably most convenient under normal operation:
Once numlockx is installed, the following menu item in Login Window -> Options called:
becomes available; as you can see:
As pointed out in the other answer, this will add the following line to /etc/mdm/mdm.conf :
CLI; suitable if you are setting other computers up through SSH, for instance:
Open a text editor you are skilled in with this file, e.g. nano if unsure:
Add these lines at the beginning of the file:
As pointed out by Gilles, don’t put exec in front of the command.
Источник
numlock on startup on linux mint 18.2
i updated my linux to the last version as Linux Mint 18.2 Sarah. after update my numlock is off. i changed mdm to lightdm. this method is not working.
4 Answers 4
Jaleks’ answer was only almost right for me, but this finally worked (Linux Mint 18.2 Cinnamon, manually updated to LightDM (from LM 18.1)):
Install sudo apt install numlockx , after that, edit /usr/share/lightdm/lightdm.conf.d/90-slick-greeter.conf file and add the following line at the end:
try to edit /etc/lightdm/lightdm.conf :
Just for reference: weird enough there is a whole ecosystem for numlock settings, depending on which display/window managers one uses, see e.g. the always great Arch wiki: https://wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup
On plain Ubuntu
First install the numlockx package:
On plain Ubuntu, the LightDM directory in which to create the configuration file is named slightly differently:
The following configuration worked for me:
In this very configuration file, one can also define the keyboard layout to be used during the LightDM login session.
Источник
Linux Mint Forums
Welcome to the Linux Mint forums!
Enable NumLock on at Login screen — Linux Mint Cinnamon 17.3
Enable NumLock on at Login screen — Linux Mint Cinnamon 17.3
Post by jcrcarmo » Sun May 08, 2016 11:17 pm
Hello guys and greetings from Brazil! Here’s a little tutorial I’ve created to enable the NumLock button to activate automatically at the Login screen, and stay on after that. It’s designed for Linux Mint Cinammon Rosa 17.3 but I’m sure it works for other versions too. This is useful if you use the number keypad a lot (like I do), and especially if your passwords are all numeric (like mine are). Let’s begin!
1) Download the application numlockx via terminal (administrator password is required):
sudo apt-get install numlockx
2) Edit the Default file that controls what Linux Mint starts at boot:
sudo nano /etc/mdm/Init/Default
3) Go to the end of this file and insert the code below BEFORE the last line » exit 0«:
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
4) Hold the keys CTRL X and type Y to exit saving the changes to the file
5) On your desktop, now go to:
Menu —> Preferences —> StartUp Applications
6) Click on Add and select Custom command
7) A window will pop up. Enter the following info:
for Name, type: numlockx
for Command, type: /usr/bin/numlockx
for Comment, you can leave it blank
for Startup delay, type: 0
7) Click on Save and close the Startup Applications window
You’re all done! Next time you reboot or start your computer, the NumLock key will be automatically activated at the login screen and remain on after that. Have fun!
Источник
Linux Mint Forums
Welcome to the Linux Mint forums!
Num Lock on startup
Num Lock on startup
Post by gimme4 » Thu Nov 01, 2012 5:55 am
Hi everyone, I’m not sure this post is in the right place but I’m sure that it will be moved if it isn’t.
I am running mint 13 mate with compiz, My problem is that when i boot my laptop up the num lock light comes on ( enabled in bios ), but as soon as mint gets hold of the system the light goes off, My login password is all numbers and it is so much easier to use the number pad, is there any way to get the num lock to be enabled so that I can enter my password easily, please remember that I am a NOOB so step by step instructions would be appreciated.
Re: Num Lock on startup
Post by remoulder » Thu Nov 01, 2012 10:52 am
[Edit] your original post and add [SOLVED] once your question is resolved.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
Re: Num Lock on startup
Post by killer de bug » Thu Nov 01, 2012 10:53 am
That’s a well known problem !
First you need to install «numlockx» using synaptic.
Then open a terminal & type :
Re: Num Lock on startup
Post by gimme4 » Fri Nov 02, 2012 4:13 am
Re: Num Lock on startup
Post by killer de bug » Fri Nov 02, 2012 9:00 am
Outchhhhh ! My mistake ! I didn’t realize that you were using MATE. Sorry for that.
You could have replaced gedit by pluma in the command line and that would have work like a charm. Sorry for that. You can uninstall gedit now
Re: Num Lock on startup
Post by rosenhof » Thu Jan 10, 2013 4:06 pm
I had the same problem as gimme4 and it seems that this is a common issue.
I have fixed this issue on Fedora17 in the past but didn’t make any notes of it so I goggled to this tread
I’m just installed LinuxMint 13 Maya / Cinnamon 64-bit with updates for the back ported issues and things are starting to look nice but then I have the num lock issue before logging in.
— Added numlockx with Synaptic
— Edited the Default as killer de bug suggests, no problem
On reboot the Num Lock key lit up and I can enter the login credentials containing numbers without the need to enable Num Lock every time
BUT immediate when I have logged in it is turned off
I’d like to keep it always on since it’s a keyboard with separate numerical keypad.
Any ideas?
Re: Num Lock on startup
Post by rosenhof » Fri Jan 11, 2013 4:12 am
The strange behaviour that turned off Num Lock immediate after login occurred once, the first time after I applied this (on reboot) but later on during the night it worked perfect so I guess that it was some hiccup the first time and it’s not an issue any more.
Thanks for the tips!
Re: Num Lock on startup
Post by Webtest » Mon Jan 14, 2013 10:53 pm
This post helped me . I was successful in getting numlockx installed in Mint 8 but I couldn’t do it through the Synaptic package manager because all of the repositories are long since dead .
I won’t go into the gory details of how I found everything, but here was the solution:
From: http://archive.ubuntu.com/ubuntu/ubuntu . /numlockx/
I downloaded: numlockx_1.1-10build1_i386.deb to my USB thumb drive at /media/artwork/linux/general
«artwork» is the label of my Thumbdrive, and /linux/general is the path to my working folder.
From a Terminal session:
mint@mint
# dpkg -i /media/artwork/linux/general/numlockx_1.1-10_i386.deb
This installed numlockx thus enabling the on, off, and toggle options for the numlockx command!
Blessings in abundance, all the best, & ENJOY!
Art in Carlisle, PA USA
BOAT — a hole in the water that you pour money into
LINUX — a hole in your life that you pour TIME into
HP dx2400 Core 2 Duo 8 GB. Mint 13/15/17.x/18.x Mate LOCKED SD cards, and Kanguru USB drives> No Hard Drive / No SSD
Источник