General :  K-Meleon Web Browser Forum
General discussion about K-Meleon. Questions about how to setup it, macro coding, all related to its usage and the project itself, including this website. 
Right Click "Open in background Tab" for K-meleon F356
Posted by: burry
Date: January 20, 2010 08:35PM

I have installed the new test version and i love it.

only questions i have...

1.) how do i return the right click on hyperlinks menu to allow "Open in backgroun tab"

2.) how do i remove certain toolbar buttons. Mail, Search, etc?

Thank you.

Options: ReplyQuote
Re: Right Click "Open in background Tab" for K-meleon F356
Posted by: guenter
Date: January 20, 2010 09:40PM

I use normal version so

1.)? No idea.

2.) Comment out. Like with every K-Meleon version.

Where: Toolbars.cfg in used skin.

How. This is an example button from Phoenity.
This example button is commented out by default.

The "#" in front comment out a line.
Make sure that You comment out the complete button.
From here Name_of_button{ to here }.

And the %if & %endif statements - in case they are present.

# %ifplugin macros
# Popups{
# macros(pref_TogglePopups)
# Block Popups. Press F8 to toggle.
# mainbarhot.bmp[9]
# mainbarcold.bmp[9]
# mainbarcold.bmp[9]
# }
# %endif

Make sure that You have a backup before You start.

An error in a toolbars.cfg can prevent that the browser starts again.
In that case it is easieest to start to edit from scratch.



Edited 1 time(s). Last edit at 01/20/2010 09:42PM by guenter.

Options: ReplyQuote
Re: Right Click "Open in background Tab" for K-meleon F356
Posted by: siria
Date: January 20, 2010 11:15PM

Quote
burry
2.) how do i remove certain toolbar buttons. Mail, Search, etc?

Okay, I'm just assuming that this F356 works mostly like the normal version, and that some basic info is searched...?
So, additionally to hiding single buttons one can also easily switch on/off whole toolbars, for example the "Mail/News"-Toolbar, which contains only 3 buttons anyway:
View > Toolbars

Options: ReplyQuote
Re: Right Click "Open in background Tab" for K-meleon F356
Posted by: Fred
Date: January 21, 2010 02:09AM

To add "Open in Background Tab" to the right-click menu
for links, inside the K-Meleon main folder go to
/defaults/settings and in Notepad open
menus.cfg
Search for the line
Open In Backgroun&d Window=ID_OPEN_LINK_IN_BACKGROUND
and add after this line the new line
Open In Background Tab=ID_OPEN_LINK_IN_BACKGROUNDTAB
and in the menu Edit of Notepad save the changed menu.cfg with
Save
(not with "Save as" because this would add the ending .txt to
menu.cfg, and this would not work then correctly).
To remove existing icons in the toolbars do what Guenter
proposed in his answer.
Take care to add the # sign not only to one line, but to
all the lines which belong to the toolbar icon, just as
Guenter demonstrated with the icon for "Popups" .

Fred

Options: ReplyQuote
Re: Right Click "Open in background Tab" for K-meleon F356
Posted by: burry
Date: January 22, 2010 01:17AM

thanks for all your help guys.

i was missing the lines...the standard k-meleon has

FrameOpen{
%ifplugin tabs
Open In Ne&w Tab=ID_OPEN_FRAME_IN_NEW_TAB
Open In Bac&kground Tab=ID_OPEN_FRAME_IN_BACKGROUNDTAB
%endif
Open In &New Window=ID_OPEN_FRAME_IN_NEW_WINDOW
Open In Backgro&und Window=ID_OPEN_FRAME_IN_BACKGROUND
}

and i was missing a few lines. Thanks!

Options: ReplyQuote
Re: Right Click "Open in background Tab" for K-meleon F356
Posted by: burry
Date: January 23, 2010 10:52PM

OOPS correction.

Quote
burry
LinkOpen{
%ifplugin tabs
Open In Ne&w Tab=ID_OPEN_LINK_IN_NEW_TAB
Open In Bac&kground Tab=ID_OPEN_LINK_IN_BACKGROUNDTAB
-
%endif
Open In &New Window=ID_OPEN_LINK_IN_NEW_WINDOW
Open In Backgro&und Window=ID_OPEN_LINK_IN_BACKGROUND
}


Options: ReplyQuote


K-Meleon forum is powered by Phorum.