Hi I just found the Headphones "app". Ok not a real amahi app but I don't know what it is called when you have to run from commandline.
To run the headphones app I need to run a command from putty and as soon as I close down the putty the program stops. Is there some way to have the Headphones app run in the background even after I close down putty?
How can I run Headphones in any other way?
Re: How can I run Headphones in any other way?
Typically if you add an ampersand (&) to the end of a command line it will run in the back ground. Then when you close the Putty session it should not stop.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 2
- Joined: Sat Oct 27, 2012 2:02 am
Re: How can I run Headphones in any other way?
I know this is quite an old post but I was searching for the best way to install headphones on Amahi and thought it could do with a little update. I could use a little help with securing the page as it may need a htaccess file creating but I'm a little rusty and wondered if this would be the best way.
Anyway, here is what I did to add headphones as a web app on ubuntu, fedora should be fairly straightforward now there are start up scripts.
Create headphones web app via dashboard named "headphones" leaving path option as default
SSH to HDA and issue the following commands to correct the html directory permissions as root
Clone the git source from github to your web root directory (html) with
Open the Ubuntu init.d file and edit for Amahi installation
Change APP_PATH line to read APP_PATH=/var/hda/web-apps/headphones/html
Ctrl + X then Y then Return to save and exit
As root copy the file to it's appropriate place and tell ubuntu to use use the script
Test it is working by issuing this command and checking http://headphones:8181 in your browser
Anyway, here is what I did to add headphones as a web app on ubuntu, fedora should be fairly straightforward now there are start up scripts.
Create headphones web app via dashboard named "headphones" leaving path option as default
SSH to HDA and issue the following commands to correct the html directory permissions as root
Code: Select all
chown [username]:Users /var/hda/web-apps/headphones/html
chmod 775 /var/hda/web-apps/headphones/html
Code: Select all
git clone https://github.com/rembo10/headphones.git /var/hda/web-apps/headphones/html/
Code: Select all
nano /var/hda/web-apps/headphones/html/init.ubuntu
Ctrl + X then Y then Return to save and exit
As root copy the file to it's appropriate place and tell ubuntu to use use the script
Code: Select all
cp /var/hda/web-apps/headphones/html/init.ubuntu /etc/init.d/headphones
chmod +x /etc/init.d/headphones
update-rc.d headphones defaults
Code: Select all
/etc/init.d/headphones start
Re: How can I run Headphones in any other way?
Can you please update the wiki with this guidance? We like to keep tutorials for apps there as it's easier to maintain and search.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 2
- Joined: Sat Oct 27, 2012 2:02 am
Re: How can I run Headphones in any other way?
I have requested an account to perform the modifications
Re: How can I run Headphones in any other way?
Thanks. Your account has been approved.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 57 guests