Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save oviniciusfeitosa/3e8a762f8424e612b0a6e878d8db716c to your computer and use it in GitHub Desktop.
Save oviniciusfeitosa/3e8a762f8424e612b0a6e878d8db716c to your computer and use it in GitHub Desktop.
  • sudo vim /home/vinnyfs89/.local/share/applications/telegramdesktop.desktop

You will see something like this:

[Desktop Entry]                                                                                                                                                         
 Version=1.0                                                                                                                                                             
 Name=Telegram Desktop                                                                                                                                                   
 Comment=Official desktop application for the Telegram messaging service                                                                                                 
 TryExec=/opt/telegram/telegram                                                                                                                                          
 Exec=/opt/telegram/telegram -- %u                                                                                                                                       
 Icon=telegram                                                                                                                                                           
 Terminal=false                                                                                                                                                          
 StartupWMClass=TelegramDesktop                                                                                                                                          
 Type=Application                                                                                                                                                        
 Categories=Network;InstantMessaging;Qt;                                                                                                                                 
 MimeType=x-scheme-handler/tg;                                                                                                                                           
 X-Desktop-File-Install-Version=0.23        

Change Exec=/opt/telegram/telegram -- %u to Exec=env QT_IM_MODULE=xim /opt/telegram/telegram -- %u

@bodypheo
Copy link

bodypheo commented Nov 22, 2019

It worked great! Accents didn't work in spanish, in Fedora 31.
Ovrigado!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment