DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th August 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default Flash 9 (WINE) on FreeBSD, finally

A couple of days ago, I attempted to view some photos on Google StreetView but I realised they use Flash instead of SVG like Google Maps. Frustrated, then I came up with the idea of running Opera portable version with Wine.

I was using Opera portable exclusively when I hadnt migrated to the BSD world. Its a complete package; it contains mail, personal settings...and plugins. So I thought, sounds very "Wine friendly" and why dont I give it a try.

Unfortunately, its very slow on Google StreetView (I guess because there are too many Flash "actions" and it slows down the Wine rendering), but for videos, it works!

Experiences videos with Flash 9:

- No audio sync issue.

- Minor lagging (but I do experience the lag on Flash 7, so pretty sure its because of my 1.2Ghz Pen M cpu. It would be very smooth on powerful CPUs).

- No freezing problem, you will feel like running another browser. The wine processes take less than 50% cpu usage

Code:
19953 gu            9  96    0   103M 65316K select   1:37 46.73% wine-pthread
29185 root          1 107    0   199M 34948K RUN     88:42 21.53% Xorg
41337 gu            1 105    0   250M   169M select 623:10 17.48% opera
19955 gu            1   4    0  4380K  2628K kqread   0:07  1.07% wineserver
Screenshot

So the verdict is, its very usable.

Ok, so here is the howto

0. Download Opera portable

http://www.opera-usb.com/download.htm

(The version I use is 9.27. If you downloaded 9.5 and it doesnt work, try the older one)

1. Install Wine, of course

2. Lauch Opera with wine

Note: the file to run is Op.com, not operausb.exe

%wine /opera/path/Op.com

3. Check plugin path by enter the following line into the address box:

opera:config#UserPrefs|PluginPath

Should be "program/plugins" dir

4. Copy the 2 Flash 9 files into the plugin directory:

NPSWF32.dll
flashplayer.xpt

They can be extracted from another Windows machine or you can download here:

http://asternix.org/misc/Flash9.zip

5. That is. Restart Opera and enjoy!

Last edited by 18Googol2; 9th August 2008 at 06:54 AM.
Reply With Quote
  #2   (View Single Post)  
Old 9th August 2008
mousesack's Avatar
mousesack mousesack is offline
Port Guard
 
Join Date: May 2008
Posts: 18
Default

This should be a sticky (imho), as this could be easiest method to date. brilliant method for the migrating people.

I would still use firefox 2 under wine for that purpose, as I'm more experienced with it.
But that has proven to be the not so stable method, at least for me.
Must try this one day!

Last edited by mousesack; 9th August 2008 at 10:01 AM.
Reply With Quote
  #3   (View Single Post)  
Old 9th August 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Default

This method should work with Firefox as well, iirc.
Now we just need wine working in FreeBSD/amd64
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
  #4   (View Single Post)  
Old 9th August 2008
lumiwa lumiwa is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default

Quote:
Originally Posted by Weaseal View Post
This method should work with Firefox as well, iirc.
Now we just need wine working in FreeBSD/amd64
IMO, we need native Flash 9...
Reply With Quote
  #5   (View Single Post)  
Old 9th August 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by lumiwa View Post
IMO, we need native Flash 9...
Tell that adobe ...
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #6   (View Single Post)  
Old 9th August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin Tournoij
Tcpdump Spy
 
Join Date: Apr 2008
Location: Ireland
Posts: 2,245
Default

What is so special, new, and different about this? The Windows version of Firefox, IE6, and Opera have worked with Wine for a very long time ...

btw.
This ``portable'' version of Opera (Whatever that may be) doesn't work ... All UI elements are black, I only see the webpage ...
Reply With Quote
  #7   (View Single Post)  
Old 9th August 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Same dang route that PC-BSD has taken.... But without the ease installer.


To bad the FreeBSD community lacks a man of Bill Gates wealth, that could pay for a native port!
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #8   (View Single Post)  
Old 10th August 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default

Have been visitting ~20 flash sites, except Google StreetView, they all work fine

I've never been a Flash's advocate though. Flash itself is evil and it should be replaced shortly
Reply With Quote
  #9   (View Single Post)  
Old 10th August 2008
ivanatora ivanatora is offline
Real Name: Ivan
Fdisk Soldier
 
Join Date: Jul 2008
Location: Bulgaria
Posts: 51
Default

Nice.
I want to keep my Opera settings and bookmarks. Will it be enough just to do:
cp -r ~/.opera opera951en/profile

