I have this script to launch nmon; I want the window to be aligned on the right of the screen as I launch it. To do so I have the shortcut sup+right that works if done manually but does nothing inside the script. It is very simple:
su
export NMON=MMMmcdt-
nmon
xdotool key ‘super+Right’
Thank you for your help