Github messages for voidlinux
 help / color / mirror / Atom feed
From: sardior <sardior@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: ratbagd starts too early?
Date: Tue, 17 Nov 2020 14:16:41 +0100	[thread overview]
Message-ID: <20201117131641.icoEf39tNoKaE6-1Oed5Q6mflKaIVXnQ_rM9s-dWQXk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26430@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

New comment by sardior on void-packages repository

https://github.com/void-linux/void-packages/issues/26430#issuecomment-728919995

Comment:
Tried it just to be sure and it didn't work. In my understanding by the time I login all system services should be running so the tty condition would have worked. 

Also tried a condition to wait untill the x server is started as I use i3 and xinit is triggered post login and it might be some basic gui dependency but no luck.

Here is my run script so far:

```
#!/bin/sh
sv check dbus >/dev/null || exit 1

# Added conditions START
[[ ! xset q >/dev/null ]] || exit 1
sv check udevd >/dev/null || exit 1
[[ ! -z $(w | awk '/tty[0-9]+/ {print $1}') ]] && exit 1
# Added conditions END

exec ratbagd
```


  parent reply	other threads:[~2020-11-17 13:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 15:05 [ISSUE] ratbgagd " sardior
2020-11-16 15:16 ` ratbagd " ericonr
2020-11-17 13:16 ` sardior [this message]
2020-11-22 12:15 ` ahesford
2020-11-22 13:50 ` Duncaen
2020-11-24 15:58 ` sardior
2020-11-24 16:02 ` ericonr
2020-11-24 16:03 ` ericonr

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=20201117131641.icoEf39tNoKaE6-1Oed5Q6mflKaIVXnQ_rM9s-dWQXk@z \
    --to=sardior@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).