summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2012-02-14 22:34:15 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-21 17:47:15 +0000
commitd33cc3be420fb509d8dddb1f1a752db6d41f50f9 (patch)
treed9459ec59805e2d3890b811f164a846b56cfca08 /meta
parent6546096d068b51cc9cf4557cdb35aee6f62838d5 (diff)
downloadopenembedded-core-d33cc3be420fb509d8dddb1f1a752db6d41f50f9.tar.gz
openembedded-core-d33cc3be420fb509d8dddb1f1a752db6d41f50f9.tar.bz2
openembedded-core-d33cc3be420fb509d8dddb1f1a752db6d41f50f9.tar.xz
openembedded-core-d33cc3be420fb509d8dddb1f1a752db6d41f50f9.zip
mini-x-session: try to use a resolution that's big enough for hob2's window
The patch was tested on VMware Player 4.0.1. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/mini-x-session/files/mini-x-session4
-rw-r--r--meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb2
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mini-x-session/files/mini-x-session b/meta/recipes-graphics/mini-x-session/files/mini-x-session
index 1940e2787..f7d6c3bdb 100644
--- a/meta/recipes-graphics/mini-x-session/files/mini-x-session
+++ b/meta/recipes-graphics/mini-x-session/files/mini-x-session
@@ -25,6 +25,10 @@ for SESSIONFILE in $MINI_X_SESSION_DIR/*; do
sudo -b -i -u $USERNAME $SESSIONFILE&
set -e
done
+
+# This resolution is big enough for hob2's max window size.
+xrandr -s 1024x768
+
# Default files to run if $HOME/.mini_x/session or /etc/mini_x/session
# dont exist.
diff --git a/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb b/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb
index 981865090..8f28d030a 100644
--- a/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb
+++ b/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb
@@ -2,6 +2,8 @@ DESCRIPTION = "Mini X session files for poky"
HOMEPAGE = "http://www.yoctoproject.org"
BUGTRACKER = "http://bugzilla.pokylinux.org"
+PR = "r1"
+
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://mini-x-session;endline=5;md5=b6430bffbcf05f9760e72938826b7487"