Giter VIP home page Giter VIP logo

Comments (10)

blueyed avatar blueyed commented on July 20, 2024

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

from xdotool.

BozoDel avatar BozoDel commented on July 20, 2024

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?

from xdotool.

blueyed avatar blueyed commented on July 20, 2024

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.

from xdotool.

BozoDel avatar BozoDel commented on July 20, 2024

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".

from xdotool.

blueyed avatar blueyed commented on July 20, 2024

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).

from xdotool.

BozoDel avatar BozoDel commented on July 20, 2024

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>

from xdotool.

blueyed avatar blueyed commented on July 20, 2024

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.

from xdotool.

BozoDel avatar BozoDel commented on July 20, 2024

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).

from xdotool.

blueyed avatar blueyed commented on July 20, 2024

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

I cannot help much further from here.

from xdotool.

BozoDel avatar BozoDel commented on July 20, 2024

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

from xdotool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.