Click to See Complete Forum and Search --> : AAAARRRRRRRGGGGGGGH My X setup got screwed somehow


Silent Bob
06-19-2001, 05:15 AM
I have most of it back to normal but one thing I can't seem to change back is what happens when I resize a window.

What it used to do (and this is what I liked) was it would show the border as I resized. Now it shows the border of the window plus more lines that divide the window into 9 parts.

Another problem is that my bash prompt has changed from
[root@localhost /]#
to
bash-2.04#

The bash prompt has only changed for the root account, the other one is still the first way.

Thanks

Edit: I am using RH 7, GNOME and sawfish

[ 19 June 2001: Message edited by: Silent Bob ]

Craig McPherson
06-19-2001, 05:31 AM
For the prompt, you can put this in root's .profile:

PS1="\u@\h:\w# "
export PS1

For the window resizing problem, that's handled by your window manager, not by X itself, so you'll need to check your window manager's configuration. I haven't used Sawfish, so I don't know what sorts of configuration utilities it has.

Helical Cynic
06-19-2001, 08:33 AM
For more PS1 & PS2 config options you could do a man PS1, I think. To get that exact prompt you'd have to say PS1="[\u@\h \w]\$"
(the \$ means it'll be a $ if you're not root, and a # if you are, in bash)

BTBGuy
<edit> You may want to create a symlink from .profile to .bashrc, because some terminals look to .profile, and some look to .bashrc, at least on my system they do...</edit>

[ 19 June 2001: Message edited by: BTBGuy ]

Silent Bob
06-19-2001, 08:57 AM
Thanks guys, I have my prompt sorted out now :)

I have some more n00bie questions. How do I see a list of all the programs that are currently running and how does the search feature in the File Manager work?

every time I press search it just changes the bottom left of the status bar to say "Search"

One last thing. How do I change from an American to an English keyboard mapping?

Thanks for the help

Craig McPherson
06-19-2001, 08:57 PM
Originally posted by Silent Bob:
<STRONG>How do I see a list of all the programs that are currently running</STRONG>

ps aux | more will show info on all running processes. top will show an interactive, updating process list sorted either by CPU usage or memory usage. Press M (capitalized) in top to sort by memory usage instead of CPU usage.

One last thing. How do I change from an American to an English keyboard mapping?

See the console-tools documentation, and look in /etc/console-tools. The details may vary by distro.