Ported some settings from linux
Ported some more settings from linux