qdbus not found with Crow translate shortcut
Hello. Crow Translate¹ is application to translate text. Ctrl+Alt+E is a shortcut to translate the higlighted text. Since the update to Plasma 6, when I use that shortcut I get a message error with "qdbus not found" I created an issue in the main repo² but seems to be a distro issue. If I launch zypper se qdbus I get this: S | Name | Summary --+-----------------+--------------------------------------------------+-------- | libqt5-qdbus | Command line client for communication over D-Bus i | qt6-tools-qdbus | Command line client for communication over D-Bus Do I have to install something extra? Greetings. [1] https://github.com/crow-translate/crow-translate [2] https://github.com/crow-translate/crow-translate/issues/675 -- ------------------- GPG Key: 0xcc742e8dc9b7e22a Fingerprint = 6FE2 3B1F AAC8 E5B7 63EA 88A9 CC74 2E8D C9B7 E22A Aprende a proteger la privacidad de tu correo: https://emailselfdefense.fsf.org/es/ Mi blog sobre openSUSE, GNU/Linux y software libre: https://victorhckinthefreeworld.com/ Herramientas para proteger tu privacidad https://victorhck.gitlab.io/privacytools-es/
Am 09.04.24 um 12:17 schrieb victorhck via openSUSE Factory:
Hello.
Crow Translate¹ is application to translate text. Ctrl+Alt+E is a shortcut to translate the higlighted text. Since the update to Plasma 6, when I use that shortcut I get a message error with "qdbus not found" I created an issue in the main repo² but seems to be a distro issue.
If I launch zypper se qdbus I get this:
S | Name | Summary --+-----------------+--------------------------------------------------+--------
| libqt5-qdbus | Command line client for communication over D-Bus i | qt6-tools-qdbus | Command line client for communication over D-Bus
Do I have to install something extra?
Greetings.
[1] https://github.com/crow-translate/crow-translate [2] https://github.com/crow-translate/crow-translate/issues/675
The package needs an update and a distro-specific patch for the path. I
put the maintainer in CC.
ben@skylab:~> rpm -ql libqt5-qdbus
/usr/bin/qdbus-qt5
/usr/lib64/qt5/bin/qdbus
/usr/share/licenses/libqt5-qdbus
/usr/share/licenses/libqt5-qdbus/LICENSE.FDL
/usr/share/licenses/libqt5-qdbus/LICENSE.GPL2
/usr/share/licenses/libqt5-qdbus/LICENSE.GPL3
/usr/share/licenses/libqt5-qdbus/LICENSE.GPL3-EXCEPT
/usr/share/licenses/libqt5-qdbus/LICENSE.LGPL3
ben@skylab:~> rpm -ql qt6-tools-qdbus
/usr/bin/qdbus6
/usr/bin/qdbusviewer6
/usr/lib64/qt6/bin/qdbus
/usr/lib64/qt6/bin/qdbusviewer
/usr/share/applications/org.qt.qdbusviewer6.desktop
/usr/share/icons/hicolor/128x128/apps/qdbusviewer6.png
/usr/share/icons/hicolor/32x32/apps/qdbusviewer6.png
ben@skylab:~> osc maintainer network/crow-translate
bugowner of network/crow-translate :
-
maintainer of network/crow-translate :
mnhauke
ben@skylab:~> osc whois mnhauke
mnhauke: "Martin Hauke"
Hello, On mardi 9 avril 2024 12:17:05 UTC+2 victorhck via openSUSE Factory wrote:
Hello.
Crow Translate¹ is application to translate text. Ctrl+Alt+E is a shortcut to translate the higlighted text. Since the update to Plasma 6, when I use that shortcut I get a message error with "qdbus not found" I created an issue in the main repo² but seems to be a distro issue.
qdbus isn't in $PATH anymore since Qt4. You need to patch crow-translate to use either 'qdbus-qt5' or 'qdbus6' depending on the Qt version it needs. data/io.crow_translate.CrowTranslate.desktop seems to be the file needing a patch
[1] https://github.com/crow-translate/crow-translate [2] https://github.com/crow-translate/crow-translate/issues/675
I added a comment there. Wrong assumption upstream. Christophe
El 9/4/24 a las 13:50, Christophe Marin via openSUSE Factory escribió:
Hello,
On mardi 9 avril 2024 12:17:05 UTC+2 victorhck via openSUSE Factory wrote:
Hello.
Crow Translate¹ is application to translate text. Ctrl+Alt+E is a shortcut to translate the higlighted text. Since the update to Plasma 6, when I use that shortcut I get a message error with "qdbus not found" I created an issue in the main repo² but seems to be a distro issue.
qdbus isn't in $PATH anymore since Qt4.
You need to patch crow-translate to use either 'qdbus-qt5' or 'qdbus6' depending on the Qt version it needs.
data/io.crow_translate.CrowTranslate.desktop seems to be the file needing a patch
[1] https://github.com/crow-translate/crow-translate [2] https://github.com/crow-translate/crow-translate/issues/675
I added a comment there. Wrong assumption upstream.
Christophe
Thanks a lot for your answers and also your involvement in the issue in GH!! I updated the .desktop file and changed to qdbus-qt5. I'll wait if your PR is acepted and arrives to repos. Greetings!! -- ------------------- GPG Key: 0xcc742e8dc9b7e22a Fingerprint = 6FE2 3B1F AAC8 E5B7 63EA 88A9 CC74 2E8D C9B7 E22A Aprende a proteger la privacidad de tu correo: https://emailselfdefense.fsf.org/es/ Mi blog sobre openSUSE, GNU/Linux y software libre: https://victorhckinthefreeworld.com/ Herramientas para proteger tu privacidad https://victorhck.gitlab.io/privacytools-es/
participants (3)
-
Ben Greiner
-
Christophe Marin
-
victorhck