Open textfile in xterm on launch

Hi,

How can I configure Xorg to show a textfile (in more or vi) in an xterm on launching the xwindow?

thanks
 
Just add it to ~/.xinitrc (if you use startx) or ~/.xsession if started with XDM/KDM/GDM.
 
If you want to be slightly more upmarket, you can throw up a notification box using x11/zenity.

Code:
$ zenity --info --text "Wash your hands after a visit to the bathroom!"

rbcjzs.png
 
SirDice, I missed your reply until now.

SirDice said:
Not when it's quoted.

My shell is zsh. I start xterm and run
% zenity --info --text "Wash your hands after a visit to the bathroom!"
and see dquote> and I'm returned to the shell prompt.
Running
% zenity --info --text "Wash your hands after a visit to the bathroom\!"
displays the window.
 
Back
Top