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]
|
[Unit]
|
||||||
Description = Remove idle cursor image from screen
|
Description = Remove idle cursor image from screen
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
type = simple
|
Type = simple
|
||||||
ExecStart = /usr/bin/unclutter
|
ExecStart = /usr/bin/unclutter
|
||||||
Restart = always
|
Restart = always
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
|
# BROKEN
|
||||||
[Unit]
|
[Unit]
|
||||||
Description = A grabbing keys program for X
|
Description = A grabbing keys program for X
|
||||||
|
#After = xorg.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart = /usr/bin/xbindkeys -n -f %h/.xbindkeysrc
|
ExecStart = /usr/bin/xbindkeys -n -f %h/.xbindkeysrc
|
||||||
Restart = always
|
Restart = always
|
||||||
|
#StandardOutput = null
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy = default.target
|
WantedBy = default.target
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# BROKEN
|
||||||
[Unit]
|
[Unit]
|
||||||
Description = Simple X compositing manager
|
Description = Simple X compositing manager
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# BROKEN
|
||||||
[Unit]
|
[Unit]
|
||||||
Description = Extensible screen saver framework, plus locking
|
Description = Extensible screen saver framework, plus locking
|
||||||
|
|
||||||
|
|
8
.xinitrc
8
.xinitrc
|
@ -41,6 +41,14 @@ function init_local_session() {
|
||||||
# screen -dmS general &
|
# screen -dmS general &
|
||||||
#fi
|
#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
|
# Set the default wm to xmonad
|
||||||
DEFAULT_WM=xmonad
|
DEFAULT_WM=xmonad
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue