summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-12 09:15:35 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-12 09:15:35 +0200
commit02fc2262e60ff84d531f8b9a5a71f104e34ed8b6 (patch)
treece4e9d05802d7df359d730c3bf8ef3c172372acb /.xinitrc
parented4da65f2ddbc31b24c6047f46e4c574ff5b3681 (diff)
downloaddotfiles-02fc2262e60ff84d531f8b9a5a71f104e34ed8b6.tar.gz
dotfiles-02fc2262e60ff84d531f8b9a5a71f104e34ed8b6.tar.bz2
dotfiles-02fc2262e60ff84d531f8b9a5a71f104e34ed8b6.zip
awesome: got back to non-systemd user session usage
That scheme is broken in terms of processes that are part of systemd --user wont be part of the active x11 session. so no access to network,suspend,audio,..
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc11
1 files changed, 6 insertions, 5 deletions
diff --git a/.xinitrc b/.xinitrc
index 6e8d292..613b4cb 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -11,10 +11,11 @@
unset command
-if [ -S $XDG_RUNTIME_DIR/dbus/user_bus_socket ]
-then
- export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/dbus/user_bus_socket
-else
+#if [ -S $XDG_RUNTIME_DIR/dbus/user_bus_socket ]
+#then
+# export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/dbus/user_bus_socket
+## command="systemd-run --user --scope --unit windowmanager -- "
+#else
# temporarily unset XDG_SESSION_COOKIE so consolekit launches a new session
realxdgcookie="$XDG_SESSION_COOKIE"
XDG_SESSION_COOKIE=
@@ -27,6 +28,6 @@ else
# restore XDG_SESSION_COOKIE
XDG_SESSION_COOKIE="$realxdgcookie"
unset realxdgcookie
-fi
+#fi
exec $command $(XSESSION="${2:-${XSESSION}}" /etc/X11/chooser.sh)