Re: qdbus - is this still working in 5.19?
Ianseeks <[email protected]> Fri, 12 Jun 2020 17:15:08 +0100
| Newsgroups | gmane.linux.suse.kde |
|---|---|
| Organization | at home |
| Message-ID | <3098023.HzqF151yA5@lianli> |
On Friday, 12 June 2020 17:07:31 BST Wolfgang Bauer wrote: > Am Freitag, 12. Juni 2020, 16:56:37 schrieb Ianseeks: > > All i'm doing is backing up folders and I display which folder is about to > > be backed up. I'll update my script to qdbus-qt5 and see how that goes. > > Ok, but how exactly are you displaying the folder? Its just text i'm sending to the screen. I used to use kdialog directly but when that stopped working, i was given qdbus as a replacement way of displaying text on the screen after logout so i can see progress. I can't find the original email where i was told about how to do it. This is how i was doing it with "qdbus" 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" > qdbus(-qt5) is just a tool to send messages via D-BUS to some application, it > doesn't really do anything by itself. > > Kind Regards, > Wolfgang > > -- 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: [email protected] To contact the owner, e-mail: [email protected]