06-27-2024, 11:54 AM | #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. |
06-27-2024, 11:58 AM | #2 |
creator of calibre
Posts: 44,573
Karma: 24495948
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 | |
|
06-27-2024, 06:13 PM | #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. |
06-27-2024, 06:15 PM | #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 06:15 PM. Reason: correction |
06-27-2024, 06:32 PM | #5 |
Grand Sorcerer
Posts: 28,046
Karma: 199464182
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 07:18 PM. |
Advert | |
|
06-27-2024, 07:00 PM | #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 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Elipsa 2E Sync Required - to download required handwriting recognition resources | Lee3 | Kobo Reader | 17 | 10-09-2024 02:46 PM |
Calibre on WSL, .note.ABI-tag "bug" | ratinox | Calibre | 25 | 05-09-2024 04:10 PM |
Accessing Calibre Database in WSL | MontyJ | Library Management | 2 | 08-17-2023 11:21 AM |
Native A KUAL extension. Linux Deploy: chrooted GNU/Linux for modern Kindle | zaoqi | Kindle Developer's Corner | 12 | 03-14-2020 12:41 PM |
Calibre on Ubuntu on Windows (WSL) | botmtl | Development | 5 | 12-15-2016 03:05 PM |