Commit Graph

10 Commits

Author SHA1 Message Date
Mikkel Kamstrup Erlandsen
0f966eabbf Autodetect where the 'pidof' command lives and enable optional verbose logging inside start-replace
scripts/start-replace: Detect if 'pidof' lives in /sbin, /bin, or /usr/bin. Add conditional verbose logging if -v is passed on the command line
scripts/launcher.py: Add method is_verbose() to Launcher class

svn path=/trunk/; revision=31
2008-11-04 22:40:52 +00:00
Owen Taylor
e82e60f71b Don't override XAUTHORITY until after we run Xephyr
Don't override the setting of XAUTHORITY when running Xephyr,
since then we may not be able to connect to the host display.
Instead pass in the local auth file via the -auth command
line argument.

An alternate fix would be to use 'xauth merge' to merge the
existing XAUTHORITY file into our local file.

svn path=/trunk/; revision=29
2008-11-03 21:39:41 +00:00
Owen Taylor
1ce78680b1 start-in-Xepyhr: add xeyes and xlogo to initial session
With one window, it's hard to see window management behavior,
add xeyes and xlogo as well as xterm.

svn path=/trunk/; revision=23
2008-11-02 04:18:38 +00:00
Owen Taylor
0a2a65e810 Pass the right number of arguments to exit()
When using gdb to quit the panel, pass the right number of arguments
to exit(), so that gdb calls it instead of erroring out.

svn path=/trunk/; revision=22
2008-11-02 04:18:36 +00:00
Owen Taylor
ce969f7bb4 Include errors in what we print out without -v
Change the debug topics in the non-verbose case from just
JS LOG to JS LOG and JS ERROR.

svn path=/trunk/; revision=21
2008-11-02 03:27:11 +00:00
Owen Taylor
b81733d9e4 Fix --debug option to default to gdb
When --debug is specified, pick up the default value for
--debug-command of 'gdb --args' correctly.

svn path=/trunk/; revision=20
2008-11-02 03:03:00 +00:00
Owen Taylor
e81ed61a38 Add --debug and --verbose options to launcher scripts
Factor out a common Launcher class from start-in-Xepyhr and
start-replace that handles option parsing and launching gnome-shell,
and add options:

 -v/--verbose: Unless specified, suppress most gjs debug output
 -g/--debug: If specified run under gdb
 --debug-command: Run under some other debugging (strace/valgrind/etc.)
     Implies -g

svn path=/trunk/; revision=18
2008-11-01 23:55:49 +00:00
Owen Taylor
276cb9d8b9 Add start-replace script
Add a script to start gnome-shell replacing metacity and gnome-panel.
When gnome-shell exits, gnome-panel and metacity are restarted.

svn path=/trunk/; revision=16
2008-11-01 19:45:00 +00:00
Owen Taylor
cbacd17c05 Use --mutter-plugins instead of --clutter-plugins
Command line option to metacity has been changed, match that.

svn path=/trunk/; revision=4
2008-10-31 12:41:01 +00:00
Owen Taylor
4ba985b484 Initial commit
A plugin for metacity-clutter (mutter) that initializes Javascript
and via Javascript adds an object to the mutter scene graph.

src/gnome-shell-plugin.c: metacity-clutter-plugin
src/shell-global.[ch]: Simple global-information object
js/: Directory for javascript
scripts/start-in-Xephyr: Launch metacity with our plugin
  "nested" within an Xephy X server

svn path=/trunk/; revision=2
2008-10-31 04:22:44 +00:00