LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Newbie Mouse question (i've searched) (https://www.linuxquestions.org/questions/linux-hardware-18/newbie-mouse-question-ive-searched-197752/)

NWS 06-25-2004 04:55 PM

Newbie Mouse question (i've searched)
 
so this is my first day w/RHL and i'm following some of the directions on previous threads for getting microsoft intellimouse explorer side buttons working. i finally got them working after modifying the xf86config file, installing imwheel and modifying its rc file, and running the commands:

Code:

xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b "67"

So what I'd like to do now is get X to do this every time i boot up or login, and i can't quite seem to understand what some of those other threads are saying (i'm the quintessential nOOb). I gather that i'm supposed to add these commands in some way to xsession or another file, but I don't know where these files are or exactly how i do that. Can anyone help me out?

I've spent just about all f****** day getting this far so i'm not giving up until i get this last thing to work.

pls help if u can. thx in advance.

NWS 06-25-2004 05:36 PM

as far as i know i don't have a kde/autostart folder and i've tried /etc/X11/xinit/xinitrc but no luck.

anyone?

NWS 06-25-2004 06:09 PM

so now i placed a file called "mouse" in /etc/X11/xinit/xinitrc.d and the first of the two commands appears to be working automatically. still no luck w/ the second one though.

ayuda me, por favor.

arnold 06-25-2004 07:21 PM

i have used & configured X for many year, but was not aware of /etc/X11/xinit/xinitrc.d

try:
full path to imwheel if it is not under /usr/X11R6/bin
in /etc/profile

NWS 06-25-2004 10:11 PM

tried both of those to no avail.

i've also tried kde/kdm/Xstartup and some others, but i can't get the imwheel command to work automatically. also, when i put that command in the file in /etc/X11/xinit/xinitrc.d the screen locks up when i try to login as root. had to login as another user and delete it from terminal to login as root again.

NWS 06-25-2004 11:08 PM

here's some stuff i got when using the same command logged in as a regular user (not root). don't know what it all means, but it seems like maybe there are two installs of imwheel or something? i think i may have f'd up a previous install of an rpm or something

---------------------------------------------------------------------------------
WARNING: imwheel pid file could not be removed.
Perhaps you want the -p option.
Or chown root and chmod u+s the imwheel executable...
: Operation not permitted
ERROR: Couldn't write pid to pid file
Perhaps you want the -p option to avoid this...
Otherwise you may SUID root the imwheel executable.
: Permission denied
[user@blah]$ imwheel -k -b "67" -p
WARNING: imwheel pid file could not be removed.
Perhaps you want the -p option.
Or chown root and chmod u+s the imwheel executable...
: Operation not permitted
WARNING: imwheel is not checking/writing a pid file, BE CAREFUL!
An imwheel may be running already.
Two or more imwheel processes on the same X display,
or simultaneously using a wheel fifo,
will not operate as expected!
INFO: imwheel started (pid=2391)
----------------------------------------------------------------------------------

Anyone know what to do?


All times are GMT -5. The time now is 03:26 AM.