View Single Post
Old 03-25-2023, 10:10 AM   #3
3QVKwyNT9hR849t7
Connoisseur
3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about3QVKwyNT9hR849t7 has a spectacular aura about
 
Posts: 56
Karma: 4000
Join Date: Mar 2018
Device: PW4 32GB (G000 T607) 5.12.3
Unfortunately, Calibre once again refuses to adapt to modern standards, and until it does so, you are going to need to hack things.

First, try launching it as such:

```
QT_QPA_PLATFORM=xcb calibre
```
If the viewer works fine there, proceed with the following -

Run the following to get the full path to the executable. That is /usr/bin/calibre on my system.

```
command -v calibre
```

Then create /usr/local/bin/calibre with the following content:

```
#!/bin/bash

QT_QPA_PLATFORM=xcb /usr/bin/calibre "$@"
```

And give it execute permission

```
chmod +x /usr/local/bin/calibre
```

That should be all you need to hijack the executable and force XWayland and have Calibre work correctly again, make sure to remove it when hell freezes over.
3QVKwyNT9hR849t7 is offline   Reply With Quote