maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] QRemoteControl (https://talk.maemo.org/showthread.php?t=87649)

Strahlex 2012-10-31 10:58

[Announce] QRemoteControl
 
Announcing QRemoteControl.

The purpose of QRemoteControl
As you may already guess, QRemoteControl is remote control application.
With QRemoteControl you can easily control you computer via WiFi. QRemoteControl includes a touchpad, keyboard, multimedia keys and buttons for starting applications. You can even change the color of the user interface. Powering on the computer via Wake On Lan is also supported. The server application is available for Windows and Linux.

Feature overview
  • Works over every WAN or LAN
  • Automatic server discovery in LANs
  • Touchpad emulation
  • Fully configurable multimedia buttons
  • Configurable user buttons
  • On-Screen Keyboard
  • Wake On LAN and manual discovery
  • GUI in different colors
  • OpenSource server software for Linux and Windows (Mac would be possible)

For more information and download visit: http://qremote.org

https://dl.dropbox.com/u/50861330/qr.../Scr000025.jpg

Vromoth 2012-10-31 11:31

Re: [Announce] QRemoteControl
 
Thanks Strahlex! I love this app. But it still has the bug that if you use the phones keyboard in app it will never unfocus until exited or swiped away from. Otherwise its completely awesome!

Strahlex 2012-11-05 17:01

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by Vromoth (Post 1288050)
Thanks Strahlex! I love this app. But it still has the bug that if you use the phones keyboard in app it will never unfocus until exited or swiped away from. Otherwise its completely awesome!

Seems to be a N9 bug only. As I have no N9 myself, I'm limited to test the application in QEMU, which is not very helpful. However, I will get a N9 in a few days, so maybe I can fix this problem soon.

marmistrz 2012-11-05 17:29

Re: [Announce] QRemoteControl
 
What about an N900 version?

MINKIN2 2012-11-05 17:43

Re: [Announce] QRemoteControl
 
Just Beautiful!

I wanted another Pi controller :)

Kozzi 2012-11-05 19:02

Re: [Announce] QRemoteControl
 
Strahlex, any plan on adding drag-n-drop or just double tap to drag ?

rainisto 2012-11-05 21:32

Re: [Announce] QRemoteControl
 
Thanks, I just managed to port the server to Qt5 on Raspberry pi, sources needed a bit of tweaking, but in the end it started to work. Didn't test to compile in 4.8.2 yet, but might try that later.

qwazix 2012-11-05 22:24

Re: [Announce] QRemoteControl
 
On windows, if the computer goes to sleep the server is unresponsive after wakeup (still shows connected) and the phone can't connect again. Also +1 for the drag (maybe with multitouch)

Strahlex 2012-11-06 19:57

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by rainisto (Post 1290773)
Thanks, I just managed to port the server to Qt5 on Raspberry pi, sources needed a bit of tweaking, but in the end it started to work. Didn't test to compile in 4.8.2 yet, but might try that later.

Great, what distribution do you use? I already tried this, but I was not able to install Qt5 development files on Debian (instead my Debian got messed up).


Drag n Drop: Multitouch is a great thing but currently not implemented in QtQuick 1, I'll probably implement this with Qt5. For now, I implemented Drag n Drop by pressing the button for a longer time (> 400ms), which will lock the button. After the Drag operation, just release it again. I'll add this to the next release.

Thanks for all the great ideas and feedback.

shanttu 2012-11-06 20:46

Re: [Announce] QRemoteControl
 
Any progress solving
Code:

sni-qt/19799″ WARN 02:42:48.774 voidStatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
on Ubuntu 12.04?

rainisto 2012-11-07 05:53

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by Strahlex (Post 1291193)
Great, what distribution do you use? I already tried this, but I was not able to install Qt5 development files on Debian (instead my Debian got messed up).

Im using ubuntu, and used https://github.com/nezticle/RaspberryPi-BuildRoot to build Qt5 for rpi (as that sdk env builds quite new sha1 hash of Qt5 automaticly).

