Skip to contentSkip to conversation

Bluetooth-sendto without display

DISCUSSION Ed Tsang 2 participants 2 messages Aug 24, 2009 Bluetooth drivers

lore
Share & tools
lore

Ed Tsang

author
#0 lore raw

Hi, I am trying to write a simple shell script to keep sending a file to a pre-determined phone upon power up. Base on the latest ubuntu, I am able to "bluetooth-sendto --device=00:xx:... myfile".
Then I tied to run without GUI by unchecking GDM using rcconf. Now bluetooth-sendto will fail with cannot find display.
Is there a way to cheat, I tried --display=0, --display=0:0.0 .. still does not work.
Or is there obex-send that I could use without gnome?

Thanks in advance.

      __________________________________________________________________

Looking for the perfect gift? Give the gift of Flickr!

http://www.flickr.com/gift/

maintainer
#1 lore raw

Hi Ed,

Quoted 5 lines

I am trying to write a simple shell script to keep sending a file to a pre-determined phone upon power up. Base on the latest ubuntu, I am able to "bluetooth-sendto --device=00:xx:... myfile".
Then I tied to run without GUI by unchecking GDM using rcconf. Now bluetooth-sendto will fail with cannot find display.
Is there a way to cheat, I tried --display=0, --display=0:0.0 .. still does not work.
Or is there obex-send that I could use without gnome?

the obexd packages contains test/send-files. Don't try to make a GNOME program run headless. Use a proper command line tool.

Regards

Marcel