ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "ALT Linux User" <altlinux.mailbox@gmail.com>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] ALD4. Upgrade to Branch 4. Настройка экранного разрешения в X.
Date: Wed, 12 Sep 2007 22:49:27 +0400
Message-ID: <40babb620709121149h768a6bf8gae085511d6fa80c0@mail.gmail.com> (raw)
In-Reply-To: <op.tyjzb6t2glg102@post.cnt.ru>

On 9/12/07, Владимир Гусев <vova1971@narod.ru> wrote:
> >> Тогда все проще - под root'ом найдите файл startx (/usr/bin/startx) и
> >> сделайте там следующее изменение:
> >> defaultserverargs="-dpi 96"
> >> Примечание: параметр не нужно заново вписывать, он уже есть в начале
> >> файла, просто добавьте ему значение -dpi 96
> >> Перегрузите иксы (я бы даже перегрузил комп целиком), и после смотрите
> >> xdpyinfo | grep resolution.
> > Сделал по инструкции, пока нет 96 dpi.
> > $ xdpyinfo | grep resolution
> >   resolution:    100x100 dots per inch
>
> Тогда пропишите еще и тут:
>
> [vova@vova ~]$ cat /etc/X11/xinit/xserverrc
> #!/bin/sh
> # $Id: xserverrc,v 1.2 2006/01/07 19:27:05 ldv Exp $
>
> X_server='X -dpi 96 -nolisten tcp'
> exec $X_server "$@"


Большое спасибо! Всё заработало.
xdpyinfo | grep resolution
  resolution:    96x96 dots pxdpyinfo | grep resolution
  resolution:    96x96 dots per incher inch

  reply	other threads:[~2007-09-12 18:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-12 16:21 ALT Linux User
2007-09-12 17:14 ` Владимир Гусев
2007-09-12 17:19   ` ALT Linux User
2007-09-12 17:32     ` Владимир Гусев
2007-09-12 17:57       ` ALT Linux User
2007-09-12 18:08         ` Владимир Гусев
2007-09-12 18:49           ` ALT Linux User [this message]
2007-09-12 19:07             ` Pavlov Konstantin
2007-09-12 20:09               ` Владимир Гусев
2007-09-12 20:08                 ` Pavlov Konstantin
2007-09-12 20:39                   ` Владимир Гусев
2007-09-13  7:16               ` ALT Linux User
2007-09-13  9:57                 ` Vyatcheslav Perevalov
2007-09-13 10:56                 ` Pavlov Konstantin

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=40babb620709121149h768a6bf8gae085511d6fa80c0@mail.gmail.com \
    --to=altlinux.mailbox@gmail.com \
    --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