pmaports/main/postmarketos-ui-hildon/xinitrc_hildon.sh

18 lines
457 B
Bash
Raw Normal View History

2017-10-06 18:34:51 +00:00
#!/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
2017-10-06 18:34:51 +00:00
exec hildon-desktop