Gui configuration for both linux and macosx