WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to get persistent flash in tiny core  (Read 6148 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
how to get persistent flash in tiny core
« on: July 07, 2012, 09:24:46 PM »
hi
I have noticed that in case of adobe flash you have to copy libflashplayer.so to ~/.mozilla/plugins

I boot from USB .
How can I make it persistent on every reboot ?
Is there any  way that ~/.mozilla/plugins folder gets saved on shutdown .

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: how to get persistent flash in tiny core
« Reply #1 on: July 07, 2012, 10:47:47 PM »
Hi manit123
First you have to get your problems from your tce-load thread straightened out.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: how to get persistent flash in tiny core
« Reply #2 on: July 07, 2012, 11:21:08 PM »
In similiar context ,
I have installed sun-jre .
'java -version' says
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode

By default java is not recognised by firefox.
When I add link to /tmp/tcloop/sun-jre/usr/local/java-sun/jre/lib/i386/libnpjp2.so in ~/.mozilla/plugins folder then java in browser works.
I believe , here also I have to find a way to save ~/.mozilla/plugins folder.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: how to get persistent flash in tiny core
« Reply #3 on: July 07, 2012, 11:33:43 PM »
Hi manit123
As long as there is a line that reads  home  in your  /opt/.filetool.lst  file, the contents of your homr directory will
be backed up.
Some of your problems could have avoided by spending some time reading the FAQs and the Wiki.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: how to get persistent flash in tiny core
« Reply #4 on: July 08, 2012, 10:33:24 AM »
I have used core2usb to create bootable usb of tinycore.
Downside was it needs an empty pendrive.
I notice that mydata.tgz contains home & opt folder.
Will they be automatically restored on next boot or I have to do it manually ?

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: how to get persistent flash in tiny core
« Reply #5 on: July 08, 2012, 11:54:30 AM »
I see that on selecting restore in control panel I get flash & java plugin in firefox as  they relate to ~/.mozilla/plugins
Anyway to set this option at boot ?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: how to get persistent flash in tiny core
« Reply #6 on: July 08, 2012, 11:59:53 AM »
Should be auto scanned for at boot time.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: how to get persistent flash in tiny core
« Reply #7 on: July 08, 2012, 02:01:15 PM »
Hi manit123
Quote
Anyway to set this option at boot ?
Yes. Stop manually installing extensions, use AppBrowser for that. It will automatically install applications so
that they are available when you boot. Make sure those two extensions are listed in  tce/onboot.lst.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: how to get persistent flash in tiny core
« Reply #8 on: July 08, 2012, 06:20:33 PM »
Now , it is automatically restoring the /home/tc folder .
I need to find meaning of about safe option.
Also about on boot , on demand in apps.


Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
GOT java,flash in firefox but only java in opera
« Reply #10 on: July 10, 2012, 05:56:36 AM »
I was trying to make my backup useful but small.
So here is my /opt/.filetool.lst
Code: [Select]
opt
home
#files from flash player 11 tarball
usr/bin/flash-player-properties
usr/share/kde4/services/kcm_adobe_flash_player.desktop
usr/share/applications/flash-player-properties.desktop
usr/share/icons/hicolor/22x22/apps/flash-player-properties.png
usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
usr/share/icons/hicolor/24x24/apps/flash-player-properties.png
usr/share/icons/hicolor/32x32/apps/flash-player-properties.png
usr/share/icons/hicolor/16x16/apps/flash-player-properties.png
usr/lib/kde4/kcm_adobe_flash_player.so
#files for opera & firefox browser
usr/local/firefox-official/plugins/libflashplayer.so
usr/local/firefox-official/plugins/libnpjp2.so
usr/lib/opera/plugins/libnpjp2.so
#note that libnpjp2.so points to  /tmp/tcloop/sun-jre/usr/local/java-sun/jre/lib/i386/libnpjp2.so
The files & folder to exclude are in /opt/.xfiletool.lst
Code: [Select]
Cache
cache
.cache
XUL.mfasl
XPC.mfasl
mnt
.adobe/Flash_Player/AssetCache
.macromedia/Flash_Player
.opera/opcache
.opera/cache4
.Xauthority
.wmx
# i added following as I do not want web history or cookies or cache
home/tc/.opera-11
home/tc/.mozilla

Please suggest any improvement ?
Also I have copied libflashplayer.so to usr/lib/opera/plugins/ . Yet opera does not play flash ?
Code: [Select]
if we install get-flash-11 app then I see
/tmp/tcloop/flash11/
`-- usr
    `-- local
        |-- share
        |   `-- flash11
        |       |-- libflashplayer.so
        |       `-- libflashsupport.so
        `-- tce.installed
            `-- flash11

5 directories, 3 files
libflashplayer.so has same md5sum as the file from install-flash-player11 tarball .
Seems the other two files made the difference for opera .

Also I have noticed that on excluding folder ~/.opera-11 .
There is no way I can include file ~/.opera-11/operaprefs.ini .
Is there a workaround ?
« Last Edit: July 10, 2012, 06:41:00 AM by manit123 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: how to get persistent flash in tiny core
« Reply #11 on: July 10, 2012, 11:46:55 AM »
Hi manit123
I don't think filetool.lst and xfiletool.lst are supposed to have comments in them. Entries in the xfiletool.lst overide
entries in the filetool.lst file. If you only want to include  ~/.opera-11/operaprefs.ini in your backup, you have to
exclude everything except that. For the individual files in  ~/.opera-11/ you can probably use wildcards like:
Quote
home/tc/.opera-11/*.dat
Don't forget to exclude the lock file from your backup.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: how to get persistent flash in tiny core
« Reply #12 on: July 10, 2012, 07:17:18 PM »
the comments I had added while posting to explain my opinion.

excluding all files of .opera-11 individually will be difficult as new files get created on browsing.

Anyway , that means either I save all opera history to have customised settings or start afresh on every startup with default settings saving backup space.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: how to get persistent flash in tiny core
« Reply #13 on: July 10, 2012, 07:47:13 PM »
Hi manit123
You shouldn't have to exclude all the files individually. See if adding this to your xfiletool.lst works:
Code: [Select]
home/tc/.opera-11/application_cache
home/tc/.opera-11/cache
home/tc/.opera-11/dictionaries
home/tc/.opera-11/icons
home/tc/.opera-11/lock
home/tc/.opera-11/opcache
home/tc/.opera-11/pstorage
home/tc/.opera-11/sessions
home/tc/.opera-11/styles
home/tc/.opera-11/temporary_downloads
home/tc/.opera-11/thumbnails
home/tc/.opera-11/toolbar
home/tc/.opera-11/vps
home/tc/.opera-11/webserver
home/tc/.opera-11/widgets
home/tc/.opera-11/*.adr
home/tc/.opera-11/*.dat
home/tc/.opera-11/*.js
home/tc/.opera-11/*.log
home/tc/.opera-11/*.xml
That should exclude everything except the .ini files.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: how to get persistent flash in tiny core
« Reply #14 on: July 10, 2012, 10:19:31 PM »
Maybe more simple and reliable to just manually copy the desired file(s) to a different dir within /home/tc before backing up (while excluding .opera).
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)