Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8607789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:26:54+00:00 2026-06-12T03:26:54+00:00

xdotool doesn’t seem to work with my new macbook retina with mountain lion installed.

  • 0

xdotool doesn’t seem to work with my new macbook retina with mountain lion installed. It launchs XQuartz but does’t seem to simulate mouse click or keyboard inputs like before. I don’t know if it’s related to mountain lion or to the retina display. A tool like cliclick (http://www.bluem.net/en/mac/cliclick/) seems to work though and does the job. Nevertheless, I prefer a tool that work both on mac and on linux. Does anyone experience the same issue?

Using:

  • OS X 10.8.1
  • MacBook Pro Retina
  • xdotool 2.20110530.1 from macports
  • XQuartz 2.7.3
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T03:26:55+00:00Added an answer on June 12, 2026 at 3:26 am

    I’ve found this one for Mac OS X which does the same job as xdotool:

    Website Url: http://www.bluem.net/en/mac/cliclick/

    It works with Retina Display and Mountain Lion. It’s pretty simple to use. Here the manual :

    cliclick ("Command Line Interface Click") is a tool for executing mouse- and keyboard-related actions from the shell/Terminal
    
    USAGE
      cliclick [-m <mode>] [-r] command1 [command2] [...]
    
    OPTIONS
      -r        Restore initial mouse location when finished
      -m <mode> The mode can be either “verbose” (cliclick will print a
                description of each action to stdout just before it is
                performed) or “test” (cliclick will only print the
                description, but not perform the action)
    
    COMMANDS
    To use cliclick, you pass an arbitrary number of commands as arguments. A command consists of a command identifier (a string that tells cliclick what kind of action to perform) and usually one or more arguments to the command, which are separated from the command identifier by a colon. Example: “c:123,456” is the command for clicking (the “c” is the command identifier for clicking) at the position with x coordinate 123 and y coordinate 456. See below for a list of all commands and the arguments they expect.
    
    LIST OF COMMANDS
    
      m:x,y   MOVE the mouse to the point with the given coordinates.
              Example: “m:12,34” will move the mouse to the point with
              x coordinate 12 and y coordinate 34.
    
      c:x,y   Will CLICK at the point with the given coordinates.
              Example: “c:12,34” will click at the point with x coordinate
              12 and y coordinate 34. Instead of x and y values, you may
              also use “.”, which means: the current position.
    
      dc:x,y  Will DOUBLE-CLICK at the point with the given coordinates.
              Example: “dc:12,34” will double-click at the point with x
              coordinate 12 and y coordinate 34. Instead of x and y values,
              you may also use “.”, which means: the current position.
    
      tc:x,y  Will TRIPLE-CLICK at the point with the given coordinates.
              Example: “tc:12,34” will triple-click at the point with x
              coordinate 12 and y coordinate 34. Instead of x and y values,
              you may also use “.”, which means: the current position.
    
      kd:keys Will trigger a KEY DOWN event for a comma-separated list of
              modifier keys (“cmd”, “alt” or “ctrl”).
              Example: “kd:cmd,alt” will press the command key and the
              option key (and will keep them down until you release them
              with another command)
    
      ku:keys Will trigger a KEY UP event for a comma-separated list of
              modifier keys (“cmd”, “alt” or “ctrl”).
              Example: “ku:cmd,ctrl” will release the command key and the
              control key (which will only have an effect if you performed
              a “key down” before)
    
      p[:str] Will PRINT the given string. If the string is “.”, the
              current MOUSE POSITION is printed. As a convenience, you can skip
              the string completely and just write “p” to get the current position.
              Example: “p:.” or “p” will print the current mouse position
              Example: “p:'Hello world'” will print “Hello world”
    
      w:ms    Will wait/pause for the given number of milliseconds.
              Example: “w:500” will pause command execution for half a second
    
    Version 2.0, released 08/17/2012
    Author: Carsten Blüm, <macapps@bluem.net>
    Website: www.bluem.net/jump/cliclick/
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For example, if I wanted to use something like: xdotool mousemove 945 132 xdotool
I'm writing a script to automate work environment preparation. I need to open 4
I have this script to open a new console, ssh into a server, run
I want to send a keystroke to a GLUT program on X11, but I
I need to mirror GUI console activity happening on one Macbook so that it
I'm using xdotool in a SSH connection logged in as root, I'm setting DISPLAY=":0.0"
How to close several tabs in a pidgin conversation window from a script (some
I am coding a little script to save some data from Internet every single
Given: I have Firefox with the [Firefox Page Title] page open on my Ubuntu
My goal is to set up a terminal in which a command-line interface program

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.