Originally Posted by
shortguy
I'm using an LG Voyager, and this process does work on it. The only thing is that the phone treats my computer as a bluetooth headset, so I'm not getting any sound on my phone unless I manually switch to audio on phone for every call. I don't know if this is a phone setting or a computer setting, but can anyone help me out with this?
I'm relatively new to linux but i'll try. I've seen a setting in the bluetooth preferences GUI, System->Preferences->Bluetooth preferences, which might help you (see screenshot). I've got three options, unspecified (default), desktop workstation, laptop computer. Maybe setting one of these will help you?
I've got amarok and pidgin interaction working also. I've written the following snippets.
First you'll need to install purple-remote to be able to change the status of pidgin:
Code:
sudo apt-get install libpurple-bin
Next you'll need to make two scripts, i've called them proximity-lock.sh and proximity-unlock.sh. But you can rename them to anything you like.
Lock
Code:
gedit ~/Scripts/proximity-lock.sh
and paste the following:
Code:
#!/bin/bash
gnome-screensaver-command -l
amarok --pause
purple-remote setstatus?status=away
Save and close
Unlock
Code:
gedit ~/Scripts/proximity-unlock.sh
Code:
#!/bin/bash
gnome-screensaver-command -dp
amarok --play-pause
purple-remote setstatus?status=available
Save and close.
Now make these scripts executable by setting the appropriate permissions with nautilus or the following commands
Code:
chmod 755 ~/Scripts/proximity-lock.sh
chmod 755 ~/Scripts/proximity-unlock.sh
Now go to your blueproximity settings and at the locking tab change the lock command to
Code:
~/Scripts/proximity-lock.sh
and the unlock command to
Code:
~/Scripts/proximity-unlock.sh
or the equivalent.
This should do the trick, but i'm no Linux wizard so maybe i'm missing something here... Some may argue this is useless but i like being lazy and being nice to the neighbours
Bookmarks