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 <rekahsoft@gmail.com>
This commit is contained in:
Collin J. Doering 2014-11-28 01:30:24 -05:00 committed by Collin J. Doering
parent 9e9410bb4e
commit 605241fd11
5 changed files with 15 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# BROKEN
[Unit]
Description = Remove idle cursor image from screen
[Service]
type = simple
Type = simple
ExecStart = /usr/bin/unclutter
Restart = always

View File

@ -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

View File

@ -1,3 +1,4 @@
# BROKEN
[Unit]
Description = Simple X compositing manager

View File

@ -1,3 +1,4 @@
# BROKEN
[Unit]
Description = Extensible screen saver framework, plus locking

View File

@ -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
}