xfce4-terminal patch

Randy Chung aoshi at OCF.Berkeley.EDU
Thu Aug 5 09:32:49 CEST 2004


Biju Chacko wrote:
> 
> I guess I wasn't very clear. I meant was it would be better to use the
> xterm escape seq to title each tab, rather than a generic name like
> Tab1, Tab2, etc.
> 
> -- b
> 

Are you suggesting a method for automatic tab name generation, or 
renaming the tabs after they've been created?

If the former, doesn't the xterm escape seq require input from the user? 
  That is, the user would have to input a new name for a tab as soon as 
it opens, wouldn't he?  A problem I see with that is sometimes you don't 
need names, e.g. when you've only got two tabs open since it's hard to 
confuse the two.  On the other hand, if it doesn't require any user 
input and thus could be automated, then it goes back to the issue I 
mentioned in an earlier post where the label would have to be at once 
short enough to fit multiple tabs, yet still descriptive enough to 
actually have some use.

If you're talking about the latter, there already is a way (two, 
actually) to rename the tabs: either via the Tabs menu, or through the 
default accel key Ctrl+R.  I'm not sure how easy it would be to change 
the accel key to the xterm seq instead; GTK's setup for accel keys 
doesn't allow for that very readily.  Combinations of Ctrl, Alt, and 
Shift are the ones most easily used with GTK, and keeps the code easy to 
read (just peek through the menu generation code, GTK makes it so simple 
I feel like I'm cheating)

Hopefully I've somehow gotten your idea this time :)

--

Randy



More information about the Xfce4-dev mailing list