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:
parent
9e9410bb4e
commit
605241fd11
|
@ -1,8 +1,9 @@
|
|||
# BROKEN
|
||||
[Unit]
|
||||
Description = Remove idle cursor image from screen
|
||||
|
||||
[Service]
|
||||
type = simple
|
||||
Type = simple
|
||||
ExecStart = /usr/bin/unclutter
|
||||
Restart = always
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# BROKEN
|
||||
[Unit]
|
||||
Description = Simple X compositing manager
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# BROKEN
|
||||
[Unit]
|
||||
Description = Extensible screen saver framework, plus locking
|
||||
|
||||
|
|
8
.xinitrc
8
.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
|
||||
}
|
||||
|
|
Reference in New Issue