Настраиваем Оперу
|
Ashes 05/03/03 09:36 PM |
|
Вот некоторые настройки ini-файлов Оперы, если кто еще не видел. Есть интересные вещи, в том числе вариант интеграции качалок через контекстное меню.
OPERA 7 TIPS [note: for help on editing the INI files many of the tips below require, see EditingINIFiles]
Displaying a List of Open Pages on Document Right-Click [author: John Quincy] To display a list of open pages in Opera, including their loading status, add the following line to the bottom of the [Document Popup Menu] section of menu.ini:
Include, Internal Window List
This is especially useful if you don't want to display the Page bar to save some vertical screen space, but do want an idea of your open pages (better than ctrl+tab if you don't want to switch pages).
Removing the Menu [author: Saito] If you want to save some vertical space, then in opera6.ini set:
Show Menu = 0
When you need to open something from Menu bar, you can add the following to menu.ini to show the menu bar with a right click.
[Document popup Menu] ---------------- Submenu, "Main menu", Browser Menu Bar, =
And/Or you can rewrite input.ini to bring up the Menu bar with e.g. F10:
[Application] F10 = Show popup menu, "Browser Menu Bar"
Opening Bookmarks in the Hotlist with a Single-Click Edit the [HotListWindow?] section of opera6.ini and add:
Hotlist Single Click=1
Smooth image scaling To get somewhat smoother image scaling (the level of smoothness depends in no small part on your driver), add 'Interpolate Images=1' in the '[Multimedia]' section of your opera6.ini
Making the bookmark properties panel more ergonomic. Edit dialog.ini in the Opera 7 directory and replace the [Bookmark Properties Dialog] with this version. Restart opera. See here for full details.
[Bookmark Properties Dialog] Title = 22115 Group0, 67000, , 0, 0, 420, 400, Center, End Label1, 25103, Name_label, 0, 0, 90, 23, Fixed Edit2, 0, Name_edit, 90, 0, 290, 23, Size right Label3, 10943, Nick_label, 0, 30, 90, 23, Fixed Edit4, 0, Nick_edit, 90, 30, 290, 23, Size right Label5, 10944, URL_label, 0, 60, 90, 23, Fixed Edit6, 0, URL_edit, 90, 60, 290, 23, Size right Label7, 10945, Description_label, 0, 90, 90, 23, Fixed MultilineEdit8, 0, Description_edit, 90, 90, 290, 53, Size right Label9, "Added", Created_label, 0, 145, 50, 23, Fixed Label10, , Created_text, 50, 145, 150, 23, Fixed Label11, 10825, Visited_label, 210, 145, 50, 23, Fixed Label12, , Visited_text, 260, 145, 160, 23, Fixed Label13, 10820, Parent_label, 0, 170, 90, 23, Fixed Bookmarks, 0, Parent_view, 90, 170, 290, 225, Size Checkbox15, 54023, ShowOnPersonalbar_check, 0, 400, 180, 23, Move down Checkbox16, 67323, ViewInPanel_check, 210, 400, 180, 23, Move down, Move right, End
Using keywords in Opera. Opera supports keywords as the AOL Client does - don't start flaming, keywords are cool.
And here's the How-to:
Create a new bookmark. To do so - open the Bookmarks-Manager (Ctrl+Alt+B) and select [New] or - open the page you want your keyword to be linked to and hit Ctrl+T
Enter a nice name for the bookmark ([Name]) and the address where you want to go when you enter the keyword ([Address]). Give the bookmark a description if you want to.
Now here's the interesting part: The [Nickname] is the keyword, which you can enter in the address bar to open the bookmark's address.
Moving Folders on the Personal Bar Simple, press CTRL while dragging! (you can also just open the customize toolbars dialog and drag as normal).
Changing the Opera UI Font It cannot be controlled within Opera ? you have to modify:
Windows display properties Л Appearance Л Message Text
Adding Open with IE / Mozilla into the menus [author: Rijk] Add the following to the menu section of your choice (menu.ini, see EditingINIFiles):
Item, "Open in IE" = Execute program, "iexplore","%u" Item, "Open in Mozilla" = Execute program, "mozilla","%u"
The words 'iexplore' and 'mozilla' can be used this way because the Windows Registry knows about them. You can also use a full path to the executable there.
%u = URL of currently displayed document %t = selected text %s = source of currently displayed document
If the letter is written in uppercase (ie. %S) the parameter is put inside a pair of quotes.
Note those % holder can be used for anything- therefore you can set up customised programs that get called from any menu in Opera...
How about editing like this. You can open liked URL in IE or what you like. (from BBS in Japan)
[Link Popup Menu] Item, "Open in IE" = Copy link address & Execute program, "C:\Program Files\Internet Explorer\IEXPLORE.EXE","%c"
Changing the Location of the Cache Opera defaults to storing the cache files in either the program directory or user directory (depending on install options). To put the cache somewhere else,
add the following line to the [User Prefs] section of opera6.ini:
Cache Directory4=your\path\here
I put the cache in a drive other than c:\, as I like to reduce fragmentation on
my main drive to a minimum, and caches, by their nature, result in somewhat increased fragmentation.
Adding a context-menu with 'Close' to the Windows Panel Add these lines to menu.ini:
[Windows Item Popup Menu] Item, "Close" = Delete
Works just like hitting 'Delete' on your keyboard after selecting the desired entries. Note that while you can add other items there too, most(all?) (like reload) do not work other than on the currently open window.
How to get Scrolling working with IBM Thinkpads [author: Saito] See here for full details.
In the "Pass 0 rules" section of (either) %SYSTEM_ROOT%\System32\tp4table.dat or %SYSTEM_ROOT%\System32\tp4scrol.dat, add:
*,*,opera.exe,*,*,*,WheelStd,0,9
then reboot.
How to get Scrolling working with Synaptics TouchPads Open the SynTPEnh.ini file and add this:
[Opera7] WT = "*Opera*" SF = 0x10000000 SF |= 0x00004000 above the section that says:
[Opera Browser] WT = "*Opera 5*" SF = 0x10000000 SF |= 0x00000002 SF |= 0x00000004 SF |= 0x00000008 SF |= 0x00000400 SF |= 0x00000120 SF |= 0x00001000
Save the changes and reboot.
Making the Page Bar Tabs Scale Better (or all the Same Size) Edit the skin, and find the INIFile (skin.ini) in the skin ZIP file you use, and add the following lines to the top of this file:
[Options] Pagebar max button width = 350 (adjust to taste) Pagebar min button width = 100 " "
This means that when there is room, the page tab expands to show more of the title up to that limit. As you add more pages to the page bar, these then gracefully scale their size down. If you want to force tabs to be the same size
(like the windows skin) put in equal values for both options.
Getting Rid of the Default Icon in the Page Bar To save some space on the page bar, replace the following images in your skin ZIP file:
small_buttons/windowbar_doc_complete.png small_buttons/windowbar_doc_incomplete.png (only if you want to lose the loading indicator)
With this 1x1 pixel .PNG image (right click here to download it) (note, keep the name the same as the original files, or else the Opera won't find them).
Turn Off Wand in the section [User Prefs] of your "opera6.ini" file:
Enable Wand=0
Changing the Quoted Text Colour in Emails Edit the Opera7/styles/mime.css file and find:
ql.L1 { color: forestgreen; } etc.
replace the colours with ones of your choice - remember CSS can use RGB notation e.g. red=#FF0000
Label a thread read in M2 [author: Doirlinn] To label an entire thread as read in M2, click on the first message in the thread. Hold down shift, and click on the last message in the thread. Press k once.
Changing the colour scheme [author: DarkElf ] To add more colour schemes to Opera, open menu.ini. Look for the line
Item, "Gold" = Set skin coloring, #803C00 Now, add your own colours in that part of menu.ini, using the normal hex notation. Here's some of the colours I added:
Item, "White" = Set skin coloring, #FFFFFF Item, "Ivory" = Set skin coloring, #FFFFEE Item, "Pale Goldenrod" = Set skin coloring, #EDE49E Item, "Med Goldenrod" = Set skin coloring, #CCB954 Item, "Light Blue" = Set skin coloring, #BDEDFF Item, "HoneyDew" = Set skin coloring, #F0FEEE Item, "Grey" = Set skin coloring, #666666 Item, "BurntSand" = Set skin coloring, #888786 Item, "Lavender" = Set skin coloring, #E3E4FA
Having Scrollbars as a default in Fullscreen mode [author: DarkElf ] [note: you can toggle scrollbars using ctrl+F7, but if you HAVE to have them on
by default, you can] [note2: entry altered to absolute minimum. I figured out toolbar.ini now.]
Edit Input.ini to enable scrollbars in Fullscreen:
[Browser Window] F11 = Enter fullscreen & Enable scroll bars | Leave fullscreen If you want this for the mainbar button, edit Toolbar.ini as well:
[Browser Toolbar] Button#, "Fullscreen"=Enter fullscreen & Enable scroll bars | Leave fullscreen One problem: you'll lose the fullscreen button image, since I have no idea how to remap it inside the skin file. Or maybe there is a better way to map a function onto a toolbar button -- I do not fully understand toolbar.ini yet.
Print as Option on Right Click [author:arach] To add Print... Item to your Right Click Menu: Open file named: menu.ini (it's in the Opera folder), and scroll to the section
named [Document Popup Menu]. Insert a line: Item, "Print..." = Print document Save the file. Start Opera.
Toolbar tweaking [author: DarkElf ] A hint for the toolbar tweakers among us: once you have your toolbars setup exactly as you want them, you can copy the file [Opera dir]/toolbar.ini over [Opera install dir]/defaults/toolbardef.ini Then, when you select 'Reset toolbar', it will go back to that specific setup. Be very careful with this, as you will loose any buttons you have not mapped in
your custom toolbar setup, and will have to extract the toolbardef.ini from the
Opera7 installer to get them back.
ICQ in Opera 7 [author: DarkElf ] Because AOL (owners of ICQ) keep changing the ICQ Protocol intentionally, to lock out third-party clients, the ICQ support that was in Opera6? has not returned in Opera7. However, if for some reason you must have ICQ support within the browser, you can add ICQ2Go as a side panel. This is a web-based version of
ICQ, and uses Java. To add this panel, add the following URL to your bookmarks,
and select 'show in hotlist panel': ICQ2Go!
Opera 7 for Web Designers One of the most wonderful features of Opera for web designers is tucked away in
an obscure command in View menu Л Refresh Display. Sounds boring enough, until you realise that it refreshes the display by reloading a page in the cache, rather than Reload which tries to get the document from the web. When you view the source of a page (Alt+F3), it comes from the cache. And you can choose what
program you want to use in the Preferences dialog. Therefore, you can view a page from the web, edit the HTML in your preferred editor (see below) and immediately see what the changes you made look like. Neither Mozilla nor IE offer such an option AFAIK.
This is great for fast development and when you want to learn from someone elses code.
For the best option to get beautifully coloured source, I recommend replacing the default Source Viewer with a tiny but feature packed editor called SciTE(loading a larger editor like UltraEdit or HomeSite is often overkill!). It is possible to download a single 200kb EXE that you can place anywhere (no install needed).
It contains what is the most beautiful and clear source colouring (and collapsing) of ANY editor I know.
Finally, I would place the following somewhere in the [Document Popup Menu] section of menu.ini:
Item, "Refresh display" = Refresh display
And possibly re-map a keycommand for it in input.ini (I use Ctrl+r for refresh and F5 for reload)
The following items link to Opera7Tips: -HomePage -Opera7 -Opera7CSSIssues -Opera7UserInterface
|
|