summarylogtreecommitdiffstats
path: root/chromium-fullscreen.install
diff options
context:
space:
mode:
Diffstat (limited to 'chromium-fullscreen.install')
-rw-r--r--chromium-fullscreen.install8
1 files changed, 5 insertions, 3 deletions
diff --git a/chromium-fullscreen.install b/chromium-fullscreen.install
index 0e32523c5931..a0dca1e6886d 100644
--- a/chromium-fullscreen.install
+++ b/chromium-fullscreen.install
@@ -6,18 +6,20 @@ post_install() {
mkdir -p /home/chromium
# Create a first sample of Autostart Url
- echo -e "https://www.archlinux.org/\n" >> /home/chromium/chromium-autostart-url.txt
+ echo -e "https://www.archlinux.org/\n" > /home/chromium/chromium-autostart-url.txt
# Fix permissions
chown -R chromium:chromium /home/chromium
+ # Enable the xlogin service
+ systemctl enable xlogin@chromium
+
# Print additional useful informations
echo -e "==> [INFO] For comodity, the file '/home/chromium/chromium-autostart-url.txt' has been created for you. That file although can be located also on:"
echo -e "==> [INFO] - '/boot/chromium-autostart-url.txt'"
echo -e "==> [INFO] - '/home/chromium/chromium-autostart-url.txt'"
echo -e "==> [INFO] Order is mandatory! The first that matches, is the first that wins."
- echo -e "==> [INFO] To run Chromium Fullscreen everytime at boot please run ==> systemctl enable chromium-fullscreen.service"
- echo -e "==> [INFO] To simply start Chromium Fullscreen just run ==> systemctl start chromium-fullscreen.service"
+ echo -e "==> [INFO] Please restart in order to start Chromium Fullscreen."
}
post_upgrade() {