un_dave
January 13th, 2009, 01:45 AM
In the quest to create a simple information display screen for my lounge, (see the full story here: http://ubuntuforums.org/showthread.php?p=6543085 )
I've decided to try create something myself, and I've come up with a system that will hopefully work something like this:
1. I create a list of simple bash 'page' scripts, which, when executed, retrieves stats, then uses them to create a simple html page.
2. The master script, which runs each of the page scripts, then displays the resulting html file full screen, with a yet to be determined web browser. The script then waits for a predefined delay, then repeats the process with the next script.
So far, I have a list of page scripts, which create html files, and a simple master script, which can execute each of the page scripts. However, the point that I'm stuck on is how to open the pages in the web browser from the command line, and get them to open in the current window.
I'm assuming I'll be able to get the web browser to default to full screen, and I'm sure I could probably just kill the browser process, and re-open pointing to a new url, but i'm hoping for something which just allows me to open the url in the current browser window.
Firefox is the only browser currently installed, but I don't mind installing any other browser as necessary.
Thanks in advance!
Dave.
I've decided to try create something myself, and I've come up with a system that will hopefully work something like this:
1. I create a list of simple bash 'page' scripts, which, when executed, retrieves stats, then uses them to create a simple html page.
2. The master script, which runs each of the page scripts, then displays the resulting html file full screen, with a yet to be determined web browser. The script then waits for a predefined delay, then repeats the process with the next script.
So far, I have a list of page scripts, which create html files, and a simple master script, which can execute each of the page scripts. However, the point that I'm stuck on is how to open the pages in the web browser from the command line, and get them to open in the current window.
I'm assuming I'll be able to get the web browser to default to full screen, and I'm sure I could probably just kill the browser process, and re-open pointing to a new url, but i'm hoping for something which just allows me to open the url in the current browser window.
Firefox is the only browser currently installed, but I don't mind installing any other browser as necessary.
Thanks in advance!
Dave.