[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
slackware:localization [2012/11/19 12:17 (UTC)] – [X11 keyboard setup] markushslackware:localization [2012/12/14 14:55 (UTC)] – [System Wide Configuration] Fixed a typo. Thanx elesmod for the report. bocke
Line 89: Line 89:
  
 Slackware has a profile script which allows you to set the system's locale for all users at once (system-wide). You can simply edit this file with an ASCII editor such as ''nano'' or ''vi''. Check out Slackware has a profile script which allows you to set the system's locale for all users at once (system-wide). You can simply edit this file with an ASCII editor such as ''nano'' or ''vi''. Check out
-  /etc/profile.d lang.sh+  /etc/profile.d/lang.sh
 (users of C-shell and derivatives must edit ''/etc/profile.d/lang.csh'' instead). (users of C-shell and derivatives must edit ''/etc/profile.d/lang.csh'' instead).
  
Line 290: Line 290:
  
 You can find out your current settings of the keyboard-layout in X11 with the command <code>setxkbmap -query</code> You can find out your current settings of the keyboard-layout in X11 with the command <code>setxkbmap -query</code>
 +An overview of setxkbmap is available with <code>setxkbmap -help</code>
  
 The language and variant of the keyboard layout can be simply set with (the following examplelines refer to German language with variant "nodeadkeys"). The language and variant of the keyboard layout can be simply set with (the following examplelines refer to German language with variant "nodeadkeys").
 <code>setxkbmap de <code>setxkbmap de
 setxkbmap -variant nodeadkeys</code> setxkbmap -variant nodeadkeys</code>
- +== Where to place the code? == 
-If your system boots into runlevel 3, which means that you login on the console and then startx, you can put the above code at the top of your .xinitrc. +If your system boots into **runlevel 3**, which means that you login on the console and then startx, you can put the above code at the top of your ** ~/.xinitrc**\\ 
-If your system boots into runlevel 4 and you login with login-manager like gdm, kdm or xdm, you should place the lines of code into your ~/.xprofile. +If your system boots into **runlevel 4** and you login with login-manager like gdm, kdm or xdm, you should insert it to your ** ~/.xprofile**. This file is sourced by any of the login-managers. Please note that ~/.xprofile isn't created by default, you must create it by yourself.
-This file is sourced by any of the login-managers. Please note that ~/.xprofile isn't created by default, you must create it by yourself.+
  
  
 slackware:localization ()