You are not logged in.

#1 2006-06-20 20:38:12

borisb
Member
Registered: 2005-05-18
Posts: 11

execute xset on start-up

Ok, i wasn't happy with the mouse speed in Xorg and i read the wiki.
I found out that this sets the mouse speed:

xset m 1 1

Well i did it and i liked the new mousespeed/acceleration but i was unhappy with the fact i had to do it after every start of X.
The wiki tells me to add

exec xset m 1 1

or something like that to xinitrc but my problem is since i am using root very often and root doesnt seem to have a /root/.xinitrc file.

Now i added the following line to /etc/X11/xinit/xinitrc

exec xset m 1 1

but i still get the default speed of my mouse.

I dont know if this is importand but i start kdm via /etc/rc.conf
I added a "kdm" to the DAEMONS section

Offline

#2 2006-06-20 20:46:31

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: execute xset on start-up

borisb wrote:

Ok, i wasn't happy with the mouse speed in Xorg and i read the wiki.
I found out that this sets the mouse speed:

xset m 1 1

Well i did it and i liked the new mousespeed/acceleration but i was unhappy with the fact i had to do it after every start of X.
The wiki tells me to add

exec xset m 1 1

or something like that to xinitrc but my problem is since i am using root very often and root doesnt seem to have a /root/.xinitrc file.

Now i added the following line to /etc/X11/xinit/xinitrc

exec xset m 1 1

but i still get the default speed of my mouse.

I dont know if this is importand but i start kdm via /etc/rc.conf
I added a "kdm" to the DAEMONS section

Try copying the .xinitrc file from your users directory to roots:

su -c 'cp /home/<user>/.xinitrc /root/'

You shouldn't probably ever completely log into root as an account though, instead just use a normal acocunt with su or sudp. Staying on a root account is asking to mess a file up tongue. not to mention a security risk

Offline

#3 2006-06-20 21:20:01

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: execute xset on start-up

if your auto starting kdm using either in /etc/rc.conf or in /etc/inittab i do believe ~.xinitrc
isnt even looked at , only when you manually start x from a prompt wheather startx xinit  or X.  are you running kde? if so go to control center>periphals>mouse>advanced i do believe this is what you looking for in kde  if your using some other DE/WM then youll have to look around.

Offline

Board footer

Powered by FluxBB