|
|
2010-08-09
, 15:43
|
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#2
|
|
|
2010-08-09
, 16:18
|
|
Posts: 66 |
Thanked: 26 times |
Joined on Apr 2010
|
#3
|
There is no way to command hildon-desktop to change the active desktop. Two options are:
1. Use modified-hildon-desktop (which does listen on changes to the gconf key and switches desktop accordingly), or
2. Try to emulate mouse drags that cause the desktop to change. You can see example of emulating mouse clicks in the source of camkeyd.
|
|
2010-08-09
, 16:23
|
|
Posts: 411 |
Thanked: 195 times |
Joined on May 2010
@ Cambridge, UK
|
#4
|
|
|
2010-08-09
, 16:28
|
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#5
|
|
|
2010-08-09
, 16:30
|
|
Posts: 66 |
Thanked: 26 times |
Joined on Apr 2010
|
#6
|
Yes, I now see that camkey emulates keyboard, not mouse, but it is almost the same. See the relevant man page, like here:
http://linux.die.net/man/3/xtestfakemotionevent
|
|
2010-08-13
, 02:09
|
|
Posts: 66 |
Thanked: 26 times |
Joined on Apr 2010
|
#7
|
the thing is that the jump is not working , i get updated the key in gconf ( /apps/osso/hildon-desktop/views/current) but the action of change the desktop is not apply.
any idea how i get this done ? i think maybe dbus can do the work but when i start dbus-monitor and change the desktop ( with my finger of course ) i get none output of that event so look like dbus is not the guy.
Thanks
my dirty code : http://pastebin.com/2y6TpTdJ