Play sound file from Claws

2008-04-10 Thread Henrik Frisk
Hi,

I'm using Claws as my mail reader on N810 and I would like to WAV play
sound files attached to an e-mail (I have a service that transmits my
voice mail as souond files attached to an email). But if I click
'Open' I get the error message 'No registered viewer for this file
type'. But in Preferences I can't seem to set a helper (external
program) other than for Web browser and text editor. I would like to
be able to set mplayer '%s' for MIME audio/x-WAV. Anybody know how to
accomplish this?

Thanks,.

/Henrik
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: crontab (alpha)

2008-04-10 Thread Olivier Ricou
die 04/04/08, ad 15h22, Olivier Ricou [EMAIL PROTECTED] dixit :
 
  There is a bug somewhere, the exec in the alarmd queue don't run. The
 scheduling seems ok, the alarm disapear after the right time however
 nothing is done. If someone can help we, I would appreciate.

The bug is  signs are converted to lt; in
/var/lib/alarmd/alarm_queue.xml therefore I couldn't see the results of
my commands. If you don't use  in the crontab, then it's ok.

Olivier.


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Abiword on N8x0 (was: Bluetooth Keyboard?)

2008-04-10 Thread Mark
On Wed, Apr 9, 2008 at 9:54 AM, Eero Tamminen [EMAIL PROTECTED] wrote:
snip
  i.e. just only a bit over 50MB RAM just to open an empty doc.
  (as a reference, the apps on N8x0 need normally 1/10 of this).

  After bootup there's something like 80MB available on device, depending
  on what Home applets you have enabled.  I'm pretty sure you'd need swap
  to view any real documents with OO and the already slow OO would
  real crawl if it's swapping...  OO layout might not leave much space
  to view the actual document either.

  If Abiword is not an option, I would suggest PDF export from OO
  and just reading the PDFs on the device.


 - Eero

The point is that I need to be able to actually edit files, not just
view them. The great thing about OOo is that it is highly compatible
with Word and other formats as well as OpenDocument, so one
application would serve a lot of uses.

I tried the latest version of Abiword on my desktop with kubuntu, and
it can't even open the most rudimentary of my files, so I don't think
it's worth attempting on my N800.

Mark
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


gpsd command line

2008-04-10 Thread Mark
Does anybody know the command line to start gpsd on an N800 with a
bluetooth gps? I don't want to have to have Maemo-Mapper or Maps
running in order to have gpsd running. I've read all the documentation
I can find, but there is very little in the way of helpful
information.

I did find out (through experimentation) that gpsd can only be run as
superuser, which is highly annoying.

The point is that I'm trying to get NavIT working, but it seg faults
when either of the other two navigation apps are running, and can't
find the GPSr when they aren't. Ultimately, if I can get NavIT
working, I will uninstall the other two, so getting gpsd running
without them is essential.

Of course, if NavIT would check for gpsd and start it if not running,
that would be the ideal solution...

Mark
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Memo mapper cannot connect to GPSD server?

2008-04-10 Thread Magnus Larsson
Hi

I have a N770 (feels a bit old now) that I just reflashed, installed 
OS2007 hacker edition, and then tried to install Maemo mapper, one of 
the most important applications for me right now.

