LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2016, 06:28 PM   #1
louierev07
LQ Newbie
 
Registered: Jul 2016
Posts: 14

Rep: Reputation: Disabled
Problem with startup script (setting up my mouse)


I found my mouse was too fast in linux mint. Found this and the settings were perfect. I was able to create the script "sudo chmod +x /etc/init.d/mousefix", but when I get to the last step in the following article (sudo chmod +x /etc/init.d/mousefix), the error I get is:

insserv: warning: script 'K01mousefix' missing LSB tags and overrides
insserv: warning: script 'mousefix' missing LSB tags and overrides

Here is the article: http://wiki.linuxquestions.org/wiki/Set_up_Gaming_Mouse

Any ideas? Running Mint 18 using a g502 mouse.
 
Old 09-04-2016, 06:38 PM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
So what is the problem? The script is not working?
 
Old 09-04-2016, 08:06 PM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,601

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
The warnings are just that.

Usually a startup script contains information in comments about what order the script should be run and what runlevel to use.

All this is saying is that that information is missing.
 
Old 09-04-2016, 08:54 PM   #4
louierev07
LQ Newbie
 
Registered: Jul 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
The script isnt working at boot. I have to manually navigate to that folder and run that script for it to work.

How can I make it run automatically?
 
Old 09-04-2016, 10:13 PM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Why it does not run in Mint I don't know, systemd problem, perhaps. Anyhow, you could put those parameters in /etc/xorg.conf.d/mouse.conf instead, using the script is a hack.
 
Old 09-04-2016, 11:11 PM   #6
louierev07
LQ Newbie
 
Registered: Jul 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
Why it does not run in Mint I don't know, systemd problem, perhaps. Anyhow, you could put those parameters in /etc/xorg.conf.d/mouse.conf instead, using the script is a hack.
im pretty shitty at this stuff, but if i edit that file, taking those two lines and putting them at the end of that file you linked - everything should be ok>? lol

just dont wanna go and ruin anything.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A question about setting startup-script in OpenSolaris (Sparc 10) thomas2004ch Solaris / OpenSolaris 2 02-20-2011 05:45 AM
KDE startup font setting problem RaVilj Linux - Software 1 02-15-2006 01:20 PM
Setting DMA for DVD on startup? Script? Iron Monkey Linux - Newbie 2 07-17-2004 10:05 PM
Mouse script on KDE startup?? Atomsmasher Linux - Newbie 4 04-02-2004 11:33 AM
Setting volume in a startup script Twigathy Mandriva 3 08-25-2003 08:25 AM


All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration