ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: Font in emacs-X11
Date: Wed, 11 Dec 2002 13:24:27 +0300
Message-ID: <20021211132427.3f5104e9.vsu@altlinux.ru> (raw)
In-Reply-To: <20021211112726.1d8eaffc.vyt@vzljot.ru>

On Wed, 11 Dec 2002 11:27:26 +0300
Vitaly Ostanin <vyt@vzljot.ru> wrote:

> Кстати, какие настройки имеют больший приоритет, глобальные, или
> из ~/.Xdefaults ?

На самом деле делается xrdb -merge сначала с системными файлами, потом
с ~/.Xresources и ~/.Xdefaults (какое из них правильнее - не знаю, у
меня ~/.Xresources). Соответственно пользовательские записи перекроют
системные, дальше уже идет работа по правилам X Resource Database.

> PS Если кто-нибудь напомнит, как привести в силу изменения в
> ~/.Xdefaults без перезапуска сессии X - будет просто здорово :)

Если записи только добавлялись: xrdb -merge ~/.Xresources

Если еще и удалялись - нужно воспроизвести последовательность xrdb
-merge ..., выполняемую в /etc/X11/Xsession, но первый вызов выполнить
без -merge (это удалит все старые ресурсы).

А проще всего - поставить в ~/.xprofile вызов xrdb ~/.Xresources, что
убьет все пришедшие из /etc/X11/Xresources* настройки со всей их
кривостью. Правда, в случае с emacs есть еще такая гадость, как
/etc/X11/app-defaults/Emacs - вот этот файл приходится удалять вообще.


  reply	other threads:[~2002-12-11 10:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-10 16:43 [sisyphus] " Vitaly Ostanin
2002-12-10 21:27 ` Ivan Zakharyaschev
2002-12-11  8:27   ` [sisyphus] " Vitaly Ostanin
2002-12-11 10:24     ` Sergey Vlasov [this message]
2002-12-11 21:07     ` Ivan Zakharyaschev
2002-12-17  9:57       ` Vitaly Ostanin

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=20021211132427.3f5104e9.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git