View Single Post
Old 04-02-2026, 12:05 AM   #92
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,163
Karma: 29626604
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
On Linux, rather than opening a terminal, you might instead just do something like:

pkexec calibre-debug -c "from calibre_plugins.auto_updater import linux_gui; linux_gui()"


the linux gui function can then show a simple PyQt UI that displays the output of running the update command from its stdout. pkexec is supposed to take care of prompting the user for password.
kovidgoyal is offline   Reply With Quote