Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-12-07 02:13:09

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Application Menu plug-in

i'm playing around with Application Menu plug-in and trying to find menu files it refers to, saying i (this non-root user, supposedly) can customize menus. i'd like to figure out:

1.  the menu file format
2.  how to get it to use my custom mrnu

Offline

#2 2019-12-07 03:01:37

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Application Menu plug-in

Skaperen wrote:

1.  the menu file format

The manual is located here

2.  how to get it to use my custom mrnu

Assuming a custom menu that looks like this:

<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
  "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

<Menu>
    <Name>Xfce</Name>

    <DefaultAppDirs/>
    <DefaultDirectoryDirs/>
    <DefaultMergeDirs/>

    <Include>
        <Category>X-Xfce-Toplevel</Category>
    </Include>

    <Layout>
        <Filename>exo-terminal-emulator.desktop</Filename>
        <Filename>exo-file-manager.desktop</Filename>
        <Filename>exo-mail-reader.desktop</Filename>
        <Filename>exo-web-browser.desktop</Filename>
        <Separator/>
        <Filename>xfce4-about.desktop</Filename>
        <Separator/>
        <Filename>xfce4-session-logout.desktop</Filename>
    </Layout>
</Menu>

...save the contents and point it to use this menu file in the plugin's properties.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-12-08 00:50:38

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: Application Menu plug-in

ToZ wrote:

...point it to use this menu file in the plugin's properties.

i don't see a way to do that.  i don't see a place to enter that path.  i was assuming it would be in a fixed place in ~/.config

Offline

#4 2019-12-08 00:57:17

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Application Menu plug-in

It's in the config dialog. Right-click the applicationsmenu plugin and select Properties. See https://docs.xfce.org/xfce/xfce4-panel/applicationsmenu.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 9 queries executed - Memory usage: 529.99 KiB (Peak: 531.27 KiB) ]