[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting Sway a Wayland window manager

From: Joshua Branson
Subject: Re: Starting Sway a Wayland window manager
Date: Sat, 27 Mar 2021 22:27:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Vagrant Cascadian <> 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:

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

# shepherd

if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
    export GUIX_PACKAGE_PATH=/home/joshua/prog/gnu/guix/guix-packages/
    # 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

> live well,
>   vagrant

Joshua Branson (joshuaBPMan in #guix)
Sent from Emacs and Gnus
  "You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar

reply via email to

[Prev in Thread] Current Thread [Next in Thread]