View Single Post

   
  #3 (permalink)  
Old 02-19-2008, 02:20 PM
Rich Grise
 
Posts: n/a
Default Re: xmodmap problems ?

On Wednesday 08 September 2004 05:38 am, Mads Jensen did deign to grace us
with the following:

> Hi NG
>
> In order to be able to use my mouse wheel, I am required to run this
> command:
>
> xmodmap -e "pointer = 1 2 3 6 7 4 5"
>
> And have currently put this line in my /etc/rc.d/rc.local file, so that it
> would be executed during startup, so I wouldn't need to run it manually
> every time I boot (boot it every day), but when the command is executed
> during startup, I get this reply:
>
> xmodmap: unable to open display ''
>
> Or "Can't connect to X server".
>
> Does anyone know a way out of this problem ? If so, I am very greatful!
>

What happens if, instead of that line, you put the appropriate lines
in your xorg.conf? The only reason I ask is that I spot the '4' and '5'
in your thingie - (BTW, I haven't looked up xmodmap yet, because I
haven't had to), which immediately pops up "ZAxisMapping" in my mind,
and you did mention 'wheel' - the math really isn't that hard.

Good Luck!
Rich

Reply With Quote