Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Общий по Linux (http://forum.oszone.net/forumdisplay.php?f=9)
-   -   Slackware 10.2 настройка (http://forum.oszone.net/showthread.php?t=54259)

libricon 24-09-2005 13:22 358275

Slackware 10.2 настройка
 
Вот скачал, поставил, настроил нет, звук....
но вот проблема основная с русификацией . сделал все по статье русификация склаки 10.1 да не помогло..... главное - это русский в иксах.
я в /etc/X11/xorg.conf посмотрел, тама есть проки с русскими шрифтами, добавил переклювчение раскладок, входжу, раскладки переключаются, а вместо букс квадраты....че может быть, есть решение проболемы, я человек новый в этом деле, но слака нравится очень. помогите пожалуста

еще был баг, когда пишешь в конфиг Option "ZAxesMapping" "4 5" то иксы не гразятся....

спасибо за помощь

fossil 24-09-2005 14:42 358301

Цитата:

Вот скачал, поставил, настроил нет, звук....
:-)
Поставь виндозовские шрифты.

libricon 24-09-2005 20:05 358346

u menja obqnqh toze net !!! ja smotrel papku ../fonts/cyrillic , tama friftov da hera.....a vot zahodish na ljuboi russkii sait, a kvadratiki

Zur0 25-09-2005 17:59 358533

libricon
Цитата:

"ZAxesMapping" "4 5" то иксы не гразятся....
^^ ^^^^^
улыбнуло %)

а если ZAxisMapping попробовать? %)

Цитата:

входжу, раскладки переключаются, а вместо букс квадраты....че
настрой локаль... и поправь кривизну рук... очепяток меньше будет...

fossil
Цитата:

Поставь виндозовские шрифты.
Там вроде должны быть свободные bitstream vera...
так, что излишество %)

Цитата:

u menja obqnqh toze net !!! ja smotrel papku ../fonts/cyrillic , tama friftov da hera.....a vot zahodish na ljuboi russkii sait, a kvadratiki
локаль! и ваще РТФМ!

сам я так руссифицировал:
http://www.opennet.ru/base/rus/slack...1_rus.txt.html

и гугл тебе в помощь

libricon 25-09-2005 20:58 358562

horoho, poprobuju, ja tak 9.1 nastraival, rabotalo, dumal 4to v 10.2 po druigomu....okazqvaetsja vse takze....spasibo za pomosh,

ruki u menjaa ne krivqe, prosto /dev/head ne montiruetsja

libricon 30-09-2005 20:04 360486

poproboval, 3 raza proval, poverka orfografii ni4ego ne dalo....
pomogite pliz, ne mogu bolshe v vindows, on opjat' zavis

Zur0 02-10-2005 06:56 360773

libricon
ты напиши конкретные вопросы...
а не крик души "помогите"... и возможно тебе помогут

libricon 02-10-2005 12:05 360809

я писал ....
иксы, квадратики , нет русского, переключение расладок работает, строка с русскиими шрифтами есть в xorg.conf

консоль, сделал все по статье русмификация слаки 9.1 , при запуске пишеть что нет такой локали или чето подобное, русский и англ не переключаются

Zur0 02-10-2005 13:04 360821

консоль:
/etc/rc.d/rc.font и пишем следующее:
Код:

#!/bin/sh
#
# This selects your default screen font from among the ones in
# /usr/share/kbd/consolefonts.
#
setfont -v koi8u_8x16.psfu.gz
for i in 1 2 3 4 5 6;do
        echo -ne "\033(K" > /dev/tty$i
done

Далее настраивается раскладка клавиатуры в /etс/rc.d/rc.keys (переключение будет по capslock, мне так норавится):
Код:

#!/bin/sh
# Load the keyboard map.  More maps are in /usr/share/kbd/keymaps.
loadkeys ru4

Устанавливается русская локаль: в /etc/profile.d/lang.sh
Код:

#!/bin/sh
# Set the system locale (default C is the same as en_US):
#export LANG=C
export LANG=ru_RU.koi8r

после чего консоль руссифицирована.

