Summary: | Feature request: code snippet library | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Vincenzo Buttazzo <vincenzo> |
Component: | copy-paste | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | wishlist | CC: | nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
attachment-14209-0.html
attachment-24407-0.html attachment-22428-0.html |
Description
Vincenzo Buttazzo
2022-01-26 11:48:05 UTC
Created attachment 145962 [details] attachment-14209-0.html This is often requested but I don’t understand how’s that usable. Why you don’t create bash functions tied to your bashrc and calls them? What would be the benefits of having a panel on Konsole for that? Le mer. 26 janv. 2022 à 11:48, Vincenzo Buttazzo <bugzilla_noreply@kde.org> a écrit : > https://bugs.kde.org/show_bug.cgi?id=449192 > > Bug ID: 449192 > Summary: Feature request: code snippet library > Product: konsole > Version: unspecified > Platform: Other > OS: Linux > Status: REPORTED > Severity: wishlist > Priority: NOR > Component: copy-paste > Assignee: konsole-devel@kde.org > Reporter: vbuttazzo@yahoo.com > Target Milestone: --- > > By managing my servers I have a library of code snippet to copy-paste into > Konsole for various tasks. > > Could such a library make sense as a Konsole feature? It would be great to > just > right click and choose a snippet to paste. Or maybe a side panel like the > "SSH > Manager" could be a good solution if bound to a keyboard shortcut to open > it. > > -- > You are receiving this mail because: > You are the assignee for the bug. > This is often requested but I don’t understand how’s that usable.
> Why you don’t create bash functions tied to your bashrc and calls them?
> What would be the benefits of having a panel on Konsole for that?
In my case it would be useful because I manage a number of servers and I don't want to add more scripts than needed for their normal work. But if I had to do some debug/check work there are some line I will run every time.
* Add some tools that are not already installed on minimal distros (vim, various net tools).
* Run some check routine
* Common queries I run on a database, again for debug.
Sure, all things you can do in many ways already. Just a nice feature to have.
I suppose it would be a nice extension, but I didn't found how to write one.
Created attachment 145981 [details] attachment-24407-0.html If you’re a developer I can help you get started. Take a look on the source code for the ssh plugin, and let’s start from there. Le jeu. 27 janv. 2022 à 09:41, Vincenzo Buttazzo <bugzilla_noreply@kde.org> a écrit : > https://bugs.kde.org/show_bug.cgi?id=449192 > > --- Comment #2 from Vincenzo Buttazzo <vbuttazzo@yahoo.com> --- > > This is often requested but I don’t understand how’s that usable. > > Why you don’t create bash functions tied to your bashrc and calls them? > > What would be the benefits of having a panel on Konsole for that? > > In my case it would be useful because I manage a number of servers and I > don't > want to add more scripts than needed for their normal work. But if I had > to do > some debug/check work there are some line I will run every time. > > * Add some tools that are not already installed on minimal distros (vim, > various net tools). > * Run some check routine > * Common queries I run on a database, again for debug. > > Sure, all things you can do in many ways already. Just a nice feature to > have. > > I suppose it would be a nice extension, but I didn't found how to write > one. > > -- > You are receiving this mail because: > You are the assignee for the bug. I feared such an answer... OK, challenge accepted 👍 In case of need should I ask for help here or is there a better place? Created attachment 146000 [details] attachment-22428-0.html We have a mailing list and a telegram channel, https://t.me/+gOW6P8R5cToxMGIx Le jeu. 27 janv. 2022 à 10:59, Vincenzo Buttazzo <bugzilla_noreply@kde.org> a écrit : > https://bugs.kde.org/show_bug.cgi?id=449192 > > --- Comment #4 from Vincenzo Buttazzo <vincenzo@buttazzo.eu> --- > I feared such an answer... OK, challenge accepted 👍 > > In case of need should I ask for help here or is there a better place? > > -- > You are receiving this mail because: > You are the assignee for the bug. I agree that bash functions would make more sense. Most people tend to do this. For arbitrary text you might want to paste, I think it would make more sense for the to be integrated into the systemwide clipboard, e.g. with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1265. |