- Timestamp:
- 09/25/2015 01:11:15 AM (9 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- c81d34a
- Parents:
- 1c2bec77
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/dm/sddm.xml
r1c2bec77 reca7a58 122 122 123 123 <para> 124 First, fix the application to start <command>upowerd</command>, 125 if necessary, and after login, start the session with 126 <command>ck-launch-session</command>: 127 </para> 128 129 <screen><userinput>sed -e '/UPOWER_SERVICE)/ s:^://:' \ 130 -i src/daemon/PowerManager.cpp && 131 132 sed -e 's/eval exec/& ck-launch-session /' \ 133 -i data/scripts/Xsession</userinput></screen> 134 135 <para> 124 136 Install <application>SDDM</application> by running the following 125 137 commands: … … 132 144 -DCMAKE_BUILD_TYPE=Release \ 133 145 -DENABLE_JOURNALD=OFF \ 146 -DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf \ 134 147 -Wno-dev .. && 135 148 make</userinput></screen> … … 159 172 <parameter>-DENABLE_JOURNALD=OFF</parameter>: This switch is used because 160 173 BLFS does not support <application>systemd</application>. 174 </para> 175 176 <para> 177 <parameter>-DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf</parameter>: 178 This switch is used for safety reason: other DMs already use 179 <filename>org.freedesktop.DisplayManager.conf</filename>. Verify in your 180 system taht this is not the case, if you wish to remove it. 161 181 </para> 162 182 … … 186 206 <para> 187 207 This file is not installed with the build instructions, and 188 default values are used by sddm. In order to generate the default 189 <filename>/etc/sddm.conf</filename>, issue, as the <systemitem 190 class="username">root</systemitem> user: 191 </para> 192 193 <screen role="root"><userinput>sddm --example-config > /etc/sddm.conf</userinput></screen> 194 195 <para> 196 You need to edit this file, if your system has any unconventional 197 characteristics. For example, if Xorg is installed in /opt, use your 198 preferred editor as the <systemitem class="username">root</systemitem> 199 user to replace the <emphasis>ServerPath</emphasis> and 200 <emphasis>XauthPath</emphasis> default paths by 201 <emphasis>/opt/xorg/bin/</emphasis>. Or, as the <systemitem 208 default values are used by sddm. In order to generate the example 209 <filename>sddm.example.conf</filename>, issue: 210 </para> 211 212 <screen><userinput>sddm --example-config > sddm.example.conf</userinput></screen> 213 214 <para> 215 We repeat, this command generates an example config file. If there is 216 an already previously installed <filename>/etc/sddm.conf</filename>, it 217 will generate a replica. If there is no yet the 218 <filename>/etc/sddm.conf</filename> file, as the 219 <systemitem class="username">root</systemitem> user, copy the example 220 file to <filename>/etc/sddm.conf</filename>: 221 </para> 222 223 <screen role="root"><userinput>cp -v sddm.example.conf /etc/sddm.conf</userinput></screen> 224 225 <para> 226 Normally, you want to edit this file. For example, if Xorg is installed 227 in /opt, use your preferred editor as the 228 <systemitem class="username">root</systemitem> 229 user to replace the <emphasis>XauthPath</emphasis> default path by 230 <emphasis>/usr/bin/xauth</emphasis>. Or, as the <systemitem 202 231 class="username">root</systemitem> user, issue 203 232 </para> 204 233 205 234 <screen role="root"><userinput>sed -e '/ServerPath/ s|usr|opt/xorg|' \ 206 -e '/XauthPath/ s|usr|opt/xorg|' \207 235 -i.orig /etc/sddm.conf</userinput></screen> 208 236 … … 210 238 This command will do the substitution and create a copy of the original 211 239 file with name <filename>/etc/sddm.conf.orig</filename>. 240 </para> 241 242 <para> 243 From now on, we will describe how to modify configurations using sed, 244 but of course you may rather use your preferred editor as the 245 <systemitem class="username">root</systemitem>, instead. You generally 246 want the server option that comes in sddm.example.conf, for security 247 reasons. Unless you want a remote machine to use the local X server, 248 in which case, as the <systemitem class="username">root</systemitem> 249 user, issue: 250 </para> 251 252 <screen role="root"><userinput>sed -e 's/-nolisten tcp//'\ 253 -i /etc/sddm.conf</userinput></screen> 254 255 <para> 256 Desktop (Notebook) users, normally wish the Num Lock key on (off). For 257 that, as the <systemitem 258 class="username">root</systemitem> user, issue: 259 </para> 260 261 <screen role="root"><userinput>sed -e 's/\"none\"/\"on\"/' \ 262 -i /etc/sddm.conf</userinput></screen> 263 264 <para> 265 That was for Desktop users. For Notebook users, 266 replace \"on\" by \"off\", in the command above. 212 267 </para> 213 268 … … 378 433 </para> 379 434 435 <note> 436 <para> 437 In the next couple of paragraphs, due to a problem with sddm-greeter, 438 we mention how to define the keyboard used there. Notice that this is 439 also the keyboard that will be used in the X session, unless there is 440 a configuration in the Desktop Environment or in the Window Manager 441 overriding it, afterwards. 442 </para> 443 </note> 444 380 445 <para> 381 446 Keyboard selection: the greeter shows a double question mark or the … … 391 456 392 457 <para> 393 E.g. <command>echo 'setxkbmap "gb,br,us"' >> 394 /usr/share/sddm/scripts/Xsetup</command> 458 E.g. <command>echo 'setxkbmap "fr,gb,br,us"' >> 459 /usr/share/sddm/scripts/Xsetup</command>. You can be accurate defining 460 the keyboard(s), for example: <command>echo 'setxkbmap -model pc105 461 -layout br,us -variant abnt2,dvorak -keycodes evdev' >> 462 /usr/share/sddm/scripts/Xsetup</command>. See man setxkbmap. 395 463 </para> 396 464
Note:
See TracChangeset
for help on using the changeset viewer.