"applist-add" "1" "" "" "Starbuntu"

NAME

applist-add - allows to expand the app list provided by applist (provided by Starbuntu)

SYNOPSIS

applist-add <file path> | <*.file extension>

DESCRIPTION

The Starbuntu program applist-add, which cooperates with the Starbuntu program applist, allows to expand the graphical list of possible applications provided by applist to the mime type of a file or a file extension (e.g. *.pdf). After entering a desired application, the program searches for suitable desktop files in the $HOME/.local/share/applications and /usr/share/applications folders and, if found, displays them numbered. After entering the desired number, a check is made to see whether the desktop file in question is already recorded in the files */mimeapps.list and */mimeinfo.cache. If the result is negative, the name of the respective desktop file is appended to the relevant mime type line in the file $HOME/.local/share/applications/mimeapps.list. This will expand the associated app list to include the desired application.

It should be noted that only desktop files are taken into account which

In the file manager, applist-add can, after right-clicking on a file, be called under 'Open with ' with the menu item 'Expand App List'.

FILES

/usr/local/bin/applist-add

EXAMPLES

Example 1:
  applist-add $HOME/Documents/Calendar/Annual Calendar.pdf

Example 2:
  applist-add *.pdf

AUTHOR

Peter Starfinger <info@die-starfingers.de>

SEE ALSO

Starbuntu program
  applist