maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 Bluetooth Keyboard + Mouse scripts (https://talk.maemo.org/showthread.php?t=58258)

F2thaK 2010-07-15 08:49

Re: N900 Bluetooth Keyboard + Mouse scripts
 
legend.

**

asys3 2010-07-15 12:43

Re: N900 Bluetooth Keyboard + Mouse scripts
 
qole,
with my bt combo keyboard/mouse btkb-69dc i activate the mouse part as well, when connecting the keyboard via the gui of your package.
but...
I can't switch to my german layout:
Code:

~ $ bt-kbd-remap
Int: (3) Ext: (4)
---
Setting ext keyboard layout:
setxkbmap -device 4 -I -I/usr/share/X11/xkb-chinook -rules base -model pc105 -layout de
Error loading new keyboard description
---

I set the .btkeyboard with base/pc105/de for german layout.

And it doesn't work.

Any ideas?

Second all numbers can only reached via longpress of the according key of the build-in keyboard e.g. 5 is displayed when long pressing t on my bt combo.

Any ideas where to change that?

Thanks so far for your great packaging - works better and better in each release...

asys3

Boogietown 2010-07-15 13:18

Re: N900 Bluetooth Keyboard + Mouse scripts
 
since the laste update i'am unable to see the mouse curser anymore, in most maemo applications..
e.g. i liked it very much in the "faster application manager" and in the browser.... is there a way to activate it again beside going back to an earlier version ?

regards boogie

F2thaK 2010-07-15 13:25

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by Boogietown (Post 752795)
since the laste update i'am unable to see the mouse curser anymore, in most maemo applications..
e.g. i liked it very much in the "faster application manager" and in the browser.... is there a way to activate it again beside going back to an earlier version ?

regards boogie



you need to show mouse ??

try this
http://talk.maemo.org/showpost.php?p...6&postcount=61

Boogietown 2010-07-15 13:32

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by f2thak (Post 752801)

you schould try it.. its kind of cool.. to navigate with the mouse.. and thats kind of hard if you cant see it.. ( especially in the fapman, browser, or simply in openoffice (if you lauch it from meamo))

edit: ok ooo shows the cursor again.. weird

Boogietown 2010-07-15 14:04

Re: N900 Bluetooth Keyboard + Mouse scripts
 
worked for me thanks pal.. :-)

qole 2010-07-15 18:06

Re: N900 Bluetooth Keyboard + Mouse scripts
 
If you want the mouse pointer, run "showmouse" from the terminal. If you want to hide it, run "hidemouse".

But, just so f2thak will stop posting a link to his menu icon every time someone wants to know how to show the mouse ... ;) :p

I will include f2thak's mouse icon and a script that will toggle the mouse when you press the icon ... in the next version.

I'm still trying to debug the startup script that will automatically show the mouse cursor when you connect your mouse. It seems to be failing because Python can't find its libraries when the N900 is booting.

Code:

PYTHONHOME=/usr:/usr

'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/bt-hid-connect-mgr.py", line 18, in <module>
    import os
ImportError: No module named os
Traceback (most recent call last):
  File "/usr/bin/bt-hid-connect-mgr.py", line 18, in <module>
    import os
ImportError: No module named os
Traceback (most recent call last):
  File "/usr/bin/bt-hid-connect-mgr.py", line 18, in <module>
    import os
ImportError: No module named os


sljonson 2010-07-15 19:07

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by qole (Post 748765)
Can anyone report success with these scripts?

They work for me...

I'm using version 0.6 and I've finally gotten my MS Notebook Mouse 5000 to work. It's a PITA to get to switch to use a different system. But after that hurdle, I can turn the mouse off and back on. And then use the bt-dbus-connect command to get it to connect.

It works for moving and clicking the mouse in Lanscape mode. Browsers see mocrob and Firefox Fennac seem to swallow the mouse cursor and button clicks when the cursor is over the browser window. Some web sites in microb work find with Bluetooth mouse. And in portrait mode mouse cursor controls get funky. Mouse up moves cursor diagonally up to the right. And down is diagonally down and to the left. Mouse left is diagonal down to the right. And Mouse Right is diagonal up to the left.

augustthe 2010-07-15 20:14

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by qole (Post 753076)
If you want the mouse pointer, run "showmouse" from the terminal. If you want to hide it, run "hidemouse".

But, just so f2thak will stop posting a link to his menu icon every time someone wants to know how to show the mouse ... ;) :p

I will include f2thak's mouse icon and a script that will toggle the mouse when you press the icon ... in the next version.

I'm still trying to debug the startup script that will automatically show the mouse cursor when you connect your mouse. It seems to be failing because Python can't find its libraries when the N900 is booting.

Code:

PYTHONHOME=/usr:/usr

'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/bt-hid-connect-mgr.py", line 18, in <module>
    import os
ImportError: No module named os
Traceback (most recent call last):
  File "/usr/bin/bt-hid-connect-mgr.py", line 18, in <module>
    import os
ImportError: No module named os
Traceback (most recent call last):
  File "/usr/bin/bt-hid-connect-mgr.py", line 18, in <module>
    import os
ImportError: No module named os


hey qole i try xterminal cammand 'showmouse' it say permission denied i have to do it as "root"

rajil.s 2010-07-15 22:22

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Any idea whether this dell mouse will work http://accessories.euro.dell.com/sna...bfb7e546ad7d51


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

vBulletin® Version 3.8.8