[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.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
slackware:localization [2012/11/19 07:18 (UTC)] – [X11 Locales] Specific login managers put in brackets. Small formatting/typo fixes. bocke | slackware:localization [2012/12/14 14:56 (UTC)] – [Setting the console font] 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' | Slackware has a profile script which allows you to set the system' | ||
- | / | + | / |
(users of C-shell and derivatives must edit ''/ | (users of C-shell and derivatives must edit ''/ | ||
Line 134: | Line 134: | ||
//Note: liloconfig is also available from setup section of pkgtool.// | //Note: liloconfig is also available from setup section of pkgtool.// | ||
- | //The kernel-parameter **" | + | |
==== Setting the console font ==== | ==== Setting the console font ==== | ||
Line 154: | Line 154: | ||
//Note: setconsolefont is also available from setup section of pkgtool.// | //Note: setconsolefont is also available from setup section of pkgtool.// | ||
- | //Note: Console fonts are found in / | + | //Note: Console fonts are found in / |
==== Temporarily changing the font ==== | ==== Temporarily changing the font ==== | ||
Line 231: | Line 231: | ||
===== X11 keyboard setup ===== | ===== X11 keyboard setup ===== | ||
- | The keyboard layout for the X-Window system is independent from the keyboard layout of the console | + | The keyboard layout for the X-Window system is independent from the keyboard layout of the textual |
- | **Keep in mind:** desktop environments might use their own layout | + | **Keep in mind: |
If you want a non-English keyboard-layout with X, you'll have to adapt the config files. The generic config-files are in / | If you want a non-English keyboard-layout with X, you'll have to adapt the config files. The generic config-files are in / | ||
Line 248: | Line 248: | ||
**Why is this useful?** \\ | **Why is this useful?** \\ | ||
* Several people use one computer but prefer different keyboard layouts. | * Several people use one computer but prefer different keyboard layouts. | ||
- | * People use another script (e.g. Chinese | + | * People use another script (e.g. Greek or Cyrillic), they' |
Therefore this configuration can be very important although many people will never have to use it. | Therefore this configuration can be very important although many people will never have to use it. | ||
Line 290: | Line 290: | ||
You can find out your current settings of the keyboard-layout in X11 with the command < | You can find out your current settings of the keyboard-layout in X11 with the command < | ||
+ | An overview of setxkbmap is available with < | ||
- | The language of the keyboard layout can be simply set with (the following examplelines refer to German language with variant " | + | The language |
- | < | + | < |
+ | setxkbmap -variant nodeadkeys</ | ||
+ | == 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 ** ~/ | ||
+ | If your system boots into **runlevel 4** and you login with login-manager like gdm, kdm or xdm, you should insert it to your ** ~/ | ||
- | Other settings as for example the " | ||
- | < | ||
- | |||
- | For an overview of '' | ||
- | < | ||
- | |||
- | The disadvantage of the setxkbmap command is that it overwrites any previous keyboard-settings for userland-programs. Therefore it is necessary to execute the setxkbmap commands //before// any other settings for the keyboard-layout are made. | ||
- | You can put your keyboard settings into a little shellscript and call it e.g. my-keymap.sh. | ||
- | < | ||
- | setxkbmap de | ||
- | setxkbmap -variant nodeadkeys</ | ||
- | Be sure to make it executeable | ||
- | < | ||
- | If your system boots into runlevel 3, which means that you login on the console and then startx, you can put the script 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 script into your ~/ | ||
- | 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. | ||
- | Example: | ||
- | < | ||
- | ~/ | ||
- | You can of course put the setxkbmap settings directly into your .xinitrc or .xprofile respectively! | ||
===== Desktop Environments ===== | ===== Desktop Environments ===== | ||
Line 323: | Line 308: | ||
When you're running KDE you'll have to install the language-package (l10n-packages) for your language. The KDE l10n-packages reside in the kdei series. If you download Slackware from a mirror, be sure not to download all of the l10n-packages but only the ones you need, there' | When you're running KDE you'll have to install the language-package (l10n-packages) for your language. The KDE l10n-packages reside in the kdei series. If you download Slackware from a mirror, be sure not to download all of the l10n-packages but only the ones you need, there' | ||
- | //The following settings are not necessary when you startx from runlevel 3 and have your language settings already applied.// In this case KDE takes the settings from your environment. | + | //Note: The following settings are not necessary when you startx from runlevel 3 and have your language settings already applied.// In this case KDE takes the settings from your environment. |
When the l10n-package is installed and you start KDE for the first time, open the launcher and click on < | When the l10n-package is installed and you start KDE for the first time, open the launcher and click on < |