easy workaround: InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(getActivity().getCurrentFocus().getWindowToken(), 0);
Ubuntu – Como configurar o teclado no Ubuntu Server
Simple assim: sudo dpkg-reconfigure keyboard-configuration