Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

Cheers-SM.

share|improve this question

1 Answer 1

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

 
discard

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.