unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Joshua Branson <jbranso@dismail.de>
To: Vagrant Cascadian <vagrant@debian.org>
Cc: Bone Baboon <bone.baboon@disroot.org>,  help-guix@gnu.org
Subject: Re: Starting Sway a Wayland window manager
Date: Sat, 27 Mar 2021 22:27:19 -0400	[thread overview]
Message-ID: <87mtuoovw8.fsf@dismail.de> (raw)
In-Reply-To: <87blb4ysii.fsf@yucca> (Vagrant Cascadian's message of "Sat, 27 Mar 2021 18:30:13 -0700")

Vagrant Cascadian <vagrant@debian.org> writes:

> On 2021-03-27, Bone Baboon wrote:
>> I have installed Sway a Wayland window manager.
>>
>> I have copied the `gnu/store/<hash>-sway-1.5.1/etc/sway/config` to
>> `~/.sway/config`.
>>
>> When I run `sway` or `sudo sway` on virtual terminal 1 it outputs
>> "XDG_RUNTIME_DIR is not set in the environment. Aborting.".  `man sway`
>> and `sway --help` does not mention `XDG_RUNTIME_DIR`.  An suggestions on
>> how to deal with this error?
>
> Is the elogind service running? I *think* that is what I needed to get
> sway working from the console...

That seems to be the trick.

My .bash_profile is here:

#+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

>
> live well,
>   vagrant
>

-- 
Joshua Branson (joshuaBPMan in #guix)
Sent from Emacs and Gnus
  https://gnucode.me
  https://video.hardlimit.com/accounts/joshua_branson/video-channels
  https://propernaming.org
  "You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar
  


  reply	other threads:[~2021-03-28  2:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-28  0:43 Starting Sway a Wayland window manager Bone Baboon
2021-03-28  1:05 ` jbranso
2021-03-28  1:30 ` Vagrant Cascadian
2021-03-28  2:27   ` Joshua Branson [this message]
2021-03-28 16:45     ` Joshua Branson
2021-03-29 13:53       ` Bone Baboon
2021-03-29 15:07         ` Joshua Branson
2021-03-29  3:19     ` Bone Baboon
2021-03-29  3:55       ` Joshua Branson
2021-03-29 13:45         ` Bone Baboon
2021-03-29 18:23           ` Vagrant Cascadian
2021-03-31 21:12             ` Bone Baboon
2021-03-31 22:41               ` Vagrant Cascadian
2021-03-29  3:14   ` Bone Baboon
2021-03-29  3:54     ` Joshua Branson
2021-03-29 15:37 ` raingloom

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=87mtuoovw8.fsf@dismail.de \
    --to=jbranso@dismail.de \
    --cc=bone.baboon@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=vagrant@debian.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 read-only IMAP folder(s) and NNTP newsgroup(s).