How to change the Telegram icon on the upper GNOME panel to a custom one?
- User
How to change the Telegram icon on the upper GNOME panel to a custom one?
- Assistant
How to change the Telegram icon on the upper GNOME panel to a custom one?
To change the Telegram icon on the upper GNOME panel to a custom one, you'll need to replace the icon that Telegram uses for its system tray or notification area with your custom icon. Below are detailed steps to guide you through the process. Please note that the method may vary slightly depending on how you installed Telegram (from the official website, your distribution's repositories, Snap, or Flatpak).
~/Telegram
/usr/share/telegram
/snap/telegram-desktop/current/
~/.local/share/flatpak/app/org.telegram.desktop/
tresources, icons, or similar.TelegramDesktop/tresources/Telegram/Resources/tray_icon.pngtray_notify.pngtray_active.png, tray_unread.png).cp tray_icon.png tray_icon_backup.png
sudo gtk-update-icon-cache
If Telegram is using icons from the system icon theme, you can override them by creating a custom icon theme.
mkdir -p ~/.local/share/icons/hicolor/24x24/apps
telegram.png or telegram-desktop.png.gtk-update-icon-cache ~/.local/share/icons/hicolor
Alt + F2, type r, and press Enter (Note: This works on Xorg sessions, but not on Wayland).Adjusting the desktop entry can sometimes help in pointing to a custom icon.
/usr/share/applications/~/.local/share/applications/telegram.desktop or telegram-desktop.desktop.cp /usr/share/applications/telegram-desktop.desktop ~/.local/share/applications/
nano ~/.local/share/applications/telegram-desktop.desktop
Icon=.Icon= line to point to your custom icon path, for example:
Icon=/home/yourusername/.local/share/icons/hicolor/24x24/apps/telegram.png
Note: This method primarily changes the icon in menus and the application launcher, not necessarily the system tray icon.
Sometimes, applications like Telegram have hardcoded tray icons. Using a GNOME Shell extension can provide more control.
sudo for administrative permissions.Changing the Telegram icon on the GNOME panel involves replacing the icon files used by the application or overriding them with a custom icon theme. While the process requires some manual steps, it's achievable by following the methods outlined above. Remember to proceed carefully, especially when modifying system files, and enjoy your personalized desktop experience!
Not yet included in a published release.