Hi all
Using telegram with two accounts, I created two. desktop files with different names telegram 1 and telegram 2. At startup, both sessions are grouped to the telegram 1 icon.
Which should be added to the file configuration so that telegram 1 is on the telegram 1 icon, and telegram 2 is on the telegram 2 icon.
Hi.
No matter how many desktop files you create, it is possible that Telegram allows only one instance of it running. So when you launch the Telegram 2 when Telegram 1 is already there, it is automatically closed because “Telegram” is already available.
You may use multiple accounts feature of Telegram if you wish.
Applications are grouped depending on things like the application id set on the Wayland surface, or by the WM_CLASS set on the X11 window. That identifier is then mapped to the desktop file. Changing the desktop file is not enough: you also need to change the identifier on the application’s window, and that’s usually hard coded by the application itself.