You are not logged in.
Pages: 1
Hi,
I'm trying to set up my ~/.xinitrc.
So I read what /etc/X11/xinit/xinitrc contained by default, and it sources /etc/X11/xinit/xinitrc.d/?*.sh which on my system only contains 30-dbus.sh
cat /etc/X11/xinit/xinitrc.d/30-dbus.sh
#!/bin/bash
# launches a session dbus instance
if [ -z "${DBUS_SESSION_BUS_ADDRESS-}" ] && type dbus-launch >/dev/null; then
eval $(dbus-launch --sh-syntax --exit-with-session)
fi
My (somewhat related) questions are the following :
- Would sourcing all of /etc/X11/xinit/xinitrc.d/?*.sh in my ~/.xinitrc be a good idea ?
- Seeing as "/etc/X11/xinit/xinitrc" won't be read if ~/.xinitrc is present (as per "man startx"), should I include this script in my ~/.xinitrc (i.e. is executing "dbus-launch" each time X is started necessary ) ?
Dbus is a dependency of a few packages I use (chromium, systemd, ...) but is always executing it needed for a functionning system (won't, for example, these programs automatically do the necessary stuff if they required at some point some of dbus' functionality ? ) ? Can't, for example, systemd execute it if/when necessary ?
Just trying to understand my system...
Thank you.
Last edited by Resistance (2015-05-22 15:20:04)
Offline
See https://wiki.archlinux.org/index.php/D-Bus
D-Bus is enabled automatically when using systemd because dbus is a dependency of systemd.
Other init systems may behave differently, so maybe you have to start dbus manually if you're not using systemd.
Last edited by karol (2015-05-22 16:01:07)
Offline
Pages: 1