Red Hat Topics - command-line mouse configuration

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > March 2006 > command-line mouse configuration





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author command-line mouse configuration
gbuday@gmail.com

2006-02-17, 11:07 pm

Hi there,

I have the following problem: I have to configure my mouse on every
startup. I don't want to. /usr/sbin/mouseconfig does not have a man
page on my Red Hat 9 box and it's dubious if it has command-line
options at all. Is there any other command that I could use to set my
mouse as IntelliMouse PS/2?

Best Wishes

- Gergely

gbuday@gmail.com

2006-02-17, 11:07 pm

Hi again,

I have noticed that /etc/sysconfig/mouse contains the mouse
information. It contains the good info from booting, but still my mouse
behaves strangely. I have dug into mouseconfig sources to look for what
else than setting the file above happens and found

/sbin/service gpm condrestart

When I issue this command my mouse works as expected. I would like to
put this command at the end of the startup process but as
/etc/rc.d/rc5.d/S85gpm -> ../init.d/gpm itself is in the init directory
it does not seem to be elegant to put an S9xgpm there as well that
would condrestart gpm. What is the proper solution here?

- Gergely

Lenard

2006-02-17, 11:07 pm

gbuday@gmail.com wrote:

> Hi again,
>
> I have noticed that /etc/sysconfig/mouse contains the mouse
> information. It contains the good info from booting, but still my mouse
> behaves strangely. I have dug into mouseconfig sources to look for what
> else than setting the file above happens and found
>
> /sbin/service gpm condrestart
>
> When I issue this command my mouse works as expected. I would like to
> put this command at the end of the startup process but as
> /etc/rc.d/rc5.d/S85gpm -> ../init.d/gpm itself is in the init directory
> it does not seem to be elegant to put an S9xgpm there as well that
> would condrestart gpm. What is the proper solution here?



Edit /etc/rc.d/rc.local and put the command in....

/sbin/service gpm condrestart

--
"A personal computer is called a personal computer because it's yours,
Anything that runs on that computer, you should have control over."
Andrew Moss, Microsoft's senior director of technical policy, 2005
gbuday@gmail.com

2006-03-08, 5:48 pm

> Edit /etc/rc.d/rc.local and put the command in....
>
> /sbin/service gpm condrestart


That did not work. It did the restart too early. I had to put it into
/etc/X11/gdm/Init/Default and it worked.

- Gergely

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com