
mint-fm2 generate



Puzzler wrote:I can report the following:
Installed the LM9 Fluxbox RC on an old T30. Default language(english).
After installation I installed German language. After reboot some(not all) menu entries had gone, i.e. "Office".
Second PC:
After installing k9copy on an almost clean LM9 Fluxbox RC installation the Synaptic Package Manager removed from the menu entries. But it was still available via terminal.
Maybe both are just handling errors?!











shane wrote:From terminal, run
- Code: Select all
mint-fm2 generate
This should generate the menu. If that doesn't work, delete ~/.fluxbox/menu and ~/.mint-fm2 and try it again.
Something similar had appeared once during testing with one of the testers... However, he was unable to reproduce it or give a reason how/why it happened. Neither could I find a cause. If you can reproduce this reliably, please do let us know.
For more info on using the menu, see http://community.linuxmint.com/tutorial/view/96




# GENERATE THE MENU CACHE
createMenuCache() {
debug tempPathReset
debug debugMenuCacheGen
$MENUCACHEGEN
tmp=$(cat $LISTNEW)
echo "$tmp" | sed '1,/Xfce;/d' > $LISTNEW
debug tempCustomPathSet
}# GENERATE THE MENU CACHE
createMenuCache() {
debug tempPathReset
debug debugMenuCacheGen
$MENUCACHEGEN
tmp=$(cat $LISTNEW)
echo "$tmp" | sed '1,/^$/d' > $LISTNEW #<--- Here is the important change!
debug tempCustomPathSet
}mint-fm2 generate

# GENERATE THE MENU CACHE
createMenuCache() {
debug tempPathReset
debug debugMenuCacheGen
$MENUCACHEGEN
tmp=$(cat $LISTNEW)
echo "$tmp" | sed '1,/^+Applications/{/^+Applications/b; /^/d;}' > $LISTNEW
debug tempCustomPathSet
}

shane wrote:After some testing I found that the change I mentioned earlier still breaks in other situations. This should work better:
- Code: Select all
# GENERATE THE MENU CACHE
createMenuCache() {
debug tempPathReset
debug debugMenuCacheGen
$MENUCACHEGEN
tmp=$(cat $LISTNEW)
echo "$tmp" | sed '1,/^+Applications/{/^+Applications/b; /^/d;}' > $LISTNEW
debug tempCustomPathSet
}


mint-fm2 generate




Users browsing this forum: No registered users and 2 guests