ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "\"Четвериков К.В.\"" <chetverikov@mann-schroeder.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] freenx server + nx client 3.5 проблема копирования русского текста.
Date: Fri, 10 Apr 2015 09:37:06 +0300
Message-ID: <55276F92.4030209@mann-schroeder.ru> (raw)
In-Reply-To: <5526A6F5.2040908@gmail.com>

Уж если заводить речь о извращениях, то можно сделать более изящно :) В 
результате изучения глюка, выяснил, что xclip -o выводить правильное 
содержимое буфера. Так вот, на TDE, при запущенном klipper, можно 
повесить на сочетание клавиш такую команду:
dcop klipper klipper setClipboardContents "$(xclip -o)"
С таким костылём, русский текст в общедесктопном буфере обмена 
становится нормальным. В других DE это можно сделать через аналогичные 
команды работы с менеджерами буфера обмена. Но не могу назвать это 
решением проблемы, по крайней мере, пока не нашёл способа определять из 
какого именно окна был скопирован текст, чтобы автоматизировать 
применение этого костыля и сделать его прозрачным для пользователя. 
Хочется грамотного фикса.

09.04.2015 19:21, Alexander Yereschenko пишет:
> В аналогичной ситуации, но с 1С7.7, приходилось выкручиваться хитро:
> Копируем в буфер обмена в 1С, открываем там же в nx что-то типа
> блокнота, КWrite или даже notepad через тот же wine, вставляем из буфера
> в него, выделяем и копируем уже в блокноте в буфер, а после этого
> вставляем локально уже куда надо.

-- 
С уважением,
Четвериков Константин
Системный администратор
ООО „МАНН и ШРЁДЕР Руссланд“
Лихачевский пр-д.10, г. Долгопрудный 141700 МО
Тел. +7 (495) 617-617-2 доб. 212 Моб. +7 916-990-89-26
e-mail: chetverikov@mann-schroeder.ru www.mann-schroeder.ru



  reply	other threads:[~2015-04-10  6:37 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09 10:17 "Четвериков К.В."
2015-04-09 15:47 ` Michael Shigorin
2015-04-09 16:21   ` Alexander Yereschenko
2015-04-10  6:37     ` "Четвериков К.В." [this message]
2015-04-10  6:27   ` "Четвериков К.В."
2015-05-04 13:53 ` gBopHuk
2015-05-04 18:49   ` [Comm] test gBopHuk
2015-05-04 22:52     ` Михаил Радюк
2015-05-06 12:52   ` [Comm] freenx server + nx client 3.5 проблема копирования русского текста "Четвериков К.В."
2015-05-13 17:08     ` gBopHuk
2015-05-19 13:39       ` "Четвериков К.В."
2015-05-20 15:01           ` "Четвериков К.В."
2015-05-21  9:11 ` Michael Shigorin
2015-05-21 12:37   ` "Четвериков К.В."
2015-05-21 16:55     ` Michael Shigorin
2015-05-22 13:02       ` "Четвериков К.В."
2015-05-22 14:13         ` Michael Shigorin
2015-05-26 13:45           ` "Четвериков К.В."
2015-05-26 18:40             ` Michael Shigorin
2015-05-27 11:20               ` "Четвериков К.В."
2015-05-27 15:15                 ` Michael Shigorin
2015-05-28  9:00                   ` "Четвериков К.В."
2015-05-28  9:15                     ` Michael Shigorin

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=55276F92.4030209@mann-schroeder.ru \
    --to=chetverikov@mann-schroeder.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