Get rid of dead keys under XFCE
Under XFCE keys like tilde are dead by default, which is impractical for programming and terminal work. To get rid of dead keys, open your Settings Manager and go to Keyboard. Under the Layout tab you can keyboard layouts like "German (eliminate dead keys)".
There is still a way to type accented characters.