View Single Post
Posts: 2 | Thanked: 0 times | Joined on Jan 2013
#1019
Originally Posted by slarti View Post
I found out a better way to use an NFC tag on my car holder than explained here.

My aim was to put my phone on my car holder (on which I put an NFC sticker on) and have it automatically switch BT on, pair with my...
I tried this myself and despite many attempts I can't seem to get the script working properly. Running this script in terminal:
#!/bin/sh
xdg-open /usr/share/applications/toggleBT_harmattan.desktop
killall music-suite
Got me this:
:no process killede
- $ invoker ...toggleBT..
in which the bluetooth toggle works fine but the music application isn't killed.

Switching the lines in the script to this:
#!/bin/sh
killall music-suite
xdg-open /usr/share/applications/toggleBT_harmattan.desktop
Gets me:
no default action for the given PARAMS
Any advice?

Script is in a folder called /home/user/MyDocs/Scripts