Adding menu entires from an RPM install???
Hello all, I've asked on suse-linux-e and suse-autoinstall but have not received any answers to this question. I have made an RPM for SLES 8 and need to add an entry to the user's desktop menus in KDE and Gnome. These RPMs will be installed during a network install (see the problem in this processes below). How do I do this? I see that when desktop entries are placed here they work: /etc/opt/{kde3,gnome}/share/... **** But I ran into a problem **** I now have these desktop menu entries for the RPM that I have built: /etc/opt/gnome/SuSE/System/Configuration/myapp.desktop /etc/opt/gnome/share/gnome/distribution-menus/SuSE/System/Configuration/myapp.desktop /etc/opt/gnome/share/gnome/distribution-menus/SuSE/System/myapp.desktop /etc/opt/kde3/share/applnk/SuSE/Settings/myapp.desktop /etc/opt/kde3/share/applnk/SuSE/System/Configuration/myapp.desktop /etc/opt/kde3/share/applnk/SuSE/System/myapp.desktop This works well when installed on an existing system. However, when these RPMs are installed during a network install, the entries are missing! linux:~ # rpm -V myapp missing /etc/opt/gnome/SuSE/System/Configuration/myapp.desktop missing /etc/opt/gnome/share/gnome/distribution-menus/SuSE/System/Configuration/myapp.desktop missing /etc/opt/gnome/share/gnome/distribution-menus/SuSE/System/myapp.desktop missing /etc/opt/kde3/share/applnk/SuSE/Settings/myapp.desktop missing /etc/opt/kde3/share/applnk/SuSE/System/Configuration/myapp.desktop missing /etc/opt/kde3/share/applnk/SuSE/System/myapp.desktop linux:~ # How do I work with the [SuSE] system to get menu entries in KDE and gnome?!#$%?!!! -- Marc Christensen http://www.mecworks.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 11 July 2003 11:40 am, Marc Christensen wrote:
I have made an RPM for SLES 8 and need to add an entry to the user's desktop menus in KDE and Gnome. These RPMs will be installed during a network install (see the problem in this processes below). How do I do this?
I see that when desktop entries are placed here they work:
/etc/opt/{kde3,gnome}/share/...
If you 'rpm -qf' any of these files, you'll find that they don't come from any rpms. Those directories are automatically generated by a program called 'susewm', which gets run by SuSEconfig. If you do an 'rpm -ql susewm' your question should be answered. Hope that helps, - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/Dv3G+FOexA3koIgRAt6LAKCMFDUrpVC1AtPWRCRdebt1RjZu0gCgiEvL oeu17qAPTj/YMdc3dSYlRL8= =ERr6 -----END PGP SIGNATURE-----
James, Thanks for the pointer. After much poking around, I figured that out a couple hours ago and have built some new RPMS that I need to test. However, it would have been nice if there were some instructions on how to make RPMs work nicely with SuSE. I still have not found such documentation. -- Marc C. James Oakley wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Friday 11 July 2003 11:40 am, Marc Christensen wrote:
I have made an RPM for SLES 8 and need to add an entry to the user's desktop menus in KDE and Gnome. These RPMs will be installed during a network install (see the problem in this processes below). How do I do this?
I see that when desktop entries are placed here they work:
/etc/opt/{kde3,gnome}/share/...
If you 'rpm -qf' any of these files, you'll find that they don't come from any rpms. Those directories are automatically generated by a program called 'susewm', which gets run by SuSEconfig.
If you do an 'rpm -ql susewm' your question should be answered.
-- Marc Christensen http://www.mecworks.com
participants (2)
-
James Oakley
-
Marc Christensen