From: Pavlov Konstantin <thresh@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] ALD4. Upgrade to Branch 4. Настройка экранного разрешения в X.
Date: Wed, 12 Sep 2007 23:07:24 +0400
Message-ID: <20070912190723.GA31203@cryo.net.ru> (raw)
In-Reply-To: <40babb620709121149h768a6bf8gae085511d6fa80c0@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1346 bytes --]
On Wed, Sep 12, 2007 at 10:49:27PM +0400, ALT Linux User wrote:
> 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
А теперь попробуйте вынести все это и сделать:
$ xrandr --dpi 96
Если заработает, то:
$ mkdir ~/.xsession.d/
$ cat << __EOF__ >> ~/.xsession.d/00-xrandr.sh
#!/bin/sh
xrandr --dpi 96
__EOF__
--
Ну вы азимут укажите, а я попробую сделать.
-- ktirf in devel@
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-09-12 19:07 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
2007-09-12 19:07 ` Pavlov Konstantin [this message]
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=20070912190723.GA31203@cryo.net.ru \
--to=thresh@altlinux.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