window defaults reimplemented for linux