XDG-TERMINAL(1)
π NAME π
xdg-terminal β bestie, this is the little guy that opens up the user's preferred terminal emulator app β¨
It's from the xdg-terminal manual, and honestly? iconic behavior. π«Ά
πΈ SYNOPSIS πΈ
xdg-terminal [command]
xdg-terminal {--help | --manual | --version}
Two whole moods: either you hand it a command, or you hit it with one of --help, --manual, --version. That's the vibe check. π
π¦ DESCRIPTION π¦
Okay so here's the tea β β xdg-terminal opens the user's preferred terminal emulator application. That's the whole gig. It's giving "just start the terminal, babe."
And if a command is provided, that command will be executed by the shell within the newly opened terminal window. So the terminal pops open and the shell runs your thing inside it. No cap, that's the entire flow. π₯
β οΈ Real talk:xdg-terminalis for use inside a desktop session only. And it is not recommended to usexdg-terminalas root. Like, please don't. π
π OPTIONS π
--helpβ shows the command synopsis. A lil' peek at how to use it. β¨--manualβ shows this manual page. Hi, that's this one! You're living it rn. π--versionβ shows thexdg-utilsversion information. iykyk. π
π EXIT CODES π
An exit code of 0 indicates success, while a non-zero exit code indicates failure. So 0 is the slay outcome, non-zero is the "we have a problem" outcome. π
The following failure codes can be returned:
1β Error in command line syntax. You typed something weird bestie. π3β A required tool could not be found. It's not here. It's missing. Gone. π4β The action failed. The attempt was made and it did not go well. π§οΈ
π EXAMPLES π
xdg-terminal
Opens the user's default terminal emulator, just starting an interactive shell. Fresh start, empty prompt, main character energy. β¨
xdg-terminal top
Opens the user's default terminal emulator and lets it run the top executable. There it is, running in the window, exactly like it should. π
π AUTHOR π
Kevin Krammer β Author. Respect the legend. π
πΈ COPYRIGHT πΈ
Copyright Β© 2006
kay so that's the whole page, bestie π
this was xdg-terminal from the xdg-terminal manual, and the footer was handing out xdg-terminal Technology Preview energy, dated 07/21/2024, with that XDG-TERMINAL(1) tag hanging out at the end. go open a terminal and be great π«Άπβ¨
π¦ where this page comes from
- opensuse-leap 16.0: xdg-utils 1.2.1-160000.2.2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms