scrotwm uses newlines, spaces, tabs, and '=' as conf file delimiters. It thus does not recognize quoted strings, but breaks at the first delimiter it finds. To configure xterm, you need to use the .Xdefaults file, although that does not look like what you need. scrotwm may not be able to do what you need directly. How about making a shell script with "xterm -ls" as contents and invoking that as your terminal?
On Wed, Mar 4, 2009 at 9:57 PM, Bryan <bra...@gmail.com> 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