Strahlex 2012-11-07 21:18

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by shanttu (Post 1291213)
Any progress solving
Code:

sni-qt/19799″ WARN 02:42:48.774 voidStatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
on Ubuntu 12.04?

Its a warning only, I got this also on a Ubutu install in a virtual machine. On another real computer, QRemoteControl starts without any error. However, I think this warning only means, that no icon shown in the task bar. You can open the configuration dialog by starting the application another time.

Strahlex 2012-11-07 21:22

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by rainisto (Post 1291329)
Im using ubuntu, and used https://github.com/nezticle/RaspberryPi-BuildRoot to build Qt5 for rpi (as that sdk env builds quite new sha1 hash of Qt5 automaticly).

Great work! Is it anyhow possible to automatisize this process? Would be great if a RPi binary could be provided.

abyzthomas 2012-11-07 21:45

Re: [Announce] QRemoteControl
 
Awesome!!
Works great on OpenSuSE 12.2

shanttu 2012-11-08 15:51

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by Strahlex (Post 1291592)
Its a warning only, I got this also on a Ubutu install in a virtual machine. On another real computer, QRemoteControl starts without any error. However, I think this warning only means, that no icon shown in the task bar. You can open the configuration dialog by starting the application another time.

Thanks. So that's not the issue then. For some reason I get red icon on tray every time. After purging the server first launch works but not a single time after. No errors (other than the qt-warning) when launched from terminal.

lsof -i :5487
Code:

COMMAND    PID    USER  FD  TYPE  DEVICE SIZE/OFF NODE NAME
qremoteco 7582 shanttu  18r  IPv4 1245980      0t0  UDP *:5487

netstat -n | grep :5487
blank

Any ideas what could be wrong?

jmsarriat 2012-11-08 16:40

Re: [Announce] QRemoteControl
 
Hi,

Just a small question. Is there a way to run the PC application on a mac running OSX?

I would love to control the laptop with the N9, but no luck so far.

I appreciate your answers.

Strahlex 2012-11-09 00:07

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by jmsarriat (Post 1291915)
Hi,

Just a small question. Is there a way to run the PC application on a mac running OSX?

I would love to control the laptop with the N9, but no luck so far.

I appreciate your answers.

It should run, but the keyboard would need some further development towards the Mac build of Qt. The only problem I have with OSX is, that I have no Mac and it wont run in a virtual machine.

But you can compile it yourself:
- Download the source code of QRemoteControl.
- Install the QtSDK.
- Open the pro-file with Qt-Creator and launch the build (or run qmake make from the command line)

However its not garanteed that it will no have any build errors. As I already said the only thing that is OS-dependent, is the keyboard emulation.


Got my N9 today, already fixed some bugs and created a new more native looking theme:
https://dl.dropbox.com/u/50861330/121109_N9_0014.jpg

Strahlex 2012-11-09 17:08

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by shanttu (Post 1291902)
Thanks. So that's not the issue then. For some reason I get red icon on tray every time. After purging the server first launch works but not a single time after. No errors (other than the qt-warning) when launched from terminal.

lsof -i :5487
Code:

COMMAND    PID    USER  FD  TYPE  DEVICE SIZE/OFF NODE NAME
qremoteco 7582 shanttu  18r  IPv4 1245980      0t0  UDP *:5487

netstat -n | grep :5487
blank

Any ideas what could be wrong?

QRemoteControl also opens a TCP connection to the client, so lsof shows 2 connections and netstat one when connected. Have you any kind of firewall running?

Is it maybe possible to make a Debug build or to use a network sniffer to make sure the packets are reaching the server?

tiempjuuh 2012-11-09 20:18

Re: [Announce] QRemoteControl
 
