use new xorg.socket stuff
This commit is contained in:
parent
b9ad495ca9
commit
ab3ebdd18c
@ -1,8 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Application "%i"
|
|
||||||
After=environment.target
|
|
||||||
IgnoreOnIsolate=yes
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/env %i
|
|
||||||
KillMode=process
|
|
@ -1,9 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Automatic Trash cleanup
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=/usr/bin/autotrash --days=14
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=cron-weekly.target
|
|
@ -2,4 +2,8 @@
|
|||||||
Description=Chromium
|
Description=Chromium
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Environment=DISPLAY=:0
|
||||||
ExecStart=/usr/bin/chromium
|
ExecStart=/usr/bin/chromium
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=mystuff.target
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Clean Empty folder / Deadlinks
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=/home/joerg/bin/clean-music-library.rb
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=timer-daily.target
|
|
@ -1,5 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=handle clipboards
|
Description=Evolution
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Environment=DISPLAY=:0
|
||||||
ExecStart=/usr/bin/copyq
|
ExecStart=/usr/bin/copyq
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=mystuff.target
|
||||||
|
@ -1 +0,0 @@
|
|||||||
/home/joerg/.config/systemd/user/gpo.service
|
|
@ -1 +0,0 @@
|
|||||||
/home/joerg/.config/systemd/user/autotrash.service
|
|
@ -1,2 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Target which is executed at startup
|
|
@ -1 +0,0 @@
|
|||||||
/home/joerg/.config/systemd/user/mpdstated.service
|
|
@ -1 +0,0 @@
|
|||||||
/home/joerg/.config/systemd/user/rsync-upload.path
|
|
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Backup to Dropbox
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
Nice=19
|
|
||||||
IOSchedulingClass=2
|
|
||||||
IOSchedulingPriority=7
|
|
||||||
ExecStart=/usr/bin/yaourt -B %h/Backup/pacman/
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=timer-weekly.target
|
|
@ -1,5 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Dropbox Network Storage Daemon
|
Description=Dropbox
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Environment=DISPLAY=:0
|
||||||
ExecStart=/usr/bin/dropboxd
|
ExecStart=/usr/bin/dropboxd
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=mystuff.target
|
||||||
|
10
user/dunst.service
Normal file
10
user/dunst.service
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=small notification daemon
|
||||||
|
After=dbus.socket
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Environment=DISPLAY=:0
|
||||||
|
ExecStart=/usr/bin/dunst
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=mystuff.target
|
@ -1,3 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Set session environment variables
|
|
||||||
IgnoreOnIsolate=true
|
|
9
user/evolution.service
Normal file
9
user/evolution.service
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Evolution
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Environment=DISPLAY=:0
|
||||||
|
ExecStart=/usr/bin/evolution
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=mystuff.target
|
@ -1,13 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Suspend Gajim
|
|
||||||
Before=sleep.target
|
|
||||||
StopWhenUnneeded=yes
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
RemainAfterExit=yes
|
|
||||||
ExecStart=-/usr/bin/gajim-remote change_status offline
|
|
||||||
ExecStop=-/usr/bin/gajim-remote change_status online
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=sleep.target
|
|
9
user/gajim.service
Normal file
9
user/gajim.service
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Gajim
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Environment=DISPLAY=:0
|
||||||
|
ExecStart=/usr/bin/gajim
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=mystuff.target
|
@ -1,6 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Mount encfs with gnome keyring
|
|
||||||
After=gnome-keyring.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/gnome-encfs --mount
|
|
@ -1,10 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=GNOME Keyring Daemon
|
|
||||||
Wants=environment.target
|
|
||||||
Before=environment.target
|
|
||||||
IgnoreOnIsolate=true
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=/bin/sh -c 'test "$GNOME_KEYRING_CONTROL" && systemctl --user set-environment $(gnome-keyring-daemon --start)'
|
|
||||||
RemainAfterExit=true
|
|
@ -1,13 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Automatic Gpodder download
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
Nice=19
|
|
||||||
IOSchedulingClass=2
|
|
||||||
IOSchedulingPriority=7
|
|
||||||
ExecStart=/usr/bin/gpo update
|
|
||||||
ExecStart=/usr/bin/gpo download
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=cron-daily.target
|
|
11
user/i3.service
Normal file
11
user/i3.service
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=An improved dynamic tiling window manager
|
||||||
|
After=xorg.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Environment=DISPLAY=:0
|
||||||
|
ExecStart=/usr/bin/i3
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=wm.target
|
@ -3,6 +3,3 @@ Description=Music Player Daemon
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/mpd --no-daemon
|
ExecStart=/usr/bin/mpd --no-daemon
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Music Player Daemon socket
|
Description=Music Player Daemon Sockets
|
||||||
|
|
||||||
[Socket]
|
[Socket]
|
||||||
ListenStream=6600
|
ListenStream=6600
|
||||||
Service=mpd.service
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=sockets.target
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Watch mpd state
|
|
||||||
Requires=mpd.service
|
|
||||||
After=mpd.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/mpdstated --no-daemon
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
6
user/mystuff.target
Normal file
6
user/mystuff.target
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Xinitrc Stuff
|
||||||
|
#After=xorg.target
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
Alias=default.target
|
1
user/mystuff.target.wants/chromium.service
Symbolic link
1
user/mystuff.target.wants/chromium.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/chromium.service
|
1
user/mystuff.target.wants/copyq.service
Symbolic link
1
user/mystuff.target.wants/copyq.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/copyq.service
|
1
user/mystuff.target.wants/dropbox.service
Symbolic link
1
user/mystuff.target.wants/dropbox.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/dropbox.service
|
1
user/mystuff.target.wants/dunst.service
Symbolic link
1
user/mystuff.target.wants/dunst.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/dunst.service
|
1
user/mystuff.target.wants/evolution.service
Symbolic link
1
user/mystuff.target.wants/evolution.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/evolution.service
|
1
user/mystuff.target.wants/gajim.service
Symbolic link
1
user/mystuff.target.wants/gajim.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/gajim.service
|
1
user/mystuff.target.wants/pulseaudio.service
Symbolic link
1
user/mystuff.target.wants/pulseaudio.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/pulseaudio.service
|
1
user/mystuff.target.wants/setxkbmap.service
Symbolic link
1
user/mystuff.target.wants/setxkbmap.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/setxkbmap.service
|
1
user/mystuff.target.wants/xrdb.service
Symbolic link
1
user/mystuff.target.wants/xrdb.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/xrdb.service
|
1
user/mystuff.target.wants/xset.service
Symbolic link
1
user/mystuff.target.wants/xset.service
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/joerg/.config/systemd/user/xset.service
|
@ -1,10 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Start offlineimap as a daemon
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/offlineimap
|
|
||||||
KillSignal=SIGUSR2
|
|
||||||
Restart=always
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
@ -1,5 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Dropbox Network Storage Daemon
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/pcmanfm --daemon-mode
|
|
@ -1,11 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=PulseAudio Sound System
|
Description=PulseAudio Sound System
|
||||||
Before=sound.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
BusName=org.pulseaudio.Server
|
BusName=org.pulseaudio.Server
|
||||||
ExecStart=/usr/bin/pulseaudio
|
ExecStart=/usr/bin/pulseaudio
|
||||||
Restart=always
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=mystuff.target
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
[Path]
|
|
||||||
PathChanged=/home/joerg/upload
|
|
||||||
MakeDirectory=yes
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
@ -1,8 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Rsync Server Upload
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/home/joerg/bin/upload
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=mystuff.target
|
|
11
user/setxkbmap.service
Normal file
11
user/setxkbmap.service
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Enable zapping
|
||||||
|
After=xorg.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=setxkbmap -option terminate:ctrl_alt_bksp
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=mystuff.target
|
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Tmux Server
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
RemainAfterExit=yes
|
|
||||||
ExecStart=/usr/bin/tmux new-session -d -s %u
|
|
||||||
ExecStop=/usr/bin/tmux kill-session -t %u
|
|
||||||
Restart=Always
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
9
user/wm.target
Normal file
9
user/wm.target
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Window Manager
|
||||||
|
Wants=xorg.target
|
||||||
|
Wants=mystuff.target
|
||||||
|
Requires=dbus.socket
|
||||||
|
AllowIsolate=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
Alias=default.target
|
11
user/xmodmap.service
Normal file
11
user/xmodmap.service
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Capslock is escape
|
||||||
|
After=xorg.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=mystuff.target
|
10
user/xorg.target
Normal file
10
user/xorg.target
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#
|
||||||
|
# X server target
|
||||||
|
#
|
||||||
|
|
||||||
|
# xorg.target is a virtual target - it becomes active as soon as Xorg
|
||||||
|
# is ready to accept incoming connections. If your service requires
|
||||||
|
# Xorg to be ready, include 'After=xorg.target' in your service file.
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=The basic Xorg server
|
1
user/xorg.target.wants/xorg@0.socket
Symbolic link
1
user/xorg.target.wants/xorg@0.socket
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
xorg@.socket
|
11
user/xorg@.service
Normal file
11
user/xorg@.service
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Xorg server at display %i
|
||||||
|
|
||||||
|
Requires=xorg@%i.socket
|
||||||
|
After=xorg@%i.socket
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
SuccessExitStatus=0 1
|
||||||
|
|
||||||
|
ExecStart=/usr/bin/Xorg :%i -nolisten tcp -noreset -verbose 2 vt1
|
8
user/xorg@.socket
Normal file
8
user/xorg@.socket
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Socket for xorg at display %i
|
||||||
|
|
||||||
|
[Socket]
|
||||||
|
ListenStream=/tmp/.X11-unix/X%i
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=xorg.target
|
11
user/xrdb.service
Normal file
11
user/xrdb.service
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Capslock is escape
|
||||||
|
After=xorg.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/usr/bin/xrdb -merge %h/.Xresources
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=mystuff.target
|
11
user/xset.service
Normal file
11
user/xset.service
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Xorg Blanking
|
||||||
|
After=xorg.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/usr/bin/xset -b +dpms 0 0 300
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=mystuff.target
|
Loading…
Reference in New Issue
Block a user