Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running this command in a script:

    $ gksudo wminput -q -r 00:22:D7:E2:A0:18

However it just outputs the manual page. It seems like gksudo is taking the parameters meant to be taken by wminput.

Could anyone shed any light on this?


share|improve this question
up vote 1 down vote accepted

Try this command instead:

gksudo 'wminput -q -r 00:22:D7:E2:A0:18'
share|improve this answer
That didn't work for me. The script just skipped that line and ran the remaining commands. Thanks anyway. – shymega Apr 28 '12 at 13:02
Sorry - my fault. Was using double-quotes instead of single quotes! Cheers for your answer which I've marked as the answer. – shymega Apr 28 '12 at 18:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.