General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
K-Meleon will not open after editing toolbar config
Posted by: Signal78
Date: August 13, 2008 04:11AM

I've done this many times before with no problem.
But this time....after editing the toolbar (blocking some buttons) K-Meleon will not re-open.
When I try to open it the CPU load goes to max and stays there until I terminate K-Meleon.
If I re-install all is well.
Until I edit the toolbar.....
Any clues?
(I have profile in Program File)
Thanks,
Mark

Options: ReplyQuote
Re: K-Meleon will not open after editing toolbar config
Posted by: desga2
Date: August 13, 2008 04:37AM

Can you post toolbars.cfg file edited by you?
What skin are you using?

Thanks.

K-Meleon in Spanish

Options: ReplyQuote
Re: K-Meleon will not open after editing toolbar config
Posted by: Signal78
Date: August 13, 2008 05:53AM

I am using Phoenity.
Shall I paste the entire toolbars.cfg text here?
Thanks,
Mark

Options: ReplyQuote
Re: K-Meleon will not open after editing toolbar config
Posted by: JujuLand
Date: August 13, 2008 06:58AM

Yes



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: K-Meleon will not open after editing toolbar config
Posted by: Signal78
Date: August 13, 2008 08:15AM

Okay--here it is:

# -- TOOLBAR DEFINITION FILE FOR K-MELEON --
# -- TO HIDE A BUTTON, ADD '#' TO THE LEFT OF ALL THE BUTTON'S LINES --
# -- EXAMPLE & DESCRIPTIONS AT BOTTOM OF FILE --
# -- IMAGES BY: Lim Chee Aun (http://www.phoenity.com) --
# ---------------------------------------------------------------------

&Main Bar{

Back{
ID_NAV_BACK
Go back one page
mainbarhot.bmp[0]
mainbarcold.bmp[0]
mainbardead.bmp[0]
}

Forward{
ID_NAV_FORWARD
Go forward one page
mainbarhot.bmp[1]
mainbarcold.bmp[1]
mainbardead.bmp[1]
}

# Stop{
# ID_NAV_STOP
# Stop loading this page
# mainbarhot.bmp[2]
# mainbarcold.bmp[2]
# mainbardead.bmp[2]
# }

# Reload{
# %ifplugin macros
# ID_NAV_RELOAD|Reloa&ding
# Reload this page. Right-click for more options.
# %else
# ID_NAV_RELOAD
# Reload this page
# %endif
# mainbarhot.bmp[3]
# mainbarcold.bmp[3]
# mainbarcold.bmp[3]
# }

# Home{
# %ifplugin macros
# macros(Home)|Ho&me
# Open Home Page. Right-click for more options.
# %else
# ID_NAV_HOME
# Open Home Page
# %endif
# mainbarhot.bmp[4]
# mainbarcold.bmp[4]
# mainbarcold.bmp[4]
# }

# %ifplugin bookmarks
# Bookmarks{
# bookmarks(Edit)|&Bookmarks
# Edit Bookmarks. Right-click to view Bookmarks menu.
# mainbarhot.bmp[5]
# mainbarcold.bmp[5]
# mainbarcold.bmp[5]
# }
# %endif

%ifplugin favorites
Favorites{
favorites(Edit)|F&avorites
Explore Favorites. Right-click to view Favorites menu.
mainbarhot.bmp[5]
mainbarcold.bmp[5]
mainbarcold.bmp[5]
}
%endif

%ifplugin hotlist
Hotlist{
hotlist(Edit)|H&otlist
Edit Hotlist. Right-click to view Hotlist menu.
mainbarhot.bmp[5]
mainbarcold.bmp[5]
mainbarcold.bmp[5]
}
%endif

%ifplugin history
History{
history(View)|Histor&y
View History. Right-click for more options.
mainbarhot.bmp[7]
mainbarcold.bmp[7]
mainbarcold.bmp[7]
}
%endif

Print{
ID_FILE_PRINT|Print
Print this page. Right-click for more options.
mainbarhot.bmp[8]
mainbarcold.bmp[8]
mainbarcold.bmp[8]
}

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

# -

# Options{
# ID_PREFERENCES|Compact Menu
# View Preferences. Right-click to view Compact Menu.
# mainbarhot.bmp[10]
# mainbarcold.bmp[10]
# mainbarcold.bmp[10]
# }

}


%ifplugin macros

Mail/&News Buttons{

# Mail{
# macros(Mail_ReadMail)|&Mail And News
# Read Mail. Right-click for more options.
# mailnewshot.bmp[0]
# mailnewscold.bmp[0]
# }

# News{
# macros(Mail_ReadNews)
# Read News
# mailnewshot.bmp[1]
# mailnewscold.bmp[1]
# }

# RSS{
# macros(RSS)
# Read RSS Feeds
# mailnewshot.bmp[2]
# mailnewscold.bmp[2]
# }

}

%endif


&Zoom Buttons{

Zoom In{
%ifplugin macros
macros(Zoom_In)|_Zoom_In
Zoom In. Right-click for more options.
%else
ID_FONT_INCREASE
Zoom In Text
%endif
zoomhot.bmp[0]
zoomcold.bmp[0]
}

Zoom Out{
%ifplugin macros
macros(Zoom_Out)|_Zoom_Out
Zoom Out. Right-click for more options.
%else
ID_FONT_DECREASE
Zoom Out Text
%endif
zoomhot.bmp[1]
zoomcold.bmp[1]
}

}


&Search Buttons{

Search{
%ifplugin macros
# EITHER:
macros(Search)|_Search_Engines
# OR:
# macros(Search)|&Web Search
Type a word or phrase in the URL Bar, then click this button or press Ctrl+G to search the Web. Right-click to choose different search engine.
%else
ID_NAV_SEARCH
Search the Web
%endif
searchhot.bmp[0]
searchcold.bmp[0]
}

# %ifplugin macros
# -

# Forums{
# macros(Search_KMForums)
# Search K-Meleon Forums
# searchhot.bmp[8]
# searchcold.bmp[8]
# }

# %endif

}


&Go Buttons{

Go{
%ifplugin macros
macros(Go_Selected)|_Go
Go to URL. Right-click for more options.
%else
ID_NAV_GO
Go to URL
%endif
gohot.bmp[0]
gocold.bmp[0]
}

# %ifplugin macros
# Up{
# macros(Go_Up)|_Up
# Go up one directory level. Right-click for more options.
# gohot.bmp[1]
# gocold.bmp[1]
# }
# %endif

}


Tab/&Window Buttons{

# Prev{
# %ifplugin tabs
# ID_TAB_PREV|Prev
# Previous Tab. Right-click for more options.
# %else
# ID_WINDOW_PREV|Prev
# Previous Window. Right-click for more options.
# %endif
# layerwindowhot.bmp[0]
# layerwindowcold.bmp[0]
# }

# Next{
# %ifplugin tabs
# ID_TAB_NEXT|Next
# Next Tab. Right-click for more options.
# %else
# ID_WINDOW_NEXT|Next
# Next Window. Right-click for more options.
# %endif
# layerwindowhot.bmp[1]
# layerwindowcold.bmp[1]
# }

# -

New{
%ifplugin tabs
ID_NEW_TAB|New
New Tab. Right-click for more options.
%else
ID_NEW_BROWSER
New Window
%endif
layerwindowhot.bmp[2]
layerwindowcold.bmp[2]
}

# Close{
# %ifplugin tabs
# ID_CLOSE_TAB|Close
# Close Tab. Right-click for more options.
# %else
# ID_FILE_CLOSE|Close
# Close Window. Right-click for more options.
# %endif
# layerwindowhot.bmp[3]
# layerwindowcold.bmp[3]
# }

}


%ifplugin macros|privacy

