View Single Post
Posts: 3 | Thanked: 3 times | Joined on Apr 2010
#66
Hey everyone,

first of all thanks for this thread, really helped me out to get normal sound out of my speakers in my car!

Secondly, I've tried to edit the fm-boost file to make it set the frequency to 87.5 automatically, but that didn't work for me. Now I've made 2 files, to start everything automatically;

- setfmfreq.desktop file inside /usr/share/applications/hildon for starting it via one single click. Content of that file is:

[Desktop Entry]
Encoding=UTF-8
Name=Set Frequency
GenericName=Set FM Transmitter signal to 87.5
Exec=osso-xterm "sh /home/user/StartFM.sh"
Icon=fm-boost-64
X-Osso-Type=application/x-executable
X-HildenDesk-ShowInToolbar=false
Terminal=true
Type=Application
StartupNotify=true
- StartFM.sh inside /home/user which contains:

/usr/bin/fmtx_client -p 1
/bin/echo 120 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level
/usr/share/lfocus/v4l2-ctl -d /dev/radio0 -f 87.5
I've created this to make everything set for 87.5( since I'm on the road alot that's the only frequency I can really use ). Now is my problem that I also want to start the mediaplayer and play a song automatically as well. When I try to start the media player via xterminal/script it just never comes up( only comes up when I press on "Mediaplayer" on my desktop or inside my menu for some reason ). Does anyone have experience with this?

Last edited by R4z8r; 2010-04-12 at 18:30.
 

The Following 3 Users Say Thank You to R4z8r For This Useful Post: