pmaports/main/postmarketos-ui-hildon/xinitrc_hildon.sh
Bart Ribbers 918579087a
main/postmarketos-ui-hildon: fix launch (!439)
[ci:skip-build]: already built successfully in CI
2019-06-14 02:01:24 +02:00

17 lines
457 B
Bash

#!/bin/sh
# Set default wallpapers
mkdir -p ~/.backgrounds
for i in 1 2 3 4; do
source=/usr/share/themes/alpha/backgrounds/wallpaper$i.png
destination=~/.backgrounds/background-$i.png
[ -e "$destination" ] || ln -s "$source" "$destination"
done
# Start dbus and export its environment variables
eval "$(dbus-launch --sh-syntax --exit-with-session)"
# Start X11 with Hildon
export LC_MESSAGES=en_US.UTF-8
export CLUTTER_BACKEND=x11
exec hildon-desktop