diff options
| author | Dexuan Cui <dexuan.cui@intel.com> | 2012-02-14 22:34:15 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-21 17:59:36 +0000 |
| commit | 0f00536d0a1f5c47841976beac319ab474a94701 (patch) | |
| tree | 115c28a9225fa4bc083fce05926f273ebbedbc62 | |
| parent | ab5eed4af126f136666656776c79174a1dd6bb36 (diff) | |
| download | poky-0f00536d0a1f5c47841976beac319ab474a94701.tar.gz | |
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.
(From OE-Core rev: d33cc3be420fb509d8dddb1f1a752db6d41f50f9)
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-graphics/mini-x-session/files/mini-x-session | 4 | ||||
| -rw-r--r-- | meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb | 2 |
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 1940e27872..f7d6c3bdb1 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 | |||
| 25 | sudo -b -i -u $USERNAME $SESSIONFILE& | 25 | sudo -b -i -u $USERNAME $SESSIONFILE& |
| 26 | set -e | 26 | set -e |
| 27 | done | 27 | done |
| 28 | |||
| 29 | # This resolution is big enough for hob2's max window size. | ||
| 30 | xrandr -s 1024x768 | ||
| 31 | |||
| 28 | # Default files to run if $HOME/.mini_x/session or /etc/mini_x/session | 32 | # Default files to run if $HOME/.mini_x/session or /etc/mini_x/session |
| 29 | # dont exist. | 33 | # dont exist. |
| 30 | 34 | ||
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 981865090b..8f28d030a6 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" | |||
| 2 | HOMEPAGE = "http://www.yoctoproject.org" | 2 | HOMEPAGE = "http://www.yoctoproject.org" |
| 3 | BUGTRACKER = "http://bugzilla.pokylinux.org" | 3 | BUGTRACKER = "http://bugzilla.pokylinux.org" |
| 4 | 4 | ||
| 5 | PR = "r1" | ||
| 6 | |||
| 5 | LICENSE = "GPLv2" | 7 | LICENSE = "GPLv2" |
| 6 | LIC_FILES_CHKSUM = "file://mini-x-session;endline=5;md5=b6430bffbcf05f9760e72938826b7487" | 8 | LIC_FILES_CHKSUM = "file://mini-x-session;endline=5;md5=b6430bffbcf05f9760e72938826b7487" |
| 7 | 9 | ||
