1.1 Quick reference

This section provides a quick reference of subcommands provided by the tomloader executable. See The tomloader command and its subsections for a more detailed description.

tomloader

Get information about subcommand:

tomloader help subcommand

or

tomloader subcommand --help

Get installed version of tomloader:

tomloader --version

Change the configuration directory used by subcmd (see config-dir):

tomloader -c config-dir subcmd

tomloader sd-v0.3

Generate a systemd unit from the unit configuration file unit-config-file and save the generated unit in target-dir:

tomloader sd-v0.3 -t target-dir unit-config-dir

Generate systemd units for every unit configuration file stored in source-dir:

tomloader sd-v0.3 -t target-dir -d source-dir

tomloader inspect-v0.3

Show all saved groups:

tomloader inspect-v0.3

Show resolved dependencies and other settings of unit configuration file unit-conf:

tomloader inspect-v0.3 -u unit-conf

tomloader sd-xdg-v0.3

Run XDG desktop application app1.desktop:

tomloader sd-xdg-v0.3 ./app1.desktop 

Use app1.desktop to open files data.dat, other.dat:

tomloader sd-xdg-v0.3 ./app1.desktop \
  --open-file ./data.dat \
  --open-file other.dat

Execute action ‘Action’ of app1.desktop instead of running the default executable:

tomloader sd-xdg-v0.3 ./app1.desktop \
  --action Action

To customize the generated systemd unit, create or edit the XDG configuration file config_dir/xdg-apps.kdl. See XDG app configuration for syntax description.