It is currently Thu Apr 25, 2024 2:34 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Using xdotools with GIMP does not work?
PostPosted: Sat Jun 25, 2016 9:19 am  (#1) 
Offline
GimpChat Member

Joined: Jun 25, 2016
Posts: 5
GIMP Version: 2.8.10
Operating System: Linux
OS Version: Mint KDE 17.3 (based on Ubuntu 14)
GIMP Experience: Intermediate Level

List any relevant plug-ins or scripts:
xdotool



I'm trying to automate some tedious processes with GIMP on Linux using xdotool, but the keypresses xdotool sends aren't being acknowledged by GIMP. I've made a bash script that I've bound to a keystroke.

Here's a simple script that I've been using to test for basic functionality:
#!/usr/bin/env bash
touch test.txt  # used to confirm that script has been called
xdotool keydown --clearmodifiers r


This script works in other programs I've tried it in (pushes "r" key), but not in GIMP. In GIMP, the script is called (the file "test.txt" is created), but the keystroke is not acknowledged.

I suspect that this is because xdotool sends synthetic keystrokes and GIMP, for whatever reason, doesn't acknowledge synthetic keystrokes.

Can anyone confirm this or provide a workaround?


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Paintbrush doesnt work and none of the solutions on the internet work

13

No new posts Attachment(s) HELP! I Cant get Spiderpaint to work

5

No new posts Attachment(s) Plugins don't work

2

No new posts Scripts that don't work properly

5

No new posts CAN NOT GET GMIC TO SHOW OR WORK

2



* Login  



Powered by phpBB3 © phpBB Group