editing menus.
killermoehre
killermoehre at gmx.net
Tue Apr 3 10:22:47 CEST 2012
Am 03.04.2012 00:15, schrieb Ray Andrews:
> On 02/04/12 11:55 AM, Vincent wrote:
>
> Hi Vincent,
>>
>>
>> You could try installing the Alacarte menu editor and use that to
>> edit your menus.
>
> Thanks. Until I figure out how this stuff works manually, it does seem
> that Alacarte is the way to go. Actually it's not so much that I want
> to edit my menus right now, but that I want to find the name of the
> command being executed by various menu items. I figure an editor
> should supply that information. All GUIs, it seems, delight in hiding
> things from you and unfortunately Xfce is no exception. So far, what I
> do is drag menu items to the panel, and once there you can look under
> the hood to see what's going on. Then I delete the item on the panel.
> I don't know why we can't just right click on menu items and have the
> same functionality there that we do on the panel. But.
>
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org
Hi Ray,
you can't right click because the menu is not a menu editor, but right
now there is a coder coding one.
Until then I suggest you read the official specs
(http://standards.freedesktop.org/desktop-entry-spec/latest/) and the
wiki entry (http://wiki.xfce.org/howto/customize-menu).
If you just want to know what an entry executes I have a one liner for you:
> cat $(grep -P "^Name=${APPLICATION_NAME}\s*$"
/usr/share/applications/* | awk -F ":" '{ print $1 }') | grep -P "^Exec="
Just replace ${APPLICATION_NAME} with the name shown in the panel. This
was just a 3 minute hack, most time was used by reading the help for
grep and awk, so it isn't difficult.
Regards
More information about the Xfce
mailing list