[SOLVED] Reverting Guake terminal tab names back to 'Terminal #'

The new version of Guake (0.4.3) implemented 'Better Tab Titling'.  This means that instead of a new tab name being 'Terminal #' (where # is an auto incrementing integer), it instead forced the title to be equal to the VTE prompt.
My issues were that there was no way to set a preference to switch back (as I prefer the simple tab name) and that tab names could/would take a very large amount of space (as it would put my whole username@server:/path/to/where/i/am/at).
So   I figured out how to fix and thought I'd share in case anyone else would like to switch back:
NOTE:  I believe python is spacing-sensitive (please correct me if I'm wrong).  All the lines (added/edited) are indented 8 spaces.
edit /usr/bin/guake
find: self.selected_tab = None
after that line, add:
        # holds the number of created tabs. This counter will not be
        # reset to avoid problems of repeated tab names.
        self.tab_counter = 0
find: def on_terminal_title_changed(self, vte, box):
after that line add:
        return
find: Adding a new radio button to the tabbar
the next line will read:
        label = box.terminal.get_window_title() or _("Terminal")
change to:
        label = box.terminal.get_window_title() or _('Terminal %s') % self.tab_counter
find self.tabs.pack_start(bnt, expand=False, padding=1)
after that line add:
        self.tab_counter += 1
After editing the file, restart Guake for the change to take effect.
Beemer

I have been using Guake for years and I think the tab bar is in the way. I disabled it a very long time ago and didn't look back.
Here are the shortcuts that I use:
"~" to toggle it.
Ctrl+T for a new tab (just like in Firefox, Chromium).
F1 and F2 for next and previous tab.
F3 close tab.
Basically, I don't need more than two tabs at a time; three tops, in very rare cases.
Hope it helps.

Similar Messages

  • Terminal Tab Names (SSH host)

    I am trying to change the termnal tabs to show the remote hostame that I am connecting to with SSH. I have tried a few exports, and have not found the one that will provide the remote hostname in the tab.

    Here's a solution that might work.
    Open a terminal window and edit your bash profile:
         pico ~/.bash_profile
    In the profile, add the following function:
         function tabname {
              printf "\e]1;$1\a"
    Save and quit the editor (control-o, control-x), and then create a new bash session. Now when you type the following command you can change the name of the tab:
         tabname NAME
    (credit to The Lucid for this: http://thelucid.com/2012/01/04/naming-your-terminal-tabs-in-osx-lion/)
    With this setup, you can add this command before your ssh command in the following manner:
         tabname NAME; ssh username@host
    You can also script this behavior in the following manner. First create a script called "myssh.sh" or something similar, and then add the following to it:
         !#/bin/bash
         printf "\e]1;`echo $1 | sed -Ee 's/^.+\@//'`\a"
         ssh $1
         printf "\e]1;bash\a"
    When you run the script, use it as a replacement for the ssh command (if you need to add arguments, then encase them in quotes or escape the spaces between them). For example, see below:
         ./myssh.sh "-p 22 [email protected]"
         or...
         ./myssh.sh -p\ 22\ [email protected]
    If there are no arguments then you can simply use the following:
         ./myssh.sh [email protected]
    One issue with this script is that if you cancel the connection or otherwise kill the command without doing so cleanly, then the script will halt and leave the name of the tab as the hostname. The last line of the script should rename the tab back to "bash" when done if the ssh session exits cleanly and allows the script to continue.

  • Why does right-click & "Open Link in New Tab" make the original tab name to change to "New Tab" when I back-arrow in the original tab to reach the original page

    I use Google as my home page.
    When I do a search in Google I have a practice of opening the search links in a new tab by right-clicking on the link and selecting "Open Link in New Tab". That way I can examine multiple links from the search page, which is now open in the first tab.
    The problem that occurs is that when I use the back-arrow in the Navagation bar to return the first tab to its original page, I find the tab name of the original page to be "New Tab" rather than "Google" and I have to click on the "Reload current page" in the Navigation bar to return the tab name to "Google".
    I'm using Firefox-25 on a Linux-Mint 64-bit platform with KDE-4.9.5.

    The problem is just with the name of the tab, not with the contents of the page -- the page looks normal??
    I ask about the page because Firefox 23 seems to have introduced a problem with Firefox's "fast back-forward cache" on the Google search results page. It is related to the "instant prediction results" feature interacting with Firefox is some different way. (More in this thread: [https://support.mozilla.org/en-US/questions/970863?page=2#answer-485663])
    Might be related. Not sure.

  • Setting tab name in Terminal

    The tabs in terminal show the current shell. Is there a way to change the tab name to something else?

    sudo scutil --set HostName whatever-you-want
    If that doesn't work, the hostname is being set to the result of a reverse lookup of your IP address on a local DNS server, most likely your gateway.

  • [SOLVED] Naming terminator tabs by the command currently running

    I want terminal tabs to each have names of a command that is currently being run in each one. If a tab is "idle" (no command running) the tab name I want is $PWD.
    I found a way to name it $PWD, yet I have no ideo how to set it in case a command is running. Terminator (by default) is set to represent itself to system as xterm.
    I always have atleast 3 tabs open, and I just want to avoid the confusion.
    EDIT:
    I use zsh as default shell.
    Last edited by bstaletic (2014-05-12 21:26:39)

    A more simple approach is described here: http://stackoverflow.com/questions/2072 … t-with-zsh

  • How to customize Terminal Tabs

    I am a long time iTerm user. I was able to configure the Window Title and tab with the following in my .bashrc file:
    PS1=$'\[\033]2;\u::$PWD\[\007\]\[\033]1;$(basename $(dirname $PWD))/\W\[\007\]$ '
    I am have run into several issues with the latest iTerm and Leopard Spaces - most notably if I open a few tabs, going back to the space with iTerm in progressively spins the wheel longer and longer until I have to restart iTerm.
    So I would like to use Terminal and it's new tab feature but I haven't been able to program the text in each tab like I could in iTerm. I am not sure how showing 'bash' in each tab is useful. The above bash script would put the full path in the Window Title and a partial path (2 folders) in the tab.
    Any help would be appreciated.

    Hi!
    Googleing for some "bash xterm title bar setting", I found some stuff (in italian..) and I made some tests....
    BTW this works!
    PS1='\u@\h:\w\$ \033]2;${USER}@$(hostname):${PWD}[\007]'
    This sets first your local promt to "username@serrvername:localdir", then sets the Terminal Title bar to "USER@Hostname:PWD"
    As usual it may slightly change, depending to the bash you're running.
    Marco

  • Terminal tabs disappear

    I use always open Terminal with some scripts running in parallel, and specific command history what I need frequently, for that it has great tab functionality. I really like that I can rename them to my processes.
    But it has appeared several times that after some time - I assume after standby cycles, or dock/undock tab row on top of Terminal just disappears. I can still select next/previous tab using menu or shortcuts, and open new tabs, but the tab bar is gone. Tab bar is ok on new Terminal window, but this looses my state (long-running processes, history, folders) from the other Terminal window.
    It seems to be just a bug in the latest Lion, should I post it to bug system?

    You can drag a tab off of the Terminal.app session to create a separate window, if that's what is happening to you marauder37.  Dragging the tabs on the windows back to the tab bar on one Terminal.app window works to restore those, though merging the tabs into a window is easier.  But if the tab bar is disappearing entirely (as the OP describes), then AFAIK there's something odd going on with the settings, the groups, etc.  Certainly worth a try to get the tabs back, but it still seems like there's a bug here.

  • Why is the tab name showing the old file type when I try to download a pdf from our wordpress sites?

    We have two wordpress sites. On each site we have uploaded some pdf files that viewers can download. I noticed that when you try to download a pdf file the tab name that appears when you click "Download" is not the same as the filename. For instance: when I try to download a pdf file titled "Weekly Retail Skeptic". In firefox - the tab name will say "Microsoft Word - Note_2013_0523_Skeptic - Note_0523_Skeptic.pdf". It seems like the browser is reading what the file was before it was converted to a pdf.
    I have tried both "print to pdf" in word as well as converting the word document to a pdf document using Acrobat.

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Tab Name - What is going on?!

    Hi there,
    I'm having trouble with changing the tab name, it displays "Charle Fried" instead of "Charles Fried".
    I've tried changing the tab name in the page properties and adding a title prefix but nothing seems to work, any ideas?
    Thanks,
    Charles
    Edit: It only displays the wrong title when using the redirection link.

    You can only use funds in your paypal account balance if you have a verified back up credit card linked to your paypal account as well.

  • Changed Tab name is showing old name some times

    Hi Friends,
    I had successfully changed the enhanced tab name from the screen painter using translation and it also reflected in the transaction.
    When i am going to another tab within the same screen, changed tab name <b>'Safety Inf'</b> is again getting changed to old name <b>'Enhancemnt'</b>. when i go back again to the enhanced tab, again my changed name is coming as <b>'Safety inf'</b>.
    User doesn't like this...
    What could be the reason? any body has idea?
    Regards,
    Satish

    Hi,
    Nobody has any idea about this?
    Regards,
    Satish

  • Tab name change in Puchase Order

    Hi,
    We have added some fields to Purchase Order Customer Sub screen. This added a new tab called "Customer Data" to the transaction. Now I want to change this tab name to something else. Please let me know how can I do that.
    There is a similar thread where it was solved but no information on how to do that.
    Re: How to change  "Customer Data" tab name to some other text in PR(ME52N)?
    Thanks

    Hi
    If you are using the BADI 'ME_GUI_PO_CUST'. then in "IF_EX_ME_GUI_PO_CUST~SUBSCRIBE".
    Assign ls_subscriber-label = Tab Name.
    http://wiki.sdn.sap.com/wiki/display/ABAP/DetailedexplanationaboutBADIandthewaystofindtheBADIwithanexample%28ME23n+transaction%29
    If you are using the customer exit method then, goto SE38 and enter the program name SAPLXM06 (This can be modified for certain change) and select the logon language changes
    goto Text elements, enter 101 as text id and enter the details,
    and also enter text id 111, and enter the same details
    Save and Activate.
    Note : If you maintain the original language and maintain the text elements, then you will not get the changes in tab. So keep this in mind and change.
    I have maintained like this in my system
    101     Test
    111     Test
    To check whether the tab text is correct or not, set a break point in program LMEGUIU06 on line no 316 and check.
    Shiva

  • Group tabs name no longer displays in taskbar

    I just updated Firefox again to 11.0. Before the previous update, all my group tab names would appear in the taskbar, also at the upper left after the Firefox symbol. Now they don't, just whatever tab happens to be up in that group, but the group is still named. How do I get it to work so that the tab groups name appears in the taskbar rather than the name of the page that was last looked at?

    I have a similar problem. My Group Tab Names would appear as the name in the window title bar (I don't need the name of the tab as I have the tab for that), but after the latest update the Group Tab Name does not display as the window name (the current tab name is the title of the window) and I have to go digging for my Group Tab Names. This is a really pain that I lost the nice feature of finding the Group Tab using the window title. I hope some how we can get this back.

  • To wrap the tab name

    This thread is the continuation of my previous threads.
    Tab name to be wrapped :Tab Name to be wrapped
    Portalcontent:portalcontent.css
    My requirement is to wrap the tab name
    I got a good suggestion from Evgeniy that the tab class has to found and white-space property of that class has to be changed in portalcontent.css.
    Im very much poor in editing the CSS files.I started playing around and ended with failure.My dashboard pages turned full grey color.
    Then with the help of Saichand I replaced the original portalcontent.css and got back the original dashboard back.
    Can anyone please help me by giving the actual tab class name to be added in portalcontent.css file.

    Sneha wrote:
    Kishore
    I need the exact class name of the dashboard tabs.
    Then I can set the white-space property for that particular class in portalcontent.css.
    there are only 2 places need to put normal instead of nowrap.
    why don't you try by placing that.. take backup before ur trials

  • Solution Manager Tab Name Change - is it possible

    Hi
    I am new to Slolution manager config. and would like to know if I can change the Tab name of the Solution manager where you have Tabls like Gen.Documentation, Proj. Documentation, Administartion etc.
    If we can change the names, then please let me know the cofig. steps.
    Thanks,
    Atul

    Hi Valdecir
    Thanks for the quick response.
    We are ready to maintain it but could you please let me know the proess / config to change the tab name.
    Thanks,
    Atul.
    Hi Atul,
    It is a matter of translation. As it is standard text if you change them, you will need to maintain the change log as they can revert on the next suppor package or upgrade.
    Regards,
    Valdecir

  • How to revert to old site name and link?

    I just created a disaster. I had several videos pages published and the ugly links are connected to an email autoresponder. I recently tried to clean up the title of the links from within iWeb by changing the default site name and the result was the URL for the links on each page were changed. Now the old links to the site doesn't work cuz the links are different cuz of the new site name. How can I revert back to the old name of the site so my old backlinks to the site work?

    Change the site name back to the original in iWeb and then republish the whole site.

Maybe you are looking for

  • How to find out which button is pressed in a form?

    I want to know which button (Insert, Update, Delete) the user has pressed in a form in Portal 9.0.2.3. My form is launched so that the ID column is fixed (and hidden). Unfortunately when user presses Insert, the value of the ID is lost. I have tried

  • ORA-01017 error in Database Configuration Assistant when installing Oracle

    I am installing Oracle 9i, 9.0.1.1, on an NT Workstation. When I get to the Database Configuration Assistant step, after the software has been installed, I get an error when the database is being created: ORA-01017 Invalid Username/Password; Login de

  • PO Document Approval manager

    Hi, What is the role of PO Document Approval manager???We have approval process only for Requisitions and not for purchase orders.Do we still need the PO Document Approval manger up and running??

  • Compare two arrays (greater-equal) has wrong result. Bug?

    Hallo, in my attached example (LX 8.2) i have three arrays which are displayed in the graph. As you can see the "Trace-plot" is below the "LowerLimit-plot". In the code i do a "Trace >= LowerLimit" which should have the result = FALSE because its not

  • Backlit keyboard for non backlit lapto

    Hey! I have HP 15 r014tx laptop. I want to replace its keyboard with backlit keyboard. Can you help? Where can I get that keyboard ?