Click to See Complete Forum and Search --> : switching KDE to AfterStep


MrPatel
11-20-2001, 02:41 PM
I installed Redhat 6.1, and selected custom installation. I selected afterstep and i guess something i installed required KDE as a dependency. How do I switch from KDE to AfterStep?

AdaHacker
11-20-2001, 07:17 PM
Wow! And I thought I was the only one left who used AfterStep! I'm not quite sure what you're asking. If you just want to set AfterStep as your window manager, you can usually just change your .xinitrc with a line like
exec /path/to/afterstep
Or, if you don't have a ~/.xinitrc, you could just use something like the following:
echo exec `which afterstep` > ~/.xinitrc

MrPatel
11-20-2001, 07:25 PM
where is the .xinitrc supposed to be located?

jlany
11-20-2001, 07:33 PM
~/ = home directory

MrPatel
11-20-2001, 08:40 PM
I created .xinitrc and put "exec /usr/share/afterstep" that in it.


When i do 'startx' i get '/usr/share/afterstep is a directory' '/usr/share/afterstep Permission Denied' something like that.

AdaHacker
11-20-2001, 09:41 PM
Well, you may want to consider changing the permissions on /usr/share/afterstep, as that's where the system default config files and themes are, but that's not your problem.
The line in ~/.xinitrc should definitely NOT be
exec /usr/share/afterstep
because /usr/share/afterstep IS a directory, more specifically, the directory with lots of the default config files for AfterStep. You want the path to the afterstep executable, which is probably /usr/local/bin/afterstep. To check, type the following at the command prompt:
which afterstep
This will give you the full path to the executable, which is the path you want in ~/.xinitrc.

MrPatel
11-20-2001, 10:09 PM
SCORE!!!

It works!!

Thanks guys.