FS#60179 - [dbus] 1.12.10-2 breaks dbus-launch --exit-with-x11

Attached to Project: Arch Linux
Opened by Gabriel Martinez (mystal) - Monday, 24 September 2018, 15:00 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 24 September 2018, 15:20 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In this update to the dbus package, the --without-x option was added to disable autolaunch (https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/dbus&id=d915d6c247a447bdcf710b76aac085e7cd189075). However, that also disables --exit-with-x11 (and breaks --exit-with-session for my uses). I use the i3 window manager and run it with startx using `exec dbus-launch --exit-with-x11 i3`. After the update, I am no longer able to use that flag. Trying to use --exit-with-session locks up i3--and other window managers--upon using certain keyboard function keys (see: https://github.com/i3/i3/issues/2979#issuecomment-423661559, https://github.com/ch11ng/exwm/issues/210#issuecomment-350534661, https://github.com/awesomeWM/awesome/issues/1064#issuecomment-250789125).

I was able to fix the issue locally by building dbus with the following patch to the PKGBUILD:
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 441990b..88bb7f7 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -47,7 +47,7 @@ build() {
--with-dbus-user=dbus \
--enable-user-session \
--disable-static \
- --without-x
+ --disable-x11-autolaunch
make
}

This re-enables X11 functionality, including --exit-with-x11, while disabling X11 autolaunch. I think the patch should be applied to the package in core and shipped to users.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 24 September 2018, 15:20 GMT
Reason for closing:  Not a bug
Additional comments about closing:  dbus is handled by systemd, and has been for a long time. Don't use dbus-launch

Loading...