Difference between revisions of "User:Humitos/x2x"
(Created page with "[https://github.com/dottedmag/x2x x2x] is an utility to share the Keyboard and Mouse between more than one computer. So you can configure your Desktop PC with its regular Keyb...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [https://github.com/dottedmag/x2x x2x] is an utility to share the Keyboard and Mouse between more than one computer. So you can configure your Desktop PC with its regular Keyboard and Mouse to write and move the pointer cursor on the XO. This is very useful to me, so I'm going to explain here what I did to set it up. | + | [https://github.com/dottedmag/x2x x2x] is an utility to share the Keyboard and Mouse between more than one computer. So you can configure your Desktop PC with its regular Keyboard and Mouse to write and move the pointer cursor on the XO. This is very useful to me, so I'm going to explain here what I did (on Fedora 17) to set it up. |
* Download the source | * Download the source | ||
Line 20: | Line 20: | ||
ssh -X yourusername@yourdesktophostname / yourdesktopip | ssh -X yourusername@yourdesktophostname / yourdesktopip | ||
cd x2x | cd x2x | ||
− | DISPLAY=:0 x2x -to `echo $DISPLAY` -west | + | DISPLAY=:0 ./x2x -to `echo $DISPLAY` -west |
Now you can move the mouse up to the left side of the screen and if you keep moving it in that direction the cursor will appear in the XO screen. Once you have focus on the XO when you type on the Desktop Keyboard you will be typing in the XO. It's magic! | Now you can move the mouse up to the left side of the screen and if you keep moving it in that direction the cursor will appear in the XO screen. Once you have focus on the XO when you type on the Desktop Keyboard you will be typing in the XO. It's magic! | ||
+ | Even more, you can '''share''' the clipboard between the PCs :) | ||
''NOTE: I used '''-west''' because I have my XO at the left of my Desktop PC'' | ''NOTE: I used '''-west''' because I have my XO at the left of my Desktop PC'' | ||
+ | |||
+ | * Reference: http://humitos.wordpress.com/2012/05/24/how-do-you-work-every-single-day-with-your-xo/ (Debian version) | ||
+ | |||
+ | = Other related software = | ||
+ | |||
+ | * Synergy: http://synergy-foss.org/ |
Latest revision as of 22:32, 14 July 2012
x2x is an utility to share the Keyboard and Mouse between more than one computer. So you can configure your Desktop PC with its regular Keyboard and Mouse to write and move the pointer cursor on the XO. This is very useful to me, so I'm going to explain here what I did (on Fedora 17) to set it up.
- Download the source
git clone git://github.com/dottedmag/x2x.git
- Install required dependencies to build it
sudo yum install libXtst-devel.x86_64
- Configure and compile it
cd x2x ./bootstrap.sh ./configure make
- Go to the XO and connect to your Desktop PC via SSH and run x2x
ssh -X yourusername@yourdesktophostname / yourdesktopip cd x2x DISPLAY=:0 ./x2x -to `echo $DISPLAY` -west
Now you can move the mouse up to the left side of the screen and if you keep moving it in that direction the cursor will appear in the XO screen. Once you have focus on the XO when you type on the Desktop Keyboard you will be typing in the XO. It's magic!
Even more, you can share the clipboard between the PCs :)
NOTE: I used -west because I have my XO at the left of my Desktop PC
- Reference: http://humitos.wordpress.com/2012/05/24/how-do-you-work-every-single-day-with-your-xo/ (Debian version)
- Synergy: http://synergy-foss.org/