Commit Graph

9 Commits

Author SHA1 Message Date
Nate Graham dad1f196ba Mark as single-instance using X-GNOME-SingleWindow key
Telegram is a single-instance app; attempting to open a second instance
fails and simply focuses the existing instance. However the app's
.desktop file does not indicate this to Linux desktop shells like GNOME
and KDE Plasma, causing them to show a "Start new instance/Open new
window" action for the app that will not work when used.

This commit fixes that by setting `X-GNOME-SingleWindow=true` in the
desktop file. This is a GNOME-specific key, but it is honored in KDE
Plasma too.
2021-12-27 17:47:48 +04:00
Ilya Fedin e92ae40ecb Implement close to taskbar option 2021-09-13 17:46:53 +03:00
Ilya Fedin 05eabfd539 Add autostart support for linux 2020-01-28 16:44:27 +03:00
annymosse 8a888051e5 Proposal:Add Chat category
add Chat category for more classification and will appear under Chat category on Deepin distro
2019-12-29 18:01:40 +03:00
Kirill Romanov 496c361bdc Gnome notification fix (#5215)
* Set notification desktop entry hint

* Set X-GNOME-UsesNotifications flag
2018-11-08 14:58:04 +04:00
Marco Trevisan (Treviño) dcb748c544 destkop: add keywords stanza
They are used by mayor desktops to search through apps.

Remove this modification from snapcraft
2018-11-06 09:50:59 +04:00
Nicholas Guriev 2e6c15ff9d Update .desktop file on Linux (#3109)
What has been done:

 * Removed deprecated Encoding key
 * Specified correct WM class for StartupWMClass key
 * Fixed icon name

I also fixed restarting when language is changed and there is no Updater

Signed-off-by: Nicholas Guriev <guriev-ns@ya.ru> (github: mymedia2)
2017-03-23 18:00:21 +03:00
Jerome Leclanche 3f37416e50 Remove nonexistant MIME type from desktop file
x-xdg-protocol has never been a way to bind to a schema in XDG.

Signed-off-by: Jerome Leclanche <jerome@leclan.ch>
2016-04-20 21:17:37 +03:00
Hugo Osvaldo Barrera 3a919628b3 Include some reference XDG files
Include a .desktop file (for app menu in xdg-complaint desktops), and
tg.protocol (for having xdg-complaint apps pick up the tg: protocol).

Signed-off-by: Hugo Osvaldo Barrera <hugo@barrera.io> (github: hobarrera)
2016-02-19 18:09:19 -03:00