Currently, the menu entry must be entered manually (in addition to editing 
the section in Kcontrol) for it to work correctly. open a root console and 
type "chksession -l". It should list all the valid window manager choices 
that have been entered. If something's missing, find out what you you should 
run to execute it. For example, GNOME has "gnome-session" and KDE has 
"startkde". Now visit the /etc/X11/wmsession.d directory. You will see a set 
of text files, each with a name beginning with a two-digit number followed by 
the name of the environment (GNOME, KDE, IceWM ...). The structure of these 
files should be something like this:

NAME=GNOME
ICON=gnome-wmsession.xpm
DESC=GNOME
EXEC=/usr/bin/gnome-session
SCRIPT:
exec /usr/bin/gnome-session

Create a text file with a name beginning with a number that has not already 
been used followed by the name of the environment (e.g. 02KDE). Put the same 
information as above into the file, but replace the parts after the equal 
sign and the colon to what suits the environment you wish to enter. So you 
could make a file called 02KDE with the contents:

NAME=KDE
ICON=kde-wmsession.xpm
DESC=The K Desktop Environment
EXEC=/usr/bin/startkde
SCRIPT:
exec /usr/bin/startkde

Run "chksession -l" again. This time, you should see your new entry amongst 
the others. Make sure that you have the new environment installed and that 
you have set X to start at boot (you can use XFdrake as root to do this). 
Reboot, and all should be well.


On Sun, 14 Jan 2001 15:52, msh wrote:
> I've downloaded the latest windowmaker and installed in /usr/local.  I
> used the kde control center -> system -> login manager to add a new
> entry to the menu of window manager choices offered at login time.
> Invoking this menu item doesn't work.  (I get the icewm instead -- I
> think).  Under MDK 7.1 I edited the file /etc/X11/window-managers in
> order to get the menu to actually do something.  That file seems not to
> be present in my current installation of MDK 7.2.
>
> Has this information moved to a new file?  Also, are there plans to have
> the kde control center do more than add the menu item (i.e., add the
> menu item and alter whatever files are necessary to cause the menu to
> work)?

-- 
Sridhar Dhanapalan.
        Your mouse has moved. Windows must be rebooted to acknowledge this change.

Reply via email to