а теперь про Х:
добавляем русские bitmap шрифты...
Код:

Section "Files"
 RgbPath      "/usr/X11R6/lib/X11/rgb"
 ModulePath  "/usr/X11R6/lib/modules"
 FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
+FontPath    "/usr/X11R6/lib/X11/fonts/cyrillic/"
 FontPath    "/usr/X11R6/lib/X11/fonts/TTF/"
 FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
 FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
 FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
 FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
 EndSection

переключаемся по ctrl+shift
Код:

Section "InputDevice"
 Identifier  "Keyboard0"
 Driver      "kbd"
+Option "XkbRules" "xorg"
+Option "XkbModel" "pc105"
+Option "XkbLayout" "us,ru(winkeys)"
+Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
 EndSection

все взято с http://saratov.lug.ru/cgi-bin/doc.cg...ocs=77&start=0
и все работает...

libricon 02-10-2005 15:04 360831

переключение уже работает....переключает с англ на квадритский
строки русскихширифтов есть , она была по умолчанию в конче, я ее в начало бросил...
а вот в консоли я делал по другому.....может из-за локали консоли не пахать иксы?

libricon 02-10-2005 15:24 360834

on govorit : not a valid indetifier

export LANG=ru_RU.koi8r

vse peredelal po stat'e , ni4ego net, ni v konsoli ni v iksah, pereklju4enie est' , no net russkogo jazqka, kvadratiki ostalis'

Zur0 02-10-2005 18:59 360863

консоль руссифицировал?

в каких прогах в Хах проблемы?

libricon 03-10-2005 17:28 361112

в иксах вроде вехде проблемы . молилла галеон конвестер , сим, сайм ..... блокнот .....

консль не русифицированна , см. он мне говорит not a valid indetifier =ru_RU.koi8r

bdancer 03-10-2005 18:50 361137

Zur0
Уверен, что эта локаль (ru_RU.koi8r) по-умолчанию создается??? Насколько я помню нет.

libricon
Я обычно делаю ru_RU.KOI8-R, а затем на нее симлинкую ru_RU.koi8r, потом правлю locale.alias.
Локаль можно создать так:
localedef -f /usr/share/i18n/charmaps/KOI8-R -i /usr/share/i18n/locales/ru_RU /usr/lib/locale/ru_RU.KOI8-R
Потом делаю симлинк ru_RU.koi8r на ru_RU.KOI8-R
/usr/share/locale/locale.alias:
Код:

[...]
russian                ru
ru                ru_RU
ru_RU                ru_RU.KOI8-R
[...]


libricon 03-10-2005 21:57 361183

можно попроще, я чето не понял , зачем илнки .... обьясчните, почему иксы не дают русский, раньше без локали в консоли в иксах все работало и по русски ...че за херня :?

Zur0 04-10-2005 04:00 361246

bdancer
Цитата:

Уверен, что эта локаль (ru_RU.koi8r) по-умолчанию создается??? Насколько я помню нет.
раньше в (9.1 точно) была koi8r... иприходилось симлинки делать что-б получить KOI8-R, а посмотрел 10.2 так там есть KOI8-R из коробки....

libricon
что у тебя выдает пишет когда делаешь
#locale ru_RU.KOI8-R
?????????

bdancer 04-10-2005 10:22 361290

libricon
Лана, в среду заполучу эту версию слаки - посмотрим че там к чему.

libricon 04-10-2005 23:51 361530

спасибо, буду ждать

libricon 05-10-2005 23:03 361843

zdorogo , zato v pdf est rsskii ( no etoze pdf :))

poprovboval sdelat' linki, bespolezno, znaetee, mne russki v konsoli ne nuzen, no daite mne russkii v iksah,
v slake 9.1 u menja iksq bqlo nastroenq i etogo hvatalo

bdancer 06-10-2005 15:17 362066

Скажи, что выводит команда
locale -a
Выложи xorg.conf.
Скажи как че делал.

libricon 06-10-2005 20:32 362151

delal vse to tak kak tut, to tak kak na vingrad'e skazali, to po stat'e rusifikatsija 9.1 to po stat'e rusifikatzija 10,10.1 ....sei4as dam xorg.conf

libricon 06-10-2005 20:46 362152

aa_DJ
aa_ER
aa_ER@saaho
aa_ET
af_ZA
am_ET
an_ES
ar_AE
ar_AE.utf8
ar_BH
ar_BH.utf8
ar_DZ
ar_DZ.utf8
ar_EG
ar_EG.utf8
ar_IN
ar_IQ
ar_IQ.utf8
ar_JO
ar_JO.utf8
ar_KW
ar_KW.utf8
ar_LB
ar_LB.utf8
ar_LY
ar_LY.utf8
ar_MA
ar_MA.utf8
ar_OM
ar_OM.utf8
ar_QA
ar_QA.utf8
ar_SA
ar_SA.utf8
ar_SD
ar_SD.utf8
ar_SY
ar_SY.utf8
ar_TN
ar_TN.utf8
ar_YE
ar_YE.utf8
az_AZ.utf8
be_BY
be_BY.utf8
bg_BG
bg_BG.utf8
bn_BD
bn_IN
br_FR
br_FR@euro
bs_BA
byn_ER
C
ca_ES
ca_ES@euro
ca_ES.utf8
cs_CZ
cs_CZ.utf8
cy_GB
cy_GB.utf8
da_DK
da_DK.utf8
de_AT
de_AT@euro
de_AT.utf8
de_BE
de_BE@euro
de_BE.utf8
de_CH
de_CH.utf8
de_DE
de_DE@euro
de_DE.utf8
de_LU
de_LU@euro
de_LU.utf8
el_GR
el_GR.utf8
en_AU
en_AU.utf8
en_BW
en_BW.utf8
en_CA
en_CA.utf8
en_DK
en_DK.utf8
en_GB
en_GB.utf8
en_HK
en_HK.utf8
en_IE
en_IE@euro
en_IE.utf8
en_IN
en_NZ
en_NZ.utf8
en_PH
en_PH.utf8
en_SG
en_SG.utf8
en_US
en_US.utf8
en_ZA
en_ZA.utf8
en_ZW
en_ZW.utf8
es_AR
es_AR.utf8
es_BO
es_BO.utf8
es_CL
es_CL.utf8
es_CO
es_CO.utf8
es_CR
es_CR.utf8
es_DO
es_DO.utf8
es_EC
es_EC.utf8
es_ES
es_ES@euro
es_ES.utf8
es_GT
es_GT.utf8
es_HN
es_HN.utf8
es_MX
es_MX.utf8
es_NI
es_NI.utf8
es_PA
es_PA.utf8
es_PE
es_PE.utf8
es_PR
es_PR.utf8
es_PY
es_PY.utf8
es_SV
es_SV.utf8
es_US
es_US.utf8
es_UY
es_UY.utf8
es_VE
es_VE.utf8
et_EE
et_EE.iso885915
et_EE.utf8
eu_ES
eu_ES@euro
eu_ES.utf8
fa_IR
fi_FI
fi_FI@euro
fi_FI.utf8
fo_FO
fo_FO.utf8
fr_BE
fr_BE@euro
fr_BE.utf8
fr_CA
fr_CA.utf8
fr_CH
fr_CH.utf8
fr_FR
fr_FR@euro
fr_FR.utf8
fr_LU
fr_LU@euro
fr_LU.utf8
ga_IE
ga_IE@euro
ga_IE.utf8
gd_GB
gez_ER
gez_ER@abegede
gez_ET
gez_ET@abegede
gl_ES
gl_ES@euro
gl_ES.utf8
gu_IN
gv_GB
gv_GB.utf8
he_IL
he_IL.utf8
hi_IN
hr_HR
hr_HR.utf8
hu_HU
hu_HU.utf8
id_ID
id_ID.utf8
is_IS
is_IS.utf8
it_CH
it_CH.utf8
it_IT
it_IT@euro
it_IT.utf8
iw_IL
iw_IL.utf8
ja_JP.eucjp
ja_JP.utf8
ka_GE
kk_KZ
kl_GL
kl_GL.utf8
kn_IN
ko_KR.euckr
ko_KR.utf8
kw_GB
kw_GB.utf8
lg_UG
lo_LA
lt_LT
lt_LT.utf8
lv_LV
lv_LV.utf8
mi_NZ
mk_MK
mk_MK.utf8
ml_IN
mn_MN
mr_IN
ms_MY
ms_MY.utf8
mt_MT
mt_MT.utf8
nb_NO
nb_NO.utf8
ne_NP
nl_BE
nl_BE@euro
nl_BE.utf8
nl_NL
nl_NL@euro
nl_NL.utf8
nn_NO
nn_NO.utf8
oc_FR
om_ET
om_KE
pa_IN
pl_PL
pl_PL.utf8
POSIX
pt_BR
pt_BR.utf8
pt_PT
pt_PT@euro
pt_PT.utf8
ro_RO
ro_RO.utf8
ru
ru_RU
ru_RU.koi8r
ru_RU.KOI8-R
ru_RU.utf8
ru_UA
ru_UA.utf8
se_NO
sid_ET
sk_SK
sk_SK.utf8
sl_SI
sl_SI.utf8
so_DJ
so_ET
so_KE
so_SO
sq_AL
sq_AL.utf8
st_ZA
st_ZA.utf8
sv_FI
sv_FI@euro
sv_FI.utf8
sv_SE
sv_SE.utf8
ta_IN
te_IN
tg_TJ
th_TH
th_TH.utf8
ti_ER
ti_ET
tig_ER
tl_PH
tr_TR
tr_TR.utf8
tt_RU.utf8
uk_UA
uk_UA.utf8
ur_PK
uz_UZ
uz_UZ@cyrillic
vi_VN
vi_VN.tcvn
wa_BE
wa_BE@euro
wa_BE.utf8
xh_ZA
xh_ZA.utf8
yi_US
zh_CN
zh_CN.gb18030
zh_CN.gbk
zh_CN.utf8
zh_HK
zh_HK.utf8
zh_SG
zh_SG.gbk
zh_TW
zh_TW.euctw
zh_TW.utf8
zu_ZA
zu_ZA.utf8