"This item isn't available at the Nokia Store"... :(

Watchmaker 2012-11-10 01:05

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by Strahlex (Post 1292117)
It should run, but the keyboard would need some further development towards the Mac build of Qt. The only problem I have with OSX is, that I have no Mac and it wont run in a virtual machine.

But you can compile it yourself:
- Download the source code of QRemoteControl.
- Install the QtSDK.
- Open the pro-file with Qt-Creator and launch the build (or run qmake make from the command line)

However its not garanteed that it will no have any build errors. As I already said the only thing that is OS-dependent, is the keyboard emulation.


Got my N9 today, already fixed some bugs and created a new more native looking theme:
https://dl.dropbox.com/u/50861330/121109_N9_0014.jpg

Very nice to hear (and see). I've had a wonderful experience with your app so far, I'm looking forward to have the updated version on my device ;)

jmsarriat 2012-11-10 14:58

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by Strahlex (Post 1292117)
It should run, but the keyboard would need some further development towards the Mac build of Qt. The only problem I have with OSX is, that I have no Mac and it wont run in a virtual machine.

But you can compile it yourself:
- Download the source code of QRemoteControl.
- Install the QtSDK.
- Open the pro-file with Qt-Creator and launch the build (or run qmake make from the command line)

However its not garanteed that it will no have any build errors. As I already said the only thing that is OS-dependent, is the keyboard emulation.


Got my N9 today, already fixed some bugs and created a new more native looking theme:
https://dl.dropbox.com/u/50861330/121109_N9_0014.jpg

So i've downloaded the SourceCode, the SDK and hit Build.

As expected it didn't compile in the first try. There are 16 Errors all related to 'globalFakeKey' not being declared in this scope, the scope being the qglobalfakekey.cpp file. Any suggestions? I'll play around for a while but the last time i program was looooong time ago and well i will have to study the code to try to understand what's going on. Could it be that the definitions ".h" are not being read on time?

Well if you have any suggestions please let me know.

shanttu 2012-11-10 15:18

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by Strahlex (Post 1292418)
QRemoteControl also opens a TCP connection to the client, so lsof shows 2 connections and netstat one when connected. Have you any kind of firewall running?

Is it maybe possible to make a Debug build or to use a network sniffer to make sure the packets are reaching the server?

No clue why, but running on startup it's all good. Thanks for your support.

I love this app!

Edit: Not every time. Will see if I can troubleshoot more.

Strahlex 2012-11-11 23:16

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by jmsarriat (Post 1292697)
So i've downloaded the SourceCode, the SDK and hit Build.

As expected it didn't compile in the first try. There are 16 Errors all related to 'globalFakeKey' not being declared in this scope, the scope being the qglobalfakekey.cpp file. Any suggestions? I'll play around for a while but the last time i program was looooong time ago and well i will have to study the code to try to understand what's going on. Could it be that the definitions ".h" are not being read on time?

Well if you have any suggestions please let me know.

The meaning of the error is, that there is no function named globalFakeKey. I have defined this function only for Linux and Windows. When I have time (I hope tomorrow), I'll remove the keyboard functionality from Mac version explicitly to make the source code buildable. When I have more time, I'll try to add the fake key function for Mac.

F2thaK 2012-11-11 23:20

Re: [Announce] QRemoteControl
 
been wanting something like this since getting the N9. can it control windows media player?

Strahlex 2012-11-12 10:54

Re: [Announce] QRemoteControl
 
@jmsarriat
I added an empty class for OSX, I hope that it compiles now.

@F2thaK
Yes it can. It "fakes" real keyboard input, so it works like a physical keyboard with multimedia keys, it is also possible to define any key combination you like.

ladoga 2012-11-12 18:17

Re: [Announce] QRemoteControl
 
It would be nice to have ability to add profiles and maybe an option to pair loading a profile with custom command (useful when launching a media player, that has different key bindings than another one you use).

jmsarriat 2012-11-13 19:30

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by Strahlex (Post 1293303)
@jmsarriat
I added an empty class for OSX, I hope that it compiles now.

@F2thaK
Yes it can. It "fakes" real keyboard input, so it works like a physical keyboard with multimedia keys, it is also possible to define any key combination you like.

