View Single Post
Old 02-01-2023, 12:28 PM   #8
isarl
Addict
isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.
 
Posts: 295
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
Quote:
Originally Posted by kovidgoyal View Post
Note that on linux the canonical way to do this with calibre is to run it as

calibre --detach

disown does not actually work correctly in that it still leaves the stdio file handles connected to the tty. And calibre does not ignore failures to write to stdout/stderr unlike many other programs.
IF you run Linux, and if you run Calibre from source a lot, and if your desktop environment uses the XDG specifications, then you can also likely create a .desktop file wrapping up the full path to Calibre in its source tree, and the invocation options i.e. --detach.

This link has instructions on creating your own .desktop file, but steps 1–5 are about downloading a game to use as an example, so you can skip them entirely as you presumably already know that Calibre runs properly.
isarl is offline   Reply With Quote