JGMENU-APPS(1)

πŸ“¦
version 4.6.0 Β· 2 versions
, in alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

jgmenu-apps β€” bestie, this one generates jgmenu flavoured CSV menu data ✨


πŸŽ€ SYNOPSIS πŸŽ€

jgmenu_run apps [--help] [--no-append] [--no-prepend]
[--append-file <file>] [--prepend-file <file>]

🌸 DESCRIPTION 🌸

Okay so, jgmenu_run apps generates jgmenu flavoured CSV menu data for all your system applications 🫢 It does this using built-in schema data or a schema file you point it at, to map categories β†’ directories. Not the system .directory files, no ma'am, we're built different πŸ’…

The way that a schema gets searched for? In this order, bestie:

  • $XDG_CONFIG_HOME/jgmenu/schema
  • $HOME/.config/jgmenu/schema
  • $XDG_CONFIG_DIRS/jgmenu/schema
  • /etc/xdg/jgmenu/schema

The root menu gets appended and/or prepended by the contents of the files $HOME/.config/jgmenu/{append,prepend}.csv β€” but only if they exist πŸ‘‘

And if an application doesn't belong in any of the categories in the schema file? It gets placed in Other (which is the one with no Categories= field). Not me being the catch-all bin 😭

Example schema file, look at her go:

Name=Accessories
Name[sv]=TillbehΓΆr
Icon=applications-accessories
Categories=Accessibility;Core;Utility;

Name=Development
Name[sv]=Utveckling
Icon=applications-development
Categories=Development;

Name=Education
Name[sv]=Utbildning
Icon=applications-science
Categories=Education;

Name=Games
Name[sv]=Spel
Icon=applications-games
Categories=Game;

Name=Graphics
Name[sv]=Grafik
Icon=applications-graphics
Categories=Graphics;

Name=Multimedia
Name[sv]=Multimedia
Icon=applications-multimedia
Categories=Audio;Video;AudioVideo;

Name=Internet
Name[sv]=Internet
Icon=applications-internet
Categories=Network;

Name=Office
Name[sv]=Kontorsprogram
Icon=applications-office
Categories=Office;

Name=Other
Name[sv]=Γ–vrigt
Icon=applications-other

Name=Settings
Name[sv]=InstΓ€llningar
Icon=preferences-desktop
Categories=Settings;Screensaver;

Name=System
Name[sv]=System
Icon=applications-system
Categories=Emulator;System;

✨ OPTIONS ✨

  • --help β€” shows the help message and dips out, iconic behaviour πŸ¦‹
  • --no-prepend β€” do NOT output ~/.config/jgmenu/prepend.csv before the root menu πŸ™ˆ
  • --no-append β€” do NOT output ~/.config/jgmenu/append.csv after the root menu πŸ™ˆ
  • --append-file <file> β€” tell it which menu file to append to the root menu. Defaults to $HOME/.config/jgmenu/append.csv if you don't say anything πŸ’œ
  • --prepend-file <file> β€” tell it which menu file to prepend to the root menu. Defaults to $HOME/.config/jgmenu/prepend.csv if you don't say anything πŸ’œ

🌈 ENVIRONMENT VARIABLES 🌈

  • JGMENU_SINGLE_WINDOW β€” if it's set, ^checkout() items get replaced by ^root() πŸ”₯
  • JGMENU_NO_DIRS β€” if it's set, applications get listed with no directory structure, just flat, no hierarchy, we're keeping it simple ⭐
  • JGMENU_NO_PEND β€” do not read append.csv or prepend.csv, periodt πŸ’…
  • 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. That's the author, no cap 🫢


And that's the whole thing, bestie πŸŽ€ This was the jgmenu-apps(1) page, dated 14 January, 2024 β€” go off, timestamp πŸ’–βœ¨