View Single Post
Old 02-05-2025, 08:56 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,535
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
On my chromebook I modified the desktop launcher file. I use the following script
Code:
#!/usr/bin/sh
#

cp /usr/share/applications/calibre*.desktop .

for file in calibre-gui calibre-ebook-edit calibre-ebook-viewer calibre-lrfviewer ; do
        echo Editing ${file}.desktop
        sed -i -e 's/^Exec=/Exec=env QT_QPA_PLATFORM=xcb /g' ${file}.desktop
        echo Installing ${file}.desktop
        sudo desktop-file-install ${file}.desktop
done
I run this script after each install and upgrade of calibre.
PeterT is offline   Reply With Quote