Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Language translations
now possible!
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Base
»
TCB Q&A Forum
»
Chromium preferences file loading
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Chromium preferences file loading (Read 2520 times)
newbie000
Newbie
Posts: 21
Chromium preferences file loading
«
on:
April 09, 2012, 11:59:09 PM »
Hi all,
Currently i have chromium browser installed on my TCL.
I was trying to replace the chromium Preferences file ( /home/tc/.config/chromium/Default/Preferences) with the customized one, i put the copy command under .xsession file. Other than that, i also execute some other command which are succesfully. Only the
Preferences file is not replaced with the one i have customized
(i put the customized Preferences on persistent directory - opt).
I am just wondering when the Preferences file is being generated? I am thinking i put the copy command on the wrong timing (not at booting phase)..
Thanks.
Logged
Rich
Administrator
Hero Member
Posts: 11624
Re: Chromium preferences file loading
«
Reply #1 on:
April 10, 2012, 12:48:42 AM »
Hi newbie000
Unless Chromium is overwriting the file, you shouldn't have to do anything. If you have a persistent /home the file
will still be there when you reboot. If you don't, TCs backup/restore mechanism will take care of it, unless:
1. You don't do a backup or restore.
2. Something in or not in your /opt/.filetool.lst or /opt/.xfiletool.lst is preventing it.
You should probably only change that file when Chromium is not running.
Logged
newbie000
Newbie
Posts: 21
Re: Chromium preferences file loading
«
Reply #2 on:
April 10, 2012, 02:16:32 AM »
Thanks Rick,
My purpose is to set the initial Preferences automatically for kiosk purpose, so at the first time the OS up and the chrome launched, the browser already represents my customized setting, without manually setting it..
Logged
Rich
Administrator
Hero Member
Posts: 11624
Re: Chromium preferences file loading
«
Reply #3 on:
April 10, 2012, 02:31:17 AM »
Hi newbie000
Try putting the copy command in your bootlocal.sh file.
Logged
newbie000
Newbie
Posts: 21
Re: Chromium preferences file loading
«
Reply #4 on:
April 10, 2012, 04:23:18 AM »
It works though i need to reboot twice right after the installation (don't know why - it meets my need)..
Thanks Rick!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Base
»
TCB Q&A Forum
»
Chromium preferences file loading