Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: create a custom application launcher in the XFCE menu bar

  1. #1
    Join Date
    Aug 2006
    Beans
    461
    Distro
    Ubuntu 11.04 Natty Narwhal

    create custom application launcher in the LXDE main menu

    Hi

    Howto create my own (custom) application launcher in the LXDE main menu bar?
    BTW I cannot install and use Lxmed GUI, because I don't need and don't have java installed on my a really small thin client.
    Is it any other way to edit a file manually?

  2. #2
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    1,682

    Re: create custom application launcher in the LXDE main menu

    Make a .desktop file in ~/.local/share/applications/ for your application with a text editor. If done right, this will cause an entry in the main menu, and supply the needed information to the system to run it.

    File name looks like:

    <name>.desktop [ex: leafpad.desktop]


    Example: (replace <...> with appropriate content)

    Code:
    [Desktop Entry]
    Type=Application
    Icon=<path to icon>
    Name=<name to appear in menu>
    Comment=<tooltip>	
    Categories=<menu categories>
    Exec=<path to executable>
    Path=<set working directory if necessary>
    StartupNotify=true
    Terminal=false
    There are numerous possible keys. All the specifications are here to study:

    http://standards.freedesktop.org/des...est/index.html

    More .desktop files to see are in /usr/share/applications, but those are for all users.

  3. #3
    Join Date
    Aug 2006
    Beans
    461
    Distro
    Ubuntu 11.04 Natty Narwhal

    create a custom application launcher in the XFCE menu bar

    hi

    Howto create a custom application launcher in the XFCE main menu bar?
    BTW I would like to edit config file manually.

  4. #4
    rai4shu2 is offline Extra Foam Sugar Free Ubuntu
    Join Date
    Jun 2006
    Beans
    Hidden!
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: create a custom application launcher in the XFCE menu bar

    I believe this is what you're looking for:

    http://wiki.xfce.org/howto/customize-menu

  5. #5
    Join Date
    Oct 2008
    Location
    Down Under
    Beans
    1,566
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: create a custom application launcher in the XFCE menu bar

    Right click on the panel

    Go to Panel, click Add New Items

    Click on Launcher

    Click Add Click Close

    Right click on the new Launcher icon, select Properties

    Click on Add A New Empty Item

    Then you can add any command you wish.


    Rodney

  6. #6
    Join Date
    Aug 2006
    Beans
    461
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: create a custom application launcher in the XFCE menu bar

    Quote Originally Posted by rai4shu2 View Post
    I believe this is what you're looking for:

    http://wiki.xfce.org/howto/customize-menu
    Thx, but I cannot use LXMenuEditor, because I don't have java installed on my very small installation.

  7. #7
    Join Date
    Aug 2006
    Beans
    461
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: create a custom application launcher in the XFCE menu bar

    Quote Originally Posted by Rodney9 View Post
    Right click on the panel

    Go to Panel, click Add New Items

    Click on Launcher

    Click Add Click Close

    Right click on the new Launcher icon, select Properties

    Click on Add A New Empty Item

    Then you can add any command you wish.


    Rodney

    Thx, but I'd like to add an additional application launcher to the main menu bar and not to the panel.

  8. #8
    rai4shu2 is offline Extra Foam Sugar Free Ubuntu
    Join Date
    Jun 2006
    Beans
    Hidden!
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: create a custom application launcher in the XFCE menu bar

    Quote Originally Posted by cccc View Post
    Thx, but I cannot use LXMenuEditor, because I don't have java installed on my very small installation.
    It might help if you ignore that part and read the rest of the page.

  9. #9
    Join Date
    Aug 2006
    Beans
    461
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: create custom application launcher in the LXDE main menu

    Thx a lot, it works well!
    Last edited by cccc; September 27th, 2012 at 06:06 PM.

  10. #10
    Join Date
    Aug 2006
    Beans
    461
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: create a custom application launcher in the XFCE menu bar

    I've done a .desktop file in /usr/share/applications/ for my application and it works well now:
    Code:
    [Desktop Entry]
    Name=my_app_name
    Encoding=UTF-8
    Type=Application
    Icon=/usr/share/pixmaps/my.png
    Exec=/usr/bin/my_app
    Categories=Application;Network;
    Terminal=false

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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