After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 166623 - No stable way to add launchers to the panel.
No stable way to add launchers to the panel.
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: general
2.27.x
Other opensolaris
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-08 04:21 UTC by Brian Cameron
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Brian Cameron 2005-02-08 04:21:20 UTC
One mechanism to add launchers to the panel is documented here:

http://acd.ucar.edu/~fredrick/linux/gnomeconfig/

But based on a discussion on desktop-devel-list, this approach is not
recommended, and there is no stable mechanism for doing this that will
be supported in an on-going fashion.  Refer here and follow the thread:

http://mail.gnome.org/archives/desktop-devel-list/2005-February/msg00067.html

It is acceptable that the underlying mechanisms for doing this change from
release to release, but there should be a stable mechanism for doing common
integration operations like adding launchers to the panel.

The recommendation that a script be added that hides the changing 
implementation details would be a great solution to this problem.

Vincent Untz recommends this syntax, which seems fine to me:

gnome-panel-add-launcher foo.desktop
Comment 1 Vincent Untz 2005-02-09 06:08:14 UTC
Brian: I don't know if I can add a script to the gnome-panel tarball before 2.10
(will it break feature freeze?). But I'll attach one here based on the one Mark
quickly wrote on d-d-l once I have some time and we'll add it for 2.12.

Btw, I don't know if the script should be installed in ${prefix}/bin or if
having it in ${prefix}/share/gnome/panel/ is better... I'm not sure I like
adding a lot of stuff in ${prefix}/bin

Is this okay?
Comment 2 Brian Cameron 2005-03-07 23:10:37 UTC
Vincent,

Thanks much for doing this, but I don't see the attachment.  I think adding it to 
/usr/share/gnome/panel makes the most sense.

If the underlying logic for how launchers are added to the panel is going to
change, will the code be backward compatible so people who setup their personal
configuration using an older version of GNOME will still work? 
 
Comment 3 Vincent Untz 2006-01-24 19:29:47 UTC
Mass changing: milestone 2.12.x => milestone 2.14.x
Comment 4 Brian Cameron 2006-04-13 18:52:05 UTC
Any progress?
Comment 5 Martin Olsson 2008-09-25 19:55:56 UTC
Any progress on creating the gnome-panel-add-launcher script? I would really to see this added to gnome 2.26
Comment 6 Vincent Untz 2009-08-11 16:38:40 UTC
Just added a gnome-panel-add script to git.
Comment 7 Martin Olsson 2009-08-11 17:52:16 UTC
Thanks Vincent!