Ticket #105 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

cannot invoke guake with command parameter

Reported by: rawfan Owned by: somebody
Priority: major Milestone: 0.5.0
Component: guake Version:
Keywords: terminal-emulator command ssh-menu Cc: zd.rawfan@…, paul@…

Description

Scenario: A lot of people use ssh-menu to manage their ssh-connections. Currently there is no way to use guake as a terminal emulator in ssh-menu because it cannot be started with a command as an argument.

Proposal: Introduce the parameter "-e" (for appending a command to be run in a new tab) and the parameter --profile (for defining a a specific bash profile which is sometimes necessary when using ssh-menu).

I think this should have a major priority for two reasons: a) it isn't hard to implement b) apps directly invoking the preferred terminal-emulator won't work with guake which leads to using two terminal-emulators at the same time which isn't the idea behind guake, I think.

Change History

Changed 3 years ago by rawfan

  • cc zd.rawfan@… added

Changed 3 years ago by lincoln

I loved your idea, I'll work on that soon.

Thank you for contributing!

Changed 3 years ago by pingou

  • milestone set to 0.5.0

Changed 3 years ago by lincoln

  • status changed from new to closed
  • resolution set to fixed

Done!

I added the '-e,--execute-command' parameter, so when launching guake, you can execute an arbitrary command.

To do it, I reworked guake dbus stuff. So, after guake is running you can call it with '-e' and the command will be executed in the first tab. But I think the better option should be the selected tab, don't you think the same?

Changed 3 years ago by paulgit

  • cc paul@… added

Thanks for implementing this, I find it extremely useful. I think the following options would be the ideal solution:-

(1) Open in selected tab (2) Open in new tab

In addition an option to name the tab at the same time would be useful.

What do you think?

Changed 3 years ago by rawfan

Hm.. not sure.. I think I'd go with "open in new tab". But thanks for implementing.. I'll write a quick fix for sshmenu now, so that I can use both of them together ;)

Note: See TracTickets for help on using tickets.