![]() |
#1 |
Junior Member
![]() 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 |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42,531
Karma: 20170320
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Dont use Wayland, its nowhere near ready.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#4 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
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 |