From 605241fd119c842f558eac5af932092ca1ac51fd Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Fri, 28 Nov 2014 01:30:24 -0500 Subject: [PATCH] Switched back to xinitrc for X applications Due to issues with X applications being started as systemd user services, temporarily switch back to using .xinitrc to run them. Note: in the future when it becomes possible to safely start my entire user session under a systemd users instance it will be adapted. See: https://wiki.archlinux.org/index.php/Systemd/User Signed-off-by: Collin J. Doering --- .config/systemd/user/unclutter.service | 3 ++- .config/systemd/user/xbindkeys.service | 3 +++ .config/systemd/user/xcompmgr.service | 1 + .config/systemd/user/xscreensaver.service | 1 + .xinitrc | 8 ++++++++ 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.config/systemd/user/unclutter.service b/.config/systemd/user/unclutter.service index e1aaba6..cc622e7 100644 --- a/.config/systemd/user/unclutter.service +++ b/.config/systemd/user/unclutter.service @@ -1,8 +1,9 @@ +# BROKEN [Unit] Description = Remove idle cursor image from screen [Service] -type = simple +Type = simple ExecStart = /usr/bin/unclutter Restart = always diff --git a/.config/systemd/user/xbindkeys.service b/.config/systemd/user/xbindkeys.service index ad17060..373ccdc 100644 --- a/.config/systemd/user/xbindkeys.service +++ b/.config/systemd/user/xbindkeys.service @@ -1,9 +1,12 @@ +# BROKEN [Unit] Description = A grabbing keys program for X +#After = xorg.service [Service] ExecStart = /usr/bin/xbindkeys -n -f %h/.xbindkeysrc Restart = always +#StandardOutput = null [Install] WantedBy = default.target diff --git a/.config/systemd/user/xcompmgr.service b/.config/systemd/user/xcompmgr.service index 270441f..29fea78 100644 --- a/.config/systemd/user/xcompmgr.service +++ b/.config/systemd/user/xcompmgr.service @@ -1,3 +1,4 @@ +# BROKEN [Unit] Description = Simple X compositing manager diff --git a/.config/systemd/user/xscreensaver.service b/.config/systemd/user/xscreensaver.service index 43e6604..c569304 100644 --- a/.config/systemd/user/xscreensaver.service +++ b/.config/systemd/user/xscreensaver.service @@ -1,3 +1,4 @@ +# BROKEN [Unit] Description = Extensible screen saver framework, plus locking diff --git a/.xinitrc b/.xinitrc index 3498f70..b482e6c 100755 --- a/.xinitrc +++ b/.xinitrc @@ -41,6 +41,14 @@ function init_local_session() { # screen -dmS general & #fi + # Start X applications that can't be started from user systemd services + start-pulseaudio-x11 & + unclutter & + xcompmgr & + xbindkeys & + xscreensaver -no-splash & + deskcon-server & + # Set the default wm to xmonad DEFAULT_WM=xmonad }