Results 1 to 5 of 5

Thread: How to create a launch icon in the menu??????

  1. #1

    Default How to create a launch icon in the menu??????

    Hello everybody

    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.

    Regards

    Fabrizio

  2. #2

    Default Re: How to create a launch icon in the menu??????

    Quote Originally Posted by FabrizioS View Post
    Hello everybody

    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.

    Regards

    Fabrizio
    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.

    Here's an example (pavumeter): https://build.opensuse.org/package/v...16e83bfb818b89

    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.

  3. #3

    Default Re: How to create a launch icon in the menu??????

    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

  4. #4

    Default Re: How to create a launch icon in the menu??????

    Hello

    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.

    Here's an example (pavumeter): https://build.opensuse.org/package/v...16e83bfb818b89

    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!!!!!

    Thank you for your support so far!!!

    Regards

    Fabrizio

  5. #5

    Default Re: How to create a launch icon in the menu??????

    Hi,

    glad you got it working!

    Lenwolf

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •