RUNAPP(1)
π RUNAPP(1): runapp, the Linux desktop application runner π
okay so this is from the General Commands Manual, and the manual name is literally RUNAPP(1) β it's giving "let's launch desktop apps in the most systemd-correct way possible" and honestly? iconic. π«Ά
πΈ NAME πΈ
runapp β Linux desktop application runner
β¨ SYNOPSIS β¨
runapp [OPTIONS] COMMAND...
runapp --help
π¦ DESCRIPTION π¦
runapp is an application runner for Linux desktop environments that integrate with systemd(1). It launches the given command in an appropriate systemd user unit, in accordance with systemd recommendations. no cap, that's its whole job. π
π OPTIONS π
-v,--verboseβ increase output verbosity. more yapping fromrunapp, basically. π£οΈ-o,--scopeβ run command directly, registering it as a systemd scope; the default is to run it as a systemd service. so without this, service mode is the main character. π-i,--slice=SLICEβ assign the systemd unit to the given slice. the name must include the.slicesuffix, bestie β no suffix, no slay. default isapp-graphical.slice. π°-d,--dir=DIRβ run command in given working directory. yes,DIRis a whole mood and also a path. π-e,--env=VAR=VALUEβ run command with given environment variable set; may be given multiple times. stack those--envflags like friendship bracelets. π«Ά-c,--description=DESCRIPTIONβ set human-readable unit name (theDescription=systemd property) to given value. iconic labeling behavior. π·οΈ--helpβ show help. when in doubt, ask the manual. π
π EXAMPLES π
Start firefox as a systemd user service:
runapp firefox
Start libreoffice --nosplash as a systemd user scope, with its current working directory set to /tmp:
runapp --scope --dir /tmp libreoffice --nosplash
If you use the sway(1) desktop environment with the fuzzel(1) application launcher, and you add the following line to your $XDG_CONFIG_HOME/sway/config file:
bindsym Mod4+d exec runapp fuzzel --launch-prefix runapp
Then the Super+D key combination will launch Fuzzel via runapp, which in turn will run any application it launches via runapp as well. cute little chain reaction, fr fr. π
π ENVIRONMENT π
DESKTOP_ENTRY_IDβ if set, used to construct the systemd unit name (otherwise, the executable basename is used for this purpose). Exported by thefuzzel(1)application launcher and perhaps others. iykyk. π§DESKTOP_ENTRY_NAMEβ if set, used as theDescription=property of the generated systemd unit. Overridden by the--descriptionoption. Similarly toDESKTOP_ENTRY_ID, exported byfuzzel(1). so the flag wins, periodt. πFUZZEL_DESKTOP_FILE_IDβ legacy spelling ofDESKTOP_ENTRY_ID; accepted as a fallback. Exported byfuzzel(1), but now considered deprecated by it. old spelling, still allowed, but it's giving deprecated. π
π₯ SEE ALSO π₯
- systemd recommendations on Desktop Environments
systemd(1),sway(1),fuzzel(1)
and that's the whole RUNAPP(1) manual, bestie β the footer doesn't give a source, version, or date, it just repeats the manual name again. πβ¨
π¦ where this page comes from
- nixos 26.05: runapp 0.5.1
- nixpkgs unstable: runapp 0.5.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms