On Friday, 12 June 2020 18:36:59 BST Wolfgang Bauer wrote:
Am Freitag, 12. Juni 2020, 17:15:08 schrieb Ianseeks:
dbusRef=`kdialog --progressbar "Starting Back up procedure" 4` sleep 1 qdbus $dbusRef Set "Starting Back up procedure" value 1 rsync ...... qdbus $dbusRef Set "" value 1 qdbus $dbusRef setLabelText "1.4. Backing up /home/me/Documents"
So you are in fact using kdialog, and try to update its progressbar and text later on via D-BUS. ;-) yes, a long time ago it used to work without using D-BUS
This is wrong though: $ qdbus $dbusRef Set "Starting Back up procedure" value 1 Error: org.freedesktop.DBus.Error.UnknownInterface Interface Starting Back up procedure was not found in object /ProgressDialog
It should probably be just: $ qdbus $dbusRef value 1 (or whatever value you want to set) Thanks.
The setLabelText line should be fine though.
Although, as mentioned, you'd probably better use qdbus-qt5 instead. Yes, i've now updated to qdbus-qt5 and it now works as it used to.
Kind Regards, Wolfgang
thanks again for replying and getting it working again. regards Ian -- opensuse:tumbleweed:20200610 Qt: 5.15.0 KDE Frameworks: 5.70.0 - KDE Plasma: 5.19.0 - kwin 5.19.0 kmail2 5.14.1 (20.04.0) - akonadiserver 5.14.1 (20.04.0) - Kernel: 5.6.14-1-default - xf86-video-nouveau: 1.0.16 -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org