KDEINIT5(8)

πŸ’… kdeinit5 β€” the launcher bestie πŸ’…

okay so this is from the kdeinit5 User's Manual (that's the KDEINIT5(8) page, section 8, system admin girlies rise up) ✨


🌸 NAME 🌸

kdeinit5 β€” the launcher for apps built with kdeinit support, and for KIO slaves. she's the one who gets everybody on the dance floor πŸŽ€


✨ SYNOPSIS ✨

kdeinit5 [--help] [[--no-fork] | [--no-kded] | [--suicide]] [[+programs]
         | [programs]]

look at her. so structured. so iconic πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

so kdeinit5 is a process launcher, right? think of it as the famous init used for booting UNIX, but make it fashion. she runs KDE programs and kdeinit loadable modules (KLMs), and she starts them way more efficiently. no cap. πŸ”₯

using kdeinit5 to launch KDE applications makes starting a typical KDE app a couple times faster and reduces memory consumption by a substantial amount. she's literally doing both. main character energy fr fr.

here's the tea on how: kdeinit5 is linked against all the libraries a standard KDE application needs. with this technique, starting an application becomes much faster, because now only the application itself needs to be linked β€” whereas otherwise both the application and all the libraries it uses need to be linked. that's the whole trick. she already knows everybody so you don't have to introduce yourself 40 times πŸ’…


😭 DISADVANTAGES 😭

not everything is slay, bestie. the process name of applications started via kdeinit5 is "kdeinit5". yeah. all of them. same name. it's giving "we all share one group chat username" πŸ’€

this problem can be corrected to a degree by changing the application name as shown by ps. however β€” and this is the part that hurts β€” applications like killall will only see kdeinit5 as the process name. so to workaround this, use kdekillall (from kdesdk/scripts) for applications started via kdeinit5. noted. writing it down. 🫢


πŸŽ€ OPTIONS πŸŽ€

  • --help β€” show help about options. she's helpful like that. queen behavior πŸ‘‘
  • --no-fork β€” do not fork, i.e. do not exit until all the executed programs ends. she's staying until the party's over. committed πŸ₯Ή
  • --no-kded β€” do not start kded. respectfully, no kded today πŸ™ˆ
  • --suicide β€” terminate when no KDE applications are left running. dramatic name, honestly iconic, she simply refuses to be the last one at the function πŸ’€
  • +programs β€” runs the programs handling requests ✨
  • programs β€” runs the programs without handling requests. same but different. the plus sign is doing SO much work here πŸ¦‹

🌈 USAGE 🌈

a standard way to run this program is by simply specifying the following command at the prompt: kdeinit5 program or kdeinit5 +program. that's it. that's the whole vibe. go off 🫢


πŸ“ FILES πŸ“

  • /tmp/kde-$USER/kdeinit5_$INSTANCE β€” ... (yeah, that's literally what the page says. mysterious. cryptic. lowkey iconic πŸŽ€)

🧚 ENVIRONMENT VARIABLES 🧚

  • $HOME β€” specifies the home directory of the current user 🏠
  • $KDE_HOME_READONLY β€” specifies if the home directory of the current user is read only πŸ”’
  • $KDE_IS_PRELINKED β€” if set, tells kdeinit5 that the KDE programs are pre-linked.
    • (prelinking is a process that allows you to speed up the process of dynamic linking.) ngl that's a lot of the word "process" but we move ✨
  • $KDE_DISPLAY β€” if set, tells kdeinit5 that it is running on a KDE desktop πŸ–₯οΈπŸ’–

πŸ‘€ SEE ALSO πŸ‘€

kded5, kdekillall β€” go read those too, iykyk πŸ“š


πŸ’€ BUGS πŸ’€

please use KDE's bugtracker[1] to report bugs. be nice to the bugtracker, she's doing her best πŸ™


🌟 AUTHORS 🌟

  • Waldo Bastian <bastian@kde.org> β€” Author. πŸ‘‘
  • Mario Weilguni <mweilguni@sime.com> β€” Author. πŸ‘‘
  • Lubos Lunak <l.lunak@kde.org> β€” Author. πŸ‘‘

three authors. three icons. we stan. 🫢


πŸ“ NOTES πŸ“

  1. KDE's bugtracker β€” http://bugs.kde.org

okay bestie that's the whole page, no skips, no cuts, every flag accounted for πŸ’– and one last thing before you go: this was brought to you by KDE Frameworks, Frameworks 5.0, dated 2013-12-18, filed under KDEINIT5(8) β€” so like, she's been serving this look since 2013 and she's still that girl. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from