How can I enable the scroll click to paste? Currently it tries to scroll the page (windows style).
Reply With Quote
Old 10th August 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by ivanatora View Post
I want to keep my Opera settings and bookmarks. Will it be enough just to do:
cp -r ~/.opera opera951en/profile
Yes, also exclude these dirs from backup they just take extra space and do not add anything to you profile:
Code:
~/.opera/opcache
~/.opera/images
~/.opera/vps
~/.opera/cache4
Quote:
Originally Posted by ivanatora View Post
How can I enable the scroll click to paste? Currently it tries to scroll the page (windows style).
You cant, WINE implements windows API and in windows version of opera middle click is scroll.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Old 10th August 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default

Quote:
Originally Posted by ivanatora View Post
Nice.
I want to keep my Opera settings and bookmarks. Will it be enough just to do:
cp -r ~/.opera opera951en/profile

How can I enable the scroll click to paste? Currently it tries to scroll the page (windows style).
Yes. Opera setting files are pretty much identical across flatforms. In fact, all the Opera settings in my FreeBSD atm were inherited from Windows Opera version last year. Just remember to make a backup, just in case

Vermanden is right about the scrolling feature

Last edited by 18Googol2; 10th August 2008 at 02:40 PM.
Reply With Quote
Old 10th August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin Tournoij
Tcpdump Spy
 
Join Date: Apr 2008
Location: Ireland
Posts: 2,245
Default

You will probably need to edit some paths in opera6.ini.
Reply With Quote
Old 10th August 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

I just moved ~/.opera between BSDs, Mac OS X and Linux, so they are all very similar, I did not tried win <-> nix migration.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Old 10th August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin Tournoij
Tcpdump Spy
 
Join Date: Apr 2008
Location: Ireland
Posts: 2,245
Default

When migrating from Win to Unix (or vica versa) you'll need to edit some paths in opera6.ini, i.e.:

Code:
[~]% grep "\.opera" ~/.opera/opera6.ini                                                                     phong:17:56
Windows Storage File=/home/carpetsmoker/.opera-devel/sessions/aaa.win
Button Set=/home/carpetsmoker/.opera/skin/opera_9_classic_skin-2.zip
Toolbar Configuration=/home/carpetsmoker/.opera/toolbar/standard_toolbar_2.ini
User JavaScript File=/usr/home/carpetsmoker/.opera/userjs/
Reply With Quote
Old 10th August 2008
ivanatora ivanatora is offline
Real Name: Ivan
Fdisk Soldier
 
Join Date: Jul 2008
Location: Bulgaria
Posts: 51
Default

So the ONLY way to use the clipboard with Wine (and optionaly the rest of the system) is ctrl+c and ctrl+v?
Reply With Quote
Old 10th August 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by ivanatora View Post
So the ONLY way to use the clipboard with Wine (and optionaly the rest of the system) is ctrl+c and ctrl+v?
If you find other way then let me know
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Old 10th August 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

http://www.la-sorciere.de/Wine-HOWTO/wineclipboard.html Is this relevant?
Reply With Quote
Old 14th August 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default

The StreetView issue is now finally solved with Google Earth, phew

http://asternix.org/img/Streetview_on_FreeBSD.png

Sweet!
__________________
The power of plain text? It can control an entire OS
Reply With Quote
Old 27th August 2008
tuck's Avatar
tuck tuck is offline
Shell Scout
 
Join Date: May 2008
Posts: 99
Default

Some cool news for FreeBSD
http://blogs.zdnet.com/Bott/?p=517
Reply With Quote
Old 27th August 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Default

Quote:
Originally Posted by tuck View Post
Some cool news for FreeBSD
http://blogs.zdnet.com/Bott/?p=517
Woah, that is cool. I'd like to see some kind of followup.
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
Reply

Tags
flash, flash 9, wine

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 7.1-RELEASE is out ... finally ;) vermaden FreeBSD General 20 6th January 2009 04:32 PM
Wine + Flash graphics problems m8rsh FreeBSD General 0 25th November 2008 10:12 PM
Freebsd's Wine & sched_ule mousesack FreeBSD General 3 12th October 2008 06:16 AM
Flash for firefox finally? drhowarddrfine FreeBSD General 8 23rd August 2008 08:53 AM
Wine on FreeBSD 7.0 amd64 BlueJayofEvil FreeBSD Ports and Packages 13 29th July 2008 12:22 AM


All times are GMT. The time now is 06:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick