Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Whenever I open a terminal in Ubuntu, it does not appear in the launcher, as depicted in the following screenshot.

It doesn't even show up when I press Alt+Tab! Is this a bug? Is there a known solution?

screenshot where the unity dock does not show the open terminal

share|improve this question

4 Answers 4

up vote 1 down vote accepted

Yeah, it is a bug of some systems. Read it here. Maybe there can be other work around to it. I will post it tomorrow, if that is so.
Maybe the weather applet is causing the problem. If then, just give a try to cut the weather applet from the conf file under .config/cairo-dock/current_theme everything may work fine.

share|improve this answer
    
Thank you. But the bug link does not explain why it does not appear in the Alt+Tab windows. Are they related? –  Hosam Aly May 3 '12 at 12:42
1  
Just try to look here, maybe this could explain or take you somewhere. I got interested for what they quoted:<br> Hit Super+W, This works and is currently the only way to switch to calibre, for me. –  ashutosh May 3 '12 at 12:48

I had the same problem. The terminal did not show up in the Laucher or when using Alt+Tab. This was after migrating my Ubuntu 12.04 installation to a new laptop.

Solution: Uninstall gnome-terminal using Ubuntu software center and re-install it right afterwards.

share|improve this answer

I was having similar problems. I couldn't consistently get the terminal to show up in the dock, and even if it did, it might not show up via Alt+Tab, or clicking the icon might not do anything or might create a new terminal window rather than switching to an existing one. Here's how I finally managed to "fix" it:

  1. Create an executable shell script file containing just the following:

    #!/bin/bash
    gnome-terminal
    
  2. Create a .desktop file linked to that shell script; I did this by running gnome-desktop-item-edit /usr/share/applications/gterm.desktop from inside a terminal window (you need the gnome-panel package; if you need further instructions, you should be able to find them by Googling "gnome-desktop-item-edit").

  3. Open the directory containing the .desktop file, and run it by double-clicking. (You might need to first make sure you don't have any terminal windows open.) You should see an icon for it appear in the dock. Right-click on that icon and select "Lock to Launcher".

You should now have a properly working dock icon for your terminal. Apparently the fact that it's running a shell script, rather than running the terminal command directly, gets around whatever was causing the problems.

If anyone has a cleaner solution, I would love to see it. But unless and until that happens, I hope this method can at least help people get things working properly on the surface.

EDIT: After going through all this, I did something that required a reboot. After the reboot, there was an icon for the actual Terminal in the dock, in addition to the one for the shell script I had created. Both icons seem to work how I would want them to, so I've deleted the shell script one. So a reboot might be all that's needed. I'll leave the shell script method here in case anyone can't get this working just by rebooting.

share|improve this answer

I had the same problem when I uncommented the three blocks under the /* notebook */ tag in

/usr/share/themes/Ambiance/gtk-3.0/apps/gnome-terminal.css

to fix another bug(1).

I've fixed this problem restoring such file, clicked over terminal icon (on the dock) when it restarted and clicked on "Keep on the launcher".

I uncommented again the same blocks and it works.

share|improve this answer

protected by Community Oct 5 '12 at 8:23

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.