View Single Post
Old 09-26-2017, 11:52 AM   #22
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: 45,379
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Add the following to your .bashrc

alias calibre="sudo systemctl stop calibre-server; /opt/calibre/calibre; sudo systemctl start calibre"

Now all you need to type is calibre.

Or just leave the GUI running using the system tray icon and run the server inside the GUI. Then you have the server running continuously and you can use the GUI whenever you feel like it by clicking the system tray icon.
kovidgoyal is online now   Reply With Quote