Yes, you are right - removing the local .desktop file "activated the global" .desktop file, which made it visible in the menu.
On Fri, 4 Oct 2019, 16:31 Mattia Rizzolo, <mat...@mapreri.org> wrote: > anything regarding /opt/ definitely comes from unofficial packages. > Also, just installing packages must not touch anything in a user's home. > > About the "install hooks" you are referring about, just know that > comparatively, very few packages have them, and nowadays they are mostly > frowned upon as bugs in those can easily cause severe issues, and > sometimes weird situations, so there is a tendency to move to other > solutions. Telegam-desktop is a very simple application once built, so > it doesn't have any reason to have "hooks" (which are called "maintainer > scripts", btw). > > So from what I gather, yours is a local configuration issue: the > .desktop file in your home conflicted with the system one in > /usr/share/applications/, and your desktop environment prefers the one > in the home (correctly so), but since it refers to something non- > existing it doesn't display what would be a broken icon. In a situation > like this, indeed renaming the .desktop file in /usr would fix the > situation as then the two wouldn't conflict anymore. > > In such case, there really is nothing a package in the archive can do, > as by policy it can't touch stuff in the user's home upon installation. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1715185 > > Title: > No menu entry to start Telegram > > Status in telegram-desktop package in Ubuntu: > Confirmed > > Bug description: > I haven't been able to test this in the standard Ubuntu release > desktop (the new Gnome variety), but there is no entry in any of the > available menu tools in Ubuntu MATE 17.10 (latest beta). It also > doesn't show as a running application in any of the panels or Mutiny > Dock (on the Mutiny panel arrangement for MATE). It only shows in the > 'tray' at the top right of the screen. The only way to start it seems > to be to open a terminal and use 'telegram-desktop &'. > > ProblemType: Bug > DistroRelease: Ubuntu 17.10 > Package: telegram-desktop 1.1.19-1build1 > ProcVersionSignature: Ubuntu 4.12.0-12.13-generic 4.12.8 > Uname: Linux 4.12.0-12-generic x86_64 > ApportVersion: 2.20.7-0ubuntu1 > Architecture: amd64 > CurrentDesktop: MATE > Date: Tue Sep 5 16:36:21 2017 > ExecutablePath: /usr/bin/telegram-desktop > InstallationDate: Installed on 2017-06-16 (80 days ago) > InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Release amd64 > (20170412) > SourcePackage: telegram-desktop > UpgradeStatus: Upgraded to artful on 2017-09-01 (3 days ago) > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/telegram-desktop/+bug/1715185/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1715185 Title: No menu entry to start Telegram To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/telegram-desktop/+bug/1715185/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs