From: Olvin <olvin@rambler.ru> To: ALT Linux Community <community@lists.altlinux.org> Subject: [Comm] Смена локали: koi8-r -> cp1251 Date: Fri, 31 Mar 2006 15:17:08 +0300 Message-ID: <442D1DC4.3090502@rambler.ru> (raw) Есть ALM2.4, локаль у всех ru_RU.KOI8-R. По причине перехода сети с SMB на FTP есть необходимость изменить локаль на ru_RU.CP1251. Иначе Konqueror показывает в FTP-каталоге названия в бнопне и перекодировать средствами самого Konqueror'а нет возможности (впрочем, может я недосмотрел?) Попытался изменить так: 1. В /etc/sysconfig/i18n меняем koi8-r на cp1251 (для придирчивых: с соблюдением регистра - KOI8-R -> CP1251, koi8-r -> cp1251) 2. Аналогично для каждого пользователя меняем ~/.i18n 3. В /etc/samba/smb.conf выставляем unix charset = cp1251 и service smb restart 4. С помощью convmv меняем кодировку на всех файловых системах с koi8-r на cp1251 (везде ext3). Кстати, /usr/share/wallpapers/lav-nature/. Там у одного файла в имени буква должна быть из набора ASCII, а она заменена аналогичной по начертанию русской буквой. После этого логинимся и всё вроде бы нормально. Но есть несколько шероховатостей. 1. Напроч перестают монтироваться ресурсы Windows (смысл ошибки: нет такого ресурса - no such share). 2. Потерялось сглаживание шрифтов у приложений, использующих GTK 1.x 3. USB-Flash и USB-HDD: разделы FAT монтируются по-прежнему с iocharset=koi8-r (это не в fstab написано, это реально происходящее) Пока всё вернул назад. Наверняка всплыли бы какие-нибудь ещё сложности. Но это самое главное, без этого придётся сидеть на koi8-r. Как указанные сложности решить? Или, если я сделал переход неправильно, прошу направить по верному пути. Где-то была ссылка про UTF-8 -> koi8-r, но это не подошло, у меня не ALC3.0, а ALM2.4.
next reply other threads:[~2006-03-31 12:17 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-03-31 12:17 Olvin [this message] 2006-04-02 19:00 ` Michael Shigorin 2006-04-03 7:11 ` Olvin 2006-04-03 7:15 ` Michael Shigorin 2006-04-03 7:25 ` Olvin 2006-04-03 8:13 ` Michael Shigorin 2006-04-03 13:16 ` Olvin 2006-04-03 13:20 ` Michael Shigorin 2006-04-04 6:59 ` Olvin 2006-04-04 7:03 ` Michael Shigorin 2006-04-04 7:17 ` Olvin 2006-04-04 8:18 ` Michael Shigorin 2006-04-04 10:22 ` Olvin 2006-04-04 10:35 ` Michael Shigorin 2006-04-04 10:33 ` Anton Gorlov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=442D1DC4.3090502@rambler.ru \ --to=olvin@rambler.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git