Gentoo/Hebrew
Page last edited 4,104 days ago
From Alon Bar-Lev's Site
< Gentoo
Jump to navigation
Jump to search
Kernel
Linux Kernel Configuration: |
Filesystems ---> -*- Native language support ---> <M> Codepage 437 (United States, Canada) <M> Codepage 862 (Hebrew) <M> Hebrew charsets (ISO-8859-8, CP1255) <M> NLS ISO 8859-1 (Latin 1; Western European Languages) <M> NLS UTF-8 |
File: /etc/conf.d/modules
modules="${modules} nls-utf8 nls-iso8859-1 nls-cp1255 "
System
File: /etc/portage/make.conf
USE="${USE} bidi" LINGUAS="en he"
File: /etc/locale.gen
en_US ISO-8859-1 en_US.UTF-8 UTF-8 he_IL ISO-8859-8 he_IL.UTF-8 UTF-8
File: /etc/env.d/02locale
LANG="he_IL.UTF-8" LC_CTYPE="en_US.UTF-8" LC_NUMERIC="he_IL.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="he_IL.UTF-8" LC_MONETARY="he_IL.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="he_IL.UTF-8" LC_NAME="he_IL.UTF-8" LC_ADDRESS="he_IL.UTF-8" LC_TELEPHONE="he_IL.UTF-8" LC_MEASUREMENT="he_IL.UTF-8" LC_IDENTIFICATION="he_IL.UTF-8"
env-update
locale-gen
Mount media
VFAT
mount -o iocharset=cp1255,utf8 /dev/sda1 /mnt/tmp
NTFS
mount -o utf8 /dev/sda1 /mnt/tmp
SMB
mount -t cifs -o iocharset=utf8,username=user1 //server/share
Desktop
Fonts
Basic font to enable system:
emerge media-fonts/dejavu
Usually no other font is needed, the following fonts adds some spice:
- media-fonts/culmus
- media-fonts/free-bangla-font
- media-fonts/freefonts
- media-fonts/intlfonts
- media-fonts/urw-fonts
KDE
emerge kde-base/kde-l10n
SystemSettings->Input Devices
Layouts Layout Indicator [X] Show layout indicator [O] Show flag Switching Policy [O] Window [V] Configure layouts us English (US) il Hebrew default il Hebrew Hebrew (lyx) <-- if you want NIKUD Advanced [V] Configure keyboard options [V] Keys(s) to change layout [V] Alt+Shift
For <Shift><Alt><Tab> to work (Reverse window switching> a patch is needed for xorg-server. See https://bugs.freedesktop.org/show_bug.cgi?id=865.
Applications
vlc
Make sure you translate subtitles to utf-8
iconv -f CP1255 -t UTF-8 < in > out
Servers
Samba Server
Set the following:
File: /etc/samba/smb.conf
dos charset = CP1255 unix charset = UTF-8 display charset = UTF-8 short preserve case = yes preserve case = yes
Samples
www-client/firefox
app-text/bibletime
Use: Frank Ruehl CLM font.
app-office/libreoffice
Use dejavu fonts as much as possible.
Maintainer
Authors
Originally written by: Alon Bar-Lev - 2011-11-17
Authors are people who have worked on this document and have made significant changes to its content. If you have edited this article and wish to add yourself to the authors list please read "Who are Authors".