Add an FAQ on adding new GDM sessions with an included KDE example.

This commit is contained in:
Joe Marcus Clarke 2003-10-10 07:24:36 +00:00
parent f4abec3574
commit 9aa7c2944a
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=18377

View file

@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
<!ENTITY base CDATA "../..">
<!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.46 2003/09/22 21:30:29 marcus Exp $">
<!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.47 2003/10/03 22:42:03 simon Exp $">
<!ENTITY title "FreeBSD GNOME Project: GNOME &gnomever; FAQ">
<!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes;
<!ENTITY % includes SYSTEM "../../includes.sgml"> %includes;
@ -36,6 +36,7 @@
applications under GNOME &gnomever;?</a>
<li> <a href="#q15">Nautilus-cd-burner does not let me burn CDs.
How can I fix this?</a>
<li> <a href="#q16">How do I add new GDM sessions?</a>
</ol>
<h2>Full Text </h2>
@ -516,6 +517,34 @@ perm pass0 0666
Note that you must use the 'c' device nodes on
FreeBSD 4.x (e.g. <tt>acd0c</tt>, <tt>cd0c</tt>, etc.).</p>
</li>
<!-- Q16 -->
<li style="padding-bottom: 0.5em"><a name="q16"></a>
<p><b>How do I add new GDM sessions?</b></p>
<!-- A16 -->
<p>Adding new GDM sessions has changed substantially between GNOME
2.2 and &gnomever;. In order to add new sessions now, you
must create a <tt>.desktop</tt> file containing the session
configuration information. Session files live in
<tt>/usr/X11R6/etc/dm/Sessions</tt>. For example, to add
a KDE session, create a file in <tt>/usr/X11R6/etc/dm/Sessions</tt>
called <tt>kde.desktop</tt>. That file should contain the
following:</p>
<pre>
[Desktop Entry]
Encoding=UTF-8
Name=KDE
Comment=This session logs you into KDE
Exec=/usr/local/bin/startkde
TryExec=/usr/local/bin/startkde
Icon=
Type=Application
</pre>
<p>After creating this file, restart GDM, and there will be a
<b>KDE</b> link under the <em>Sessions</em> menu.</p>
</li>
</ol>
&footer;