Re: install app in users homedir
- From: Stefan Kost <kost imn htwk-leipzig de>
- To: Hongli Lai <h lai chello nl>
- Cc: gnome-devel-list gnome org
- Subject: Re: install app in users homedir
- Date: Thu, 21 Oct 2004 15:42:17 +0200
Hi,
Hongli Lai wrote:
>
> Stefan Kost wrote:
>
>> hi hi,
>>
>> At first I am new to this list, but I am reading/posting to
>> gtk-app-devel,gtk-devel,.. already.
>> We develope an music composer application called buzztard [1] that
>> usees gnome
>> feature if the are available.
>>
>> I have some problems with installing the application for development
>> purposes
>> into my homedir. My username if 'ensonic'. I configure my app with
>> '--prefix=/home/ensonic/myapp' ($HOME would be okay as well). Now the
>> probelm is
>> how to make all the gnome services aware of that. Is it possible at all.
>> I happilly collect all these things and it agreed write a small
>> docbook article
>> for gnome developer site if I get enough feedback.
>>
>> 1.) installing a .desktop file: How do I notify the gnome panel menu
>> that there
>> is a new app. When I install to /opt/gnome the menu entry is there after
>> restarting gnome.
>
>
> I had been working on this kind of installation issues for months for my
> project. Installing .desktop files is a mess right now.
> You can install .desktop files to either /usr/share/applications, or
> ~/.gnome2/vfolders/applications. The item may or may not show up
> immediately; I'm not sure what's the cause of this bug (it's not whether
> FAM is running).
I learned that gnome-panel keeps the menu settings in memory, a kill -HUP is nut
really understood, but when killing it, it restarts and re-read the settings.
> However, this does not work correctly on GNOME 2.6+! There is no way to
> install .desktop files to the home folder with GNOME 2.6+. At least, not
> without a hack which involves editing a custom
> ~/.gnome2/vfolders/applications.info (or something) file.
> It is not possible to install to ~/.local/share/applications. GNOME
> upstream does not support the menu spec. RedHat GNOME partially does,
> but their patches are not merged upstream.
>
I am still under gnome-2.4. I have created ~/.gnome2/vfolder/applications dir
and have also written a applications.vfolder-info. The probelm is that there is
no docu available of what is implemented and what not and so on.
Fact is that I am not able to get my local desktopfiles to appear in the menu.
I have no idea which process is parsing the menu-desf and if there is a log with
helpful info about what went wrong.
>
>> 3.) gconf-schema files. gconftool seems to insist installing to
>> /opt/gnome/...
>
>
> For local GConf schema installatin, use this:
> export GCONF_CONFIG_SOURCE=
> gconftool-2 --makefile-install-rule "filename.schemas"
>
> Yes, settting GCONF_CONFIG_SOURCE is intential. The idea is to change it
> from NULL to an empty string ("").
>
I am using --with-gconf-source=xml::$HOME/.gconf
Still this is a shame - the gconf tool should be smart enough to wlk the path of
gconf-source and install to first readable location.
I've submitted this as http://bugzilla.gnome.org/show_bug.cgi?id=156056
>
> However, due to bugs in GConf or gconf-editor (not sure which one is at
> fault), the new keys may or may not show up immediately in gconf-editor.
> In the latter case, you'll have to restart GNOME before they show up.
> Your app can still use the keys though; they just don't show up
> correctly in gconf-editor.
Is anyone aware of a verbose mode, which I could use to debug why my localy
installed schema is now beeing shown?
Stefan
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
>
--
\|/ Stefan Kost
<@ @> private business
+-oOO-(_)-OOo------------------------------------------------------ - - - - -
| __ Address Simildenstr. 5 HTWK Leipzig, Fb IMN, Postfach 301166
| /// 04277 Leipzig 04251 Leipzig
| __ /// Germany Germany
| \\\/// Phone +49341 2253538 +49341 30766101
| \__/ EMail st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
| WWW www.sonicpulse.de www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - - - -
begin:vcard
fn:Stefan Kost
n:Kost;Stefan
org:HTWK Leipzig;FB. IMN
adr:;;Postfach 301166;Leipzig;;04251;Germany
email;internet:kost imn htwk-leipzig de
title:Dipl. Informatiker
tel;work:+49341 30766440
tel;home:+49341 2253538
tel;cell:+49178 3183742
x-mozilla-html:FALSE
url:http://www.imn.htwk-leipzig.de/~kost/about.html
version:2.1
end:vcard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]