Skip navigation.

exploreopera

| Help

Sign up | Help

Opera FAQ's, Tips, Tricks & Tweaks

More about Opera browser

Posts tagged with "Linux"

How to run Opera 9.50 beta without affecting your current Opera settings?

, , , ...

You can install & run Opera 9.50 beta without affecting your current Opera settings.

Linux
Download Opera 9.50 package in TAR.GZ or TAR.BZ2 format, extract it and run opera shell script. Your settings will be stored inside profile folder.

Windows
Install Opera 9.50 in different folder such as Opera 9.50. Your settings will be stored inside %APPDATA%\Opera\Opera 9.50 folder.

See Migrating custom settings from one Opera installation to another & Test Opera weekly/beta/final with & without changing current Opera settings using Sandboxie.

Proxy server authentication problem with Opera?

, , , ...

If proxy server authentication dialog box doesn't popup or popup frequently, try NTLMAPS.
NTLMAPS for Windows
NTLMAPS for Linux

Windows
  1. Download No-Install Package (RAR archive) (MD5 sum: a0aa09c4b0b6b5d679d437779021f6a1) and install/extract NTLM Authorization Proxy Server.
  2. Open server.cfg in notepad and modify the following items shown in red/green color.
    PARENT_PROXY:your_parentproxy
    PARENT_PROXY_PORT:8080
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) to # User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    NT_DOMAIN:your_domain
    USER:username_to_use
    PASSWORD:your_nt_password to PASSWORD:
  3. In Opera, CTRL+F12 > Advanced > Network > Proxy servers Check HTTP, HTTPS & FTP, enter 127.0.0.1 as proxy server and 5865 as Port.
    Proxy servers configuration in Opera
    Proxy servers configuration in Opera

    Disable Enable NTLM option in Opera.
  4. Run ntlmaps.cmd or ntlmaps.exe from NTLM Authorization Proxy Server installed/extracted folder and don't close the following window.
    NTLM Authorization Proxy Server Window
    NTLM Authorization Proxy Server window


Linux
  1. Download NTLMAPS in tar.gz format and extract it to a folder.
  2. See step #2 for Windows.
  3. See step #3 for Windows.
  4. Open terminal, enter /Path to main.py, press enter and don't close terminal window.

Update: Oct 11, 2007

How to share Opera settings between Windows & Linux?

, , , ...

To share profile/settings between Windows & Linux, you should have Windows FAT32 partition and it should be mounted (preferably automatically) in Linux with read write access.

First backup both profile & mail directories in Windows & Linux.

In Windows

Method 1

Install another copy of Opera in FAT32 partition with Individual Opera profiles for each user on this computer option unchecked. Copy files from your old installation profile to FAT32 partition profile and change all absolute file paths to reflect the new location in opera6.ini, mail\accounts.ini & mail\index.ini.

Method 2

Using NTFS junction point (you must have NTFS in system drive)

Move all files from your Opera profile directory to FAT32 partition and create junction point from previous profile to FAT32 partition profile using Junction Link Magic or command line tool Junction. See observed effects of junction point.

Method 3

a) Copy files from your profile to FAT32 partition except opera6.ini and change all absolute file paths to reflect the new location in opera6.ini, mail\accounts.ini & mail\index.ini.

b) Copy files from your profile to FAT32 partition, change all absolute file paths to reflect the new location in opera6.ini, mail\accounts.ini & mail\index.ini and run opera with command line option /settings. Example: C:\Program Files\Opera\Opera.exe /settings D:\Opera\profile\opera6.ini

In Linux

Method 1

Using symbolic link (AKA symlink or soft link)

Symbolic links in Linux
Symbolic links in Linux

Move all files in ~./opera except cookies4.dat, opera6.ini, pluginpath.ini & vlink4.dat to some folder. Create a script file with the following code, change /windows/Opera/profile with your path to Opera profile in FAT32 partition, set executable permission and run.

#!/bin/bash -

if [ ! -e ~/.opera ]; then mkdir ~/.opera; fi
cd ~/.opera

