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

Turkish capital letters showing up as small #41

Open
BozoDel opened this issue May 1, 2014 · 10 comments
Open

Turkish capital letters showing up as small #41

BozoDel opened this issue May 1, 2014 · 10 comments

Comments

@BozoDel
Copy link

BozoDel commented May 1, 2014

When using the "xdotool key", some characters show incorrectly.
Odiaeresis, Udiaeresis, Gbreve and Scedilla show up as ö, ü, ğ and ş instead of Ö, Ü, Ğ and Ş.

Not a big problem, it can be worked around by using "dead_diaeresis O", "dead_diaeresis U", "dead_breve G" and "dead_cedilla S", but I thought you'd like to know it.

@blueyed
Copy link

blueyed commented Dec 16, 2014

Does --clearmodifiers make a difference, and/or holding Shift manually during the command?

@BozoDel
Copy link
Author

BozoDel commented Dec 17, 2014

I can't hold shift during the command, but having Caps Lock active before the command made the letters show as capitals!

On the other hand, I get this:
myusername@Mint-17 ~ $ xdotool --clearmodifiers key Odiaeresis
xdotool: unrecognized option '--clearmodifiers'
Usage: xdotool

Am I doing something wrong? Or could this be an issue with the package from Ubuntu 14.04's repos?

@blueyed
Copy link

blueyed commented Dec 17, 2014

It would be xdotool key --clearmodifiers Odiaeresis probably, but this option is meant to ignore Caps Lock / Shift in your case.

But the addtional information you gave is a good indicator of where it goes wrong the probably.

You are using xdotool 1:3.20130111.1-5 then, aren't you?
It might be worth to try installing it from source / Git master and test it from there.

@BozoDel
Copy link
Author

BozoDel commented Dec 17, 2014

xdotool key --clearmodifiers Odiaeresis does ignore Caps Lock.

I'm actually using 1:3.20130111.1-3.1.

Would you mind helping out a nooby noober? I downloaded the source, but when make, I get:
xdo.c:24:22: fatal error: X11/Xlib.h: Arquivo ou diretório não encontrado
#include <X11/Xlib.h>
^
compilation terminated.
make: ** [xdo.o] Erro 1

"Arquivo ou diretório não encontrado" means "File or directory not found".

@blueyed
Copy link

blueyed commented Dec 18, 2014

Sure. You can install build dependencies using:

sudo apt-get build-dep xdotool

And then try "make" again.
Afterwards "sudo make install" will install it, and "sudo make uninstall" would uninstall it again (it gets installed into /usr/local by defaul).

@BozoDel
Copy link
Author

BozoDel commented Dec 18, 2014

Ok, I enabled sources, and used that command, which downloaded some things. But now I get a different error:
xdo.c:34:33: fatal error: xkbcommon/xkbcommon.h: Arquivo ou diretório não encontrado
#include <xkbcommon/xkbcommon.h>

@blueyed
Copy link

blueyed commented Dec 19, 2014

Install libxkbcommon-dev:

~ % afs xkbcommon/xkbcommon.h
 >> apt-file search xkbcommon/xkbcommon.h
libxkbcommon-dev: /usr/include/xkbcommon/xkbcommon.h

apt-file is nice for lookups.

@BozoDel
Copy link
Author

BozoDel commented Dec 20, 2014

Ok, it worked, I got xdotool version 3.20141217.1. I uninstalled the one from the repo, to be sure. But it still doesn't differentiate between odiaeresis and Odiareresis, both give me ö by default, and Ö if I have Caps Lock on (and ö if I have --clearmodifiers on, regardless of Caps Lock).

@blueyed
Copy link

blueyed commented Dec 20, 2014

Ok, that's good to know. Thanks for trying it.

I cannot help much further from here.

@BozoDel
Copy link
Author

BozoDel commented Dec 23, 2014

Thank you for your attention. Those compiling lessons will sure be useful in the future.

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

2 participants