Num Lock at Start Up

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
linuxviolin
Level 8
Level 8
Posts: 2081
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Num Lock at Start Up

Post by linuxviolin »

AMLow wrote:they didn't work
Could you be more specific please?

Maybe try with

Code: Select all

on || /bin/true; fi
in place of just

Code: Select all

on fi
P.S.= write all on only one line and don't forget to put a space between "if" and "[" :wink:
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
Husse

Re: Num Lock at Start Up

Post by Husse »

Have not tested
The file you should edit is wrong in the solution you've found
Always look on the date - and this is dated march 2007 when Edgy was the current version
I suppose you did not manage to edit anything

Code: Select all

gksu gedit /etc/gdm/Init/default
Then do as described in the link
It could work - if not just remove your edit
User avatar
linuxviolin
Level 8
Level 8
Posts: 2081
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Num Lock at Start Up

Post by linuxviolin »

About the file to edit, Husse is right.

And rather try to add (as comments 2 and 4 say)
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
Husse

Re: Num Lock at Start Up

Post by Husse »

Oh dear
It's OK we all make our mistakes. What ever comes after exit :)
Locked

Return to “Beginner Questions”