In these days I was doing some experiments: creating rpms of different programs by compiling directly the source code.
Everything went well, every-time I was able to create a rpm and install it correctly, no errors no issues. Unfortunately I
was not able to find the way to create in the menu (application tab) any quick launch icon. I was forced always to use
the terminal and digit the correspondent command :wxmaxima,gnuplot, etc. I tried to look in the manuals but there wasn’t
anything useful.
Do you have any idea??? By the way I am using Opensuse 11.3 and KDE 4.4.4.
If you want to add a menu entry + icon inside the rpm for your application, take a look in the spec file of a simple application in OBS. AFAIK openSUSE has specific macros to create desktop files, which might be different on other distros.
The rpm build from this spec file will install the file /usr/share/applications/pavumeter.desktop. This is the menu entry where the name and the icon of the application are defined. Of course you can write you own desktop files. Better put them in /usr/local/share/applications and modify XDG_DATA_DIRS accordingly. Writing your own menus require a little bit of knowledge but everything is well documented in the freedesktop specifications: Desktop Menu Specification.
Hi,
to add an application to the menu, right click on the opensuse menu button. The first option in the drop down menu that then opens allows you to modify (including adding to) the start menu…
Sorry for the late reply!!! I was very busy in this week!!!
Hi,
to add an application to the menu, right click on the opensuse menu button. The first option in the drop down menu that then opens allows you to modify (including adding to) the start menu…
HTH
Lenwolf
Thanks it worked!!! My mistake was to right click when I was inside the menu and not on the SUSE menu button (I am still thinking like a Windows user!!!). Finally I was able to create a shortcut. The only issue is that the Menu Editor does not have a great documentation.
If you want to add a menu entry + icon inside the rpm for your application, take a look in the spec file of a simple application in OBS. AFAIK openSUSE has specific macros to create desktop files, which might be different on other distros.
The rpm build from this spec file will install the file /usr/share/applications/pavumeter.desktop. This is the menu entry where the name and the icon of the application are defined. Of course you can write you own desktop files. Better put them in /usr/local/share/applications and modify XDG_DATA_DIRS accordingly. Writing your own menus require a little bit of knowledge but everything is well documented in the freedesktop specifications: Desktop Menu Specification.
I don’t know if this answers your question
It is a very interesting point of view, I will have to delve into the matter a little more!!! I have to say that, everytime Linux is a discovered and I think I will always be a newbie!!!