Skip to content

Commit abc691b

Browse files
committed
Fix Telegram for Kubuntu 25.04 (again)
1 parent c65df89 commit abc691b

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

apt/install_software.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ apt install "${APT_PACKAGES[@]}"
4242

4343
echo "Installing Snap packages."
4444
snap install pycharm-professional --classic
45-
snap install telegram-desktop
45+
# Telegram snap does not work on Kubuntu 25.04
46+
# https://github.com/telegramdesktop/tdesktop/issues/29437#issuecomment-3131627645
47+
# snap install telegram-desktop
4648

4749
echo "Installing Flatpak packages."
4850
flatpak install flathub \
@@ -61,6 +63,7 @@ flatpak install flathub \
6163
org.blender.Blender \
6264
org.chromium.Chromium \
6365
org.ferdium.Ferdium \
66+
org.telegram.desktop \
6467
org.zotero.Zotero \
6568
tv.plex.PlexDesktop
6669

startup/agx-user-startup.sh

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,23 @@ if command -v flatpak >/dev/null 2>&1; then
5454
flatpak run com.mattermost.Desktop --hidden &
5555
echo "Starting Slack"
5656
flatpak run com.slack.Slack --startup &
57+
echo "Starting Telegram"
58+
flatpak run org.telegram.desktop -startintray &
5759
fi
5860

5961
if command -v signal-desktop >/dev/null 2>&1; then
6062
echo "Starting Signal"
6163
signal-desktop --start-in-tray &
6264
fi
6365

64-
if command -v telegram-desktop >/dev/null 2>&1; then
65-
echo "Starting Telegram"
66-
# The environment variable fixes compatibility with Kubuntu 25.04
67-
# https://github.com/telegramdesktop/tdesktop/issues/29437#issuecomment-2981043225
68-
QT_QPA_PLATFORM=xcb telegram-desktop -startintray &
69-
fi
66+
# Telegram snap does not work on Kubuntu 25.04
67+
# https://github.com/telegramdesktop/tdesktop/issues/29437#issuecomment-3131627645
68+
# if command -v telegram-desktop >/dev/null 2>&1; then
69+
# echo "Starting Telegram"
70+
# # The environment variable fixes compatibility with Kubuntu 25.04
71+
# # https://github.com/telegramdesktop/tdesktop/issues/29437#issuecomment-2981043225
72+
# QT_QPA_PLATFORM=xcb telegram-desktop -startintray &
73+
# fi
7074

7175
if [ "$(hostname)" = "agx-z2e-kubuntu" ]; then
7276
echo "Starting Discord"

0 commit comments

Comments
 (0)