added some packages and a logind.conf setting

This commit is contained in:
brl 2018-02-12 22:18:16 -05:00
parent 7c4fb960b1
commit a267321377

View File

@ -1,6 +1,6 @@
#!/bin/bash
PACKAGES="man manpages vim less xz-utils sudo tmux dbus libpam-systemd vifm openssh-client gnome-terminal packagekit-gtk3-module libcanberra-gtk3-module firefox"
PACKAGES="man manpages vim less xz-utils sudo tmux dbus libpam-systemd vifm openssh-client gnome-terminal packagekit-gtk3-module libcanberra-gtk3-module firefox fonts-roboto-hinted nautilus eog evince unzip"
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
locale-gen
@ -10,6 +10,9 @@ export LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
mkdir -p /etc/systemd/user.conf.d
printf '[Manager]\nDefaultEnvironment="DISPLAY=:0"\n' > /etc/systemd/user.conf.d/50-display-env.conf
mkdir -p /etc/systemd/logind.conf.d
printf 'KillUserProcesses=no\n' > /etc/systemd/logind.conf.d/50-no-kill-user-processes.conf
mkdir -p /usr/libexec
cat > /usr/libexec/launch <<- 'EOF'
#!/bin/bash