Re: question about garnome startup script ...
- From: Peter <sw98234 hotmail com>
- To: garnome-list gnome org
- Subject: Re: question about garnome startup script ...
- Date: Fri, 18 May 2007 16:00:49 +0000 (UTC)
On Fri, 18 May 2007 22:09:56 +0800, Kuang-Chun Cheng wrote:
> Hi,
>
> I just download Garnome-2.18.1 and successfully installed it. I use a
> new account called 'garnome' which I want to use to test Garnome.
>
> In document http://www.gnome.org/projects/garnome/docs.html I found that
> ...
> Starting GARNOME
> To use GARNOME you will first need to start the DBus, HAL, and Avahi
> daemons. You can use the script below to do this ....
>
> But my Linux (SL5.0 or RHEL/5.0) already had dbus and hal running. Do I
> need to kill the running dbus and hal daemon and use the Garnome
> version for the whole system ??? That sounds not good for me because
> I'm not the only one using the Linux box ... and I'm worry about will
> this affect other users ?
>
> If I can run Garnome session under Xnest or Xephr ... using a specific
> user which
> will NOT affect other users on the same Linux box, .... that will be
> perfect to me.
>
> This is the 1st time I use Garnome.
>
> Thanks
> KC
> Hi,<br><br>I just download Garnome-2.18.1 and successfully installed
> it.<br>I use a new account called 'garnome' which I want to use
> to test<br>Garnome.<br><br>In document <a
> href="http://www.gnome.org/projects/garnome/docs.html">
> http://www.gnome.org/projects/garnome/docs.html</a><br>I found
> that<br>...<br>Starting GARNOME<br>To use GARNOME you will first need to
> start the DBus, HAL, and Avahi daemons. You can use the script below to
> do this<br>.... <br><br>But my Linux (SL5.0 or RHEL/5.0) already had
> dbus and hal running.<br>Do I need to kill the running dbus and
> hal daemon and use the Garnome<br>version for the whole system ???
> That sounds not good for me because <br>I'm not the only one using
> the Linux box ... and I'm worry about will this<br>affect other
> users ?<br><br>If I can run Garnome session under Xnest or Xephr ...
> using a specific user which<br>will NOT affect other users on the same
> Linux box, .... that will be perfect to me. <br><br>This is the 1st time
> I use Garnome.<br><br>Thanks<br>KC <br><br><br><br>
You have two choices. Allow the garnome scripts to kill all existing
dbus, hal, and avahi processes and spawn its own versions. This will
assure compatibility with all garnome features.
See the README file for full examples.
OR, here's what I do as I also have dbus, hal, and avahi running.
1) Be sure to have proper versions of all running.
2) Adjust the garnome startup scripts to avoid killing and restarting
garnome's versions of dbus, hal, and avahi. This will ensure that your
versions are running.
3) Adjust the garnome startup script to something similar to this:
#!/bin/bash
GARNOME=$HOME/garnome
PATH=$GARNOME/bin:$PATH
LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH
PYTHONPATH=$GARNOME/lib/python2.4/site-packages:$GARNOME/lib/python2.4/
site-packages/gtk-2.0
PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig
GDK_USE_XFT=1
XDG_DATA_DIRS=$GARNOME/share
XDG_CONFIG_DIRS=$GARNOME/etc/xdg
MANPATH=$GARNOME/man:$MANPATH
# take this line out because it hard codes in the garnome path
#DBUS_LAUNCH="$GARNOME/bin/dbus-launch --exit-with-session"
# replace it simply with this
DBUS_LAUNCH="dbus-launch --exit-with-session"
export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH \
GDK_USE_XFT XDG_DATA_DIRS XDG_CONFIG_DIRS MANPATH DBUS_LAUNCH
exec $DBUS_LAUNCH $GARNOME/bin/gnome-session
Depending on how you use garnome, this approach may work flawlessly, OR
you may have things break here and there. By removing these three core
programs, you are introducing a lot of moving parts to the process.
For my uses (I run gnome applications mostly without running gnome), I
have no problems with system-wide versions of dbus, hal, and avahi.
--
Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]