Bug 470040 - favorite commands list feature
Summary: favorite commands list feature
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 21.12.3
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-20 12:50 UTC by Andrea
Modified: 2023-05-22 14:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-2754590-0.html (1.49 KB, text/html)
2023-05-20 18:07 UTC, tcanabrava
Details
attachment-2821551-0.html (1.86 KB, text/html)
2023-05-21 13:20 UTC, tcanabrava
Details
attachment-2881454-0.html (4.02 KB, text/html)
2023-05-22 07:12 UTC, tcanabrava
Details
attachment-2894194-0.html (1.70 KB, text/html)
2023-05-22 11:15 UTC, tcanabrava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea 2023-05-20 12:50:22 UTC
It would be very useful to take advantage of a customizable list of commands that are often used, for example through their selection through the menu.
Comment 1 tcanabrava 2023-05-20 18:07:59 UTC
Created attachment 159143 [details]
attachment-2754590-0.html

you can change the shortcuts for every command.

On Sat, May 20, 2023 at 2:50 PM Andrea <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=470040
>
>             Bug ID: 470040
>            Summary: favorite commands list feature
>     Classification: Applications
>            Product: konsole
>            Version: 21.12.3
>           Platform: Kubuntu
>                 OS: Linux
>             Status: REPORTED
>           Severity: minor
>           Priority: NOR
>          Component: general
>           Assignee: konsole-devel@kde.org
>           Reporter: canerandagio1983@gmail.com
>   Target Milestone: ---
>
> It would be very useful to take advantage of a customizable list of
> commands
> that are often used, for example through their selection through the menu.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 2 Andrea 2023-05-21 08:17:38 UTC
@tcanabrava
Thanks for reply.
Yes, this could be another solution to use shortcuts, but it would not be the ideal solution.

Personally I don't have a great memory and a customizable menu with favorite commands would be more convenient than the shortcuts.
Maybe other users have the same needs.

I don't think it is difficult to implement a customizable menu.
Comment 3 tcanabrava 2023-05-21 13:20:30 UTC
Created attachment 159162 [details]
attachment-2821551-0.html

Andrea,

There's already a few different ways to achieve what you want:
1 - Allow toolbars, and add your favorite actions on the toolbar - this
adds the "favorite visibility" that I believe it's what you are looking for.
2 - Use `ctrl + alt + i` to open a searchable list of menu entries in
konsole (this is my personal favorite since I never remember in which level
of depthness is the command I'm looking for)
3 - Use the `commands` plugin - albeit it's not exactly what you described,
I feel that some of the things you want to do could be setup there (maybe?)

Please tell me what you think.
Best,
Tomaz

On Sun, May 21, 2023 at 10:17 AM Andrea <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=470040
>
> --- Comment #2 from Andrea <canerandagio1983@gmail.com> ---
> @tcanabrava
> Thanks for reply.
> Yes, this could be another solution to use shortcuts, but it would not be
> the
> ideal solution.
>
> Personally I don't have a great memory and a customizable menu with
> favorite
> commands would be more convenient than the shortcuts.
> Maybe other users have the same needs.
>
> I don't think it is difficult to implement a customizable menu.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 4 Andrea 2023-05-21 14:37:54 UTC
Happy to hear you Tomaz.

1) Yes, this is what I thought first.

I imagined using Konsole's menu, maybe a menu item before "help", by clicking the item I saw the descriptions of the commands that I use most often or that I wanted to save for rapid use.

