Permalink
Browse files

xinitrc: update for systemd --user

  • Loading branch information...
1 parent 23e2676 commit 18f414acc709a04ccd2c7b2481749d7999fe3bf8 @falconindy committed Mar 31, 2014
Showing with 2 additions and 8 deletions.
  1. +2 −8 .xinitrc
View
@@ -7,14 +7,8 @@ for _ in /etc/X11/xinit/xinitrc.d/*; do
[[ -f $_ ]] && . "$_"
done
-# launch a dbus session bus and write the location to file
-read machine_id </etc/machine-id
-dbus-launch --autolaunch="$machine_id" --binary-syntax --close-stderr --exit-with-session
-if [ -f "$HOME/.dbus/session-bus/$machine_id-${DISPLAY#:}" ]; then
- . "$HOME/.dbus/session-bus/$machine_id-${DISPLAY#:}"
- unset machine_id
- printf '%s\n' "$DBUS_SESSION_BUS_ADDRESS" > "$HOME/.dbus_address"
-fi
+systemctl --user import-environment 'DISPLAY'
+# systemctl --user start xorg.target
# fonts
xset +dpms +fp /usr/share/fonts/local,/usr/share/fonts/artwiz-fonts

0 comments on commit 18f414a

Please sign in to comment.