From: "ALT Linux User" <altlinux.mailbox@gmail.com>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] Kak ustanovit' 96dpi screen resolution for WindowMaker?
Date: Wed, 21 Feb 2007 16:06:30 +0300
Message-ID: <40babb620702210506h1095af3dw8d0293bad937596d@mail.gmail.com> (raw)
In-Reply-To: <87mz37bs17.fsf@frontier.dottedmag.net>
Уважаемые Господа!
Давайте не будем ругаться. Пожалуйста. Если вы не против, давайте
продолжим обсуждение в том же конструктивном русле.
Итак,
1. Если делать по методу, предложенному господином Владимир Гусев
<vova1971@narod.ru> и попытаться вставить -dpi 96 в
/etc/X11/xinit/xserverrc. Подскажите, плиз, а что делать, если
xserverrc выглядит так:
#!/bin/bash
#
# move this file to ~/.xserverrc, if you don't want to allow
# everybody to get access to your X-Server
#
dspnum=":0"
args=""
done=no
if test -z "$XAUTHORITY" ; then
auth="$HOME/.Xauthority"
else
auth="$XAUTHORITY"
fi
while test -n "$1" ; do
case "$1" in
\:[0-9])
dspnum="$1" ; shift ;;
-auth)
done=yes
args="$args $1" ; shift ;;
*)
args="$args $1" ; shift ;;
esac
done
# handle TCP port 6000
. /etc/sysconfig/displaymanager
test "$DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN" != "yes" && \
args="$args -dpi 96 -nolisten tcp"
if test -x "`type -p keygen`" -a "$done" != "yes" ; then
if [ ! -x "`type -p hostname`" ] ; then
echo "startx: can't get my hostname - exiting" 1>&2
exit 1
else
host=`hostname -f`
fi
trap "echo" 1 2 15
cookie="MIT-MAGIC-COOKIE-1 `keygen`"
tcpip="$host$dspnum"
unix="${host%%.*}/unix$dspnum"
xauth -f $auth source - <<-EOF
add $tcpip $cookie
add $unix $cookie
add ${host}/unix$dspnum $cookie
EOF
cookie=
exec X $dspnum -auth $auth $args
else
exec X $dspnum $args
fi
2. Если действовать по методу, предложенному господином "Konstantin.
A. Bylym" <krm-tiens@mail.ru> то:
2.1 А что если xorg.conf ДВА файла? Один лежит в etc/X11/xorg.conf а
другой в var/lib/sax/xorg.conf? Какой из них использовать?
Вот секции 'Monitor' из каждого из них соответственно:
etc/X11/xorg.conf
-----------------------
Section "Monitor"
Identifier "Monitor[0]"
VendorName "SAM"
ModelName "SAMSUNG SYNCMASTER"
UseModes "Modes[0]"
DisplaySize 338 270
HorizSync 29.0 - 81.0
VertRefresh 43.0 - 75.0
Option "DPMS"
EndSection
var/lib/sax/xorg.conf
--------------------------
Section "Monitor"
DisplaySize 338 270
HorizSync 29-81
Identifier "Monitor[0]"
ModelName "SAMSUNG SYNCMASTER"
Option "DPMS"
VendorName "SAM"
VertRefresh 43-75
UseModes "Modes[0]"
EndSection
Какой править?
Что делать?
Можно ли использовать оба метода одновременно?
next prev parent reply other threads:[~2007-02-21 13:06 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-21 10:54 ALT Linux User
2007-02-21 11:07 ` Alexey Morsov
2007-02-21 11:10 ` Владимир Гусев
2007-02-21 11:22 ` Artem Zolochevskiy
2007-02-21 11:49 ` ALT Linux User
2007-02-21 12:00 ` Владимир Гусев
2007-02-21 12:03 ` Valery V. Inozemtsev
2007-02-21 12:15 ` Владимир Гусев
2007-02-21 12:06 ` Mikhail Gusarov
2007-02-21 12:12 ` Владимир Гусев
2007-02-21 12:36 ` Pavlov Konstantin
2007-02-21 12:56 ` Владимир Гусев
2007-02-21 12:43 ` Mikhail Gusarov
2007-02-21 12:51 ` Владимир Гусев
2007-02-21 13:12 ` Mikhail Gusarov
2007-02-21 13:21 ` Владимир Гусев
2007-02-21 13:06 ` ALT Linux User [this message]
2007-02-21 13:17 ` Владимир Гусев
2007-02-21 13:30 ` ALT Linux User
2007-02-21 14:07 ` Владимир Гусев
2007-02-21 13:26 ` Владимир Гусев
2007-02-21 13:37 ` Dmitriy L. Kruglikov
2007-02-21 13:35 ` Konstantin. A. Bylym
2007-02-21 12:29 ` Konstantin. A. Bylym
2007-02-21 12:18 ` Alexei V. Mezin
2007-02-21 13:44 ` Шишков Евгений
2007-02-21 13:48 ` Alexey Morsov
2007-02-21 13:58 ` Шишков Евгений
2007-02-21 14:10 ` Владимир Гусев
2007-02-21 14:14 ` ALT Linux User
2007-02-21 14:25 ` Владимир Гусев
2007-02-21 14:38 ` Alexei V. Mezin
2007-02-21 14:55 ` Владимир Гусев
2007-02-21 15:08 ` ALT Linux User
2007-02-21 15:17 ` Владимир Гусев
2007-02-21 16:06 ` Valery V. Inozemtsev
2007-02-21 16:24 ` ALT Linux User
2007-02-21 16:39 ` ALT Linux User
2007-02-21 16:58 ` Владимир Гусев
2007-02-21 18:40 ` ALT Linux User
2007-02-21 19:11 ` Pavlov Konstantin
2007-02-21 19:26 ` Владимир Гусев
2007-02-22 6:28 ` Michael Holzman
2007-02-22 12:12 ` Алексей Синицын
2007-02-22 17:18 ` Michael Holzman
2007-02-23 7:30 ` Алексей Синицын
2007-02-23 9:22 ` Michael Holzman
2007-02-21 17:00 ` Владимир Гусев
2007-02-21 11:26 ` Konstantin. A. Bylym
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=40babb620702210506h1095af3dw8d0293bad937596d@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