NAME
jgmenu-apps - generate jgmenu flavoured CSV menu data
SYNOPSIS
jgmenu_run apps [--help] [--no-append] [--no-prepend]
[--append-file <file>] [--prepend-file <file>]
DESCRIPTION
jgmenu_run apps generates jgmenu flavoured CSV menu data for system applications using built-in schema data or a specified schema file to map categories to directories, rather than system .directory files.
A schema is searched for in the following locations and order:
- •
-
$XDG_CONFIG_HOME/jgmenu/schema
- •
-
$HOME/.config/jgmenu/schema
- •
-
$XDG_CONFIG_DIRS/jgmenu/schema
- •
-
/etc/xdg/jgmenu/schema
The root menu is appended and/or prepended by the contents of the files $HOME/.config/jgmenu/{append,prepend}.csv if they exist.
Applications which do not belong in any of the categories in the schema file, are placed in `Other' (which is the one with no Categories= field)
Example schema file:
-
Name=AccessoriesName[sv]=TillbehörIcon=applications-accessoriesCategories=Accessibility;Core;Utility;Name=DevelopmentName[sv]=UtvecklingIcon=applications-developmentCategories=Development;Name=EducationName[sv]=UtbildningIcon=applications-scienceCategories=Education;Name=GamesName[sv]=SpelIcon=applications-gamesCategories=Game;Name=GraphicsName[sv]=GrafikIcon=applications-graphicsCategories=Graphics;Name=MultimediaName[sv]=MultimediaIcon=applications-multimediaCategories=Audio;Video;AudioVideo;Name=InternetName[sv]=InternetIcon=applications-internetCategories=Network;Name=OfficeName[sv]=KontorsprogramIcon=applications-officeCategories=Office;Name=OtherName[sv]=ÖvrigtIcon=applications-otherName=SettingsName[sv]=InställningarIcon=preferences-desktopCategories=Settings;Screensaver;Name=SystemName[sv]=SystemIcon=applications-systemCategories=Emulator;System;
OPTIONS
- --help
-
Show help message and exit
- --no-prepend
-
Do not output ~/.config/jgmenu/prepend.csv before root menu
- --no-append
-
Do not output ~/.config/jgmenu/append.csv after root menu
- --append-file <file>
-
Specify menu file to append to the root menu. Use $HOME/.config/jgmenu/append.csv by default.
- --prepend-file <file>
-
Specify menu file to prepend to the root menu. Use $HOME/.config/jgmenu/prepend.csv by default.
ENVIRONMENT VARIABLES
- JGMENU_SINGLE_WINDOW
-
If set, ^checkout() items will be replaced by ^root()
- JGMENU_NO_DIRS
-
If set, applications will be listed without a directory structure
- JGMENU_NO_PEND
-
Do not read append.csv or prepend.csv
- JGMENU_NAME_FORMAT
-
See csv_name_format in jgmenu(1)
- JGMENU_NO_DUPLICATES
-
See csv_no_duplicates in jgmenu(1)
- JGMENU_I18N
-
See csv_i18n in jgmenu(1) and jgmenu-i18n(1)
AUTHORS
Johan Malm.