I can install version 2 for OS2006, through the 
maemo-mapper-os2006.install (found on 
https://garage.maemo.org/frs/?group_id=29), and it launches. I scan for 
bluetooth GPS devices and it finds my Holux GPSlim236. But then it 
cannot connect, times out and says Error trying to connect to GPSD 
server.

In Settings, GPSD is set to 127.0.0.1, port 2947 (default setting).


Anyone got advice on how to make it work?


Magnus Larsson
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Memo mapper cannot connect to GPSD server?

2008-04-10 Thread Marius Gedminas
On Thu, Apr 10, 2008 at 07:04:43PM +0200, Magnus Larsson wrote:
 I have a N770 (feels a bit old now) that I just reflashed, installed 
 OS2007 hacker edition, and then tried to install Maemo mapper, one of 
 the most important applications for me right now.
 
 I can install version 2 for OS2006, through the 
 maemo-mapper-os2006.install (found on 
 https://garage.maemo.org/frs/?group_id=29), and it launches. I scan for 
 bluetooth GPS devices and it finds my Holux GPSlim236. But then it 
 cannot connect, times out and says Error trying to connect to GPSD 
 server.
 
 In Settings, GPSD is set to 127.0.0.1, port 2947 (default setting).

Don't use GPSD from Maemo Mapper -- instead use a direct Bluetooth
connection.

I don't remember if OS2007 included gpsd or if that was an extra
package.  OS2007 does indeed include gpsd but doesn't start it unless
you ask for it via DBus (and Maemo Mapper doesn't, which makes the gpsd
option useless).

Marius Gedminas
-- 
(Why, oh! why is X not written in Lisp?)
-- Juliusz Chroboczek


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: gpsd command line

2008-04-10 Thread Marius Gedminas
On Thu, Apr 10, 2008 at 10:43:40AM -0600, Mark wrote:
 Does anybody know the command line to start gpsd on an N800 with a
 bluetooth gps? I don't want to have to have Maemo-Mapper or Maps
 running in order to have gpsd running. I've read all the documentation
 I can find, but there is very little in the way of helpful
 information.

I think you're supposed to use libgpsbt or libgpsmgr to make sure gpsd
is running:
  http://maemo.org/api_refs/4.0/gpsbt/
  http://maemo.org/api_refs/4.0/gpsmgr/

Marius Gedminas
-- 
A witty saying proves nothing.
-- Voltaire


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Memo mapper cannot connect to GPSD server?

2008-04-10 Thread Mark
On Thu, Apr 10, 2008 at 11:22 AM, Marius Gedminas [EMAIL PROTECTED] wrote:
 On Thu, Apr 10, 2008 at 07:04:43PM +0200, Magnus Larsson wrote:
   I have a N770 (feels a bit old now) that I just reflashed, installed
   OS2007 hacker edition, and then tried to install Maemo mapper, one of
   the most important applications for me right now.
  
   I can install version 2 for OS2006, through the
   maemo-mapper-os2006.install (found on
   https://garage.maemo.org/frs/?group_id=29), and it launches. I scan for
   bluetooth GPS devices and it finds my Holux GPSlim236. But then it
   cannot connect, times out and says Error trying to connect to GPSD
   server.
  
   In Settings, GPSD is set to 127.0.0.1, port 2947 (default setting).

  Don't use GPSD from Maemo Mapper -- instead use a direct Bluetooth
  connection.

  I don't remember if OS2007 included gpsd or if that was an extra
  package.  OS2007 does indeed include gpsd but doesn't start it unless
  you ask for it via DBus (and Maemo Mapper doesn't, which makes the gpsd
  option useless).

  Marius Gedminas

I'm confused; does Maemo Mapper use gpsd, just not through DBus? Maps
and Maemo Mapper seem to get along fine running simultaneously - is
that possible with a direct Bluetooth connection?

So if NavIT can't find the bluetooth GPSr by itself I'm out of luck?
(From what I've read, Navit can only access gpsd, not bluetooth or any
other direct GPSr connection.) Someone has got NavIT running on an
N800, but details are not available.

Mark
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: can't install software

2008-04-10 Thread Jon Dodson
I am getting a permission denied unable to lock the list directory on it
after a fresh boot.

On Tue, Apr 8, 2008 at 8:33 AM, Eugene Antimirov [EMAIL PROTECTED] wrote:

 From: Jon Dodson [EMAIL PROTECTED]
  for some strange reason i have been unable to install any software a few
  days after i flashed the latest n800 new firmware for os2008.
  trying to install skype and it just hangs.
  sometimes it says i cant resolve something something about the repo.
  i can browse, download stuff, etc, everything else works like a charm.
  just no install of software.  i updated the repo as well.
  ideas?
  i am fine with reflashing the OS, in fact i did that however it said it
  already had the latest so it didnt do anything.
  can i reinstall the OS again?

 I think just before re-flashing your linux again you should do update
 from command line:

 Start Internet connection and:
 $ apt-get update
 $ apt-get dist-upgrade

 If you have some timeouts or error you will find the exact reason
 there in output. Copy it here in maemo-users if you can't fix it.

 --
 Sincerely,
 Eugene
 ___
 maemo-users mailing list
 maemo-users@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-users




-- 
Regards,

Jon Dodson
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: can't install software

2008-04-10 Thread Jon Dodson
Right and all i did was run:

apt-get update


On Thu, Apr 10, 2008 at 11:42 AM, Jon Dodson [EMAIL PROTECTED] wrote:

 I am getting a permission denied unable to lock the list directory on it
 after a fresh boot.


 On Tue, Apr 8, 2008 at 8:33 AM, Eugene Antimirov [EMAIL PROTECTED] wrote:

  From: Jon Dodson [EMAIL PROTECTED]
   for some strange reason i have been unable to install any software a
  few
   days after i flashed the latest n800 new firmware for os2008.
   trying to install skype and it just hangs.
   sometimes it says i cant resolve something something about the repo.
   i can browse, download stuff, etc, everything else works like a charm.
   just no install of software.  i updated the repo as well.
   ideas?
   i am fine with reflashing the OS, in fact i did that however it said
  it
   already had the latest so it didnt do anything.
   can i reinstall the OS again?
 
  I think just before re-flashing your linux again you should do update
  from command line:
 
  Start Internet connection and:
  $ apt-get update
  $ apt-get dist-upgrade
 
  If you have some timeouts or error you will find the exact reason
  there in output. Copy it here in maemo-users if you can't fix it.
 
  --
  Sincerely,
  Eugene
  ___
  maemo-users mailing list
  maemo-users@maemo.org
  https://lists.maemo.org/mailman/listinfo/maemo-users
 



 --
 Regards,

 Jon Dodson




-- 
Regards,

Jon Dodson
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: can't install software

2008-04-10 Thread Eugene Antimirov
Jon Dodson [EMAIL PROTECTED]:
 I am getting a permission denied unable to lock the list directory on it
 after a fresh boot.

Jon,
can you copy the full error message here into mail list? Otherwise it's
not clean what caused this behavior.

-- 
Sincerely,
Eugene
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Memo mapper cannot connect to GPSD server?

2008-04-10 Thread Marius Gedminas
Hi!

On Thu, Apr 10, 2008 at 11:53:22AM -0600, Mark wrote:
 I'm confused; does Maemo Mapper use gpsd, just not through DBus?

Maemo Mapper can use gpsd, but normally gpsd is not running (to save
system resources, I assume).  The dbus bit is just a guess; the only
documentation I could find on maemo.org refers to two system libraries,
libgpsbt and libgpsmgr.  These libraries can start the gpsd for you on
request, but Maemo Mapper doesn't use them when you choose the GPSD
option.  As far as I understand; I haven't actually inspected the source
code.

 Maps
 and Maemo Mapper seem to get along fine running simultaneously

Right, because Maps tells the OS to start gpsd and then Maemo Mapper can
connect to it.

OTOH if you don't have Maps running, you can't use Maemo Mapper with
gpsd at all.  I tried.  Even if you trigger the GPSD by going into the
Control Panel's GPS applet and asking it to refresh your location, Maemo
Mapper only works for about 30 seconds until gpsd times out, notices
there aren't any apps asking for it via the Nokia-approved libraries,
and exits, making Maemo Mapper lose the connection.

 - is
 that possible with a direct Bluetooth connection?

Yes, if you choose the Bluetooth option in Maemo Mapper with an empty BT
address (which means use the internal GPS on a N810), then you can
have both MM and Maps running at the same time.

AFAIU, the empty address means use whatever's configured in the
GPS control panel applet.

 So if NavIT can't find the bluetooth GPSr by itself I'm out of luck?
 (From what I've read, Navit can only access gpsd, not bluetooth or any
 other direct GPSr connection.) Someone has got NavIT running on an
 N800, but details are not available.

I'm sure there's a solution, but I'm not experienced enough to know what
it is.  This:

  Note that gpsd is only running when there is an application that
  wishes to get position data from GPS device. The libgpsmgr makes sure
  that even if there is multiple programs running that need location
  information, only one instance of gpsd is running.

-- http://maemo.org/community/wiki/howtousegpsframeworkinos2007/

suggests to me that you should add a couple of libgpsmgr calls to NavIT
and then try to connect to gpsd, retrying a few times to give it a
chance to start up, as documented in
http://maemo.org/api_refs/4.0/gpsmgr/group__gpsmgr__api.html#g515fa304360969ba8d59e4e59a0eabf9

Or maybe using http://maemo.org/api_refs/4.0/gpsbt/ would be simpler, at
least the example given (gpsbt_start(NULL, 0, 0, 0, ctx);) in
http://maemo.org/api_refs/4.0/gpsbt/group__gpsbt__api.html#gdb860fb35f52c4beaf672d76adfc8c85
is clearer and doesn't require you to hardcode details such as GPS
device names but instead uses the configuration from the Control Panel.

Marius Gedminas
-- 
HOST SYSTEM RESPONDING, PROBABLY UP...


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Cross-compiling for the N800

2008-04-10 Thread Peter Flynn
Florian Boor wrote:
 Hi,
 
 Jason Edgecombe wrote:
 
 Syntax error: ( unexpected
 
 this looks like you try to run an x86 binary on your device. 

That's what I thought.

 Check if you use the correct compiler. You can check with the file command 
 what kind of binary
 you built.

It built an Intel 80386 binary. This is inside the scratchbox of the 
maemo development vmware image in vmplayer.

The question is, why? I assumed the entire purpose of the dev img was 
that you could compile an ARM binary inside it. If all it can do is 
compile 80386 binaries, I don't see the point of it.

I used cc -o foo foo.c bar.c
Is there some switch I need to specify to force it to cross-compile?

///Peter
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: gpsd command line

2008-04-10 Thread Chris
I have the same question. Would love to try NavT.

Chris

On Thu, Apr 10, 2008 at 12:43 PM, Mark [EMAIL PROTECTED] wrote:

 Does anybody know the command line to start gpsd on an N800 with a
 bluetooth gps? I don't want to have to have Maemo-Mapper or Maps
 running in order to have gpsd running. I've read all the documentation
 I can find, but there is very little in the way of helpful
 information.

 I did find out (through experimentation) that gpsd can only be run as
 superuser, which is highly annoying.

 The point is that I'm trying to get NavIT working, but it seg faults
 when either of the other two navigation apps are running, and can't
 find the GPSr when they aren't. Ultimately, if I can get NavIT
 working, I will uninstall the other two, so getting gpsd running
 without them is essential.

 Of course, if NavIT would check for gpsd and start it if not running,
 that would be the ideal solution...

 Mark
 ___
 maemo-users mailing list
 maemo-users@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-users

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: gpsd command line

2008-04-10 Thread Ryan Pavlik
Well, I think Maemo Mapper is GPL, so if your app is GPL too you could 
look at the code...

Ryan

Chris wrote:
 I have the same question. Would love to try NavT.

 Chris

 On Thu, Apr 10, 2008 at 12:43 PM, Mark [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Does anybody know the command line to start gpsd on an N800 with a
 bluetooth gps? I don't want to have to have Maemo-Mapper or Maps
 running in order to have gpsd running. I've read all the documentation
 I can find, but there is very little in the way of helpful
 information.

 I did find out (through experimentation) that gpsd can only be run as
 superuser, which is highly annoying.

 The point is that I'm trying to get NavIT working, but it seg faults
 when either of the other two navigation apps are running, and can't
 find the GPSr when they aren't. Ultimately, if I can get NavIT
 working, I will uninstall the other two, so getting gpsd running
 without them is essential.

 Of course, if NavIT would check for gpsd and start it if not running,
 that would be the ideal solution...

 Mark
 ___
 maemo-users mailing list
 maemo-users@maemo.org mailto:maemo-users@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-users


 

 ___
 maemo-users mailing list
 maemo-users@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-users
   


-- 
Ryan Pavlik
www.cleardefinition.com

#282  +  (442) -  [X]
A programmer started to cuss
Because getting to sleep was a fuss
As he lay there in bed
Looping 'round in his head
was: while(!asleep()) sheep++;

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: can't install software

2008-04-10 Thread Jon Dodson
$apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission
denied)
E: Unable to lock the list directory

Looks permissiony but I don't know how to do root on this thing.

On Thu, Apr 10, 2008 at 12:20 PM, Eugene Antimirov [EMAIL PROTECTED] wrote:

 Jon Dodson [EMAIL PROTECTED]:
  I am getting a permission denied unable to lock the list directory on it
  after a fresh boot.

 Jon,
 can you copy the full error message here into mail list? Otherwise it's
 not clean what caused this behavior.

 --
 Sincerely,
 Eugene
 ___
 maemo-users mailing list
 maemo-users@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-users




-- 
Regards,

Jon Dodson
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Cross-compiling for the N800

2008-04-10 Thread Marius Gedminas
On Thu, Apr 10, 2008 at 10:47:35PM +0100, Peter Flynn wrote:
 Ryan Pavlik wrote:
  I'd suggest reading the Scratchbox docs -
 
 Do you have a URI for these?

http://maemo.org/development/documentation/tutorials/maemo_4-0_tutorial.html
was sufficient for me, but there's more at
http://scratchbox.org/documentation/

  you need to switch 
  toolchains.  Right now you're using the i386 stuff so that you can build 
  and test in a simulated N8X0.  Once you have it working the way you 
  want, you switch targets and build again, which will give you an ARM 
  binary.
 
 Good grief. I just want to compile an existing .c file that already 
 works. I'm not developing anything.

I'm afraid compiling a .c file falls under the definition of
development, in this case.

I do agree that the whole Scratchbox setup is way too complicated.

 Does anyone have the incantation for switching the target to ARM so that 
 I can compile it?

sb-menu

When you start scratchbox with sb-login, you get a hint

  $ sb-login
  Welcome to Scratchbox, the cross-compilation toolkit!

  Use 'sb-menu' to change your compilation target.
  See /scratchbox/doc/ for documentation.
  
Marius Gedminas
-- 
I may not understand what I'm installing, but that's not my job. I
just need to click Next, Next, Finish here so I can walk to the next
system and repeat the process
-- Anonymous NT Admin


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Cross-compiling for the N800

2008-04-10 Thread Peter Flynn
Marius Gedminas wrote:
 I'm afraid compiling a .c file falls under the definition of
 development, in this case.

Nope. No more so than downloading an application source and typing 
configure;make;make install

 I do agree that the whole Scratchbox setup is way too complicated.

Yep.

Andrew Daviel wrote:

  Personally, I installed scratchbox as per
  http://tablets-dev.nokia.com/4.0/INSTALL.txt
  then have to start the environment up and login.
  Then I get a prompt
  [sbox-CHINOOK_ARMEL: ~]
  and can do gcc, make etc., then copy binaries to the tablet with scp.

That worked perfectly. Thanks very much. Exactly what was needed

I've trashed the vmware dev kit. It looks good for development, but for 
compiling an existing single-file program, it's grotesque overkill.

///Peter
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users