Lost password? | Help

[ advanced search ]

Making Opera more SDI-like ...

Forums » Opera Community » General Opera topics » Customizing Opera

Saturday, 12. August 2006, 19:28:22

darius2k

avatar

Posts: 24

Making Opera more SDI-like ...

Hello folks,

Long-time Firefox user giving Opera a try. I know this flies in the face os most people who love tabbed browsing, but I am an 'SDI' kind of guy by nature and only use tabs on occassion. I'm wondering if it's possible to make Opera more SDI-like by doing the following:

1. Hiding the tab bar, except in situations where I have specified that I want to load a page in a new tab, such as selecting 'Open in new tab' via the right-click menu.

2. I want to customize the right click menu such that when I right click on a link, 'Open in new window' is the first option that comes up. I've looked at standard_menu.ini, but there is nothing in there that seems to point to customizing the links popup menu. For example, when I right click on a link, 'Open in new tab' is the second option on the list, but the word 'tab' does not appear anywhere in this file, leading me to believe that the option to customize this menu is in another file.

Thanks :smile:

Saturday, 12. August 2006, 20:04:36

Saddle Magic

Psycho Chicken What_The_Cluck!

avatar

Posts: 19099

Ctrl+F12 > Advanced > Tabs > enable, "Open windows instead of tabs"

This enables SDI mode.

Saturday, 12. August 2006, 20:38:50

jaggerblade

Craaaaaaaazy

avatar

Posts: 196

United Kingdom

To add to what Saddle Magic said, you can go to Ctrl/Cmd+F12 (or simply Opera Preferences available in the menus) and check "Open Windows instead of Tabs" to change to a multiple window, single document interface. To hide the tab bar, as you wish to in #1, you need to go to Appearances (shift+F12) and hit the Toolbars tab. Check the box next to "tab bar" (or uncheck and recheck it), and then next to placement enable "show only when needed." That will make it invisible unless you have a tab open, and in SDI mode that won't happen unless you specifically cause it to.

I'm not sure if there is a way to do option-menu customization, as you request, but if you are in SDI mode then when you ctrl/cmd-click it will open a new window, which is much faster than right-clicking and selecting from a menu anyway. You might look into a way to redefine the right-click+drag-down mouse gesture to open a new window instead of a tab, because that still seems to preserve its default behavior despite "open windows instead of tabs" being checked.

Saturday, 12. August 2006, 21:16:23

sgunhouse

Volunteer

avatar

Posts: 53018

Flag City, USA

Customizing the menu is easy, but don't customize the default menu. Make a copy and customize that.

You didn't find the word "tab" because menu text is stored in the language file

This is the right-click menu for a text link:

[Link Popup Menu]

Item, 67389= Open link
Item, 53018= Open link in new page
Item, 53019= Open link in background page
--------------------1
Item, 54020= Open link in new window
Item, 67633= Open link in background window
--------------------2
Item, 70463= Add link to bookmarks
Item, 50216= Copy link
Item, 50761= Save link
Item, 581357748= Download url
;--------------------4
;Submenu, 22235,Document Popup Menu

... and this is the menu for an image link:

[Image Link Popup Menu]

Item, 67389= Open link
Item, 53018= Open link in new page
Item, 53019= Open link in background page
--------------------1
Item, 54020= Open link in new window
Item, 67633= Open link in background window
--------------------2
Item, 70463= Add link to bookmarks
Item, 50216= Copy link
Item, 50761= Save link
Item, 581357748= Download url
--------------------3
Item, 67651= Open image
Item, 70486= Load image
Item, 50419= Copy image address
--------------------4
Item, 50262= Save image
Item, 70466= Copy image
Platform Windows-Mac-QNX, Item, 70467,= Use image as desktop background
--------------------5
Item, 56064= Show image properties
;--------------------6
;Submenu, 22235,Document Popup Menu

Sunday, 13. August 2006, 20:29:59

darius2k

avatar

Posts: 24

Thanks, those tips did the trick. You guys rock :smile:

Monday, 14. August 2006, 06:16:31

jaggerblade

Craaaaaaaazy

avatar

Posts: 196

United Kingdom

Originally posted by darius2k:

Thanks, those tips did the trick. You guys rock :smile:



w00t :cheers:

Sunday, 20. August 2006, 16:31:08 (edited)

darius2k

avatar

Posts: 24

Customizing the menu is easy, but don't customize the default menu. Make a copy and customize that.



Yes, I did that ... is there a way I can put this file in my profile directory so that I only have one directory to back up? There's a sub-directory in profile called 'menu', and I put the ini file in there, but I don't know what to name it, so my modifications don't show up in Opera.

I also have the same question about the voice file prondict.ini.

Sunday, 20. August 2006, 18:15:08

Saddle Magic

Psycho Chicken What_The_Cluck!

avatar

Posts: 19099

Originally posted by darius2k:

but I don't know what to name it,


It doesn't matter, name it fried beans if you like. There are two names involved, the filename and in the file header is another name which will show in the setup list. After editing the file you need to restart Opera, then go to:
Ctrl+F12 > Advanced > Toolbars > Menu setups > select your setup.

Note: Delete all sections of your modified menu that are not modified. Your modified menu should only show the changes.

Sunday, 20. August 2006, 23:01:03

sgunhouse

Volunteer

avatar

Posts: 53018

Flag City, USA

Opera will retreive the unmodified sections from its original menu, by removing them from your custom menu you assure yourself that you'll get as many of the changes in any future upgrades as possible. (For example, a lot of people who had custom menus in Opera 8 were missing out on "Edit site preferences" and "Block content" when they upgraded to 9.)

Forums » Opera Community » General Opera topics » Customizing Opera