View Single Post
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#9
Originally Posted by wartstew View Post
Because you switched to a Mac is WHY you are now having to jump through hoops. I can do amazing things remotely to my Linux machines using my N810. It does remote X apps through a SSH tunnel quite well (although I don't know how to do a center mouse click!).
You need to have xmodmap, and run a script like this (from the menu, osso-statusbar-cpu, or whatever):
Code:
#!/bin/sh
xmodmap -e "pointer = 2 3 1"
sleep 5
xmodmap -e "pointer = 1 2 3"
That sets it to do a middle click when you single click for the next 5 seconds, then sets it back. You can get right-click the same way, but change the first mapping to 3 2 1.

On consideration, you undoubtedly have xmodmap on the server, so you might run it there.