libricon 06-10-2005 20:48 362153

xorg.conf

# File generated by xf86config.

#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# NOTE: This is a NEW IMPROVED version of XF86Config-fbdev that uses the vesa
# driver instead of the fbdev driver. Thanks to Kenneth Fanyo who pointed
# this out to me. :)

# This XF86Config file is designed for use with the VESA framebuffer.
# This generic interface should work with nearly all video cards
# (although not every card will support every resolution).

# With the new driver, it should no longer be required to have frame buffer
# support in the kernel, or to run it on the console.
#
# Enjoy! :)
# -- volkerdi@slackware.com
#

# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the font modules
Load "type1"
Load "freetype"
#Load "speedo"

# This loads the GLX module
Load "glx"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#


FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"


# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection


libricon 06-10-2005 20:49 362154

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

# Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.

# Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

# Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.

# Option "DontZoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

# Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

# Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

# Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

# Option "AllowNonLocalModInDev"

# Set the basic blanking screen saver timeout.

# Option "blank time" "10" # 10 minutes

# Set the DPMS timeouts. These are set here because they are global
# rather than screen-specific. These settings alone don't enable DPMS.
# It is enabled per-screen (or per-monitor), and even then only when
# the driver supports it.

# Option "standby time" "20"
# Option "suspend time" "30"
# Option "off time" "60"

# On some platform the server needs to estimate the sizes of PCI
# memory and pio ranges. This is done by assuming that PCI ranges
# don't overlap. Some broken BIOSes tend to set ranges of inactive
# devices wrong. Here one can adjust how aggressive the assumptions
# should be. Default is 0.

# Option "EstimateSizesAggresively" "0"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

# Option "Protocol" "Xqueue"

# Set the keyboard auto repeat parameters. Not all platforms implement
# this.

# Option "AutoRepeat" "500 5"

# Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).

# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.

# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a European
# keyboard, you will probably want to use one of:
#
# Option "XkbModel" "pc102"
# Option "XkbModel" "pc105"
#
# If you have a Microsoft Natural keyboard, you can use:
#
# Option "XkbModel" "microsoft"
#
# If you have a US "windows" keyboard you will want:
#
# Option "XkbModel" "pc104"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#
# Option "XkbLayout" "de"
#
# or:
#
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#
# Option "XkbOptions" "ctrl:swapcaps"


# These are the default XKB settings for X.Org
#
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"

# Option "XkbVariant" ""
Option "XkbOptions" "grp:ctrl_shift_toggle, grp_led:scroll"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

# Option "Protocol" "Auto"

# The available mouse protocols types that you can set below are:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue
Option "Protocol" "IMPS/2"

# The mouse device. The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

Option "Device" "/dev/mouse"
# Option "Device" "/dev/psaux"
# Option "Device" "/dev/ttyS0"
# Option "Device" "/dev/ttyS1"
Option "ZAxisMapping" "4 5"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

EndSection

# Some examples of extended input devices

# Section "InputDevice"
# Identifier "spaceball"
# Driver "magellan"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball2"
# Driver "spaceorb"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen0"
# Driver "microtouch"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "1412"
# Option "MaxX" "15184"
# Option "MinY" "15372"
# Option "MaxY" "1230"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonThreshold" "17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection


libricon 06-10-2005 20:49 362155

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 31.5 - 50.0

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 40-90

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA Framebuffer"
Driver "tdfx"
VideoRam 16384
# Insert Clocks lines here if appropriate
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection

EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection


libricon 06-10-2005 20:50 362156

izvenite 4to tak, no ja ne visu ni4ego , odni kvadratiki ,,,prostite,

Zur0 07-10-2005 08:09 362240

конфиг Хов у тебя правильный.
что показывает?
Код:

#echo $LANG

bdancer 07-10-2005 12:15 362330

Еще:
locale
И сдается мне надо локаль пересобрать той командой, что я тебе приводил выше.

libricon 07-10-2005 20:32 362481

echo $LANG - ni4ego

locale
bash-3.00# locale
LANG=
LC_CTYPE="ru_RU.KOI8-R"
LC_NUMERIC="ru_RU.KOI8-R"
LC_TIME="ru_RU.KOI8-R"
LC_COLLATE="ru_RU.KOI8-R"
LC_MONETARY="ru_RU.KOI8-R"
LC_MESSAGES="ru_RU.KOI8-R"
LC_PAPER="ru_RU.KOI8-R"
LC_NAME="ru_RU.KOI8-R"
LC_ADDRESS="ru_RU.KOI8-R"
LC_TELEPHONE="ru_RU.KOI8-R"
LC_MEASUREMENT="ru_RU.KOI8-R"
LC_IDENTIFICATION="ru_RU.KOI8-R"
LC_ALL=ru_RU.KOI8-R
bash-3.00#

bdancer 07-10-2005 21:48 362488

Доки говоришь читал??
http://saratov.lug.ru/cgi-bin/doc.cg...ocs=77&start=0

Код:

5. Устанавливается русская локаль: в /etc/profile.d/lang.sh

#!/bin/sh
# Set the system locale (default C is the same as en_US):
#export LANG=C
export LANG=ru_RU.koi8r
# This setting has been reported to fix some cut and paste
# problems with GTK2.  If you experience this, try it:
#export LANG=en_US.ISO8859-1

и /etc/profile.d/lang.сsh:

#!/bin/csh
# Set the system locale (default C is the same as en_US):
#setenv LANG C
setenv LANG ru_RU.koi8r

# This setting has been reported to fix some cut and paste
# problems with GTK2.  If you experience this, try it:
# setenv LANG en_US.ISO8859-1

Ну и почему ж у вас LANG пустой?

libricon 07-10-2005 22:59 362506

potomu 4to on mne pishet : not valid ' ru_RU.koi8r '

Zur0 08-10-2005 05:30 362547

libricon
что показывают комманды
Код:

$ ls /usr/lib/locale/ | grep ru_RU
и
Код:

