tweaked for linux/xfce4 terminal