LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can i make Asus Eeepc automatically auto play radio on booting ? (http://www.linuxquestions.org/questions/linux-software-2/how-can-i-make-asus-eeepc-automatically-auto-play-radio-on-booting-790027/)

Rossos 02-18-2010 03:27 PM

How can i make Asus Eeepc automatically auto play radio on booting ?
 
I'm trying to set up Asus Eeepc for a my friend so she can listen to midwest irish radio,without me being there to switch it on . she can only switch the notebook on and off,that all she can manage.So i thought there must be a way to switch the notebook it does the rest for you.I know there is people out there who can work this out in no time at all.I do not know much about linux,just the basic,there must be (as in windows)a macro program that records and replays back actions.
AsusPC 4G 701.
Thank you ...

jf.argentino 02-18-2010 03:40 PM

1st of all, find how to start the mediaplayer with the radio url on a command line, there's surely a way, and it certainly as simple as the mediaplayer name followed by the stream url.
Once you've done this, add the line into the .bashrc or .bash_profile you can found in the home directory (if the shell used is bash. Be aware that file beginning by a dot are hidden.

tredegar 02-19-2010 07:01 AM

I expect you are running the stock xandros version of linux that the EEE701 came with.

I suggest you head over to http://wiki.eeeuser.com/

Then install KDE (AKA "Advanced mode") : http://wiki.eeeuser.com/#full_desktop_advanced_mode

Then read about how to start a program at startup: http://wiki.eeeuser.com/howto:startupscript (which, basically, tells you to put a script calling the program you want to start in the directory /home/user/.kde/Autostart/ )

Your script will probably look something like this
Code:

#!/bin/bash
firefox http://www.radio.com/channelNumber

Lots of eee-specific help is available at http://forum.eeeuser.com/


All times are GMT -5. The time now is 08:59 PM.