Guake / guake

Drop-down terminal for GNOME
https://guake.github.io
GNU General Public License v2.0
4.42k stars 574 forks source link

Custom commands menu - tray menu icon #1337

Open Krzysztofci opened 6 years ago

Krzysztofci commented 6 years ago

Can you add custom commands menu to tray menu icon? I'm asking because the guake-indicator does not work with new versions of guake. The guake-indicator has not been updated for a long time. I am currently in the process of rewriting my commands to the custom-comands.json file. It would be nice to be able to run commands and scripts from the system tray.

If you are interested in this improvement, vote: https://feathub.com/Guake/guake/+28 Best regards Krzysztof

gsemet commented 6 years ago

Look feasible. Not sure if it make sense when guake is hidden, since it might not send the command to the right terminal.

I never used it myself, can you describe what do you use it for ?

Krzysztofci commented 6 years ago

I had added system autoupdate scripts to the guake-indicator (without having to update / upgrade), to change system settings, change resolutions, stop screen blanking and much more. In commands, I had a set of applications to monitor the system, or scripts to search documentation in gui zenity (in this way I am better able to read). Such a small multitool. Generally, I have not moved all this to custom-commands.json, but below I will paste the link to the sample scripts as well as the guake-indicator.json configuration file. https://bitbucket.org/krzysztofci/own/src/ee7a77f040bfd06422e68beb4c9b42c350cc3429?at=master https://bitbucket.org/krzysztofci/own/commits/e7d8b8a6e86e2c63329356b92bf1e96d544b69e3 In fact, many of these commands do not require showing the terminal. The guake-indicator gave the possibility of not showing the terminal, sending a command to the active card or a new one. In general, this is a very useful thing and I will be very grateful if it can be implemented.

Regards

Krzysztofci commented 6 years ago

Thank you very much :) Krzysztof

Ozzyboshi commented 6 years ago

guake indicator has been updated to work with guake3, see

https://github.com/Ozzyboshi/guake-indicator/commit/6899ee202366efc91d0b5ac4f5c3fdf43120915c

The new version (1.3) accepts a new argument, -guake3, and connects to guake3 rather than guake 0.8

You want find guake indicator 1.3 on official ubuntu/debian repositories since I don't have a sponsor to upload the new version

Krzysztofci commented 6 years ago

The strange situation came out, so I apologize for the confusion, but I was looking at the project website and after downloading the allegedly the latest sources I saw in the changelog: "2014-12-31 Alessio Garzi gun101@email.it

1.1 release with "open in selected tab" option added " So I doubted whether the program is still being developed. This version is also available in ubuntu 18.04. Therefore, adding this functionality to the guake should be left to the author of the project. Regards Krzysztof

Ozzyboshi commented 6 years ago

Guake indicator is written by me, where did you find the changelog?

Krzysztofci commented 6 years ago

I found Changlog in the file from the page: http://guake-indicator.ozzyboshi.com specifically is a link to these sources: http://guake-indicator.ozzyboshi.com/sources/guake-indicator_1.1.tar.gz There is also a changelog there. The site has been seen for a long time and has not been updated and is causing a little confusion. Well, unless it's not the official website of the project? BTW: 1.3.1 compiled, there is no tray menu icon.

Ozzyboshi commented 6 years ago

Yes, the official website is not updated yet with the latest release, I will do it very soon. In addition I found a sponsor to update the debian depository. The tray icon issue is strange... the base code is always the same. Did you get some errors running from shell?

gsemet commented 6 years ago

Hi Ozzyboshi! Glad to hear that :) do you think this sponsor can also takes care of guake ? It is no more updated on the Debian repositories, sadly :(

Ozzyboshi commented 6 years ago

When guake indicator will be ready I will ask him to review guake and upload them both if you want

Krzysztofci commented 6 years ago

Ozyyboshi I do not have any message after running the 'guake-indicator -guake3' command. I will report to you on your github with this problem. I am glad that thanks to this thread something interesting may arise. Best regards and thank you both. :)

Ozzyboshi commented 6 years ago

@Krzysztofci has solved his issues with guake-indicator, this issue can be closed unless you are really planning for a guake-indicator integration within guake. No answer from the guake-indicator debian sponsor regarding guake3 yet. I will try again