Github messages for voidlinux
 help / color / mirror / Atom feed
From: gspe <gspe@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Emacs-GTK freezes system
Date: Sun, 31 Jan 2021 11:24:33 +0100	[thread overview]
Message-ID: <20210131102433.btRYux3_4Pc_9mqKavvXfHJiMU_D22TLOTLqj-EI0EE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15911@inbox.vuxu.org>

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

New comment by gspe on void-packages repository

https://github.com/void-linux/void-packages/issues/15911#issuecomment-770359631

Comment:
Correct configuration of D-Bus is not an easy task, information are not very clear and in some case in contradiction this is true in every distribution not only in void, for example look at this long mail from debian mailing list https://lists.debian.org/debian-devel/2016/08/msg00554.html

In my opinion Void D-Bus documentation doesn't provide enough information about how an user have to correctly start an user session bus.
I've taken inspiration from kde, https://github.com/KDE/plasma-workspace/blob/af44f2cc79fb816e31ea125141e75abb66320602/startkde/plasma-dbus-run-session-if-needed, and now I'm starting my sway with a wrapper script, `/usr/bin/sway-run.sh` with this content:

 ```
#!/bin/sh

# Session
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway

# D-Bus
# If the session bus is not available it is spawned and wrapper round our program
# Otherwise we spawn our program directly
drs=
if [ -z "${DBUS_SESSION_BUS_ADDRESS}" ]
then
    drs=dbus-run-session
fi

# Environment
# Imports sway desktop enviroments
set -a
. /etc/sway/env
set +a

exec ${drs} sway "$@"
 ```

So having some examples on how to start a dbus user session will be very nice.

Another idea would be to have some sane default configuration for window manager in addiction to the standard one, for example add the sway wrapper script so a medium user can easily start a sway session but advanced user can start sway session as he likes.



  parent reply	other threads:[~2021-01-31 10:24 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-29 22:04 [ISSUE] " voidlinux-github
2019-10-30  9:23 ` voidlinux-github
2019-10-30 16:04 ` voidlinux-github
2019-10-30 16:11 ` voidlinux-github
2019-10-30 16:12 ` voidlinux-github
2019-10-30 16:14 ` voidlinux-github
2019-11-01 16:19 ` voidlinux-github
2019-11-08 22:32 ` voidlinux-github
2019-11-08 22:33 ` voidlinux-github
2019-11-09 18:02 ` voidlinux-github
2020-02-07 13:24 ` voidlinux-github
2020-03-11 18:14 ` gspe
2020-03-11 18:16 ` xtraeme
2020-03-11 18:20 ` gspe
2020-03-11 18:22 ` xtraeme
2020-03-11 18:22 ` gspe
2021-01-30  2:36 ` ericonr
2021-01-31 10:24 ` gspe [this message]
2021-01-31 19:48 ` ericonr
2021-01-31 20:32 ` ericonr
2021-01-31 20:47 ` gspe
2021-01-31 20:49 ` ericonr
2021-01-31 20:56 ` ericonr
2021-01-31 21:10 ` gspe
2021-02-01  1:25 ` [ISSUE] [CLOSED] " 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=20210131102433.btRYux3_4Pc_9mqKavvXfHJiMU_D22TLOTLqj-EI0EE@z \
    --to=gspe@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).