I don't think we know of a good way to fix this for Ubuntu 18.04 LTS. The "duplicate" .desktop was provided for upgrade compatibility reasons and will be dropped in Ubuntu 18.10. But we can't really drop it in Ubuntu 18.04 LTS because we want it to be there for the upgrade to finish there even for users who haven't upgraded to 18.04 LTS yet.
** Changed in: gnome-terminal (Ubuntu) Status: Confirmed => Triaged ** Changed in: gnome-terminal (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/1739263 Title: Gnome terminal always open new window in gnome shell Status in gnome-terminal package in Ubuntu: Triaged Bug description: How to regenerate: 1. Open dash and search for terminal 2. Click to open terminal 3. After opening a terminal window, open dash again and search for terminal 4. In gnome shell, icon doesn't show any indicator that another window of terminal is already running and click on the icon will create a new window Possible cause: Installation of gnome-terminal create two .desktop file in /usr/share/applications. (gnome-terminal.desktop and org.gnome.Terminal.desktop) Workaround: 1. Delete /usr/share/applications/gnome-terminal.desktop 2. Edit /usr/share/applications/org.gnome.Terminal.desktop and modify NoDisplay=true to NoDisplay=false ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: gnome-terminal 3.24.2-0ubuntu4 [modified: usr/share/applications/org.gnome.Terminal.desktop] ProcVersionSignature: Ubuntu 4.13.0-19.22-generic 4.13.13 Uname: Linux 4.13.0-19-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.6 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Wed Dec 20 01:04:16 2017 InstallationDate: Installed on 2017-10-26 (54 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gnome-terminal UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1739263/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp