You are not logged in.
I had a problem with Netbeans using its fallback keyring instead of KWallet.
My research showed that this happened because Netbeans wasn't able to use qdbus
exception thrown while invoking the command "[qdbus, org.kde.kwalletd, /modules/kwalletd, org.kde.KWallet.isEnabled]"
I tried to run qdbus with
qdbus org.kde.kwin /KWin supportInformation
Same outcome; qdbus: command not found.
Searching for qdbus, I found it in /usr/lib/qt4/bin which obviously isn't part of $PATH.
I "solved" the issue by creating a softlink in /usr/bin/
cd /usr/bin && sudo ln -s /usr/lib/qt4/bin/qdbus qdbus
It works, both the KWin command as well as Netbean's KWallet integration, but is that how it should be done?
Haven't I rather a package missing, like qt5 or something?
Or is my standard "throw softlinks at the problem"-procedure alright here?
Last edited by Caldazar (2014-01-25 20:55:02)
4.4.11-1-lts #1 SMP Thu May 19 21:03:24 CEST 2016 x86_64 GNU/Linux
KDE
AMD Phenom II X4 960T - AMD Radeon HD 6670 with Catalyst - 24GB RAM
Offline
The qdbus symlink is installed by the qtchooser package.
Offline
Try "qdbus-qt4" instead of "qdbus".
And I don't know either what you have to do with qt5 and qdbus.
Offline
Thanks! That's better although it doesn't work out of the box either.
qtchooser apparently sends the applications to '/usr/lib/qt/bin/qdbus' which doesn't exist, Arch uses /usr/lib/qt4' instead
qdbus: could not exec '/usr/lib/qt/bin/qdbus': No such file or directory
So I had to link those too.
sudo ln -s /usr/lib/qt4 /usr/lib/qt
I don't know whether that's a problem with qtchooser or rather with some of my environment variables being wrong.
But anyways, linking the directories 'qt' to 'qt4' makes a whole lot more sense to me than micromanaging the paths of single binaries or libraries.
P.S. @ChemBro
Yes, using qdbus-qt4 seems to work with commands I have control over but telling applications like Netbeans to use that is a different beast, at least from a user-perspective.
Maybe the packagers can do something about that, but I don't know.
Last edited by Caldazar (2014-01-21 15:03:39)
4.4.11-1-lts #1 SMP Thu May 19 21:03:24 CEST 2016 x86_64 GNU/Linux
KDE
AMD Phenom II X4 960T - AMD Radeon HD 6670 with Catalyst - 24GB RAM
Offline
I have the same problem here.
Has a bug been filled about that?
Offline
By the way I worked around the issue by adding this line at the beginning of /usr/bin/netbeans:
export PATH=$PATH:/usr/lib/qt4/bin/
Offline
qtchooser defaults to qt5 unless QT_SELECT is set (yes it could be smarter than that). The default qt version can be changed using the symlink /etc/xdg/qtchooser/default.conf. For example:
ln -sf /etc/xdg/qtchooser/4.conf /etc/xdg/qtchooser/default.conf
Last edited by ilsensine (2014-01-24 17:06:51)
Offline
Thanks, that's a better fix than modifying the netbeans script.
Offline
I updated the wiki page accordingly: https://wiki.archlinux.org/index.php/Ne … th_kwallet
Offline
Ok, so this is a QT problem / inconvenience which is actually covered in the Wiki.
I just wasn't able to connect the dots because I searched for "qdbus" which didn't return anything useful.
Anyway, now that we have solved this issue in five different ways, I think this thread has earned its "solved" tag.
Thank you all for the help!
4.4.11-1-lts #1 SMP Thu May 19 21:03:24 CEST 2016 x86_64 GNU/Linux
KDE
AMD Phenom II X4 960T - AMD Radeon HD 6670 with Catalyst - 24GB RAM
Offline