0desktop sets the Terminal flag correctly