![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2024
Device: Kindle
|
Is WSL required on linux?
I just installed Calibre (7.12.0) on Kubuntu 24.04 according to the instructions on the page https://calibre-ebook.com/download_linux. In general it works fine, but when trying to open the book folder it does nothing. I see that it tries to open something called wslview. If I run it in the terminal I get an error message saying "WSL Interopability is disabled. Please enable it before using WSL."
I clarify that I do not have Windows with WSL. I only have Kubuntu. I also tried with the Calibre version available in the Ubuntu repositories, but the same thing happens. Will anyone know how I can correct this? Thanks. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,216
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you are using wayland, switch back to x11 and you will likely be fine. You can also try setting the CALIBRE_NO_NATIVE_FILEDIALOGS environment variable to prevent calibre using the system file dialogs as descibed here: https://manual.calibre-ebook.com/cus...ment-variables
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2024
Device: Kindle
|
Hello kovidgoyal, thanks for your answer. I am using X11 already. I tried the environment variable, but it doesn't worked:
javP@laptop:~$ env CALIBRE_NO_NATIVE_FILEDIALOGS=1 calibre qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory WSL Interopability is disabled. Please enable it before using WSL. grep: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory [error] WSL Interoperability is disabled. Please enable it before using WSL. /usr/bin/wslview: line 216: /mnt/c/Windows/System32/reg.exe: No such file or directory /usr/bin/wslview: line 308: [: -ge: unary operator expected [error] This protocol is not supported before version 1903. |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2024
Device: Kindle
|
I also noticed that it has the same problem if I try to open a pdf file. I have no problem with epub files.
Last edited by javP; 06-27-2024 at 05:15 PM. Reason: correction |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,758
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
sudo apt purge wslu
Some packages (gimp-help-en) problematically require it as a dependency. If you need gimp-help-en, then you may need to install a small text-based browser to satisfy the xdg www-browser requirement (that gimp-help needs) that the snap Firefox doesn't seem to. Hence why wslview gets installed to fulfill the www-browser need. Problems abound on this one. Last edited by DiapDealer; 06-27-2024 at 06:18 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2024
Device: Kindle
|
Hello DiapDealer. You're right, that was the problem. Thank you so much!!!
|
![]() |
![]() |
![]() |
Tags |
calibre, folder, wsl |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Elipsa 2E Sync Required - to download required handwriting recognition resources | Lee3 | Kobo Reader | 16 | 05-29-2024 02:11 PM |
Calibre on WSL, .note.ABI-tag "bug" | ratinox | Calibre | 25 | 05-09-2024 03:10 PM |
Accessing Calibre Database in WSL | MontyJ | Library Management | 2 | 08-17-2023 10:21 AM |
Native A KUAL extension. Linux Deploy: chrooted GNU/Linux for modern Kindle | zaoqi | Kindle Developer's Corner | 12 | 03-14-2020 11:41 AM |
Calibre on Ubuntu on Windows (WSL) | botmtl | Development | 5 | 12-15-2016 02:05 PM |