Bug 352146 - Execute and submit krunner query via dbus or cli (emulate "enter" key)
Summary: Execute and submit krunner query via dbus or cli (emulate "enter" key)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: text-ui (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-02 07:11 UTC by Murz
Modified: 2024-09-18 18:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.