attempt at writing linux selection (no tests so dunno if this does anything or what)