Telegram is installed as telegram-desktop from the snap store
Result:
rogier@rogier-HP-Elite-x2-1011-G1-Tablet:~$ telegram-desktop
Command 'telegram-desktop' is available in '/snap/bin/telegram-desktop'
The command could not be located because '/snap/bin' is not included in the PATH environment variable.
telegram-desktop: command not found
rogier@rogier-HP-Elite-x2-1011-G1-Tablet:~$ /snap/bin/telegram-desktop
/snap/telegram-desktop/233/bin/desktop-launch: line 183: /home/rogier/snap/telegram-desktop/common/.config/user-dirs.dirs: No such file or directory
cp: cannot create regular file '/home/rogier/snap/telegram-desktop/common/.config/': Not a directory
/snap/telegram-desktop/233/bin/desktop-launch: line 186: /home/rogier/snap/telegram-desktop/common/.config/user-dirs.dirs.md5sum: No such file or directory
/snap/telegram-desktop/233/bin/desktop-launch: line 186: /home/rogier/snap/telegram-desktop/common/.config/user-dirs.locale.md5sum: No such file or directory
This application failed to start because it could not find or load the Qt platform plugin "wayland"
in "".
Available platform plugins are: xcb.
Reinstalling the application may fix this problem.
Telegram[0x976f05]
Telegram[0x97748c]
Telegram(_ZN15google_breakpad16ExceptionHandler12GenerateDumpEPNS0_12CrashContextE+0x382)[0x1532602]
Telegram(_ZN15google_breakpad16ExceptionHandler12HandleSignalEiP9siginfo_tPv+0x1c3)[0x15321dd]
Telegram(_ZN15google_breakpad16ExceptionHandler13SignalHandlerEiP9siginfo_tPv+0x1ab)[0x1531ef5]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f43d7d50390]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f43d748b428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f43d748d02a]
Telegram[0x22968a7]
Telegram[0x1e7b2a8]
Telegram[0x1e7b2e5]
Telegram[0x2469a65]
Telegram[0x1e7c8bf]
Telegram[0x1b3a249]
Telegram(_ZN11ApplicationC2EN3gsl8not_nullIPN4Core8LauncherEEERiPPc+0x3a)[0x1391e4a]
Telegram(_ZN4Core8Launcher18executeApplicationEv+0x8e)[0x99542e]
Telegram(_ZN4Core8Launcher4execEv+0x47)[0x995557]
Telegram(main+0x32)[0x8272f2]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f43d7476830]
Telegram(_start+0x29)[0x83dee9]
Aborted (core dumped)
Action: open telegram desktop from terminal
Telegram is installed as telegram-desktop from the snap store
Result: rogier@rogier-HP-Elite-x2-1011-G1-Tablet:~$ telegram-desktop Command 'telegram-desktop' is available in '/snap/bin/telegram-desktop' The command could not be located because '/snap/bin' is not included in the PATH environment variable. telegram-desktop: command not found
rogier@rogier-HP-Elite-x2-1011-G1-Tablet:~$ /snap/bin/telegram-desktop /snap/telegram-desktop/233/bin/desktop-launch: line 183: /home/rogier/snap/telegram-desktop/common/.config/user-dirs.dirs: No such file or directory cp: cannot create regular file '/home/rogier/snap/telegram-desktop/common/.config/': Not a directory /snap/telegram-desktop/233/bin/desktop-launch: line 186: /home/rogier/snap/telegram-desktop/common/.config/user-dirs.dirs.md5sum: No such file or directory /snap/telegram-desktop/233/bin/desktop-launch: line 186: /home/rogier/snap/telegram-desktop/common/.config/user-dirs.locale.md5sum: No such file or directory This application failed to start because it could not find or load the Qt platform plugin "wayland" in "".
Available platform plugins are: xcb.
Reinstalling the application may fix this problem. Telegram[0x976f05] Telegram[0x97748c]
Telegram(_ZN15google_breakpad16ExceptionHandler12GenerateDumpEPNS0_12CrashContextE+0x382)[0x1532602] Telegram(_ZN15google_breakpad16ExceptionHandler12HandleSignalEiP9siginfo_tPv+0x1c3)[0x15321dd]
Telegram(_ZN15google_breakpad16ExceptionHandler13SignalHandlerEiP9siginfo_tPv+0x1ab)[0x1531ef5]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f43d7d50390]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f43d748b428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f43d748d02a]
Telegram[0x22968a7]
Telegram[0x1e7b2a8]
Telegram[0x1e7b2e5]
Telegram[0x2469a65]
Telegram[0x1e7c8bf]
Telegram[0x1b3a249]
Telegram(_ZN11ApplicationC2EN3gsl8not_nullIPN4Core8LauncherEEERiPPc+0x3a)[0x1391e4a]
Telegram(_ZN4Core8Launcher18executeApplicationEv+0x8e)[0x99542e]
Telegram(_ZN4Core8Launcher4execEv+0x47)[0x995557]
Telegram(main+0x32)[0x8272f2]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f43d7476830]
Telegram(_start+0x29)[0x83dee9]
Aborted (core dumped)