You are here

Opera Portable Profile issues

1 post / 0 new
sar3th
sar3th's picture
Offline
Last seen: 10 years 2 months ago
Joined: 2009-02-13 03:57
Opera Portable Profile issues

Hello guys,
I noticed that you move Opera's profile in Opera Portable 10.63. This is unnecessary in my opinion, since Opera has a "hidden" switch which will allow you to redirect most of its data (which normally goes into $AppDir). It's not perfect, but it saves you from moving around temporary_downloads and such. Apart from that, I'm sure that if you report the remaining problems to Opera, they will certainly fix it.
I haven't had the time to get PAL to do what I want from it, so I'll just describe the method here.

On startup, opera reads $AppDir\operaprefs_default.ini and looks for settings there. You probably already looked at its content and couldn't find anything suitable. This is because most switches which can be used are not in there, as it would bloat up the ini. If you open opera:config (sorry, drupal messes up the link) in Opera, you can see a list of available settings. In our case, some are especially interesting, namely the ones which contain paths pointing to the $AppDir.
Opera Directory, Cache Directory4, Opera Local Directory, Operator Cache Directory4 and Temporary Download Directory.
In my example, I added these lines to my operaprefs_default.ini (Section [User Prefs]):
Opera Directory=C:\Temp\OperaPortable\Data\profile\
Cache Directory4=C:\Temp\OperaPortable\Data\profile\cache\
Opera Local Directory=C:\Temp\OperaPortable\Data\profile\
Operator Cache Directory4=C:\Temp\OperaPortable\Data\profile\opcache\
Temporary Download Directory=C:\Temp\OperaPortable\Data\profile\temporary_downloads\

These seem to fix most of our problems. Only a few files remain in $AppDir\profile.
I noticed that $AppDir\profile\speeddial.ini contains the blank speeddial, so it should not be copied to $Data\profile. In Order to keep the data in the Data folder and allow easy backup, I suggest copying at least operaprefs.ini before starting and after stopping Opera.
Also, please talk to Opera. They should know this and tell you, if you ask them.
So long,
sar3th