Num Lock at Start Up

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Num Lock at Start Up

Postby AMLow on Mon Jul 07, 2008 3:00 pm

I tried using the instructions I used for Ubuntu, but they didn't work:
http://www.ubuntugeek.com/numlock-activ ... creen.html
If it helps I'm using Elyssa.

Sorry for all the questions, I'm new to linux, and mint.
AMLow
Level 1
Level 1
 
Posts: 9
Joined: Sun Jul 06, 2008 3:53 pm
Location: Canada, Eh?

Linux Mint is funded by ads and donations.
 

Re: Num Lock at Start Up

Postby linuxviolin on Mon Jul 07, 2008 4:40 pm

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:
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)
User avatar
linuxviolin
Level 8
Level 8
 
Posts: 2055
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Num Lock at Start Up

Postby Husse on Mon Jul 07, 2008 4:55 pm

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
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Num Lock at Start Up

Postby linuxviolin on Mon Jul 07, 2008 5:27 pm

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)
User avatar
linuxviolin
Level 8
Level 8
 
Posts: 2055
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Num Lock at Start Up

Postby AMLow on Mon Jul 07, 2008 7:04 pm

I forgot to mention the file I edited was /etc/gdm/Init/default, not the one in the instructions (I got it from the comments). I figured it out, it was something I did, sorry for the trouble, I'm slightly dyslexic. I re-read the instructions a few times and noticed words I didn't see before:
Add the following lines at the end before the line “exit 0″:

Sorry for the inconvenience. :oops:
AMLow
Level 1
Level 1
 
Posts: 9
Joined: Sun Jul 06, 2008 3:53 pm
Location: Canada, Eh?

Re: Num Lock at Start Up

Postby Husse on Tue Jul 08, 2008 7:07 am

Oh dear
It's OK we all make our mistakes. What ever comes after exit :)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], osomfinch and 36 guests