Changeset 0226b3f
- Timestamp:
- 07/10/2014 08:35:08 AM (10 years ago)
- Branches:
- gnome
- Children:
- eb5e655
- Parents:
- eda1e88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gnome/applications/gnome-session.xml
reda1e88 r0226b3f 90 90 <para role="recomended"> 91 91 <xref linkend="upower"/>, and 92 <xref linkend=" gconf"/>92 <xref linkend="GConf"/> 93 93 </para> 94 94 … … 138 138 enable building of the documentation. 139 139 </para> 140 141 </sect2>142 143 <sect2 role="configuration" id="gnome-session-config">144 <title>Configuring GNOME Session</title>145 146 <sect3>147 <title>Configuration Information</title>148 149 <para>150 If you are not using <application>GDM</application> to start your151 <application>GNOME</application> desktop, you will need to invoke152 <command>gnome-session</command> <emphasis>instead of</emphasis> invoking153 a window-manager directly. All of the packages in the 'Desktop' section of154 this chapter need to be installed first, and some of the 'Applications' -155 particularly <application>GNOME Terminal</application>156 (<application>xterm</application> does not install a '.desktop' file and157 so not appear in the menus).158 </para>159 160 <para>161 When <command>gnome-session</command> is run, it invokes the necessary162 daemons and either <application>Metacity</application> or163 <application>gnome-shell</application>. A desktop manager such as164 <application>GDM</application> will invoke <application>ConsoleKit</application>165 before the window manager, but if you use <command>startx</command> the first166 invocation after booting may fail because the daemon is not already running,167 so it is invoked first.168 </para>169 170 <para>171 To automatically start the <application>gnome-session</application>172 window manager when you issue the <command>startx</command> command,173 backup your current <filename>~/.xinitrc</filename> before proceeding.174 Note that you will be able to invoke <application>GNOME Terminal</application>175 from the menu, so there is no reason to invoke <command>xterm</command> here.176 Create a new <filename>.xinitrc</filename> using this command:177 </para>178 179 <indexterm zone="metacity gnome-session-config">180 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>181 </indexterm>182 183 <screen><userinput>cat >> ~/.xinitrc << "EOF"184 <literal>exec ck-launch-session dbus-launch --exit-with-session gnome-session</literal>185 EOF</userinput></screen>186 187 </sect3>188 140 189 141 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.