$ ls /var/adm/packages/ | grep glibc
Цитата:

potomu 4to on mne pishet : not valid ' ru_RU.koi8r '
в слакваре 10.2 по умолчанию есть локаль ru_RU.koi8-r
то, что ты мог сделать с ней никто не знает... так как телепатов сдесь нет.

и что тебе пишет
Цитата:

not valid ' ru_RU.koi8r '
?????
откуда такое сообщение?

вот мой /etc/profile.d/lang.sh с сервака
никаких алиасов не создовал... вообще, что касается рууского ничего не делал...
Код:

#!/bin/sh

export LANG=ru_RU.KOI8-R
# This setting has been reported to fix some cut and paste
# problems with GTK2.  If you experience this, try it:
#export LANG=en_US.ISO8859-1

export LC_ALL=ru_RU.KOI8-R


echo -ne "\033(K"
setfont koi8u_8x16
loadkeys ru4

после этого у тебя будет русский язык в консоли.

такое ощущение, что чел просто стебает.

libricon 08-10-2005 23:09 362683

eto on piushet, kogda ja vhozu v sistemu, vvozu nik i parol'

libricon 09-10-2005 00:01 362691

bash-3.00# ls /usr/lib/locale | grep ru_RU
ru_RU
ru_RU.koi8r
ru_RU.KOI8-R
ru_RU.utf8

bash-3.00# ls /var/adm/packages/ | grep glibc
glibc-2.3.5-i486-5
glibc-i18n-2.3.5-noarch-5
glibc-profile-2.3.5-i486-5
glibc-solibs-2.3.5-i486-5
glibc-zoneinfo-2.3.5-noarch-5
bash-3.00#


libricon 09-10-2005 00:11 362694

v konsole est' russkii


!!!!ura

libricon 09-10-2005 00:15 362696

iksq bez izmenenii. tolko ne predlogaite mne polzovatsja lynx 'om

libricon 09-10-2005 00:44 362705

ja vot 4eogo podumal, s samogo na4ala rsskogo ne blqo v iksah , ja ni4ego ne trogal a ego ne bqlo, da no bvqla stro4ka s russkimi shruftami v /etc/X11/xorg.conf ! a russkogo vse ravno ne bqlo....kakie bqvajut pri4inq? ja ne znaju, kto nibut' znaet? moset kak v windows 98 nado bqlo stranu pri ustanovke bqbat' rossiju ?

libricon 09-10-2005 18:26 362782

a kak voobhse rusifitsijruetsja sistema? 4eto v running linux 4edition ni4ego po etomu net

printsi kakoi ?

Zur0 09-10-2005 19:49 362794

libricon
зайди в иксы.
открой терминал и набери xfontsel.
посмотри какие там шрифты есть... особенно касается последних двух параметров: первый koi8 второй: r/ru
и скажи это сюда

libricon 09-10-2005 23:15 362826

u menja problema .

bash-3.00# xf
xfapps xfce-setting-show xfrecent4 xfs_io
xfapps4 xfdesktop xfrun4 xfs_logprint
xfbook xfdiff4 xfs_admin xfs_mkfile
xfbook4 xffm xfsamba4 xfs_ncheck
xfcalendar xffrequent xfs_bmap xfs_repair
xfce4-about xffrequent4 xfs_check xfsrestore
xfce4-appfinder xffstab xfs_copy xfsrq
xfce4-iconbox xffstab4 xfs_db xfs_rtcp
xfce4-kiosk-query xfglob4 xfsdq xftaskbar4
xfce4-menueditor xfhelp4 xfsdump xfterm4
xfce4-mixer xflock4 xfs_estimate xftrash4
xfce4-panel xfmime-edit xfs_freeze xftree4
xfce4-session xfmountdev4 xfs_fsr xfwm4
xfce4-session-logout xfprint4 xfs_growfs
xfce4-tips xfprint-manager xfs_info
xfce-mcs-manager xfrecent xfsinvutil
bash-3.00# . /usr/bin/X11/xfontsel
bash: ELF: command not found


