Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Customizing the menu

ju1ius edited this page Aug 12, 2011 · 8 revisions

The menu config file

This file allows you to configure the behavior of the menu generator.
This is the default config file, containing all available config options:

#----------------------------------------------------#
# This is the Menu section header and it is required #
#----------------------------------------------------#
[Menu]
# The filemanager used to open GTK Bookmarks
filemanager: thunar
# The terminal emulator used to open terminal applications
terminal: x-terminal-emulator -T '%(title)s' -e '%(command)s'

#------------------------------------------------------#
# This is the Places section header and it is required #
#------------------------------------------------------#
[Places]
show_files: yes

#-------------------------------------------------------------#
# This is the Recently Used section header and it is required #
#-------------------------------------------------------------#
[Recently Used]
max_items: 20

#-----------------------------------------------------#
# This is the Icons section header and it is required #
#-----------------------------------------------------#
[Icons]
# Does Menu show icons ? yes or no
show: yes
# Use current GTK theme ? yes or no
# If yes you must install the python-gtk2 package and a GTK theme switcher like LXAppearance
use_gtk_theme: yes
# The  icon theme to use if use_gtk_theme is set to no
theme: Mint-X
# Size of the icons in pixels
# Note that the value should match the value of menu.itemHeight in your fluxbox theme.cfg file
size: 24
# Default icon if none is found
default: application-x-executable
# Bookmark icon
bookmarks: user-bookmarks
# Folder icon
folders: folder
# File icon
files: gtk-file

The system-wise config file is located at /etc/marchobmenu/menu.conf
The user-specific menu file must be located at ~/.config/marchobmenu/menu.conf
By default the user-specific menu file doesn’t exist so you might want to do this first:
mkdir -p ~/.config/marchobmenu/
cp /etc/marchobmenu/menu.conf ~/.config/marchobmenu/

The icons paths are cached in a SQLite3 database located at ~/.cache/marchobmenu/icons.db
If you change your icon theme, the database will grow in size, so you might want to run:

fxm-daemon update-icons

in order to keep the menu generation speed optimal.

The XDG applications menu file

This file allows you to modify the structure of the automatically generated applications menu.
If you want to customize it, please read the XDG-Menu reference

The system-wise menu file is located at /etc/xdg/menus/mom-applications.menu
The user-specific menu file must be located at ~/.config/menus/mom-applications.menu

By default the user-specific menu file doesn’t exist so you might want to do this first:

mkdir -p ~/.config/menus/
cp /etc/xdg/menus/mom-applications.menu ~/.config/menus/