I received a question in the heise.de forum (German) how to use the torrent functionality build in Opera and an external client (Azureus) at users choice for a torrent-link. It is interesting to know that "Show download dialog" for torrents and "Open" after left click on a torrent link opens the Windows standard application (I expected Opera to handle it).
I looked around and made some changes in the context menu (German version on heise.de). There is not really the need to change the menu.ini, because you can just choose "save target as" to save the torrent and double click it in the transfer panel (STRG+7).
But taking some work it could be done easier and with this method there are a lot more possibilities. …
I used following links:
- easy step by step guide in: http://www.pallab.net/2006/04/12/extending-opera-the-ultimate-guide-to-customizing-opera/
- some similar short information in: http://operawiki.info/OperaTips#T16
- and a lot more information in http://operawiki.info/EditingINIFiles – especially look out for the heading: HARDER (but much better)
Here my refined step by step guide (the easy way, not the much better but harder one):
1) Tools – Preferences – Advanced – Toolbars – Menu setup: duplicate (ie leads to: "Copy of Opera Standard"), select this new menu setup + OK
2) Be sure to know the "Profile-Folder" from Opera:about,
close Opera
and open the used menu.ini (ie standard_menu (1).ini) file in the subfolder "menu" of your Profile-Folder
3) Find section [Link Popup Menu] (there are the entries opend with right click on a text-link)
and section [Image Link Popup Menu] (for right click on a link behind an image – this could be a torrent-icon)
4) add in both sections following line:
Item, "Open with Azureus" = Execute program, "C:\Programme\Azureus\Azureus.exe","%l"
be sure to edit the correct path to the external application (ie "program files"); the position of this new line in this section is the position it will show up in the according right click menu
I'd advise to follow the HARDER (but much better) guideline and copy the changed sections into the new my_menu.ini. Well, this will be somewhat more difficult if you already use a modified menu.ini like WebDev-Setup (I'll have to find a way to change my settings on my poductive Opera installation with WebDev).
In the same way I made an entry to open images via clipboard in IrfanView (I really like this one, because I often use it)
sections:
[Image Popup Menu] and [Image Link Popup Menu] (on your choice you could add it also to section [Mailto Link Image Popup Menu]):
add line (with changed path):
Item, "Open image in Irfanview"= Copy image & Execute program,"C:\Programme\IrfanView\i_view32.exe","/clippaste"
The [Document Background Menu] never shows the given entries for me (save background image etc), but I'd expect it would be following line to add there (not tested):
Item, "Open image in Irfanview"= Copy background image & Execute program,"C:\Programme\IrfanView\i_view32.exe","/clippaste"
As I don't use it (and it is only a source for mistakes), I made a comment out of the lines to use an image as desktop background by adding a leading semicolon:
;Platform Windows-Mac-QNX, Item, 70467,=Use image as desktop background
I found this entry 3 times in my menu.ini
You can add your own external applications using following arguments (found in the OperaTips and the IniFileVariables)
%u = URL of currently displayed document
%t = selected text
%s = source of currently displayed document
%c = clipboard contents
%i = number of search hits (in search.ini)
%l = link
Seems to be easiest to put them in quotation marks every time.
For some reason IrfanView needs "/clippaste" (didn't work with "%c"), and this is an argument from IrfanView. So maybe there are other applications that need their own arguments.
Another thing I changed – what I always wanted to have: Open folder on a transfer item, which in default settings works only in the popup for the finished transfer. And I saw in the menu.ini, that in the section [Transfers Notify Popup Menu] this option is enabled for Windows and Unix and in the section [Transfers Item Popup Menu] it is only for Unix. Well, I assume that older Windows versions may not be able to handle this option and it is activated in the the tray menu popup because the older Windows versions cannot handle this tray menu popups (?). MacOS seems to be never able to handle this option to "open folder" of transfer item.
Well, it is easy to change, either you add Windows to the platforms or you simply delete the whole platform thing up to "item". I took:
Platform Windows-Platform Unix, Item, 69697=Open transfer folder
and placed it together with the equally modified "open" line (although this could be done with double click on the transfer item) on the start of the context menu.
I looked around for this topic and found multiple entries on my.opera.com: Desktop wishlist1, Desktop wishlist2, Desktop wishlist3, Opera browser, Opera for Windows, Tamils blog (I'm pretty sure there are more …)
Should be default on the capable OS and if older windows versions are not capable maybe there could be an additional platform seperation (ie windows-old + windows) or a seperate menu.ini file for the smaller group of users. Well, maybe there is a different reason ??
Well, enough for today, more fun maybe next time 😉
Hello. I found this post quite useful. Thanks! Is there a way to also make a shortcut to open an image in IrfanView, similar to what happens when you click on an image and press Ctrl to save it? I would love to open an image in IrfanView when pressing shift and clicking the left button of the mouse.
Hi jme3,thanks for the comment and the quite interesting idea. My result about this: theoretically it may work but I couldn’t get Opera to do it properly.As this is probably of broader interest and I don’t know about another comprehensive article towards this topic I’ve put the answer in a seperate blog post about mouse gestures.Christian