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
[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.
If memory doesn't betray me shouldn't it be like this?
Item, "Open in Otter-browser"="Execute program, "C:\otter-browser-win32-weekly163\otter-browser.exe","--portable %u""
@fullessness, one thing is for sure, arguments.txt shouldn't be ignored.
If memory doesn't betray me shouldn't it be like this?
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:
arguments.txt shouldn't be ignored.
Where can I get commands for arguments.txt?
If you run otter-browser --help in a command prompt you should get something like this:
$ 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 (https://doc.qt.io/qt-5/qapplication.html#QApplication) 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. :)