eric huff wrote:

>>How can I add session types ( kde, gnome etc ) to users when you
>>are not yet on desktop.
>>I can drop to a root terminal, but what do I call ?
>>
>>
>
><big snip>
>
>
>
>>Where do I go to add these desktops to the login managers session
>>menu ?
>>
>>
>
>I thin kthis is what you want.
>Here are excerpts from emails on Speednix (using pekwm as an
>example):
>
>----------------------------------
>
>From Derek:
>
>It is quite easy to get an entry in kdm,gdm,Xtart Just define a file
>/etc/X11/wmsession.d/19pekwm
>
>Containing :-
>
>NAME=pekwm
>ICON=pekwm.png
>EXEC=/usr/bin/pekwm   (or wherever your executable is)
>DESC=Windowmanager based on the original blackbox-code
>SCRIPT:
>exec /usr/bin/pekwm
>
>Then pekwm will come up as an option in kdm etc as the 19th Window
>Manager
>(1 to 18 have already been defined by Mandrake)
>
>derek
>-----------------------------
>From Todd:
>
>Sweet, now I have entries for fluxbox, xfce4, oroborus, and pekwm.
>
>I did have to go into /usr/share/config/kdm/kdmrc and add those to
>the
>list there. I couldn't find a program that would do it. I thought
>maybe
>it would scan /etc/X11/wmsession.d/ for you and update the list
>automagiclly.
>
>
That looks like it , thanks, I will look into it some and report.

John


Later ===== [EMAIL PROTECTED] root]# cd /mnt/ext2-vol4/etc/X11/wmsession.d [EMAIL PROTECTED] wmsession.d]# ls 01KDE 02GNOME 03WindowMaker 07IceWM

So, these look to be the session file scripts that boot the desktops

[EMAIL PROTECTED] wmsession.d]# cat 01KDE
NAME=KDE
ICON=kde-wmsession.xpm
DESC=The K Desktop Environment
EXEC=/usr/bin/startkde
SCRIPT:
exec /usr/bin/startkde

The Kde script

[EMAIL PROTECTED] wmsession.d]# cat 02GNOME
NAME=GNOME
ICON=gnome-logo-icon-transparent.png
DESC=GNOME Environment
EXEC=/usr/bin/startgnome
SCRIPT:
exec /usr/bin/startgnome

the gnome script

[EMAIL PROTECTED] wmsession.d]# cat 03WindowMaker
NAME=WindowMaker
ICON=wmaker-wmsession.xpm
EXEC=/usr/X11R6/bin/startwindowmaker
DESC=Window manager which emulates the look and feel of the NeXTSTEP (TM) graphical user interface
SCRIPT:
exec /usr/X11R6/bin/startwindowmaker


the windowmaker script

[EMAIL PROTECTED] wmsession.d]# cat 07IceWM
NAME=IceWM
ICON=icewm-wmsession.xpm
EXEC=/usr/X11R6/bin/starticewm
DESC=Lightweight desktop environment
SCRIPT:
exec /usr/X11R6/bin/starticewm

the icewarm script


So that's how to restore session types to login window then.


Thanks everyone concerned, it's always nice to know how things work, and I'm about to make a persomal note of this for future reference.

John
===============================================================


-- John Richard Smith [EMAIL PROTECTED]




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to