{"id":19328,"date":"2026-10-03T10:48:00","date_gmt":"2026-10-03T08:48:00","guid":{"rendered":"https:\/\/www.beseit.net\/?p=19328"},"modified":"2026-10-04T10:55:38","modified_gmt":"2026-10-04T08:55:38","slug":"%f0%9f%93%9a-guia-installar-calibre-natiu-a-deepin-sense-linglong-perque-la-lectura-en-veu-alta-funcioni","status":"publish","type":"post","link":"https:\/\/www.beseit.net\/?p=19328","title":{"rendered":"\u2b50\ud83d\udcda Instal\u00b7lar Calibre natiu a Deepin (sense Linglong) perqu\u00e8 la lectura en veu alta funcioni"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Perfecte, et preparo una guia completa i ben estructurada per al teu blog. \ud83d\udcdd La tens a punt per publicar:<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\udcda Guia: Instal\u00b7lar Calibre natiu a Deepin (sense Linglong) perqu\u00e8 la lectura en veu alta funcioni<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udc1b El problema<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Quan instal\u00b7les Calibre des de la <strong>botiga Deepin<\/strong>, obtens la versi\u00f3 <strong>Linglong<\/strong>, que s&#8217;executa dins d&#8217;un <em>sandbox<\/em> (contenidor d&#8217;a\u00efllament). Aquest sandbox <strong>bloqueja l&#8217;acc\u00e9s al socket de <code>speech-dispatcher<\/code><\/strong>, el servei de s\u00edntesi de veu del sistema.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>S\u00edmptoma:<\/strong> en intentar activar la lectura en veu alta, apareix:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><em>\u00abERROR: Text-to-Speech unavailable \u2014 Could not find speech-dispatcher on your system. Please install it.\u00bb<\/em><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd0d Per qu\u00e8 passa aix\u00f2?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">El <em>sandboxing<\/em> de Linglong a\u00eflla completament l&#8217;aplicaci\u00f3 del sistema: no veu ni els processos, ni els sockets, ni els serveis de l&#8217;hoste. Tot i que <code>speech-dispatcher<\/code> estigui instal\u00b7lat i funcionant, l&#8217;aplicaci\u00f3 en sandbox <strong>no el pot veure<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>La soluci\u00f3:<\/strong> instal\u00b7lar la versi\u00f3 <strong>nativa<\/strong> de Calibre, que s&#8217;executa directament al sistema sense cap capa d&#8217;a\u00efllament.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 Soluci\u00f3 en 4 passos<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Pas 1 \u2014 Desinstal\u00b7la la versi\u00f3 Linglong<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># Mira si la tens instal\u00b7lada\nll-cli list | grep -i calibre\n\n# Desinstal\u00b7la-la (substitueix pel nom exacte que et surti)\nll-cli uninstall com.calibre-ebook.calibre<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Pas 2 \u2014 Instal\u00b7la el servei de veu (speech-dispatcher)<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt update\nsudo apt install speech-dispatcher speech-dispatcher-espeak-ng espeak-ng<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>(<code>espeak-ng<\/code> inclou la veu en catal\u00e0)<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Pas 3 \u2014 Instal\u00b7la Calibre natiu amb l&#8217;instal\u00b7lador oficial<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">L&#8217;instal\u00b7lador oficial de Calibre ho posa tot a <code>\/opt\/calibre<\/code>, <strong>amb el seu propi Python i Qt inclosos<\/strong>, evitant els conflictes de depend\u00e8ncies de Deepin 23 (que t\u00e9 Python 3.12 i Qt6 m\u00e9s nous que els dels repositoris Debian):<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo -v &amp;&amp; wget -nv -O- https:\/\/download.calibre-ebook.com\/linux-installer.sh | sudo sh \/dev\/stdin<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>(Et demanar\u00e0 la contrasenya \u2014 un cop per cada <code>sudo<\/code>)<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Quan acabi, obre Calibre:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">calibre<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Pas 4 \u2014 Prova la veu en catal\u00e0<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">spd-say -l ca \"Hola, aquest \u00e9s el Calibre natiu llegint en catal\u00e0\"<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Si sents la veu, ja ho tens! \ud83c\udf89<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Hem de muntar la llibreria calibre del synology a deepin<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo mkdir -p \/mnt\/calibre-library\nsudo mount \/mnt\/calibre-library\nls \/mnt\/calibre-library<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83c\udf10 Calibre a la xarxa: tamb\u00e9 parlar\u00e0?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">S\u00ed, sempre que el <code>speech-dispatcher<\/code> estigui al mateix lloc on s&#8217;executa Calibre:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Calibre natiu al teu PC<\/strong> \u2192 funciona directament, perqu\u00e8 accedeix al socket del teu sistema.<\/li>\n\n\n\n<li><strong>Calibre dins d&#8217;un contenidor Docker<\/strong> \u2192 el contenidor ha de tenir <code>speech-dispatcher<\/code> instal\u00b7lat <strong>dins<\/strong> del contenidor (o exposar el socket del hoste com a volum).<\/li>\n\n\n\n<li><strong>Calibre-Web (interf\u00edcie web)<\/strong> \u2192 la veu dep\u00e8n del navegador (Web Speech API), que no necessita <code>speech-dispatcher<\/code> al servidor.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udca1 Consell per a Docker<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Si fas servir la imatge oficial de Calibre en Docker i vols TTS, afegeix al contenidor:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">apt install speech-dispatcher espeak-ng<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">o munta el socket del hoste:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">-v \/run\/user\/1000\/speech-dispatcher:\/run\/speech-dispatcher<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u26a0\ufe0f Qu\u00e8 NO has de fer<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Opci\u00f3<\/th><th>Per qu\u00e8 no<\/th><\/tr><\/thead><tbody><tr><td><strong>Linglong (botiga Deepin)<\/strong><\/td><td>Sandbox \u2192 sense acc\u00e9s al socket de veu \u274c<\/td><\/tr><tr><td><strong>Flatpak<\/strong><\/td><td>Tamb\u00e9 \u00e9s sandbox \u2192 mateix problema \u274c<\/td><\/tr><tr><td><strong><code>sudo apt install calibre<\/code><\/strong><\/td><td>Conflictes de depend\u00e8ncies a Deepin 23 (Python 3.12 \/ Qt6) \u274c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Opci\u00f3<\/th><th>Per qu\u00e8 s\u00ed<\/th><\/tr><\/thead><tbody><tr><td><strong>Instal\u00b7lador oficial<\/strong><\/td><td>100% natiu, autocontingut, veu garantida \u2705<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udccc Resum r\u00e0pid<\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">1. Desinstal\u00b7lar Linglong   \u2192 ll-cli uninstall com.calibre-ebook.calibre\n2. Instal\u00b7lar la veu        \u2192 sudo apt install speech-dispatcher espeak-ng\n3. Instal\u00b7lar Calibre natiu \u2192 instal\u00b7lador oficial (download.calibre-ebook.com)\n4. Provar                   \u2192 spd-say -l ca \"Hola\"<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Ja ho tens! Si vols, t&#8217;ho puc adaptar en format Markdown perqu\u00e8 el copi\u00efs directament al blog, o afegir-hi captures de pantalla \/ secci\u00f3 de preguntes freq\u00fcents. \ud83d\ude0a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perfecte, et preparo una guia completa i ben estructurada per al teu blog. \ud83d\udcdd La tens a punt per publicar: \ud83d\udcda Guia: Instal\u00b7lar Calibre natiu a Deepin (sense Linglong) perqu\u00e8 la lectura en veu alta funcioni \ud83d\udc1b El problema Quan &hellip; <a href=\"https:\/\/www.beseit.net\/?p=19328\">Continua llegint <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-19328","post","type-post","status-publish","format-standard","hentry","category-bloc-de-notes"],"_links":{"self":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/19328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19328"}],"version-history":[{"count":4,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/19328\/revisions"}],"predecessor-version":[{"id":19382,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/19328\/revisions\/19382"}],"wp:attachment":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}