Why not using Xdefaults?

On Thu, Mar 05, 2009 at 04:57:47AM +0000, Bryan wrote:
> Greetings,
> 
> In my .profile I have the following:
> 
> PS1="\...@\h \w \$ "
> export PS1
> 
> On the console, I see:
> 
> u...@host "pwd" $
> 
> I was looking at the man page for xterm(1), and I saw that by invoking
> "xterm -ls", the terminal should read .profile, and set the prompt.
> In an xterm, I was able to run "xterm -ls" and have just this exact
> thing happen.
> 
> Then I installed scrotwm, and went into /etc/scrotwm.conf and set the
> "spawn_term" to "xterm -ls", thinking this would do the same, but it
> does not.
> 
> What am I doing wrong?  I am using the default shell.  Does scrotwm do
> something special to call "xterm"?
> 
> Regards,
> Bryan

Reply via email to