caja-actions-new(1)

okay bestie, sit down, hydrate, because we're about to talk about caja-actions-new(1) from the caja-actions manual and honestly? it's giving low-key legend ✨


πŸ’– NAME

caja-actions-new β€” create new caja actions πŸŽ€


πŸ¦‹ SYNOPSIS

caja-actions-new [OPTION]

🌸 DESCRIPTION

so basically, caja-actions-new makes brand new actions for the caja file manager, and the way it does it is non-interactively, straight from the command line. no clicking, no popups, no vibes-based GUI β€” just you, your terminal, and flags. 🫢

every action attribute gets specified through command-line options, so it's literally just you telling it what you want and it doing it. main character energy fr fr πŸ’…


✨ OPTIONS ✨

🌈 Help options

  • -?, -h, --help β€” shows the help options πŸ’–
  • --help-all β€” shows all the help options, the full menu, the whole buffet πŸ“
  • --help-output β€” lets you choose where the program creates the action πŸ‘‘

πŸŽ€ Action-creation options

  • -l, --label=LABEL β€” the label of the menu item. this one is mandatory, no skipping it, it's the whole point bestie 😭
  • -t, --tooltip=TOOLTIP β€” the tooltip of the menu 🌸
  • -i, --icon=ICON β€” the icon of the menu item. can be a filename or a GTK stock ID πŸ¦‹
  • -c, --command=PATH β€” the path of the command ⭐
  • -p, --parameters=PARAMS β€” the parameters of the command πŸ”₯
  • -m, --match=EXPR β€” a pattern to match selected files against. may include wildcards (* or ?). and listen: you must set one option for each pattern you need, so like, don't try to be cute and cram them together πŸ’…
  • -C, --match-case=PATH β€” ngl the manpage just says "The path command" for this one and we are respectfully not going to pretend we know more than the page does 🫠 but the option itself is right there, exactly as written
  • -T, --mimetypes=EXPR β€” a pattern to match selected files' mimetype against. may include wildcards (* or ?), and yep, same rule: one option for each pattern you need ✨
  • -f, --accept-files β€” set this if the selection must only contain files πŸ“
  • -d, --accept-dirs β€” set this if the selection must only contain folders πŸ“‚. and heads up, if the selection can contain both types of items, you specify both --isfile and --isdir πŸ‘€
  • -M, --accept-multiple-files β€” set this if the selection can have several items, because sometimes you're just greedy like that πŸ’–
  • -s, --scheme=SCHEME β€” a valid GVFS scheme where the selected files should be located. and yes, you must set one option for each scheme you need 🌈

πŸ‘‘ AUTHOR

okay so the lore is: caja-actions has been derived from nautilus-actions, which was written by Rodrigo Moya <rodrigo[AT]novell.com>, Frederic Ruaudel <grumz[AT]grumz.net>, Pierre Wieser <pwieser[AT]trychlos.org>, and contributors. iconic lineage honestly 🌟

the porting work to the MATE desktop environment, under the extension name caja-actions, has been done by Wolfgang Ulbrich <chat-to-me[at]raveit.de> β€” ate and left no crumbs πŸ’…

and this manual page was written by Vangelis Mouhtsis <vangelis[AT]gnugr.org> for the Debian MATE Packaging Team, and may be used by others. sharing is caring fr fr 🫢


πŸ’œ LICENSING

both the caja-actions source code and this man page are licensed under the GNU General Public License (v2 or higher). no cap, that's the whole license paragraph πŸ“œβœ¨


reminder bestie: -l, --label=LABEL is mandatory, so don't come crying to me when it yells at you for leaving it out 😭

and that's the whole thing! this was Version 1.8.0 of the page, dated Feb 2015, from the caja-actions-new(1) manual β€” go forth and make actions, you absolute icon πŸ‘‘πŸ’–πŸ¦‹