LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-25-2004, 04:55 PM   #1
NWS
LQ Newbie
 
Registered: Jun 2004
Posts: 10

Rep: Reputation: 0
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.
 
Old 06-25-2004, 05:36 PM   #2
NWS
LQ Newbie
 
Registered: Jun 2004
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
Old 06-25-2004, 06:09 PM   #3
NWS
LQ Newbie
 
Registered: Jun 2004
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 06-25-2004, 07:21 PM   #4
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
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
 
Old 06-25-2004, 10:11 PM   #5
NWS
LQ Newbie
 
Registered: Jun 2004
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 06-25-2004, 11:08 PM   #6
NWS
LQ Newbie
 
Registered: Jun 2004
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
  


Reply



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
Mouse Problem (searched in the forum) HOHCEHC Debian 6 04-11-2004 02:44 PM
new to linux...Mouse problems (yes, I searched...) overdrive440 Linux - Hardware 1 06-11-2003 11:50 PM
newbie has mouse question...please help. oDin420 Linux - Hardware 1 04-08-2003 08:23 PM
newbie question, i have searched charlie123 Linux - Newbie 4 01-18-2003 10:25 AM
Mouse Scrolling problem (I have searched the threads too) ShibbyLinux Linux - General 6 04-12-2002 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:44 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
Open Source Consulting | Domain Registration