The command echo 'hi!' | kmessage -title "Just a message" -center -file - -buttons 'great!','so what?' -print produces the following output: