while the original idea was really to just lock the screen the more I talk to people the more interesting ideas of alternative use are bought up. I think some of them are really useful so I decided to make this thread to let people know more of what we can really do.
first I'd like to inform that executing more than one command is of course possible. It should even do so without creating a script, which of course would be possible at any time and gives greater flexability.
Chaining two commands is easy if their return value is 0 one could do like this:
command1 && command2
Gaim (I know that is history but I use Ubuntu Feisty where it's still Gaim) can learn about your absence by adding the following commands:
gaim-remote "irc:setstatus?status=away&message=BlueProximity thinks I am away"
People can see immediately if you are near your computer (if that is what you want) which is really what instant messenging is all about.
It's not yet done but the Mythbuntu project (http://mythbuntu.org) is trying to integrate BlueProximity into their project for creative uses too. Ideas that came up were:
if no presence is detected:
- automatic muting
- automatic timeshifting
- volume depending on distance (I doubt that...)
- channel locking for parents (or wives)
Meld with X10 for lighting control (walk out of a room, lights go off, etc..)
Meld with audio devices such that playlists follow you about the house..
Doh! I have been to slow again - the moment after I posted the other message to you inviting you here I must see that you already did post a new one.
That is totally cool - switch lights on and off. X10 could even do a lot of more things - like opening the window on leaving if your last presence has been too long :-) Very cool idea!
I see that having BP monitor more than one device will give more flexability here. Just for your information, you can dirty hack the source... copy it to another directory, then change the filename of the config file. Now you can even start another instance of BlueProximity that detects a different device.
Looks like you and I are still out of phase by one step; I had already done that to prove concept for a colleague's phone!
My company uses a software phone (not asterisk, sadly..) ; opens up the possibility of routing incoming calls to your cell if said cell isn't in range of the phone...
Man, you are very creative. If you have the commands available everybody can set this up very simple. Though I doubt it is a very common setup I still like the idea :-)
Ever have your cell fall out of your pocket and been unable to locate it?
If the machine running BP is a laptop, set your distance to increasingly smaller values while setting the app to play a tone when the phone is within range...
Now that's cool too. Although it should include more computers so you could actually triangle the phone and get its absolute position :-) Wow, that's for big companies :-)
I once had the idea to give companies an automatic log on who attends a meeting... But that's all peanuts :-)
I got the BlueProximity/X10 mix functioning, here's a video:
My apologies for the poor audio.
this time it's time to swich off the monitor when you go and turn it on again if you come back.
The commands are:
xset dpms force off
xset dpms force on
Hi! First, I want to thank Lars for his awesome program.
Second, I have a few creative uses:)
My blueproximity setup already turns the monitor off/on, turn off/on screensaver (for the password protection), pauses amarok if it is playing and changes pidgin status.
Right now I'm trying to get it to limit the global max download speed of my torrent client when I'm using the computer, and set it to unlimited when I leave.
Also, this can be used for great fun! Borrow someone's mobile phone, pair it and set blueproximity to say something, play a scary voice, play a love song if it is your gf/wife, etc. I also had the idea to make fun of a friend by making his computer play porn if his parents, walks by :)
Ok, here it goes...
You enter your room and your PC "wakes up" and says: "You have $x new mails and a skype message" (using orca, for example). After that it starts the music smoothly increasing the volume 'till it's about 50%-75%(depending on the taste).
I'm using it to get some better sleep. Seriously. Well, to switch off my voip phone when my mobile is switched off too...
see my post on http://blog.gingerlime.com/guilty-pleasures
Log in to post a comment.