Re: question about garnome startup script ...



On Sat, 19 May 2007 02:02:41 +0800, Kuang-Chun Cheng wrote:

>>

PLEASE DON'T SEND HTML MAIL TO A MAIL LIST. TEXT ONLY. My personal pet 
peeve.

> <br><br><div><span class="gmail_quote">On 5/19/07, <b
> class="gmail_sendername">Peter</b> &lt;<a
> href="mailto:sw98234 hotmail com">sw98234 hotmail com</a>&gt;
> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px
> solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
> 1ex;"> On Sat, 19 May 2007 01:03:40 +0800, Kuang-Chun Cheng
> wrote:<br><br>&gt; Hi<br>&gt;<br>&gt; Thanks for the
> info.<br>&gt;<br><br>np<br><br>snip...<br>&gt;&gt; See the README file
> for full examples.<br>&gt;<br>&gt;<br>&gt; Although I&#39;m not 100%
> sure (I don&#39;t want to test before I got some <br>&gt; suggestions
> from here), I believe this method will affect other users on<br>&gt; the
> same Linux box.<br>&gt;<br>Yes, that is correct. The instructions in the
> README will kill existing<br>processes for dbus, hal, and avahi. So, to
> keep the system versions <br>running, follow the instructions that I
> wrote below.<br><br>&gt; OR, here&#39;s what I do as I also have dbus,
> hal, and avahi running.<br>&gt;&gt;<br>&gt;&gt; 1) Be sure to have
> proper versions of all running. 2) Adjust the <br>&gt;&gt; garnome
> startup scripts to avoid killing and restarting
> garnome&#39;s<br>&gt;&gt; versions of dbus, hal, and avahi. This will
> ensure that your versions<br>&gt;&gt; are running.<br>&gt;&gt; 3) Adjust
> the garnome startup script to something similar to this:
> <br>&gt;&gt;<br>&gt;&gt; #!/bin/bash<br>&gt;&gt;<br>&gt;&gt;
> GARNOME=$HOME/garnome<br>&gt;&gt;<br>&gt;&gt;
> PATH=$GARNOME/bin:$PATH<br>&gt;&gt;
> LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH<br>&gt;&gt;
> PYTHONPATH=$GARNOME/lib/python2.4/site-packages:$GARNOME/lib/python2.4/
> <br>&gt;&gt; site-packages/gtk-2.0<br>&gt;&gt;
> PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig
> GDK_USE_XFT=1<br>&gt;&gt; XDG_DATA_DIRS=$GARNOME/share<br>&gt;&gt;
> XDG_CONFIG_DIRS=$GARNOME/etc/xdg<br>&gt;&gt;
> MANPATH=$GARNOME/man:$MANPATH <br>&gt;&gt; # take this line out because
> it hard codes in the garnome path<br>&gt;&gt;
> #DBUS_LAUNCH=&quot;$GARNOME/bin/dbus-launch --exit-with-session&quot; #
> replace<br>&gt;&gt; it simply with this<br>&gt;&gt;
> DBUS_LAUNCH=&quot;dbus-launch --exit-with-session&quot;
> <br>&gt;&gt;<br>&gt;&gt; export PATH LD_LIBRARY_PATH PYTHONPATH
> PKG_CONFIG_PATH
> \<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDK_USE_XFT
> XDG_DATA_DIRS XDG_CONFIG_DIRS MANPATH
> DBUS_LAUNCH<br>&gt;&gt;<br>&gt;&gt; exec $DBUS_LAUNCH
> $GARNOME/bin/gnome-session <br>&gt;<br>&gt;<br>&gt; This way is not good
> enough for me too.<br><br>Why? This routine is mandatory for any user
> wishing to use garnome. It<br>allows for system versions of dbus to run
> and can be tailored to fit many<br> circumstances (including pulling in
> kde menus, alternate python
> paths,<br>etc.)</blockquote><div><br>Hi,<br><br>Because you mentioned
> about this ...<br>Depending on how you use garnome, this approach may
> work flawlessly, OR <br>you may have things break here and there. By
> removing these three core<br>programs, you are introducing a lot of
> moving parts to the process.<br>...<br>And I did not look at the script
> you provided closely before I said it&#39;s not <br>good
> enough.&nbsp;&nbsp; Well, as I said, this is the 1st time I use
> Garnome.<br>I will test your approach, which lookd much easier than
> chroot.&nbsp; Thanks again.<br><br>Best
> Regards,<br>KC<br><br><br>&nbsp;</div><br><blockquote
> class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204);
> margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> &gt;&nbsp;&nbsp;But
> thanks anyway. Unless<br>&gt; Garnome itself is buggy, I hope I can have
> two independent &#39;stable&#39;<br>&gt; GNOME co-exist on my Linux box,
> so users can choose to have up-to-date<br>&gt; GNOME experiences.
> <br>&gt;<br><br>You can have multiple garnome installations, and just
> use a different<br>startup script.<br><br>Read the README
> again.<br><br>&gt; The perfect solution I can think at this moment is
> running GARNOME on<br>&gt; Xnest/Xephr or XClient using other display
> number eg : 1.0 or :2.0. Or<br>&gt; maybe chroot solution ... anyone has
> successfully done this ?<br>&gt;<br>&gt; If GARNOME is not designed for
> this kind of use, I think I will simply<br>&gt; setup another Linux box
> to test new GNOME. <br>&gt;<br><br>Give it a shot with these
> suggestions.<br><br>&gt; Best Regards<br>&gt;
> KC<br>&gt;<br><br><br>--<br>Peter<br><br>--<br>garnome-list mailing
> list<br><a href="mailto:garnome-list gnome org">garnome-list gnome org
> </a><br><a
> href="http://mail.gnome.org/mailman/listinfo/garnome-list";>http://
mail.gnome.org/mailman/listinfo/garnome-list</a><br></blockquote></
div><br>



-- 
Peter




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]