maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Synergy (shared keyboard+mouse) on extras-devel (https://talk.maemo.org/showthread.php?t=80895)

sudarsan_avs 2011-12-22 21:27

Re: [Announce] Synergy (shared keyboard+mouse) on extras-devel
 
I am trying to connect N900 with Win 7 Laptop using Laptop as server by I am unable to start the server using the above config file... Please check the error message logged

Quote:


synergys.exe: no configuration available

cannot read configuration "D:/Program Files/Synergy/synergy.sgc": read error: line 1: invalid character 0xffffffff

I can start with default configuration, without the config file but my client unable to connect

Quote:

/usr/bin # synergyc 192.168.1.66
synergy: %z%s Client on %s %s
Pls Help, thanks in advance...

AapoRantalainen 2011-12-25 10:03

Re: [Announce] Synergy (shared keyboard+mouse) on extras-devel
 
Quote:

Originally Posted by Zas (Post 1140893)
I've only gotten the N900 receive input; but when I run the N900 as the server nothing appears on the N9 when I type.

You must get focus switched from N900 to N9. Can you do that? (i.e. move mouse cursor over screen edge. It is not possible with absolute touch screen)

szopin 2012-03-03 10:56

Re: [Announce] Synergy (shared keyboard+mouse) on extras-devel
 
Could anyone owning N9 and N900 try using Synergy to get N900 keyboard to input in N9 terminal? If this would work over N9-N900 ad-hoc network it would be very useful (n950 hwk apps would be a go for example)

EDIT: As screen switching is not going to work based on the above posts, maybe hotkey would?

keystroke(control+right) = switchInDirection(right)

should work if N9 was linked to the right.

AapoRantalainen 2012-03-05 09:28

Re: [Announce] Synergy (shared keyboard+mouse) on extras-devel
 
Quote:

Originally Posted by szopin (Post 1173569)
EDIT: As screen switching is not going to work based on the above posts, maybe hotkey would?

keystroke(control+right) = switchInDirection(right)

Great, thanks for this.
---
Using N900's keyboard for device without keyboard (e.g. N9):
N900 is acting as synergy-server
On n900, create file /etc/synergy.conf:
Code:

    section: screens
    client-n9:
    server-n900:
    end

    section: links
    client-n9:
            right = server-n900

    server-n900:
            left = client-n9
    end

    section: options
    screenSaverSync = false
    keystroke(control+q) = switchInDirection(left)
    keystroke(control+w) = switchInDirection(right)
    end

This is working example file, it uses CTRL+q and CTRL+w for switching between devices. If you (and your devices and network) are fluent with ip-addresses and hostnames, you can use them instead of server-n900 and client-n9.

On n900 start server with command (installed from extras-devel)
Code:

synergys -f --name server-n900
-f means foreground, so you will see what is happening. If you make shortcut-icon, drop -f. This also explicitly uses same name than configure uses.

Then on N9 start client (downloaded from this thread)
Code:

synergyc -f --name client-n9 SERVER-IP-ADDRESS
IP-address (or working hostname) is needed.

CTRL+q will change focus to the N9. Then touchscreen of N9 works as expect, but touchscreen of N900 sends something to the N9 (=it can't be used for controlling any of the devices).

I don't have N9, so I made video with two N900's: https://www.youtube.com/watch?v=IjoYttTJICk

Keep in mind that synergy is using lot's of battery!

szopin 2012-03-06 23:15

Re: [Announce] Synergy (shared keyboard+mouse) on extras-devel
 
Awesome! Thanks Aapo, this makes N9 more likely to be bought (once the prices settle down a bit) f* Nokia for not releasing N950. It is now available in two-piece edition thanks to You, one major roadblock averted. Also N900 has supposedly better kbd than N950 :D If there is build-essentials and similar lib collection for Harmattan... Yay! (build-essentials afaik is a go, libs will follow or can be handmade, so far so good). With flash/inception and this... it is a good day for smartphones indeed

Pinatz 2012-05-01 19:37

Re: [Announce] Synergy (shared keyboard+mouse) on extras-devel
 
Did somebody already get the mouse cursor appear on the phone? For me it is invisible and the only advice I found was recompiling the kernel. But this is not an option.
Somebody mentioned that he connects a mouse through usb-hostmode and this activates a cursor.
Any way to get this working without connecting anything? Maybe it is a shell script or kind of.

fr33dom 2013-05-20 15:49

Re: [Announce] Synergy (shared keyboard+mouse) on extras-devel
 
never found the cursor either.

About your question regarding usb mouse, well i tried hooking up my microsoft usb mouse and keyboard, but it was not recognized and no cursor appeared neither.

keepin an eye out for the cursor issue.

szopin 2013-05-20 17:34

Re: [Announce] Synergy (shared keyboard+mouse) on extras-devel
 
Funny this thread got resurrected, should be trivial to compile this for Jolla and use Jolla+N900 for hwkb (not the best solution as this uses wifi, so rather huge battery drain, but until BT solution is out there, should work)

AapoRantalainen 2013-05-20 18:40

Re: [Announce] Synergy (shared keyboard+mouse) on extras-devel
 
Quote:

Originally Posted by Pinatz (Post 1200379)
Did somebody already get the mouse cursor appear on the phone? For me it is invisible and the only advice I found was recompiling the kernel. But this is not an option.

Quote:

Originally Posted by fr33dom (Post 1345234)
never found the cursor either.

Can you explain what you are trying to do? This thread is a mess and contains several topics. What devices (phones/PCs) are involved? Which one is server and which one is client? Where is external mouse connected?

At least N900 can show mouse cursor. E.g hack from: http://talk.maemo.org/showthread.php?t=42485 or package http://maemo.org/packages/view/extmou/

freemangordon 2013-05-20 19:15

Re: [Announce] Synergy (shared keyboard+mouse) on extras-devel
 
Quote:

Originally Posted by AapoRantalainen (Post 1345356)
Can you explain what you are trying to do? This thread is a mess and contains several topics. What devices (phones/PCs) are involved? Which one is server and which one is client? Where is external mouse connected?

At least N900 can show mouse cursor. E.g hack from: http://talk.maemo.org/showthread.php?t=42485 or package http://maemo.org/packages/view/extmou/

extmou does way more than just showing cursor, it pulls as a dependency a fixed evdev driver which supports mice.


All times are GMT. The time now is 10:22.

vBulletin® Version 3.8.8