~ubuntu-branches/ubuntu/karmic/parti-all/karmic

« back to all changes in this revision

Viewing changes to try-parti

  • Committer: Bazaar Package Importer
  • Author(s): Evan Dandrea
  • Date: 2009-06-02 12:44:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090602124400-xbkgh9vxjciey732
Tags: upstream-0.0.6
ImportĀ upstreamĀ versionĀ 0.0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
USE_DISPLAY=:7
 
4
WM_CMD="install/bin/parti --sync"
 
5
 
 
6
RUN=$WM_CMD
 
7
#RUN="pydb --trace $WM_CMD"
 
8
#RUN="pydb --fntrace $WM_CMD"
 
9
#RUN="xterm -display $DISPLAY -e 'gdb --args python $WM_CMD --display=$USE_DISPLAY'"
 
10
#RUN="xtrace -n | tee xtrace.out & (sleep 1; python $WM_CMD --display=:9)"
 
11
 
 
12
. ./do-build
 
13
# The library path may be named lib, lib64, etc.:
 
14
LIBPATH=$(echo $PWD/install/lib*/python)
 
15
# NB Xephyr has a segfault bug in its reset logic -- shouldn't come up
 
16
# when run via xinit like this, but use -noreset anyway.
 
17
PYTHONPATH=$LIBPATH:$PYTHONPATH PATH=install/bin:$PATH xinit /bin/sh -c "x-terminal-emulator || xterm & $RUN" -- /usr/bin/Xephyr $USE_DISPLAY -ac -noreset
 
 
b'\\ No newline at end of file'