zamette 4to ee net sredi komant, a zdes' est'
bash-3.00# whereis xfontsel
xfontsel: /usr/X11R6/bin/xfontsel /usr/bin/X11/xfontsel /usr/X11/bin/xfontsel /usr/X11/man/man1/xfontsel.1x.gz
bash-3.00#

4e za ****

libricon 09-10-2005 23:25 362831

ja tut podumal, mozet u menja server shriftov ne pashet ? ili 4e takoe ?

libricon 10-10-2005 20:53 363119

если угроза пересборки иксов?
у кого нибуть работает русский в иксах ? вообще ктонибуть ставил слаку 10.2

Zur0 11-10-2005 03:53 363190

libricon
у меня работает. и на серваке и дома.
ты наверное не все пакеты поставил...

Zur0 12-10-2005 15:10 363634

libricon
какие покеты из группы Х установлены?

Zur0 12-10-2005 18:52 363692

http://citforum.ru/open_source/fonts/x_fonts/

почитай... статья немного устарела, но для начала сойдет

libricon 12-10-2005 19:22 363703

postavlena - full install. zna4it slaka 10.2 u tebja rabotaet ?
mne pereustanovit' ee ? ili pereustanovit' iksq ?

Zur0 13-10-2005 18:48 364013

Цитата:

zna4it slaka 10.2 u tebja rabotaet ?
да.

Русский есть и в qt и gtk прогах.

Код:

#ls /var/adm/packages | grep x
#grep "xfontsel" /var/adm/packages/*

что выдают?

Сделай все как написано в туториалах... +включи мозги.
Со слакой никогда таких проблем не было...

1) Настрой локаль (вроде это ты сделал)
2) Проверь есть ли нужные шрифты (например xfontsel или /usr/X11R6/bin/xfontsel)
3) Если нет устонови (в дисте есть шрифты Bitstream, там есть русские глифы)
4) Выбери нужные шрифты (те в которых есть кои8-р)

libricon 13-10-2005 19:10 364019

Код:

bash-3.00$ ls /var/adm/packages | grep x
aumix-2.8-i486-1
bitchx-1.1-i486-2
blackbox-0.65.0-i386-1
cxxlibs-5.0.7-i486-1
doxygen-1.4.4-i486-1
emacs-nox-21.4a-i486-2
expat-1.95.8-i486-1
expect-5.43.0-i486-1
flex-2.5.4a-i486-3
fluxbox-0.9.13-i486-1
gdk-pixbuf-0.22.0-i486-1
gettext-0.14.3-i486-1
gettext-tools-0.14.3-i486-1
gxine-0.4.8-i486-2
libexif-0.6.12-i486-2
libxml2-2.6.21-i486-1
libxslt-1.1.15-i486-1
linux-faqs-20030907-noarch-1
linux-howtos-20050718-noarch-1
lynx-2.8.5rel.1-i486-2
mozilla-firefox-1.0.6-i686-2
rexima-1.4-i486-1
rxvt-2.7.10-i486-2
sox-12.17.8-i486-1
syslinux-2.13-i486-1
tclx-8.3.5-i486-2
tetex-3.0-i486-1
tetex-doc-3.0-noarch-1
texinfo-4.8-i486-1
tix-8.1.4-i486-2
util-linux-2.12p-i486-2
x11-6.8.2-i486-3
x11-devel-6.8.2-i486-3
x11-docs-6.8.2-noarch-3
x11-docs-html-6.8.2-noarch-3
x11-fonts-100dpi-6.8.2-noarch-3
x11-fonts-cyrillic-6.8.2-noarch-3
x11-fonts-misc-6.8.2-noarch-3
x11-fonts-scale-6.8.2-noarch-3
x11-xdmx-6.8.2-i486-3
x11-xnest-6.8.2-i486-3
x11-xvfb-6.8.2-i486-3
x3270-3.3.2p1-i486-1
xaw3d-1.5-i386-3
xchat-2.4.5-i486-1
xfce-4.2.2-i486-1
xfig-3.2.3d-i386-1
xfm-1.4.3-i386-1
xfractint-20.2.03-i386-1
xfsprogs-2.6.13-i486-1
xgames-0.2-i386-1
xine-lib-1.0.2-i686-1
xine-ui-0.99.4-i686-1
xlockmore-5.18-i486-1
xmms-1.2.10-i486-3
xpaint-2.7.0-i486-1
xpdf-3.01-i486-2
xsane-0.97-i486-1
xscreensaver-4.22-i486-2
xv-3.10a-i486-4
xvim-6.3.086-i486-1
xxgdb-1.12-i386-1
bash-3.00$ 


