#856654 xdotool: please add examples for set_desktop —relative in manpage

Package:
src:xdotool
Source:
xdotool
Submitter:
Chris Lamb
Date:
2026-07-02 17:43:05 UTC
Severity:
wishlist
Tags:
#856654#5
Date:
2017-03-03 10:48:10 UTC
From:
To:
Hi,

Please add examples for "set_desktop --relative" — it's not immediately
clear that you have to use "--" in order that negative numbers are parsed
correctly:


$ xdotool set_desktop --relative -1
set_desktop: unrecognized option '-1'
Usage: set_desktop desktop
--relative    - Move relative to the current desktop. Negative values OK

$ xdotool set_desktop --relative -- -1


Patch attached.


Regards,

#856654#10
Date:
2017-03-14 05:03:46 UTC
From:
To:
Control: forwarded 856654 https://github.com/jordansissel/xdotool/pull/166

Hi Lamby--

thanks for the suggestion.

I've forwarded it upstream.

Regards,