Jayatana for Android Studio on 17.04 not working
Solution 1:
Ubuntu 17.04 has a different value for XDG_CURRENT_DESKTO env variable
XDG_CURRENT_DESKTOP=Unity:Unity7
So changing it back to the following fixes the problem, I don't know other side effects this might have
export XDG_CURRENT_DESKTOP=Unity
Please refer to: After upgrade to Ubuntu 17.04 integrated menus do not work for updates.