&Privacy Bar(64,13){

%ifplugin macros

Animation{
macros(pref_ToggleAnimation)
Block Image Animation
privhot.bmp[0]
privcold.bmp[0]
}

# Colors{
# macros(pref_ToggleColors)
# Block Page Colors
# privhot.bmp[1]
# privcold.bmp[1]
# }

Cookies{
macros(pref_ToggleCookies)
Block Cookies
privhot.bmp[2]
privcold.bmp[2]
}

Images{
macros(pref_ToggleImages)
Block Images. Press F9 to toggle.
privhot.bmp[3]
privcold.bmp[3]
}

Java{
macros(pref_ToggleJava)
Block Java Applets
privhot.bmp[4]
privcold.bmp[4]
}

JavaScript{
macros(pref_ToggleJavaScript)
Block JavaScript. Press F7 to toggle.
privhot.bmp[5]
privcold.bmp[5]
}

Popups{
macros(pref_TogglePopups)
Block Popups. Press F8 to toggle.
privhot.bmp[6]
privcold.bmp[6]
}

# Referer{
# macros(pref_ToggleReferer)
# Block HTTP Referer
# privhot.bmp[7]
# privcold.bmp[7]
# }

%endif

%ifplugin privacy

Clear Cache{
privacy(ClearCache)
Clear Cache
privhot.bmp[8]
privcold.bmp[8]
}

Clear Cookies{
privacy(ClearCookies)
Clear Cookies
privhot.bmp[9]
privcold.bmp[9]
}

# Clear History{
# privacy(ClearHistory)
# Clear History
# privhot.bmp[10]
# privcold.bmp[10]
# }

# Clear Passwords{
# privacy(ClearSignon)
# Clear Passwords
# privhot.bmp[11]
# privcold.bmp[11]
# }

Clear URLBar{
privacy(ClearMRU)
Clear URL Bar History
privhot.bmp[12]
privcold.bmp[12]
}

%endif

%ifplugin macros & privacy
Clear All{
macros(kPrivacy_ClearAll)
Clear All
privhot.bmp[13]
privcold.bmp[13]
}
%endif

%ifplugin macros

Kill Flash{
macros(JS_killFlash)
Kill Flash Objects
privhot.bmp[14]
privcold.bmp[14]
}

# Kill Applets{
# macros(JS_killApplets)
# Kill Java Applets
# privhot.bmp[15]
# privcold.bmp[15]
# }

User Agent{
ID_APP_ABOUT|&User Agent
Check Browser Identity. Right-click to choose different User Agent.
privhot.bmp[16]
privcold.bmp[16]
}

%endif

}

%endif

# EXAMPLE-----------------------------------------------------------------

# Tool Bar(16,16){ = NAME OF TOOLBAR (WIDTH, HEIGHT) *default = (16,16)

# Print(16,16) { = NAME OF BUTTON (WIDTH, HEIGHT) *none = Tool Bar specs
# ID_FILE_PRINT|Print = ID COMMAND, PLUGIN COMMAND, OR MACRO | MENU NAME (as defined in menus.cfg)
# Print this page = TOOL TIP
# toolhot.bmp[0] = HOT IMAGE [INDEX WITHIN IMAGE FILE]
# toolcold.bmp[0] = COLD IMAGE [INDEX WITHIN IMAGE FILE]
# tooldead.bmp[0] = DISABLED IMAGE [INDEX WITHIN IMAGE FILE] *optional
# } = END OF BUTTON

# - = SEPARATOR

# } = END OF TOOL BAR

# NO TOOL BAR IMAGES = TEXT BASED TOOL BAR WITH BUTTON NAMES FOR IMAGES

# *Any changes will take effect after K-Meleon is restarted*
# ------------------------------------------------------------------------

Options: ReplyQuote
Re: K-Meleon will not open after editing toolbar config
Posted by: JujuLand
Date: August 13, 2008 11:16AM

%ifplugin macros

Mail/&News Buttons{

# Mail{
# macros(Mail_ReadMail)|&Mail And News
# Read Mail. Right-click for more options.
# mailnewshot.bmp[0]
# mailnewscold.bmp[0]
# }

# News{
# macros(Mail_ReadNews)
# Read News
# mailnewshot.bmp[1]
# mailnewscold.bmp[1]
# }

# RSS{
# macros(RSS)
# Read RSS Feeds
# mailnewshot.bmp[2]
# mailnewscold.bmp[2]
# }

}

%endif

I don't know if it's the readon, but I don't understand why you haven't comment %if, Mail & News Buttons, } and %endif

