A quick look in dconf-editor
and...
gsettings set org.gnome.desktop.file-sharing bluetooth-obexpush-enabled VALUE
Is the equivalent to 'Receive files in Downloads folder over Bluetooth', VALUE
can be true
or false
gsettings set org.gnome.desktop.file-sharing bluetooth-obexpush-enabled VALUE
Is the same as 'Notify about received files', VALUE
of true
or false
again.
gsettings set org.gnome.desktop.file-sharing bluetooth-accept-files
is the same as the 'Accept files:' selection box, VALUE
can be always
, bonded
(Only work for set-up devices) and ask
.
Here is the picture from the other question in case you need it.
You can find what the current values are using get
in place of set
, To reset, use reset
instead.
To list the available options:
$ gsettings list-keys org.gnome.desktop.file-sharing
bluetooth-accept-files
bluetooth-allow-write
bluetooth-enabled
bluetooth-notify
bluetooth-obexpush-enabled
bluetooth-require-pairing
enabled
require-password
Here also is a list with possible values in bold
org.gnome.desktop.file-sharing bluetooth-accept-files always bonded ask
org.gnome.desktop.file-sharing bluetooth-allow-write true false
org.gnome.desktop.file-sharing bluetooth-enabled true false
org.gnome.desktop.file-sharing bluetooth-notify true false
org.gnome.desktop.file-sharing bluetooth-obexpush-enabled true false
org.gnome.desktop.file-sharing bluetooth-require-pairing true false
org.gnome.desktop.file-sharing enabled true false
org.gnome.desktop.file-sharing require-password never on_write always
More can be found using man gsettings
Hope this helps ;D - Not as though I am doing this just because I use a netbook with a broken display for file sharing, for which this could be rather helpful...
As the above answer will probably only work if you have a graphical Gnome-based desktop installed, a simpler thing may be to use bluez
as in the answer here.
org.gnome.desktop
? I don't have Gnome installed since this is a server; will the Bluetooth system read the configuration from there regardless? I can't test it at the moment. – James Jan 20 '14 at 23:04gsettings
, I linked it as then you can use it on an Ubuntu which has a graphical interface if you want. It works without Gnome, on the netbook I referred to in my answer, but you do need to be logged in. By the way, you may be interested in this answer in another question. – Wilf Jan 21 '14 at 19:22libglib2.0-bin
which provides the gsettings executable. Unfortunately, runninggsettings list-schemas
reveals that there is noorg.gnome.desktop.file-sharing
schema. Should I create the schema and populate it with the default values manually? – James Jan 22 '14 at 22:34gsettings list-schemas |
grep file-sharing
– Wilf Jan 23 '14 at 11:30obexpushd
, which will run a deamon to receive files - http://debaira.blogspot.co.uk/2007/10/bluetooth-command-line.html . These can all be installed easily usingsudo apt-get install...
. – Wilf Jan 24 '14 at 22:33