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 18:08:20 +0300
Message-ID: <40babb620702210708n1a0267a8p5b8ef24a280b0a8a@mail.gmail.com> (raw)
In-Reply-To: <45DC5983.10809@ntmdt.ru>
> И поэтому можно (после установки xinitrc?) из 3 ранлевела запускать иксы
> командой
> xinit
> А значит ей можно скормить параметры:
> xinit -- -dpi 96
>
> Возможно, по аналогии, сработает и
> startx -- -dpi 96
Xsession поставил.
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="-dpi 96"
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 -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
Подскажите, пожалуйста, где здесь можно подставить параметр '-dpi 96'?
Спрашиваю, поскольку ни startx windowmaker -dpi 96 ни startx -dpi 96
windowmaker Иксы не запускают.
next prev parent reply other threads:[~2007-02-21 15:08 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
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 [this message]
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=40babb620702210708n1a0267a8p5b8ef24a280b0a8a@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