Bug 352146

Summary: Execute and submit krunner query via dbus or cli (emulate "enter" key)
Product: [Unmaintained] telepathy Reporter: Murz <MurzNN>
Component: text-uiAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: kde
Priority: NOR    
Version: unspecified   
Target Milestone: Future   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Murz 2015-09-02 07:11:41 UTC
At now I can open krunner with some query via cli dbus command like:
qdbus org.kde.krunner /App query 'command'
But this command opens krunner window and I must manually press "Enter" for execute this query.
I want to automate some actions, so I want to automatically submit query (execute it via emulate "enter" key action"). 
If there are not only one result per query, let's use first result to execute.

Is there any way to do this via current version? If no, please add this feature in next versions!

Reproducible: Always
Comment 1 Kai Uwe Broulik 2016-03-08 10:34:52 UTC
Isn't it more feasible to just run the application or whatever you want to do directly rather than relying on KRunner and *hoping* it will pick the right thing? What do you actually want to automate?
Comment 2 Murz 2016-03-09 06:50:05 UTC
I want to automate opening KDE Telepathy chat window with specific contact via command line. KDE Telepathy don't allow this via command line, but this works easy and well via KRunner, for example - command:
qdbus org.kde.krunner /App query 'Alexey Korepov'
and click "Enter" - opens KDE Telepathy chat window with 'Alexey Korepov' contact.
And will be good to automate some other things via this way.
Comment 3 Kai Uwe Broulik 2016-03-09 09:09:32 UTC
So, Telepathy needs fixing
Comment 4 Christoph Cullmann 2024-09-18 18:14:28 UTC
Dear user, unfortunately Telepathy is no longer maintained.

Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.