Tiny Core Base > CorePlus
saving views and starting applications
steptoesyard:
Hi, ive got tiny core installed and working on a couple of thin clients now after some trial and error.
I've now installed it on another client that i want to use as a radio and web browser, but there are a couple of things that i cant seem to achieve.They are starting an application (firefox) on boot and remembering application view settings.
What i want to do is boot the machine and automatically start firefox in full screen mode. One of the homepage tabs is set to listenlive.eu - when i click on an online radio link it starts playing using VLC but this always pops up over firefox.
I alter the view settings and it works for one session, but doesnt preserve these across reboots. Could you give me some idea of what i need to include in the backup list to achieve this?
Thanks!
steptoesyard:
anyone?
Juanito:
In order to see which files changed when you alter the view settings, you could so something like this:
--- Code: ---$ tce-load -i findutils
$ touch mymarker
[alter settings]
$ find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files
$ vi files
--- End code ---
nitram:
--- Quote ---starting an application (firefox) on boot
--- End quote ---
Add firefox.tcz to /tce/onboot.lst then create a plain text non-executable file in /home/tc/.X.d/ with a firefox entry.
For example, mine is called /home/tc/.X.d/startups and this startups file includes:
conky &
firefox &
--- Quote ---remembering application view settings
--- End quote ---
Believe that's application specific. Ensure you have a persistent /home/tc directory then Firefox should remember window size settings. Not sure, probably stored somewhere in /home/tc/.mozilla.
--- Quote ---start firefox in full screen mode
--- End quote ---
If you exit Firefox maximized it will restart maximized, not sure about full screen. Just need to research, as these old links suggest it's possible using either a simple startup script or custom Firefox userchrome entry. Don't think Firefox has a dedicated CLI option for this. Regardless, it's a Firefox issue not Tiny Core, maybe check Mozilla forum.
http://ubuntuforums.org/showthread.php?t=1868577
http://forums.mozillazine.org/viewtopic.php?f=38&t=2347151
--- Quote ---I alter the view settings and it works for one session, but doesnt preserve these across reboots. Could you give me some idea of what i need to include in the backup list to achieve this?
--- End quote ---
It doesn't sound like you have set up a persistent /home/tc directory, otherwise these types of settings should be preserved across reboots. Check the wiki or read the Tiny Core book. If you review /opt/.filetool.lst you'll see that home and opt directories are automatically backed up, provided you've set up a persistent system.
steptoesyard:
thanks for replies.
Applications are now starting after creating script as described.
I do have persistant home so i guess like suggested that it is a firefox issue. I hadnt tried maximized and window mode. Firefox will remember which of these two modes was last used - when i exit from either of them it will restart in the same mode so i guess its full screen specific.
Will google for a switch to start it in full screen, or see if there is an addon to accomplish the same.
Thanks again!
Navigation
[0] Message Index
[#] Next page
Go to full version