Open BozoDel opened 10 years ago
Does --clearmodifiers
make a difference, and/or holding Shift manually during the command?
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?
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.
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
^
compilation terminated. make: \ [xdo.o] Erro 1
"Arquivo ou diretório não encontrado" means "File or directory not found".
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).
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
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.
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).
Ok, that's good to know. Thanks for trying it.
I cannot help much further from here.
Thank you for your attention. Those compiling lessons will sure be useful in the future.
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.