Skip to main content

Topic: Open Otter-browser in portable mode from Opera12 issue [solved] (Read 824 times)

  • fullessness
  • [*]
Open Otter-browser in portable mode from Opera12 issue [solved]
I don't know if this is a right place to ask, but I've tried to have this feature in my opera menu and seems there are some problems.

I set up my otter-browser using "arguments.txt" file with --portable parameter.

I've tried these commands and only the first works but Otter doesn't start in portable mode
Code: [Select]
[Document Popup Menu]
; This command works, BUT ignore "arguments.txt" and open a new otter-browser but using a user account profile
Item, "Open in Otter-browser"="Execute program, "C:\otter-browser-win32-weekly163\otter-browser.exe","%u""

; Not work, otter-browser doesn't start
Item, "Open in Otter-browser"="Execute program, "C:\otter-browser-win32-weekly163\otter-browser.exe --portable","%u""
Item, "Open in Otter-browser"="Execute program, "C:\otter-browser-win32-weekly163\otter-browser.exe --new-window","%u""
Item, "Open in Otter-browser"="Execute program, "C:\otter-browser-win32-weekly163\otter-browser.exe --new-tab","%u""

Is this a webkit issue or is there a way to start Otter in portable mode from my opera12 ?
Sorry for my english and Thanks in advance.

I'm on #163 win32 webkit version.
  • Last Edit: 2017-03-02, 20:00:30 by fullessness

  • Frenzie
  • [*][*][*][*][*]
  • Administrator
Re: Open Otter-browser in portable mode from Opera12 issue
Reply #1
If memory doesn't betray me shouldn't it be like this?
Code: [Select]
Item, "Open in Otter-browser"="Execute program, "C:\otter-browser-win32-weekly163\otter-browser.exe","--portable %u""

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Open Otter-browser in portable mode from Opera12 issue
Reply #2
@fullessness, one thing is for sure, arguments.txt shouldn't be ignored.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • fullessness
  • [*]
Open Otter-browser in portable mode from Opera12 issue [solved]
Reply #3
If memory doesn't betray me shouldn't it be like this?
Code: [Select]
Item, "Open in Otter-browser"="Execute program, "C:\otter-browser-win32-weekly163\otter-browser.exe","--portable %u""
Thanks Frenzie! This is the right way!
I've never had the necessity of this command in opera12 before Otter and some old documentation I found  around the web is soo poor in this days...
...and this resolve the issue with arguments.txt file too!

 :beer:

  • AxelR8
  • [*]
Re: Open Otter-browser in portable mode from Opera12 issue [solved]
Reply #4
arguments.txt shouldn't be ignored.
Where can I get commands for arguments.txt?

  • Frenzie
  • [*][*][*][*][*]
  • Administrator
Re: Open Otter-browser in portable mode from Opera12 issue [solved]
Reply #5
If you run otter-browser --help in a command prompt you should get something like this:
Code: [Select]
$ otter-browser --help
Usage: otter-browser [options] [url]

Options:
  -h, --help            Displays this help.
  -v, --version         Displays version information.
  --cache <path>        Uses <path> as cache directory
  --profile <path>      Uses <path> as profile directory
  --session <session>   Restores session <session> if it exists
  --private-session     Starts private session
  --session-chooser     Forces session chooser dialog
  --portable            Sets profile and cache paths to directories inside the
                        same directory as that of application binary
  --new-tab             Loads URL in new tab
  --new-private-tab     Loads URL in new private tab
  --new-window          Loads URL in new window
  --new-private-window  Loads URL in new private window
  --readonly            Tells application to avoid writing data to disk
  --report              Prints out diagnostic report and exits application

Arguments:
  url                   URL to open
There are also a few less easy to find built-in Qt options like -style=cleanlooks/gtk2/fusion/windows. What styles are available is probably at least somewhat platform-dependent, and in any case something you'd normally set from in the GUI. There's also -stylesheet. See here for the full list. -reverse might be of some interest.

To top it off there are environment variables. I'm not sure if they're documented in a convenient list and I don't think you can set them in arguments.txt but feel free to prove me wrong. :)