Sabre: Bluetooth Proximity Plugin

Amarok 1.x Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

Sabre is built off of the BlueZ Bluetooth stack. This script lets you watch your bluetooth device, and upon leaving lock your screen, pause amaroK and message that you are away in Konversation. It is currently in a flux between full KDE support and KDE support. This script will work with KDE, however you need to edit the /etc/sudoers according to HELP.htm

Support for the Plugin can be found Here:

http://sabre.paultags.com/


KDE Support is rough at best, however we have gotten it to run flawlessly. If you are having trouble with this, please post in our Forums, where we will help you.

1.5.1 plays nicer with KDE, however out of the box, it still uses gksudo. There is a workaound documented in HELP.html that will let it work.


*** This is NOT a plugin to control songs in amaroK ***

if you want a plugin to do that look at BlueamaroK:

http://kde-apps.org/content/show.php/BlueamaroK?content=33258


****

Also, the only tested OS is Ubuntu. This script should work under other OSes, but is untested. If you find a bug, please report it on Launch Pad:

https://launchpad.net/sabre/+filebug
Last changelog:

11 years ago

1.5.1
Fixed mimi's issue, thank you mimi

1.5.0
Added a nicer GUI
Added KDE support
Documented a gksudo workaround
Made the installer a whole lot nicer
Whole bunch of Bugs fixed

gardar

11 years ago

Whoa! This script is awesome! One of the coolest amarok scripts I've seen, and the fact that it works "out of the box" makes it even better.... Can't wait for pidgin support... Do we have any ETA on that?

Thanks.

Report

C

paultag

11 years ago

First off: Thank You! I am glad the script is working for you!

Secondly: I have just started up some development again, when I get pidgin set, I will be sure to post it here :)

Cheers, and thank you again!

Tag

Report

dmcglynn

11 years ago

Nice work Paul. This is one of the neatest bluetooth features I've ever seen.. As I'm new to linux, and the ubuntu-world, maybe the idea of "proximity" utilities is nothing new, but it certainly is for me. I love it!

Report

C

paultag

11 years ago

Thanks! I always love to hear when it works right :)

Welcome to the Linux Community as well! All the best,

-- Tag

Report

dmcglynn

11 years ago

Nice work Paul. This is one of the neatest bluetooth features I've ever seen.. As I'm new to linux, and the ubuntu-world, maybe the idea of "proximity" utilities is nothing new, but it certainly is for me. I love it!

Report

mimi

11 years ago

sabre]# ICE default IO error handler doing an exit(), pid = 13879, errno = 0

Report

C

paultag

11 years ago

This is OK. this is an issue with KDio, and it has no effect on the app.

Cheers,
PaulTag

Report

lordprotector

11 years ago

I use SuSE Linux 10.3

Report

lordprotector

11 years ago

my script directory is: ~/.kde/share/apps/amarok/scripts

Report

lordprotector

11 years ago

I get following error:

Window Manager set as KDE, do you want to change this? (Y/N)
n
cp: angegebenes Ziel „/usr/share/apps/amarok/scripts/sabre/“ is no directory
rm: removing „/usr/share/apps/amarok/scripts/sabre/install.*“ is not possible: file or directoy not found

Report

C

paultag

11 years ago

also, what Distro are you using?

Report

C

paultag

11 years ago

actaully, I am wrong. this is an issue of where PSLinuxOX Puts the files. I will start working on this today. Apparentley amaroK does not put its scripts in /usr/share/apps/amarok/scripts/.

Report

C

paultag

11 years ago

You can work around this my typing this:
sudo mkdir /usr/share/apps/amarok/scripts/sabre/ -p

I will fix this is 1.5.2, and I am sorry for all the bugs.

Thank You,
Paul Tagliamonte

Report

mimi

11 years ago

Thank you for your great work.

I have one problem. It work not in pclinuxos!? I use KDE 3.5.8 and I have had try to use my Bluetooth headset. But i work nor :,(
I get allways this error:
The sudoers workaround is set as 0, do you want to change this? (Y/N)
n
Window Manager set as KDE, do you want to change this? (Y/N)
n
/root/.gtkrc-2.0:56: Clearlooks configuration option "menuitemstyle" is not supp orted and will be ignored.
/root/.gtkrc-2.0:57: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/root/.gtkrc-2.0:58: Clearlooks configuration option "progressbarstyle" is not s upported and will be ignored.
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:42: Invalid symbolic color 'fg_color'
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:42: error: invalid identifier `fg_col or', expected valid identifier

TKeep up your work, Thank you.

Report

C

paultag

11 years ago

A fix for this has just been finished. I will release the code within this week, to be sure that this new code plays nice :)

Thank you for the heads up.

PaulTag

Report

mimi

11 years ago

Hallo,
I still have a problem:
sabre]# zenity --info --text="Hello"
/root/.gtkrc-2.0:56: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/root/.gtkrc-2.0:57: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/root/.gtkrc-2.0:58: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:42: Invalid symbolic color 'fg_color'
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:42: error: invalid identifier `fg_color', expected valid identifier

Thank you very much.

Report

C

paultag

11 years ago

OK, please download 1.5.1, and you should be all set.

Report

C

paultag

11 years ago

To me, this looks to be a gksudo issue. I would suggest using the /etc/sudoers l2ping workaround that I wrote up in the HELP.htm.

Cheers,
Paul Tag

Report

C

paultag

11 years ago

Actually, I think this ia a different problem. Does zenity throw these errors? Try running:

zenity --info --text="Hello"

If that errors, I will file a bug report, and have KDE use kdialog insted.

Thank You ( you are the first only KDE user we have talked to yet )

PaulTag

Report

C

paultag

11 years ago

For help: Please post here, and be sure to read HELP.htm

Report

11 years ago

1.5.1
Fixed mimi's issue, thank you mimi

1.5.0
Added a nicer GUI
Added KDE support
Documented a gksudo workaround
Made the installer a whole lot nicer
Whole bunch of Bugs fixed

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) MD5SUM Version Description Downloads Date Filesize DL OCS-Install
*Needs ocs-url or ocs-store to install things
Pling
Details
license
version
1.5.1
updated Mar 07 2008
added Feb 22 2008
downloads 24h
0
page views 24h 2
System Tags addon