Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input of diacritics via dead key unreliable #114

Open
marianoju opened this issue Dec 13, 2014 · 2 comments
Open

Input of diacritics via dead key unreliable #114

marianoju opened this issue Dec 13, 2014 · 2 comments

Comments

@marianoju
Copy link

I am using nvPY 0.9.4 with Ubuntu 14.04 on a notebook with German keyboard layout (aka QWERTZ). When writing text in Spanish (or French) I need to type accented vowels (like á, é, í, ó, ú, OR à, è, ì, ò, ù OR â, ê, î, ô, û) and n with a tilde (ñ). This usually (e.g. with the text editor gedit, or with LibreOffice Writer) works with dead keys, i.e. press dead key first (´ OR ` OR ^ OR ~) and corresponding letter second. Pressing the dead key twice produces just the diacritical mark or grapheme.

Both input methods do not work reliably within nvPY. It sometimes does, and sometimes not. I have yet been unable to delimit this phenomenon. I have tried switching the keyboard layout settings to no avail.

@bighi
Copy link

bighi commented Feb 18, 2015

It happens to me too. Using Brazilian keyboard layout.

This is the reason I could never use nvpy.

@rafaelfeito
Copy link

Seems to be python-tk/XIM issue related since same nvpy's version works with dead keys on debian jessie (i'm using brazilian keyboard also)
this link suggest one workaround that worked here on ubuntu 14.04 http://stackoverflow.com/questions/24192502/tkinter-text-widget-sometime-doesnt-register-dead-keys
I've put on top of tk.py:

import os
os.environ['XMODIFIERS'] = "@im=none"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants