added autostart for ubuntu, fixed no tray for ubuntu