unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Joshua Branson <jbranso@dismail.de>
To: Miguel <rosen644835@gmail.com>
Cc: Buttery Pancake via <help-guix@gnu.org>
Subject: Re: Shepherd User Services
Date: Thu, 24 Sep 2020 08:04:23 -0400	[thread overview]
Message-ID: <87pn6b1iuw.fsf@dismail.de> (raw)
In-Reply-To: <5f67ff72.1c69fb81.c246c.d504@mx.google.com> (Miguel's message of "Mon, 21 Sep 2020 03:18:29 +0200")


Thanks Miguel!

That solved my issue.  My ~/.bash_profile now looks like:

#+BEGIN_SRC sh
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi

# shepherd

if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
    export MOZ_ENABLE_WAYLAND=1
    export GUIX_PACKAGE_PATH=/home/joshua/prog/gnu/guix/guix-packages/
    XDG_DATA_DIRS=/var/lib/flatpak/exports/share:/home/joshua/.local/share/flatpak/exports/share:$XDG_DATA_DIRS
    # this may fix a bug that I have with termite confusing backspace as space in guix environment
    # export TERM=linux
    shepherd -c /home/joshua/.config/shepherd/init.scm &
    exec dbus-run-session sway
fi
#+END_SRC

#+BEGIN_SRC sh
herd status
Started:
 + root
Stopped:
 - vpn
#+END_SRC
--
Joshua Branson
Sent from Emacs and Gnus
https://gnucode.me


  reply	other threads:[~2020-09-24 12:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-21  1:18 Shepherd User Services Miguel
2020-09-24 12:04 ` Joshua Branson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-21  0:21 Buttery Pancake via
2020-09-21  1:59 ` Buttery Pancake via
2020-09-21 15:18   ` Tobias Geerinckx-Rice
2020-09-24 11:57     ` Joshua Branson

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pn6b1iuw.fsf@dismail.de \
    --to=jbranso@dismail.de \
    --cc=help-guix@gnu.org \
    --cc=rosen644835@gmail.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).