Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 02-23-2023, 05:22 AM   #1
noodler
Junior Member
noodler began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2023
Device: none
Ebook-viewer does not work with Ubuntu 22.04 Wayland [6.13]

The ebook-viewer works normally in Ubuntu 22.04.02 LTS with X11 but if I switch to Wayland, the ebook-viewer does not launch properly:

- it appears in the task bar but no window is created.
- the auto-preview in the task bar says "loading b..."
- doesn't matter which book is opened
- The application cannot be closed and the underlying process must be killed.
- Same behaviour whether launched from within Calibre, from a file browser or from the command line
- I see no messages at the command line or in syslog
- also applies to the ebook-editor
- the main Calibre application runs ok
- applies to Calibre 6.13 installed using suggested script not from the Ubuntu Snap Store
noodler is offline   Reply With Quote
Old 02-23-2023, 07:32 AM   #2
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: 42,531
Karma: 20170320
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Dont use Wayland, its nowhere near ready.
kovidgoyal is offline   Reply With Quote
Old 03-25-2023, 10:10 AM   #3
3QVKwyNT9hR849t7
Enthusiast
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: 48
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
Old 03-26-2023, 12:39 PM   #4
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 7,849
Karma: 69972205
Join Date: Jun 2017
Location: Ireland
Device: Both Kinds: epub based makes and Kindle
Don't confuse unfinished niche new software (Wayland) with "modern standards". MS have thing called a "modern GUI" and it's rubbish.

Calibre works better than many programs on a wide variety of Linux, Mac and Windows.
Quoth is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
eBook viewer not opening in Ubuntu 20 martinf Devices 5 03-01-2023 10:02 AM
Viewer opens with white screen on Ubuntu 21.10 and otherwise doesn't work Constancies Viewer 1 02-24-2022 06:18 PM
Ebook Viewer won't work after updating to Calibre 2.75.1 jf198501 Library Management 2 12-29-2016 09:30 PM
Ebook viewer TOC entry does not work if not pointing to an id meme Calibre 5 01-16-2013 05:06 PM
ebook-convert don't work in ubuntu 9.10 vakya Calibre 2 10-26-2009 04:36 PM


All times are GMT -4. The time now is 10:49 AM.


MobileRead.com is a privately owned, operated and funded community.