indicator-sysmonitor icon indicating copy to clipboard operation
indicator-sysmonitor copied to clipboard

Clickable results label:enhancement

Open uudruid74 opened this issue 11 years ago • 4 comments

What do you think about adding a way to add a second script name that runs when you click or right-click the indicator? Then you could have your scripts not only generate the proper warnings and such, but you could launch the correct tool to manually fix the issue with a click.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

uudruid74 avatar Sep 09 '14 03:09 uudruid74

When you say "click or right-click the indicator" do you mean the indicator icon? If so, Ubuntu treats the left and right click as the same thing. Also, Ubuntu does support middle click, but other Ubuntu derivatives (Lubuntu/Xubuntu) do not.

Bernmeister avatar Sep 09 '14 04:09 Bernmeister

Well, either the text displayed or an icon representation. Basically, the idea is to take a "passive" display and be able to make it "active". Handling both left+right clicks the same is sort of annoying (is the world really unable to handle more than 1 button?), but a single click could be enough. I suppose thats currently used to get the configuration interface - that could be a control-click maybe or the default action when no handling is installed.

I'm probably going to just write a cairo-dock plugin for what I have in mind (only recently looked into it) since I use cairo-dock for everything and its scripting API seems really simple and it already does what I need. It seems better than trying to shoe-horn features into the indicators.

--Evan

uudruid74 avatar Sep 09 '14 04:09 uudruid74

Ubuntu Unity, by design, treats the left and right click as the same thing when clicking on an indicator icon (including the text). The only exception is the middle click which could be used to launch some auxiliary script I suppose.

Bernmeister avatar Sep 09 '14 04:09 Bernmeister

I think that could still be quite useful

uudruid74 avatar Sep 09 '14 04:09 uudruid74