2) I tried to use `ctrl + alt + i 'but I did not find help in looking for the command I wanted, I did not understand if this feature is already implemented for the Shell commands.

However, it could be a good choice to adopt a system similar to this, maybe it would be appropriate to separate the Shell commands from those that are already in this functionality, like closing a card.

3) I found no other plugins apart from the "ssh manager".
Are there any others? I did a quick search but I didn't find anything else.

The use of the plugin to implement this feature would be another solution, perhaps by pressing a shortcut could appear a menu on the right or left with the favorite clutches of the Shell, perhaps it is even better than my first idea.



I was thinking of a list of alphabetically ordered commands, or a command list organized by categories but while maintaining an alphabetical order within each category.
In reality, the list shows the description of the command for example "Ubuntu Version" while the command that will launch in the shell is "lsb_release -a".

Or the choice to use a search bar, as I said just a little more, could be a better solution. But I believe the research must also be done on the basis of the description of the command, not only on the basis of the command itself.

Thanks for the interest in my idea,
Andrea

> Andrea,
> 
> There's already a few different ways to achieve what you want:
> 1 - Allow toolbars, and add your favorite actions on the toolbar - this
> adds the "favorite visibility" that I believe it's what you are looking for.
> 2 - Use `ctrl + alt + i` to open a searchable list of menu entries in
> konsole (this is my personal favorite since I never remember in which level
> of depthness is the command I'm looking for)
> 3 - Use the `commands` plugin - albeit it's not exactly what you described,
> I feel that some of the things you want to do could be setup there (maybe?)
> 
> Please tell me what you think.
> Best,
> Tomaz
Comment 5 tcanabrava 2023-05-22 07:12:10 UTC
Created attachment 159179 [details]
attachment-2881454-0.html

Hello Andrea,

Because you only have the ssh plugin, that means you are running a quite
old version of Konsole - it was the first plug-in I made as a proof of
concept that the idea would work.

Is there any chance you can update your version to get the quick commands
plug-in? I believe it will solve most of the issues.

As for a way to add a favorite menu, this wouldn’t be done on Konsole but
on the “kxmlgui” framework, in a way that all kde applications can benefit
from.

Best


On Sun, 21 May 2023 at 16:38 Andrea <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=470040
>
> --- Comment #4 from Andrea <canerandagio1983@gmail.com> ---
> Happy to hear you Tomaz.
>
> 1) Yes, this is what I thought first.
>
> I imagined using Konsole's menu, maybe a menu item before "help", by
> clicking
> the item I saw the descriptions of the commands that I use most often or
> that I
> wanted to save for rapid use.
>
> 2) I tried to use `ctrl + alt + i 'but I did not find help in looking for
> the
> command I wanted, I did not understand if this feature is already
> implemented
> for the Shell commands.
>
> However, it could be a good choice to adopt a system similar to this,
> maybe it
> would be appropriate to separate the Shell commands from those that are
> already
> in this functionality, like closing a card.
>
> 3) I found no other plugins apart from the "ssh manager".
> Are there any others? I did a quick search but I didn't find anything else.
>
> The use of the plugin to implement this feature would be another solution,
> perhaps by pressing a shortcut could appear a menu on the right or left
> with
> the favorite clutches of the Shell, perhaps it is even better than my first
> idea.
>
>
>
> I was thinking of a list of alphabetically ordered commands, or a command
> list
> organized by categories but while maintaining an alphabetical order within
> each
> category.
> In reality, the list shows the description of the command for example
> "Ubuntu
> Version" while the command that will launch in the shell is "lsb_release
> -a".
>
> Or the choice to use a search bar, as I said just a little more, could be a
> better solution. But I believe the research must also be done on the basis
> of
> the description of the command, not only on the basis of the command
> itself.
>
> Thanks for the interest in my idea,
> Andrea
>
> > Andrea,
> >
> > There's already a few different ways to achieve what you want:
> > 1 - Allow toolbars, and add your favorite actions on the toolbar - this
> > adds the "favorite visibility" that I believe it's what you are looking
> for.
> > 2 - Use `ctrl + alt + i` to open a searchable list of menu entries in
> > konsole (this is my personal favorite since I never remember in which
> level
> > of depthness is the command I'm looking for)
> > 3 - Use the `commands` plugin - albeit it's not exactly what you
> described,
> > I feel that some of the things you want to do could be setup there
> (maybe?)
> >
> > Please tell me what you think.
> > Best,
> > Tomaz
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 6 Andrea 2023-05-22 10:47:56 UTC
Hi Tomaz,

I updated Kubuntu to 22.10, now Konsole has the extension you were talking about. 
I think it goes well as functionality, I just tried some commands and it is functional for me.

Thanks, Andrea

> 
> Hello Andrea,
> 
> Because you only have the ssh plugin, that means you are running a quite
> old version of Konsole - it was the first plug-in I made as a proof of
> concept that the idea would work.
> 
> Is there any chance you can update your version to get the quick commands
> plug-in? I believe it will solve most of the issues.
> 
> As for a way to add a favorite menu, this wouldn’t be done on Konsole but
> on the “kxmlgui” framework, in a way that all kde applications can benefit
> from.
> 
> Best
Comment 7 tcanabrava 2023-05-22 11:15:53 UTC
Created attachment 159184 [details]
attachment-2894194-0.html

Ah, that makes me happy :)
can you close the bug now?

Best regards -Tomaz

On Mon, May 22, 2023 at 12:48 PM Andrea <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=470040
>
> --- Comment #6 from Andrea <canerandagio1983@gmail.com> ---
> Hi Tomaz,
>
> I updated Kubuntu to 22.10, now Konsole has the extension you were talking
> about.
> I think it goes well as functionality, I just tried some commands and it is
> functional for me.
>
> Thanks, Andrea
>
> >
> > Hello Andrea,
> >
> > Because you only have the ssh plugin, that means you are running a quite
> > old version of Konsole - it was the first plug-in I made as a proof of
> > concept that the idea would work.
> >
> > Is there any chance you can update your version to get the quick commands
> > plug-in? I believe it will solve most of the issues.
> >
> > As for a way to add a favorite menu, this wouldn’t be done on Konsole but
> > on the “kxmlgui” framework, in a way that all kde applications can
> benefit
> > from.
> >
> > Best
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 8 Andrea 2023-05-22 14:04:52 UTC
Sorry for the wait but I had problems with the update, ok I close the request for feature

Andrea

> Ah, that makes me happy :)
> can you close the bug now?
> 
> Best regards -Tomaz
Comment 9 Andrea 2023-05-22 14:05:14 UTC
Solved