Closed plagasul closed 8 years ago
Works on windows
Works in Ubuntu 15.10
Here on Telegram 0.9.15 under Ubuntu 14.04 LTS
I've noticed this too. But it only happens after some time. Right after opening the window, it works perfectly. I keep it opened while doing anything else with another program, and then back to the Telegram window, accents do not appear anymore.
If I close the window, then reopen it from the tray icon, it still doesn't work. But if I change the keyboard layout to any other language (here between pt-BR and en-US) and then back, it works again. Just to stop working again after some time :)
Testing now, I found something strange. When switching between windows using the mouse, it works perfectly. But when switching using Alt+Tab the accents stop working.
If it helps tracking the problem: I was testing in Manjaro, and the problem doesn't happen here. Even the Alt+Tab works fine with accents. XFCE 4.12
Maybe it's like #1041
Problem persists. Telegram just ignores accent keys. xfce4-about 4.11.1 (Xfce 4.10) VERSION="14.04.4 LTS, Trusty Tahr" Telegram Desktop: v 0.9.49
UPDATE The same at my working computer: xfce4-about 4.12.1 (Xfce 4.12) VERSION="16.04 LTS (Xenial Xerus)" Telegram Desktop: v 0.9.49
I also have this problem. In XFCE 4.12 over Ubuntu 16.04 accented characters don't work, they're simply ignored. It works perfectly if I switch to Gnome. Telegram version is 0.9.49, but I have at least a few times in the last couple of weeks.
Happened on: XFCE (Ubuntu 16.04, Ubuntu 14.04) Unity (Ubuntu 16.04) Cinnamon (Mint)
Did NOT happen on: XFCE (Manjaro) GNOME (Ubuntu 16.04) Unity (Ubuntu 15.10) i3 (Arch Linux)
Same behaviour here. Any dead keys, i.e. accents as well, don't work on Telegram Desktop.
Operating System Ubuntu 16.04 64-bit
Telegram Desktop Version 0.9.49
@Rom4nB what Desktop environment are you using?
@z3ntu I use the standard Unity 7 Desktop environment of Ubuntu 16.04.
Unity Version 7.4.0
@auchri @john-preston I compiled a list where it worked and where it didn't: https://github.com/telegramdesktop/tdesktop/issues/1360#issuecomment-224034232
Not working here either.
XFCE 4.12 Xubuntu 16.04 Telegram 0.9.51
EDIT Layout:
rules: evdev
model: pc105
layout: pt
Working in one computer (Ubuntu 16.04 64 bits with NVidia and Unity), not working in another (same configuration). First computer uses abnt2 brazilian portuguese layout for accents, second one does not. Tested in both with dead keys and non-dead keys (composed letters), same thing, in the first one it works, in the second it does not.
Telegram version: 0.9.49
Doesn't work here either
XFCE 4.1 Xubuntu 15.10 Linux 4.4.4-040404-generic Telegram 0.9.51
[EDIT]
Keyboard layout: PT-BR (ABNT2)
+1 Doesn't work here either
GNOME Shell 3.16.4 Ubuntu GNOME 15.10 GNU/Linux 4.2.0-36-generic Telegram 0.9.51
[EDIT]
$ setxkbmap -query
rules: evdev
model: pc105
layout: latam,us
variant: ,
PLEASE! If you write, that it doesn't work for you, please also write what keyboard layout you are using! I am pretty sure, that it isn't because of a desktop environment/window manager, but because of the "special" keyboard layout you are using.
Same problem here with dead keys.
Keyboard layout: "Français (Variante)" (AZERTY)
For the moment, I don't have problem with accented letters (éàù...), only with composition (^ ¨ ...)
rules: evdev
model: pc105
layout: fr,us,fr
variant: oss,,oss
I initiated this thread, I've noticed the following message on the terminal when updating telegram that I believe may be related, at least in my case, to the problem at hand:
Configurando telegram (0.9.50-0ubuntu0) ...
Telegram/
Telegram/Updater
Telegram/Telegram
Configurando kpartx (0.4.9-3ubuntu7.13) ...
Configurando kpartx-boot (0.4.9-3ubuntu7.13) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for menu (2.1.46ubuntu1) ...
Processing triggers for initramfs-tools (0.103ubuntu4.3) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
Warning: No support for locale: es_ES.utf8
@plagasul is the language uncommented in your /etc/locale.conf
? If not, uncomment it and run locale-gen
. (I don't know if this works on Ubuntu, but it works on Arch Linux so try it)
@z3ntu, there is a etc/locale.alias with a "spanish es_ES.ISO-8859-1" line, uncommented, I run locale-gen, shutdown and up Telegram, but nothing particular happened, graphic accents still not visible. Thanks. Any other ideas?
I tried reinstalling telegram and got this:
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "es_ES.UTF-8", LC_MONETARY = "es_ES.UTF-8", LC_ADDRESS = "es_ES.UTF-8", LC_TELEPHONE = "es_ES.UTF-8", LC_NAME = "es_ES.UTF-8", LC_MEASUREMENT = "es_ES.UTF-8", LC_IDENTIFICATION = "es_ES.UTF-8", LC_NUMERIC = "es_ES.UTF-8", LC_PAPER = "es_ES.UTF-8", LANG = "es_ES.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Selecting previously unselected package telegram. (Reading database ... 286519 files and directories currently installed.) Preparing to unpack .../telegram_0.9.50-0ubuntu0_amd64.deb ... Unpacking telegram (0.9.50-0ubuntu0) ... Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for gnome-menus (3.10.1-0ubuntu2) ... Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for mime-support (3.54ubuntu1.1) ... Setting up telegram (0.9.50-0ubuntu0) ... Telegram/ Telegram/Updater
Not working here either. It's strange, because in other operative systems (Linux Mint 17.3 Rosa featuring XFCE desktop) I could type on the chat input with those characters, but not on the photos. I had to use Alt+Tab.
Now under Xubuntu 16.04 with the latest Telegram version as of now (0.9.56) is still not working, anywhere. My keyboard is Generic PC 105 keys (intl), Spanish (Windows keys)
@XyLoNaMiyX Can you try in other systems (where the chat input was working, but not the photo caption input) does photo caption input now work?
Yeah, on Linux Mint 17.3 Rosa featuring XFCE desktop it works now (ran it on a Virtual Machine setting the Spanish keyboard, not Windows layout though), both on chat input and photo captions.
However, thinking the issue could be the Windows layout part, I switched to "plain" Spanish layout on Xubuntu, and it doesn't work there (not in the chat input, not in the photo captions)
not working on my ubuntu 14.04 LTS either. keyboard is qwerty for brazilian portuguese. The accents work fine when I first start telegram desktop, and sometime later it stops working. I have to close it and open again, or re-select my keyboard settings, then the accents start working again ):
I managed to solve this in Manjaro Budgie 16.06 by adding these lines to my ~/.xinitrx
(or ~/.xprofile
depending on the Window Manager):
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
ibus-daemon -drx
Check if you have ibus installed on your system. Source.
@camilosampedro It worked for me. Thanks!
@camilosampedro in my case, I only had to sudo apt-get install ibus
and set it up in Configuration
, but it's working now. Thanks for the hint
Confirmed here, Xubuntu 16.04 using the Portuguese (Brazil) keyboard layout. Also, in previous versions of Telegram sign accents worked like a charm, not sure though in which version this bug has appeared, since it has stopped working I've been using the web version of Telegram.
After installing Linux Mint Sarah, Cinnamon, I have graphical accents.
@XyLoNaMiyX Thanks, solved with the same on Xubuntu 16.04, sudo apt install ibus, and sep up on language options and reboot.
@rafaelcn my case is exactly the same as yours.
Just noticed: 10 months already...
I found out that the workaround proposed by @narcelio on https://github.com/telegramdesktop/tdesktop/issues/1041#issuecomment-231395019 works for me.
@douglasrizzo works here too, I can now leave the web version alone, thanks
Well, I just changed the desktop that I use (to KDE), since then I have no complaints regarding telegram. Either way, as you said the problem is still not solved on Xubuntu.
Regards, Rafael Campos Nunes. rafaelnunes@engineer.com
Le 16 sept. 2016 à 12:23, "Douglas De Rizzo Meneghetti" notifications@github.com a écrit :
@rafaelcn my case is exactly the same as yours.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
For those who are using distros like Elementary OS, just edit the file telegramdesktop.desktop, and remove the first line of the [Desktop Entry] that setting encoding to file is UTF-8, that way here worked perfectly accents.
After some testing, I found instability in the previously presented solution, which had only remove the key "Encoding". So talking to the my friend @vinicius73 who went through the same problem accent, I took with him the adjustments he made in .desktop, which was to add the environment variable "QT_IM_MODULE" before calling the executable Telegram. Getting the telegramdestop.desktop the way described below, and solving the problem of accents without instability.
Replace "USERNAME" at login your user
[Desktop Entry]
Version=1.0
Name=Telegram Desktop
Comment=Official desktop version of Telegram messaging app
Exec=env QT_IM_MODULE=xim /home/USERNAME/Telegram/Telegram -- %u
Icon=telegram
Terminal=false
StartupWMClass=Telegram
Type=Application
Categories=Network;
MimeType=x-scheme-handler/tg;
X-Desktop-File-Install-Version=0.22
First, sorry about my english... ;-)
Thanks to @vs0uz4 for the solution, but don't work for me.
This is my modification...
create a file in /home/USERNAME/bin/TG.sh with:
#!/bin/bash
QT_IM_MODULE=xim /home/USERNAME/Telegram/Telegram
then: chmod +x /home/USERNAME/bin/TG.sh
And finally change the file: /home/USERNAME/.local/share/applications/telegramdesktop.desktop with:
[Desktop Entry]
Version=1.0
Name=Telegram Desktop
Comment=Official desktop version of Telegram messaging app
Exec=/home/USERNAME/bin/TG.sh
Icon=telegram
Terminal=false
StartupWMClass=Telegram
Type=Application
Categories=Network;
MimeType=x-scheme-handler/tg;
X-Desktop-File-Install-Version=0.22
This work for me.
Thanks @luismanolo, I was having the issue again and I didn't want to bother with ibus
xD
Edit: For those who are not so much into Linux-based distributions, you don't need to actually create the TG.sh
file where @luismanolo's comment says. It can even be under the same directory as telegramdesktop.desktop
. And you can also replace /home/USERNAME
with ~
, which is shorter!
@luismanolo @XyLoNaMiyX Why not do Exec=QT_IM_MODULE=xim /home/USERNAME/Telegram/Telegram
? or with eval
if it won't work.
@stek29 Exec=QT_IM_MODULE=xim /home/USERNAME/Telegram/Telegram
fails. I don't know where to put eval
, and with env
it didn't work for me either.
@XyLoNaMiyX oh, i meant env
, huh.
When I alter the .desktop
file that fires up Telegram (like @XyLoNaMiyX mentions), sometimes it reverts back to its original state. I don't know if it is related to Telegram updates. However, if I create my own .desktop
file in some other directory, like ~/.local/autostart
, I am able to keep the custom Exec command.
Also having problems with elementaryOS:
$ setxkbmap -query rules: evdev model: pc105 layout: es,us variant: , options: grp:alt_shift_toggle
You can put this on your .profile
export QT_IM_MODULE=xim
El vie., 10 feb. 2017 a las 17:41, Jumy Elerossë (notifications@github.com) escribió:
Also having problems with elementaryOS:
$ setxkbmap -query rules: evdev model: pc105 layout: es,us variant: , options: grp:alt_shift_toggle
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/telegramdesktop/tdesktop/issues/1360#issuecomment-278994348, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGkeGhg92dniL6rS6GQ1gya0aYDb_ZJks5rbJMsgaJpZM4GuJ6g .
@realjumy I've fixed that by running $ ibus-setup
. But just runing the config this way is not enough because it didn't work after restarting the machine, for example. I'll try some of the other suggestions anyway. but at least there is another workaround.
This works for me on elementary OS 0.3 and 0.4
You should have ibus-unikey installed, if you don't do it with this command:
sudo apt-get install ibus-unikey
Now configure ibus through ibus-setup
. To do this, run the command on a terminal and go to the input method tab.
ibus-setup
command from terminal.ibus-daemon -drx
in terminal.If you want IBus to automatically start with the system, then go to System Settings > Applications > Startup and add ibus-daemon -drx
as a custom command or just click on Add Startup App and search iBus.
The @luiarhs solution works for me, Ubuntu 16.04, Spanish Spain, 64 bits
I am on Telegram Desktop 0.9.10 under Linux Mint 17.2 Rafaela Cinnamon
Spanish/catalan graphic accents on vocals, such as é è ú.... but also ü, etc, are simply not written when writing a message. They are not shown on text input, and neither when the message is sent and appears in the shared part of the screen.
Graphic accents work without any problem in any other part of the system, without exceptions, at least that I come accross.
Thank you