GNOME Bugzilla – Bug 166623
No stable way to add launchers to the panel.
Last modified: 2015-03-24 13:00:56 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
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?
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?
Mass changing: milestone 2.12.x => milestone 2.14.x
Any progress?
Any progress on creating the gnome-panel-add-launcher script? I would really to see this added to gnome 2.26
Just added a gnome-panel-add script to git.
Thanks Vincent!