Hi again,

well it's getting better but now after trying to build i get 17 warnings many if not all of them related to unused values and one error with the following output:

"Undefined symbols for architecture x86_64:
"vtable for QGlobalFakeKeyPrivate", referenced from:
QGlobalFakeKeyPrivate::QGlobalFakeKeyPrivate(QObje ct*)in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::~QGlobalFakeKeyPrivate()in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::~QGlobalFakeKeyPrivate()in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::~QGlobalFakeKeyPrivate()in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::QGlobalFakeKeyPrivate(QObje ct*)in qglobalfakekey_osx.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [qremotecontrol-server.app/Contents/MacOS/qremotecontrol-server] Error 1
make: Leaving directory `/Users/juanmanuelsarria/Downloads/QRemoteControl-Server-build-Desktop-Debug'
20:17:57: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project QRemoteControl-Server (target: Desktop)
When executing step 'Make'"

I was looking at your headers and in both cases you include either windows.h or some other headers which i imagine are platform dependent. There is none for the mac header, any clue what the name of it may be?

Thanks in advance for your help.

Strahlex 2012-11-14 15:31

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by jmsarriat (Post 1293909)
Hi again,

well it's getting better but now after trying to build i get 17 warnings many if not all of them related to unused values and one error with the following output:

"Undefined symbols for architecture x86_64:
"vtable for QGlobalFakeKeyPrivate", referenced from:
QGlobalFakeKeyPrivate::QGlobalFakeKeyPrivate(QObje ct*)in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::~QGlobalFakeKeyPrivate()in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::~QGlobalFakeKeyPrivate()in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::~QGlobalFakeKeyPrivate()in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::QGlobalFakeKeyPrivate(QObje ct*)in qglobalfakekey_osx.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [qremotecontrol-server.app/Contents/MacOS/qremotecontrol-server] Error 1
make: Leaving directory `/Users/juanmanuelsarria/Downloads/QRemoteControl-Server-build-Desktop-Debug'
20:17:57: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project QRemoteControl-Server (target: Desktop)
When executing step 'Make'"

I was looking at your headers and in both cases you include either windows.h or some other headers which i imagine are platform dependent. There is none for the mac header, any clue what the name of it may be?

Thanks in advance for your help.

Got it, I actually added the header as source in the pro file *facepalm*. The warnings are quite normal, as the functions are doing nothing and the variables are unused. No need to define any system dependant header yet. Repository is updated.

jmsarriat 2012-11-14 23:34

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by Strahlex (Post 1294226)
Got it, I actually added the header as source in the pro file *facepalm*. The warnings are quite normal, as the functions are doing nothing and the variables are unused. No need to define any system dependant header yet. Repository is updated.

Hi there,

Built successfully in first attempt! I managed to build and run the server on the mac! The phone sees the pc and connects without a problem, the only hiccup is that the only functionality so far is the cursor movement. No click or keystroke was perceived by the laptop, what could be the problem? By the way i noticed that in the pic you posted earlier the app has a black theme, somehow different from the one i have, am i missing something? In any case the functionality, not the form, is what i am most interested in.


As always i am most grateful for you help.

Strahlex 2012-11-18 16:09

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by jmsarriat (Post 1294368)
Hi there,

Built successfully in first attempt! I managed to build and run the server on the mac! The phone sees the pc and connects without a problem, the only hiccup is that the only functionality so far is the cursor movement. No click or keystroke was perceived by the laptop, what could be the problem? By the way i noticed that in the pic you posted earlier the app has a black theme, somehow different from the one i have, am i missing something? In any case the functionality, not the form, is what i am most interested in.


As always i am most grateful for you help.

Great, the only thing missing now is the mac port of the key faking part. I hope I can do this next week.

jmsarriat 2012-11-28 15:45

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by Strahlex (Post 1295607)
Great, the only thing missing now is the mac port of the key faking part. I hope I can do this next week.

