** Description changed: If I run 'xdotool click 3' as a keyboard shortcut (in Xfce at least) it does not work as a right button click unless I add short delay by sleep - command in a script before running xdotool. + command in a script before running xdotool: + + sleep 0.2 + xdotool click 3 + + or even better, if I add xdotool keyup <the-shortcut-keybinding> before + the other command. + + xdotool keyup super+Space + xdotool click 3 + (if the key-binding is super+Space) + + These could even be combined in single xdotool command + + xdotool sleep 0.2 click 3 + + or + + xdotool keyup super+Space click 3 + (if the key-binding is super+Space) + + I think it would fix this, if the shortcut manager could handle the + keyup part. + ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xdotool 1:3.20150503.1-2 ProcVersionSignature: Ubuntu 4.4.0-141.167-generic 4.4.162 Uname: Linux 4.4.0-141-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 CurrentDesktop: XFCE Date: Fri Jan 18 11:29:52 2019 EcryptfsInUse: Yes InstallationDate: Installed on 2014-09-21 (1580 days ago) InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1) SourcePackage: xdotool UpgradeStatus: Upgraded to xenial on 2018-04-14 (279 days ago)
** Description changed: If I run 'xdotool click 3' as a keyboard shortcut (in Xfce at least) it does not work as a right button click unless I add short delay by sleep command in a script before running xdotool: sleep 0.2 xdotool click 3 - or even better, if I add xdotool keyup <the-shortcut-keybinding> before - the other command. + Supposedly it works even better, if I release the shortcut keybinding + before the other command: xdotool keyup super+Space xdotool click 3 (if the key-binding is super+Space) - These could even be combined in single xdotool command + These could even be combined in single xdotool command: xdotool sleep 0.2 click 3 - or + and xdotool keyup super+Space click 3 (if the key-binding is super+Space) I think it would fix this, if the shortcut manager could handle the keyup part. - ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xdotool 1:3.20150503.1-2 ProcVersionSignature: Ubuntu 4.4.0-141.167-generic 4.4.162 Uname: Linux 4.4.0-141-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 CurrentDesktop: XFCE Date: Fri Jan 18 11:29:52 2019 EcryptfsInUse: Yes InstallationDate: Installed on 2014-09-21 (1580 days ago) InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1) SourcePackage: xdotool UpgradeStatus: Upgraded to xenial on 2018-04-14 (279 days ago) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1812367 Title: xdotool does not work well if launched by a shortcut Status in xdotool package in Ubuntu: New Status in xfce4-settings package in Ubuntu: New Status in xorg package in Ubuntu: New Bug description: If I run 'xdotool click 3' as a keyboard shortcut (in Xfce at least) it does not work as a right button click unless I add short delay by sleep command in a script before running xdotool: sleep 0.2 xdotool click 3 Supposedly it works even better, if I release the shortcut keybinding before the other command: xdotool keyup super+Space xdotool click 3 (if the key-binding is super+Space) These could even be combined in single xdotool command: xdotool sleep 0.2 click 3 and xdotool keyup super+Space click 3 (if the key-binding is super+Space) I think it would fix this, if the shortcut manager could handle the keyup part. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xdotool 1:3.20150503.1-2 ProcVersionSignature: Ubuntu 4.4.0-141.167-generic 4.4.162 Uname: Linux 4.4.0-141-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 CurrentDesktop: XFCE Date: Fri Jan 18 11:29:52 2019 EcryptfsInUse: Yes InstallationDate: Installed on 2014-09-21 (1580 days ago) InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1) SourcePackage: xdotool UpgradeStatus: Upgraded to xenial on 2018-04-14 (279 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xdotool/+bug/1812367/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp