Re: [SOLUTION] panel site defaults
- From: "Jean-Raymond.Chauviere" <Jean-Raymond Chauviere cetelem fr>
- To: Joseph Carter <knghtbrd debian org>
- Cc: Joachim Trinkwitz <jtr uni-bonn de>, gnome-list gnome org
- Subject: Re: [SOLUTION] panel site defaults
- Date: Wed, 29 Nov 2000 09:11:32 +0100
Joseph Carter wrote:
>
> On Mon, Nov 27, 2000 at 08:56:08PM +0100, Joachim Trinkwitz wrote:
> > > To make a long story very short, making it work and copying the default
> > > panel setup to each new user has a problem in that the Applet_Config file
> > > (in panel.d/default/) has some absolute paths in it - oops. This too can
> > > be worked around simply by replacing the home directory with #HOMEDIR# or
> > > something and then performing sed magic as the file gets copied. Not the
> > > most elegant solution, but effective for the purpose.
> >
> > For those of us which are not speaking sed scripting fluently and won't
> > invent the wheel again: has someone done this before and is willing to
> > deal his/her code with us?
>
> sed -e "s}#HOMEDIR#}$HOME}g" \
> $HOME/.gnome/panel.d/default/Applet_Config.in \
> > $HOME/.gnome/panel.d/default/Applet_Config
>
> I found it easier just to copy all the files (including the .in file) to
> ~/.gnome and then parse it once it was there. You could use other shell
> magic to find all .in files after you copy or something like that if you
> have more than one. I don't, so I just do this.
Hum, hum .. didn't you forget some files:
don't restrict the problem to panel, it's a larger one.
/home/chauvier find GNUstep/ .gnome* -type f | xargs grep chauvier |
sort -u -t':' +0 -1
.gnome/balsa:Path=/var/mail/chauvier
.gnome/Gnumeric:File0=/home/chauvier/windows/TEST.X/dell_exceed_multi_rsh_modem.csv
.gnome/panel.d/default/Applet_1_Extern:mailfile=/var/mail/chauvier
.gnome_private/balsa:Username=chauvier
GNUstep/Defaults/WMRootMenu: (RSH, OPEN_MENU,
"/home/chauvier/etc/RSH.menu"),
GNUstep/Defaults/WMRootMenu.bak: (RSH, OPEN_MENU,
"/home/chauvier/etc/RSH.menu"),
GNUstep/Defaults/WMWindowAttributes: Icon =
"/home/chauvier/GNUstep/.AppInfo/WindowMaker/Iexplorer.Iexplorer.xpm";
And the list can be longer depending on the default config you want
--
Nur der Kleingeist hält Ordnung, das Genie beherrscht das Chaos.
Seuls les petits esprits aiment l'ordre, le génie maitrîse le chaos.
(anonyme)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]