11-09-2017, 01:52 PM | #1 |
Member
Posts: 11
Karma: 10
Join Date: Nov 2017
Device: Kindle Oasis
|
Calibre does not start in Wayland (Linux)
I've installed the latest release:
$ calibre --version calibre (calibre 3.11.1) I'm running KDE on Wayland (instead of X11). I have Xwayland installed in order to run X11-only programs like e.g. Firefox. Starting calibre results in a failure: $ calibre This application failed to start because it could not find or load the Qt platform plugin "wayland" in "". Available platform plugins are: linuxfb, minimal, offscreen, xcb. Reinstalling the application may fix this problem. Normally, Calibre should come up in its own Xwayland instance if Wayland ist not supported. In this case, as Qt-app, it should support wayland out of the box if the appropriate platform plugin was installed. However, as the plugin appears to be missing, I have no idea why it wouldn't come up in Xwayland then (or how to configure that). Is this a misconfiguration? Thank you in advance. |
11-09-2017, 05:52 PM | #2 | |
Addict
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
Try setting the QT_QPA_PLATFORM="xcb" environment variable. For instance, run this from the command-line (all one line): QT_QPA_PLATFORM="xcb" calibre |
|
Advert | |
|
11-11-2017, 05:07 AM | #3 |
Member
Posts: 11
Karma: 10
Join Date: Nov 2017
Device: Kindle Oasis
|
That worked, thank you. Calibre does now start in Xwayland. It would be nice if it was possible to include wayland-support in the official build to allow calibre to run under wayland natively (since most distros are implementing wayland now).
Thanks, -inte- |
11-11-2017, 06:19 AM | #4 |
creator of calibre
Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Currently the official build is restricted to Qt 5.6 to allow it to work on older distros. When it is bumped up, I will include the Qt wayland plugin. But, IIRC the wayland support in 5.6 was very buggy. Basic things like popup menus did not work correctly.
|
11-11-2017, 07:36 AM | #5 | |
Member
Posts: 11
Karma: 10
Join Date: Nov 2017
Device: Kindle Oasis
|
Quote:
No hurries, it is eventually working with this workaround and when it's ready, it' will be ready :-) |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't start calibre-server on Linux (ubuntu) | Awfki | Calibre | 5 | 08-19-2015 10:54 PM |
Calibre on Linux taking 2 minutes to start | mightymouse2045 | Calibre | 9 | 08-14-2011 12:55 AM |
A Problem [Python errors and failing to start in Linux] | Newby | Calibre | 21 | 01-27-2011 06:08 AM |
Calibre won't start: Linux | JeffElkins | Calibre | 16 | 08-30-2008 11:33 AM |