From d33cc3be420fb509d8dddb1f1a752db6d41f50f9 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Tue, 14 Feb 2012 22:34:15 +0800 Subject: 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 --- meta/recipes-graphics/mini-x-session/files/mini-x-session | 4 ++++ meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb | 2 ++ 2 files changed, 6 insertions(+) (limited to 'meta') 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 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 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" 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" -- cgit v1.2.3