[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 <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
- Starting Sway a Wayland window manager, Bone Baboon, 2021/03/27
- Re: Starting Sway a Wayland window manager, jbranso, 2021/03/27
- Re: Starting Sway a Wayland window manager, Vagrant Cascadian, 2021/03/27
- Re: Starting Sway a Wayland window manager,
Joshua Branson <=
- Re: Starting Sway a Wayland window manager, Bone Baboon, 2021/03/28
- Re: Starting Sway a Wayland window manager, Joshua Branson, 2021/03/28
- Re: Starting Sway a Wayland window manager, Bone Baboon, 2021/03/29
- Re: Starting Sway a Wayland window manager, Vagrant Cascadian, 2021/03/29
- Re: Starting Sway a Wayland window manager, Bone Baboon, 2021/03/31
- Re: Starting Sway a Wayland window manager, Vagrant Cascadian, 2021/03/31
Re: Starting Sway a Wayland window manager, Bone Baboon, 2021/03/28