Hi there,

not to be impatient, but are there any news on the OSX port of the server application?

Thanks,

deseven 2012-11-29 05:33

Re: [Announce] QRemoteControl
 
Thanks for your app.

It works great, but i've managed to hang it twice when loosing connection with the server (bad wifi actually).

You probably should do communication stuff in another thread with suitable timeout and reconnection.

Strahlex 2012-12-05 22:55

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by jmsarriat (Post 1299362)
Hi there,

not to be impatient, but are there any news on the OSX port of the server application?

Thanks,

Sorry, I've no managed to do it yet. But I actually managed to set up a OSX VM for testing purposes, so hopefully it could be done soon.

Strahlex 2012-12-05 22:57

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by deseven (Post 1299573)
Thanks for your app.

It works great, but i've managed to hang it twice when loosing connection with the server (bad wifi actually).

You probably should do communication stuff in another thread with suitable timeout and reconnection.

Yes, I've seen that also when the host computer is going to standby state. I thought about a keep alive message, to make sure server and client are still connected.

floringeo 2012-12-12 17:16

Re: [Announce] QRemoteControl
 
Can anyone tell me how to set user commands in qremotecontrol-server?

Strahlex 2012-12-15 14:35

Re: [Announce] QRemoteControl
 
I'm glad to announce, that QRemoteControl-Server should now work on Mac OSX. Pre-Built packages will follow soon.

Quote:

Originally Posted by floringeo (Post 1303891)
Can anyone tell me how to set user commands in qremotecontrol-server?

Just click on the small little plus on the bottom. Now a dialog should pop up. Enter the name of the new command. Change the type either to command, to execute an application or shortcut to create a new shortcut.

PS: The repository has changed to git!

ladoga 2012-12-16 11:19

Re: [Announce] QRemoteControl
 
How about ability to send strings of charachters as input? This would work with existing barcode reader apps for n9 (copy&paste) to send barcode to a window input field on remote server.

Would be very useful for example in reading barcodes from bills and sending them into a netbank's text input field on a remote PC.

Even better would be an integrated barcode reader, which would send the string upon reading.

Or maybe there's a simpler ways to make N9 work as barcode scanner for a PC?

PS. Yesterday I spilled some tea on my keyboard shorting out few switches. I don't have a spare keyboard so I used QRemoteControl as keyboard for the rest of the day, while my Filco was drying. Thanks for this userful app. :)

Strahlex 2012-12-16 21:04

Re: [Announce] QRemoteControl
 
Quote:

Originally Posted by ladoga (Post 1305001)
How about ability to send strings of charachters as input? This would work with existing barcode reader apps for n9 (copy&paste) to send barcode to a window input field on remote server.

Would be very useful for example in reading barcodes from bills and sending them into a netbank's text input field on a remote PC.

Interesting, maybe a "send clipboard content to computer" feature would work. I've also thought about the possibility to use the native N9 keyboard for typing in text (for key combinations it would not work). Copying the content to the computer and pasting it.

marktwain70 2015-05-24 15:20

Re: [Announce] QRemoteControl Server app for Debian
 
Hi everybody,

You can get the QRemoteControl-Server for Debian here:
http://oem.suse.com/repositories/hom...ian_7.0/amd64/

It works with Debian Jessie 64b and surely with Debian Wheezy 64b.

For your N9, you can get Media Player Control to control VLC on your PC with your Nokia N9:
https://allnokia.ru/symbsoft/moreinfo-6741.htm

It works!

Kabouik 2016-04-12 15:25

Re: [Announce] QRemoteControl
 
I'm using this application all the time on my Jolla, but I wonder how hard it would be to make a Maemo version of it. I still use my N900 quite often, and plan on using a Neo900 when it comes out, but unfortunately there's no Qremotecontrol for Maemo at the moment. Sure I can use VNC, but it's far from being ideal for what I want.


All times are GMT. The time now is 19:07.

vBulletin® Version 3.8.8