Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Synergy- Two computers one keyboard and mouse

  1. #1
    Join Date
    Jul 2005
    Location
    Waterloo, Canada
    Beans
    42

    Synergy- Two computers one keyboard and mouse

    Synergy -two computers, one mouse.

    It’s quite common knowlege that using two monitors increases productivity. Anyone who has used two monitors, be it for writing a paper, programming or playing video games knows that it drastically increases speed and keeps you from having to constantly switch between windows.

    Unfortunatly, having two monitors is not always an option. Desk space, finances and computer hardware often limit this possiblitly. Many people, however, have a laptop and a computer, or an extra pc lying around. Synergy alows you to pull your laptop up next to your monitor and use it just like an extra monitor. Your keyboard controls whichever computer the mouse is on, and the mouse switches between computers simply by moving it off one screen and onto the other -just like the common dule-monitor setup.

    Synergy is cross platform, and even will connect two different operating systems. Allowing you to use one mouse and keyboard for a windows and linux computer! Best of all, it alows cutting and pasting. You can actualy cut and paste text between these computers.

    Here are the instructions for setting it up in Ubuntu Linux:

    You may need Extra Repositories enabled.
    Open a terminal and type: sudo apt-get install synergy
    Do this on both computers.
    One computer is a server, the other is a client. It doesnt realy matter which.
    On the server, you need a file called .synergy.conf
    It isn’t supplied with the install, so you need to create it. Mine is attached below, with Bubbles being my server pc, and ubuntu being my laptop.
    These names need to be the hostnames of your computer. In Ubuntu, when you open a terminal, your prompt is usualy user@hostname:~$
    You simply run the server by entering the command: synergys
    and you run the client by running: synergyc ipaddress
    Where ipaddress is the ipaddress of the server

    Here is the config file:
    # stomfi synergy configuration file
    #
    section: screens
    bubbles:
    ubuntu:
    end
    section: links
    bubbles:
    left = ubuntu
    ubuntu:
    right = bubbles
    end
    Jason Locklin
    Undergraduate Psychology Student, University of Waterloo
    Homepage

  2. #2
    Join Date
    Aug 2006
    Beans
    3

    Re: Synergy- Two computers one keyboard and mouse

    apt-get install synergy doesn't work on my system... i'm able to get other packages, not that one. is there another way around it?

  3. #3
    Join Date
    Aug 2006
    Beans
    3

    Re: Synergy- Two computers one keyboard and mouse

    never mind, just learned that you have to uncomment some lines in sources.list

  4. #4
    Join Date
    Oct 2005
    Location
    Swift Current, Newfoundland, Canada
    Beans
    195
    Distro
    Kubuntu 6.06

    Re: Synergy- Two computers one keyboard and mouse

    You might want to have synergy start when you log in...
    In Gnome, this can be done by System -> preferences -> sessions click startup programs in the tabs at the top, click add, and enter the synergys or synergyc line you would if you were doing it by hand in a terminal.

    In KDE, this can be done by (in a terminal)
    Code:
    kate ~/.kde/Autostart/synergy
    enter into the file:
    (replace synergys with your synergyc line if this is for a client.)
    Code:
    #!/bin/bash
    synergys
    exit
    save, and exit,
    Code:
    chmod +x ~/.kde/Autostart/synergy
    log out, and back in, it should work.

  5. #5
    Join Date
    Apr 2006
    Beans
    86

    Re: Synergy- Two computers one keyboard and mouse

    Looks great, but it doesn't work on my wireless network

    fabien@thebigone:~$ cat .synergy.conf
    # stomfi synergy configuration file
    #
    section: screens
    thebigone:
    laptop:
    end
    section: links
    thebigone:
    right = laptop
    laptop:
    left = thebigone

    end
    wlan0 Lien encap:Ethernet HWaddr 00:09:5B:E3:FE:29
    inet adr:192.168.0.2 Bcast:192.168.0.255 Masque:255.255.255.0
    adr inet6: fe80::209:5bff:fee3:fe29/64 Scope:Lien
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Packets reçus:15882 erreurs:34 :0 overruns:0 frame:0
    TX packets:9646 errors:1 dropped:0 overruns:0 carrier:0
    collisions:0 lg file transmission:1000
    Octets reçus:20108471 (19.1 MiB) Octets transmis:1335274 (1.2 MiB)
    Interruption:209
    I run synergys on "thebigone" and "synergyc 192.168.0.2" on "laptop".

    No error messages, but it simply doesn't work... I've tried killing the processus and retry, but no way

    Plus, I have no error message.

    Is there something to set with iptable?

    I've tried with and without xgl, it's the same

    Should I have to simply go out of the screen with the mouse pointer, on left or right?

    Thanks a lot, it looks great

  6. #6
    Join Date
    Apr 2006
    Beans
    86

    Re: Synergy- Two computers one keyboard and mouse

    I stopped the firewall via firestarter, and it now works!

    If anyone knew the ports to open...

  7. #7
    Join Date
    Nov 2005
    Location
    Burntwood, UK
    Beans
    50
    Distro
    Ubuntu

    Re: Synergy- Two computers one keyboard and mouse

    Quote Originally Posted by Ago12 View Post
    IIf anyone knew the ports to open...
    Try 24800 - that's the defualt one, unless you've changed it.
    Even the people that never frown eventually break down...

  8. #8
    Join Date
    Jul 2006
    Location
    Colorado
    Beans
    130
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Synergy- Two computers one keyboard and mouse

    first let me say, how friggin' awesome is this app? I work from home, and on my desk is both my personal pc (Ubuntu) and a work pc (Windows). I am so psyched that I can now use one keyboard and mouse and use both pc's seamlessly. Even if you hate Windows, how cool that I can actually copy something in Ubuntu, mouse over to windows and paste in an windows app or vice versa? I'll answer that, it's super cool!
    Here's a little blurb on how I got it to work for me. In case you just want the cliffs notes version, my windows box wasn't picking up on the Ubuntu hostname. So, on the client (windows) side, I simply changed the Ubuntu hostname from skarulis-desktop to its local IP address. That was it! Works like a charm now.

  9. #9
    Join Date
    Aug 2006
    Beans
    13

    Talking Re: Synergy- Two computers one keyboard and mouse

    damn cool!

  10. #10
    Join Date
    Apr 2006
    Location
    Canada
    Beans
    104

    Re: Synergy- Two computers one keyboard and mouse

    I just noticed this thread and am quite happy to hear this I have a question though; will this support special mice with many buttons (like the logitech mice that they have howto's for in this forum) on both machines?

    thanks!

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •