View Single Post

   
  #1 (permalink)  
Old 02-19-2008, 02:19 PM
Mads Jensen
 
Posts: n/a
Default xmodmap problems ?

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!

Kind regards,
Mads
Reply With Quote