summaryrefslogtreecommitdiff
path: root/weston.ini.in
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2013-11-22 16:46:00 +0000
committerKristian Høgsberg <krh@bitplanet.net>2013-11-27 22:49:31 -0800
commite3de16ea308ffb423504b863629550828564c329 (patch)
tree5bb1c8884ef1e9dd82c32bf69b70908f12e398df /weston.ini.in
parentbf3c1c6913cf00e12a579a637abb8c4e68233a8c (diff)
downloadweston-e3de16ea308ffb423504b863629550828564c329.tar.gz
Automatically generate weston.ini with the right paths
Previously weston.ini had hardcoded paths for the weston-* clients in /usr/bin and /usr/libexec. This was a bit annoying when testing Weston because you wouldn't usually install those in the system prefix. This patch adds a make rule to automatically generate weston.ini from a template file with some replacement markers for the paths so that they can have the right prefix.
Diffstat (limited to 'weston.ini.in')
-rw-r--r--weston.ini.in67
1 files changed, 67 insertions, 0 deletions
diff --git a/weston.ini.in b/weston.ini.in
new file mode 100644
index 00000000..5181a9e5
--- /dev/null
+++ b/weston.ini.in
@@ -0,0 +1,67 @@
+[core]
+#modules=xwayland.so,cms-colord.so
+#shell=desktop-shell.so
+#gbm-format=xrgb2101010
+
+[shell]
+background-image=/usr/share/backgrounds/gnome/Aqua.jpg
+background-color=0xff002244
+background-type=tile
+panel-color=0x90ff0000
+locking=true
+animation=zoom
+startup-animation=fade
+#binding-modifier=ctrl
+#num-workspaces=6
+#cursor-theme=whiteglass
+#cursor-size=24
+
+#lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png
+#lockscreen=/usr/share/backgrounds/gnome/Garden.jpg
+#homescreen=/usr/share/backgrounds/gnome/Blinds.jpg
+#animation=fade
+
+[launcher]
+icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
+path=/usr/bin/gnome-terminal
+
+[launcher]
+icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
+path=@bindir@/weston-terminal
+
+[launcher]
+icon=/usr/share/icons/hicolor/24x24/apps/google-chrome.png
+path=/usr/bin/google-chrome
+
+[launcher]
+icon=/usr/share/icons/gnome/24x24/apps/arts.png
+path=@abs_top_builddir@/clients/weston-flower
+
+[screensaver]
+# Uncomment path to disable screensaver
+path=@libexecdir@/weston-screensaver
+duration=600
+
+[input-method]
+path=@libexecdir@/weston-keyboard
+
+#[output]
+#name=LVDS1
+#mode=1680x1050
+#transform=90
+#icc_profile=/usr/share/color/icc/colord/Bluish.icc
+
+#[output]
+#name=VGA1
+#mode=173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
+#transform=flipped
+
+#[output]
+#name=X1
+#mode=1024x768
+#transform=flipped-270
+
+#[touchpad]
+#constant_accel_factor = 50
+#min_accel_factor = 0.16
+#max_accel_factor = 1.0