[hafqa] [hafqa] [Bug 2197] af-sb-init.sh could accept parameter --display

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Thu Jun 5 13:52:11 EEST 2008
https://bugs.maemo.org/show_bug.cgi?id=2197


eero.tamminen at nokia.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eero.tamminen at nokia.com




------- Comment #3 from eero.tamminen at nokia.com  2008-06-05 13:52 GMT+3 -------
(In reply to comment #2)
> wouldn't it work with "DISPLAY=:2 af-sb-init.sh start"?

Works fine like this:
  DISPLAY=:2 /scratchbox/login -k -d . af-sb-init.sh start

And if one doesn't want to propagate all environment from outside
of Scratchbox with "-k" (because it has incompatible values), one
can always circumvent it with a trivial script like this:
---
$ echo -e '#!/bin/sh\nDISPLAY=:2 af-sb-init.sh start' > ~/sbox/start.sh
$ scratchbox/login ./start.sh
---
(~/sbox is symlink to my home directory inside Sbox)


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list