bash-3.00$ grep "xfontsel" /var/adm/packages/*
/var/adm/packages/x11-6.8.2-i486-3:usr/X11R6/bin/xfontsel
/var/adm/packages/x11-6.8.2-i486-3:usr/X11R6/man/man1/xfontsel.1x.gz
/var/adm/packages/x11-docs-html-6.8.2-noarch-3:usr/X11R6/lib/X11/doc/html/xfontsel.1.html
bash-3.00$


da , i zabql sovsem ,
Код:

bash-3.00# . /usr/X11R6/bin/xfontsel
bash: ELF: command not found

vrode ushe pisal, no tak, na vsjaki slu4ai

Zur0 14-10-2005 10:09 364180

Код:

bash-3.00# . /usr/X11R6/bin/xfontsel
Что это за х*ня?
я сказал
Код:

bash-3.00#/usr/X11R6/bin/xfontsel
нафиг ты точку перед этим поставил?
ты пытаешся выполнить команду "." с параметром "/usr/X11R6/bin/xfontsel"

xfontsel у тебя _есть_
Код:

bash-3.00$ grep "xfontsel" /var/adm/packages/*
/var/adm/packages/x11-6.8.2-i486-3:usr/X11R6/bin/xfontsel

так что не парь тут мозги...

естественно запускать ее надо из под Хов

libricon 14-10-2005 21:49 364389

a ja gde, kak tq dumaesh, kak ja sda eto zalil ? sistema copy-paste

libricon 15-10-2005 10:48 364473

ja zapustil ego v xterm , a on ne otkrqvaet okno :(
Код:

bash-3.00# /usr/X11R6/bin/xfontsel
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: :0.0
bash-3.00#

no kogda ja ego 4erez run zapustil, to pojavilos' okno, i ja tama nashel russkie bukvq


libricon 15-10-2005 10:49 364474

tama est koi8 , 152 match, a 4to dalshe ?

Zur0 15-10-2005 13:03 364507


libricon
достало твой транслит читать... глоза ломать...

http://translit.ru/ пользуйся...
инче даже читать не буду...


Значит русские шрифты у тебя есть.
Возбми какую-нибудь софтину (например firefox), и выбери там русские шрифты...

PS в FAQ сукины дети (Ц)...


libricon 15-10-2005 14:23 364518

ну будет русский в браузере. А как быть с ситемой, как там текс на русском набирать? ну или папки

Zur0 15-10-2005 14:30 364520

Цитата:

А как быть с ситемой, как там текс на русском набирать?
в какой системе...


своим упорством, ты начинаешь уже бесить.


RTFM!!!

libricon 15-10-2005 20:59 364583

ура ,есть ... короче надо было мне добавить шрифты из виндовс папки и все, русский есть, только есть проблема, запятая и точка на 6 и 7 :(

Zur0 16-10-2005 19:32 364752

Цитата:

ура ,есть ... короче надо было мне добавить шрифты из виндовс папки и все
ура!!! еще один леминг научился читать!!!

Цитата:

только есть проблема, запятая и точка на 6 и 7
интересно... а че это че значит????

ЗЫ телепаты в отпуске!!!!

libricon 16-10-2005 21:07 364765

уже исправил, это значило , что в русской раскладке запятая была на 6,а точка на 7

kypm 17-10-2005 09:06 364852

libricon

Option "XkbLayout" "us,ru(winkeys)" ?

libricon 17-10-2005 19:40 365051

теперь да, т.е я тама включил кде'шную раскладку. потом отключили все заработало


Время: 05:21.

Время: 05:21.
© OSzone.net 2001-