summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/ivi-demo-config.spec30
-rw-r--r--xorg.conf17
2 files changed, 47 insertions, 0 deletions
diff --git a/packaging/ivi-demo-config.spec b/packaging/ivi-demo-config.spec
new file mode 100644
index 0000000..e513a3f
--- /dev/null
+++ b/packaging/ivi-demo-config.spec
@@ -0,0 +1,30 @@
+Name: ivi-demo-config
+Summary: Custom configs for Tizen IVI demos
+Version: 0.0.1
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+URL: http://www.tizen.org
+Source0: xorg.conf
+Requires: xorg-x11-server
+Conflicts: wayland
+
+%description
+Provides customizations for Tizen IVI demos
+
+%prep
+
+%build
+# >> build pre
+# << build pre
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+
+install -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/X11/xorg.conf
+
+%files
+%defattr(-,root,root,-)
+%config %{_sysconfdir}/X11/xorg.conf
diff --git a/xorg.conf b/xorg.conf
new file mode 100644
index 0000000..b279b4f
--- /dev/null
+++ b/xorg.conf
@@ -0,0 +1,17 @@
+Section "Device"
+ Identifier "Intel GenX"
+ Driver "intel"
+ Option "monitor-VGA1" "driver-screen"
+ Option "monitor-HDMI2" "passenger-screen"
+EndSection
+
+Section "Monitor"
+ Identifier "driver-screen"
+ Option "PreferredMode" "1024x768"
+EndSection
+
+Section "Monitor"
+ Identifier "passenger-screen"
+ Option "PreferredMode" "1024x768"
+ Option "RightOf" "driver-screen"
+EndSection