[dolphin] [Bug 487770] Feature Request: Option to bind arbitrary command lines to shortcut keys and/or custom toolbar buttons
Felix Ernst
bugzilla_noreply at kde.org
Sat Jun 1 17:12:57 BST 2024
https://bugs.kde.org/show_bug.cgi?id=487770
--- Comment #3 from Felix Ernst <felixernst at kde.org> ---
(In reply to ocalhoun from comment #2)
> Hmm... The only way I can find for doing so is:
>
> […]
>
> While it may technically be possible to do things this way ... this process
> seems a bit unnecessarily convoluted if you're just trying to do something
> simple. And it seems to require making your new addon publicly available,
> which could be just cluttering the store with things so specific they're
> only relevant to you personally, or it could possibly even have privacy
> concerns, if the command you need to run includes private information.
>
> That seems far from ideal to me. It's a reasonable process for adding a new
> Plasma widget or desktop theme, sure ... but far too complicated to just get
> Dolphin to execute a console command.
It is way easier than that and you don't need to upload anything. Here is the
guide: https://develop.kde.org/docs/apps/dolphin/service-menus/
One only needs to create a file with a specific format in a local folder and
then one can execute custom commands from the Dolphin context menu.
> It would be much nicer and simpler to have one of those list items in the
> Context Menu settings be "Run Command:" with a text box or popup or
> something to enter your command into. (And a new blank "Run Command:" entry
> added afterward.)
This is not exactly what you are asking for, but the upcoming release (I think
in August?) will have a feature so one can set a custom command for
double-clicking the view
(https://invent.kde.org/system/dolphin/-/merge_requests/764).
Generally speaking though, the way of creating service menus as described in
the guide I linked is the better way currently. However, there is actually a
service menu for creating service menus in the store page:
https://store.kde.org/p/1952905/ I haven't tested it, but it seems to allow
creating service menus for custom scripts very easily.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list