ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alex Yustasov <yust@anti-leasure.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] suspend to disk & xv
Date: Fri, 23 Jun 2006 17:24:06 +0300
Message-ID: <20060623142406.GA13319@yust.work> (raw)
In-Reply-To: <957265820606230511j4744b933nf50598ba87902430@mail.gmail.com>

On Fri, Jun 23, 2006 at 09:11:07PM +0900, Denis G. Samsonenko wrote:
> Привет!
> 
> 23.06.06, Alex Yustasov написал:
> > > В случае suspend2 мне тогда помогло прописывание опции UseDummyXServer
> > > yes в /etc/hibernate/hibernate2.6.conf. Но сейчас у меня суспендится
> > > через powersave. Есть ли что-то подобное для него?
> > Там это так
> > XHacksResume() {
> >     if [ x"$XHACKS_NVIDIA" = "x1" ] ; then
> >         # Launch a dummy X server to reinitialise the graphics card
> >         PATH=$PATH:/usr/bin/X11:/usr/X11R6/bin
> >         if ! command -v X > /dev/null 2>&1 ; then
> >             vecho 1 "X not in path. Not starting dummy X server."
> >         else
> >             vecho 2 "Launching dummy X server."
> >             unset XAUTHORITY   # Make sure we don't clobber the user's .Xauthority
> >             xinit /bin/true -- `command -v X` :9 -auth /dev/null -audit 0 -nolisten tcp > /dev/null 2>&1
> >         fi
> >     fi
> > }
> 
> А где это? Или это надо куда-то вставить? Если да, то куда именно?
Это в scriptlets.d hibernate. После проснуться нужно выполнить
xinit /bin/true -- `command -v X` :9 -auth /dev/null -audit 0 -nolisten tcp > /dev/null 2>&1
а куда это вставить в powersave - не знаю.

-- 
    Alex Yustasov

ALT Linux fortune:
Спасибо, Костя. Моя вера в опенсорс теперь ещё больше "непокобелима" (тм).
		-- avp in sisyphus@

[xmms] Снежная баба - Воскресенье


  reply	other threads:[~2006-06-23 14:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-23 10:32 Denis G. Samsonenko
2006-06-23 10:34 ` Anton Farygin
2006-06-23 10:47 ` Denis G. Samsonenko
2006-06-23 11:09   ` Alex Yustasov
2006-06-23 12:11     ` Denis G. Samsonenko
2006-06-23 14:24       ` Alex Yustasov [this message]
2006-06-24  1:54         ` Denis G. Samsonenko
2006-06-24  6:08           ` Valery V. Inozemtsev
2006-06-24  7:14             ` Denis G. Samsonenko
2006-06-24  7:55               ` Valery V. Inozemtsev
2006-06-24 16:35                 ` Denis G. Samsonenko
2006-06-24 16:52                   ` Valery V. Inozemtsev
2006-06-24 20:53                   ` Alex Yustasov
2006-06-25  3:31                     ` Denis G. Samsonenko
2006-06-23 11:10   ` Anton Farygin
2006-06-23 12:15     ` Denis G. Samsonenko

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=20060623142406.GA13319@yust.work \
    --to=yust@anti-leasure.ru \
    --cc=sisyphus@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 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