ln -s /windows/Opera/profile/cache4 cache4
ln -s /windows/Opera/profile/cacheOp cacheOp
ln -s /windows/Opera/profile/images images
ln -s /windows/Opera/profile/keyboard keyboard
ln -s /windows/Opera/profile/mail mail
ln -s /windows/Opera/profile/menu menu
ln -s /windows/Opera/profile/mouse mouse
ln -s /windows/Opera/profile/sessions sessions
ln -s /windows/Opera/profile/skin skin
ln -s /windows/Opera/profile/styles styles
ln -s /windows/Opera/profile/toolbar toolbar
ln -s /windows/Opera/profile/userjs userjs
ln -s /windows/Opera/profile/widgets widgets
#ln -s /windows/Opera/profile/cookies4.dat cookies4.dat
ln -s /windows/Opera/profile/download.dat download.dat
ln -s /windows/Opera/profile/global.dat global.dat
ln -s /windows/Opera/profile/notes.adr notes.adr
ln -s /windows/Opera/profile/opcacrt6.dat opcacrt6.dat
ln -s /windows/Opera/profile/opera.dir opera.dir
ln -s /windows/Opera/profile/opera6.adr opera6.adr
ln -s /windows/Opera/profile/oprand.dat oprand.dat
ln -s /windows/Opera/profile/opssl6.dat opssl6.dat
ln -s /windows/Opera/profile/override.ini override.ini
ln -s /windows/Opera/profile/search.ini search.ini
ln -s /windows/Opera/profile/speeddial.ini speeddial.ini
ln -s /windows/Opera/profile/urlfilter.ini urlfilter.ini
#ln -s /windows/Opera/profile/vlink4.dat vlink4.dat
ln -s /windows/Opera/profile/wand.dat wand.dat
ln -s /windows/Opera/profile/widgets.adr widgets.adr
exit 0
Even if you create symbolic link for cookies4.dat & vlink.dat, these are replaced by files when you close Opera.

Method 2

Change all file paths to reflect FAT32 partition location in opera6.ini.

Warning: There is no security option in FAT32. So, anyone can access your profile in FAT32 partition if they have account in Windows.

Update: Dec 17, 2007

Encrypt & backup Opera files using WinRAR

, , , ...

Windows
Linux

Linux
Opera backup using RAR for Linux

Create a file (opera-backup.sh) in your home, add the following and set Execute permission.

#!/bin/bash -
# Opera backup using WinRAR command line
#
# To restore files from backup use the following commands
# cd ~
# unrar x <path-to-archive>
# Example : unrar x /backup/opera-backup-061010-144215.rar
#
echo -e "\nOpera backup using WinRAR command line\n"
cd ~
rar a -hppassword -m5 -r -agYYMMDD-HHMMSS opera-backup- @opera-backup.lst
sleep 5
exit 0

See WinRAR command line switches explanation in Windows section.

Create a file (opera-backup.lst) in your home and add the following and make sure the paths are correct. If you don't want to backup a particular directory or file, add // before that line. Directories (skin, userjs) and files (download.dat, global.dat, vlink4.dat) are disabled by default.

// Opera backup using WinRAR command line
// Remove '//' before file path to archive that directory or file
//
// Directories to back up
.opera/images/ // Favicons
.opera/keyboard/ // Keyboard configuration
.opera/mail/ // Mail
.opera/menu/ // Menu configuration
.opera/mouse/ // Mouse configuration
.opera/plugins/ // Plug-ins
.opera/sessions/ // Sessions
.opera/toolbar/ // Toolbar configuration
//.opera/skin/ // Skin
.opera/styles/ // Styles
.opera/toolbar/ // Toolbar configuration
//.opera/userjs/ // UserJS files
.opera/widgets/ // Widgets
// Files to back up
.opera/cookies4.dat // Cookies
.opera/contacts.adr // Contacts for e-mail & instant messaging
//.opera/download.dat // Download history
//.opera/global.dat // Global history
.opera/notes.adr // Notes
.opera/opcacrt6.dat // Certificate authorities
.opera/opcert6.dat // Personal certificates
.opera/opera6.adr // Bookmarks
.opera/opera6.ini // Opera settings
.opera/opssl6.dat // SSL preferences
.opera/override.ini // Site preferences
.opera/search.ini // Search engines
.opera/speeddial.ini // Speed dial configuration
.opera/urlfilter.ini // Blocked content
//.opera/vlink4.dat // Visited links
.opera/wand.dat // Wand data
.opera/widgets.adr // Widgets configuration

Whenever you want to backup type ./opera-backup.sh in terminal and it will create a file (example opera-backup-061010-144215.rar) in your home.

If you want launcher add /home/<username>/opera-backup.sh in command and check Run in terminal



Windows



Use Opera backup list and WinRAR command line shortcut creator.




