You need to change the source code.
So simplest solution would be to create a (sh) script to call catorise gui and on finishing call your sudo command. And put this script into the desktop file to start from menu. ?