inte: Use commands and add appmenu submenu (#1809)