First create a shortcut in desktop with following parameters and name it.
"C:\Program Files\WinRAR\WinRAR.exe" a -hppassword -m5 -r -agYYMMDD-HHMMSS D:\BackUp\Opera- @Opera-BackUp.lst
Now right click and choose properties, delete the content (usually "C:\Program Files\WinRAR") in Start in box and create Shortcut key (say CTRL+ALT+O).

C:\Program Files\WinRAR\ - Change this path if your WinRAR directory is different.

a - Add files to archive.

-hppassword - If you want to password protect your backup keep it and change password to your password else remove -hppassword. If you remove password only WinRAR will ask password during backup. Without a password it is impossible to view even the list of files in archive encrypted with -hp switch.

-m5 - Compression method.

-m0 do not compress file when adding to archive
-m1 use fastest method (less compressive)
-m2 use fast compression method
-m3 use normal (default) compression method
-m4 use good compression method (more compressive, but slower)
-m5 use best compression method (slightly more compressive, but slowest)

-r - Recurse subdirectories.

-agYYMMDD-HHMMSS - Generates archive name using the current date and time.

Y - year
M - month
MMM - month name as text string (Jan, Feb, etc.)
W - a week number (a week starts with Monday)
A - day of week number (Monday is 1, Sunday - 7)
D - day of month
E - day of year
H - hours
M - minutes (treated as minutes if encountered after hours)
S - seconds
N - archive number. RAR searches for already existing archive with generated name and if found, increments the archive number until generating a unique name.

D:\Backup\ - Change this to path of your backup directory. This directory must exist.

Opera-BackUp.lst - Create a file with this name and add the following lines and make sure the paths are correct. If you don't want to backup a particular directory or file, add // before that line. Directories (Skin, userjs) and files (global.dat, vlink4.dat and download.dat) are disabled by default. This file should be in same place where you placed shortcut (in our case desktop).

// Opera backup using WinRAR command line
// Remove '//' before file path to archive that directory or file
//
// Directories to back up
C:\Program Files\Opera\Mail\ // Mail
C:\Program Files\Opera\program\plug-ins\ // Plug-ins
C:\Program Files\Opera\profile\images\ // Favicons
C:\Program Files\Opera\profile\keyboard\ // Keyboard configuration
C:\Program Files\Opera\profile\menu\ // Menu configuration
C:\Program Files\Opera\profile\mouse\ // Mouse configuration
C:\Program Files\Opera\profile\sessions\ // Sessions
// C:\Program Files\Opera\profile\Skin\// Skin
C:\Program Files\Opera\profile\styles\ // Styles
C:\Program Files\Opera\profile\toolbar\ // Toolbar configuration
// C:\Program Files\Opera\profile\userjs\ // UserJS files
C:\Program Files\Opera\profile\widgets\ // Widgets
// Files to back up
C:\Program Files\Opera\profile\cookies4.dat // Cookies
C:\Program Files\Opera\profile\Contacts.adr // Contacts for e-mail & instant messaging
//C:\Program Files\Opera\profile\download.dat // Download history
//C:\Program Files\Opera\profile\global.dat // Global history
C:\Program Files\Opera\profile\notes.adr // Notes
C:\Program Files\Opera\profile\opcacrt6.dat // Certificate authorities
C:\Program Files\Opera\profile\opcert6.dat // Personal certificates
C:\Program Files\Opera\profile\opera6.adr // Bookmarks
C:\Program Files\Opera\profile\opera6.ini // Opera settings
C:\Program Files\Opera\profile\opssl6.dat // SSL preferences
C:\Program Files\Opera\profile\override.ini // Site preferences
C:\Program Files\Opera\profile\search.ini // Search engines
C:\Program Files\Opera\profile\speeddial.ini // Speed dial configuration
C:\Program Files\Opera\profile\wand.dat // Wand data
C:\Program Files\Opera\profile\urlfilter.ini // Blocked content
//C:\Program Files\Opera\profile\vlink4.dat // Visited links
C:\Program Files\Opera\profile\widgets.dat // Widgets configuration

Whenever you want to backup hit shortcut key CTRL+ALT+O and it will create a file (example Opera-050319-153045.rar) in D:\BackUp\ directory.

Please see User's Manual - Rar.txt in WinRAR directory to learn more about Console RAR.

Update
Oct 17, 2006 : Linux version
May 2008
SMTWTFS
April 2008June 2008
123
45678910
11121314151617
18192021222324
25262728293031