Press ctrl + F2 in the citrix session. This enables keyboard shortcuts from the host system (Ubuntu).Now you can use alt + tab to switch the focus to the application you used before opening citrix (or the desktop).