For the rest, I don't see any error.

[edit]

Perhaps the two } and %endif, but It would be easiest to read if text was indented smiling smiley

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc





Edited 1 time(s). Last edit at 08/13/2008 11:29AM by JujuLand.

Options: ReplyQuote
Re: K-Meleon will not open after editing toolbar config
Posted by: guenter
Date: August 13, 2008 11:21AM

IMHO that was it. Also looks as if rests of tab window button was left.
& Whole bars are better deactivated via > View > Toolbars...

p.s. Browser never opens when You have certain error in a toolbars.cfg.
I have edited many.



Edited 1 time(s). Last edit at 08/13/2008 11:24AM by guenter.

Options: ReplyQuote
Re: K-Meleon will not open after editing toolbar config
Posted by: Signal78
Date: August 13, 2008 02:51PM

Not sure I am following...so, should I have had # before the lines: %if plugin macros, and }, and %endif--?
Mark

One more question....I noted in my Profiles folder I have a default and a default-1 folder--is that correct? The default-1 contains my usual profile folder but the default folder also contains a Cache and Cache.Trash folder--which remain full even after I 'clear cache' via K-Meleon. I don't remember this behaviour before....?
Thanks--

Options: ReplyQuote
Re: K-Meleon will not open after editing toolbar config
Posted by: desga2
Date: August 13, 2008 03:41PM

Yes, also i think that your problem is let a empty toolbar "Mail/&News Buttons".
You must changed it to this:
#%ifplugin macros

#Mail/&News Buttons{

# Mail{
# macros(Mail_ReadMail)|&Mail And News
# Read Mail. Right-click for more options.
# mailnewshot.bmp[0]
# mailnewscold.bmp[0]
# }

# News{
# macros(Mail_ReadNews)
# Read News
# mailnewshot.bmp[1]
# mailnewscold.bmp[1]
# }

# RSS{
# macros(RSS)
# Read RSS Feeds
# mailnewshot.bmp[2]
# mailnewscold.bmp[2]
# }

#}

#%endif

And remember that as my friend guenter said: "Whole bars are better deactivated via > View > Toolbars..."

About your Profile, this can be that K-Meleon tried to generate a new profile when you had the toolbars.cfg problem. When K-Meleon can't start with current profile it try to generate a new profile.

K-Meleon in Spanish



Edited 1 time(s). Last edit at 08/13/2008 03:45PM by desga2.

Options: ReplyQuote
Re: K-Meleon will not open after editing toolbar config
Posted by: Signal78
Date: August 13, 2008 04:48PM

Many thanks everyone--problem solved.

From my minimalist one bar browser (and only half knowing what I am doing) I was unaware 'Mail' was a toolbar--and that I could accomplish that via the View > Toolbars > Mail....etc. Was focused on editing via config.

I removed the (extra) Profiles > Default file with no (so far) ill effects.

One other 'oddity' I encountered is that Tools > Privacy > Clear Data > Clear All, does not function as before 1.5. I must use the specific "Clear Cache" (or "Clear History") to clear them.

Mark

Options: ReplyQuote
Re: K-Meleon will not open after editing toolbar config
Posted by: guenter
Date: August 13, 2008 07:49PM

eye rolling smiley You got it going.

Quote
Signal78

One other 'oddity' I encountered is that Tools > Privacy > Clear Data > Clear All, does not function as before 1.5. I must use the specific "Clear Cache" (or "Clear History") to clear them.

IMHO an improvement - but means ppl that use old skin got one more item to alter.

p.s. When a crash/error/bug occurs after editing a toolbar I much recommend a fresh start. For myself I find that it easiest after an error during skin editing to start with a fresh toolbars.cfg. It is much harder to find & search the bug.

Forum: thx to jujuland & desgas2 had sufficient competence to solve the bug without a fresh start eye rolling smiley

Options: ReplyQuote
Re: K-Meleon will not open after editing toolbar config
Posted by: JujuLand
Date: August 13, 2008 08:41PM

We have now no fresh start, but fresh weather.

Just now I'm going to start in vacancies :s

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote


K-Meleon forum is powered by Phorum.