4

I am trying to output this xdotool type '172.06' into a textbox, but it enters 17206. Is there something wrong with the encoding? Why would it enter the period last? Note that when I run this in terminal it works perfectly.

I found a google group discussion about the topic, but didnt see an answer that applied to the . symbol

Notes:

  • xdotool version 3.20150503.1
  • layout: us
  • xdotool works in terminal (linux mint)
  • textbox is a text input field in the game EVE (not sure how to give more info about this)
  • Rilcon42
    • 9,584
    • 18
    • 83
    • 167
    • 1
      What version of `xdotool` do you have (post output of `xdotool --version`)? What exactly is a `textbox`? What keyboard layout do you use (show output of `setxkbmap -query | grep layout`)? Does `xdotool` work correctly in a terminal? It works nice for me inside `xterm` and `Xdialog` input box. I have `xdotool version 3.20160801.1`. – Arkadiusz Drabczyk Oct 18 '16 at 09:15
    • Thanks for your comment- those were details I needed to post, but had no idea how to get! – Rilcon42 Oct 18 '16 at 13:36
    • You said that `xdotool` works *correctly* inside terminal - does it mean it outputs `172.06` as intended instead of `17206.` as it happens inside `EVE` window? If that's the case, what happens when you manually type `172.06` inside `EVE`? You may have luck with `--delay` option, for example: `xdotool type --delay 1000 '172.06'` - observe input box inside `EVE` and learn when `.` is moved out of its place. – Arkadiusz Drabczyk Oct 19 '16 at 06:57
    • My foremost speculation would have to do with EVE doing something on its side; you want to [edit] your question to show how this is not the case if you want this to be investigated properly. – tripleee Oct 19 '16 at 11:55

    1 Answers1

    1

    What happens when you run

    xdotool type '172' && xdotool type '.' && xdotool type '06'
    

    ? if it works, try to increase the typing delay

    xdotool type --delay 25 '172.06'
    
    galra
    • 353
    • 2
    • 12