Ticket #117 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

Ability to set interpreter to tabs.

Reported by: meastp Owned by: somebody
Priority: major Milestone: 0.5.0
Component: guake Version:
Keywords: interpreter, tab, python Cc: SnapShot, lincoln

Description

I sometimes develop in python, and the terminal is always open with both a bash shell, and the python interpreter. The ability to set interpreter e.g in the right-click menu for the tabs (current options: rename and close ) would be very much appreciated.

(I did not know what to set the priority to.)

Change History

  Changed 3 years ago by SnapShot

  • cc SnapShot added
  • version 0.3.1 deleted

This is one of the features I was planing to implement after 0.4.0 release. Now Guake is in the bug fixing stage for 0.4.0 release, and adding of new features is "blocked" to avoid introduction of new bugs.

  Changed 3 years ago by pingou

  • milestone set to 0.5.0

  Changed 3 years ago by lincoln

Humm, I think it is a good improvement, but there are some points to decide here.

This is how I think it should work

The option "General > Shell > Default interpreter" will be used only to define which shell will be used when tab is created? Another thing is that the recent added -t option will follow the new tab policy but we'll need to have an option to allow the user to choose another shell by the command line. Something like this:

$ guake -t /home/lincoln/Desktop -s /usr/bin/python

If called without -t, -s should define the default shell for that session, like this:

$ guake -s /bin/tcsh

After that command, all tabs added will fork tcsh as the shell, but the user will be able to change it by right clicking the tab. And '-s' option will NOT change default shell in GConf.

Please comment adding considerations about each point above.

  Changed 2 years ago by pingou

I think the idea was to be able to have different shell on different tab. example * tab 1 bash * tab 2 zsh * tab 3 python

It's especially true for shell since python can always be started from the shell directly

  Changed 2 years ago by pingou

  • cc lincoln added

hm, SnapShot? you said you wanted to implement this, do you have some time for it ?

Do we keep it for 0.5.0 ?

  Changed 2 years ago by meastp

Since I suggested this, I could elaborate a bit.

My personal rationale behind this idea was :

- to use python as a quick calculator/testing stuff during development. Especially during development, I usually have a bash/sh shell to compile/browse/run code with, and an interactive shell for testing.

Also, if one could script opening an additional python shell/tab on start up, it would maximize the availability of a handy python shell. Hence, a command line argument for this as well would be nice! :)

follow-up: ↓ 9   Changed 2 years ago by SnapShot

Hello guys! I was quite busy during last 7-8 months since I got a job.

I hope to find some time to work on Guake in following weeks, and I will hopefully implement this feature.

@lincoln, how are the plans for 0.5.0? Do we still plan on porting to gtkbuilder?

  Changed 2 years ago by pingou

Hi SnapShot?, Sorry for the delay, welcome back and happy new year :-)

The plans are to try to release a 0.4.1 soon with some bugfixes and keep major changes to 0.5.0.

I let Lincoln reply about gtkbuilder

in reply to: ↑ 7   Changed 2 years ago by lincoln

Replying to SnapShot:

Hello guys! I was quite busy during last 7-8 months since I got a job. I hope to find some time to work on Guake in following weeks, and I will hopefully implement this feature.

Hello there! Hope you're enjoying your new job! =D And we'll love to have you working with us again!

@lincoln, how are the plans for 0.5.0? Do we still plan on porting to gtkbuilder?

Indeed it is an issue, we have to work on it. but I didn't start it yet. I was a busy last months with my job too =/

Note: See TracTickets for help on using tickets.