Open ~/.config/menus/applications.menu in your text editor of choice
then find the menu you want to add stuff to, like "Office".
You'll see
Code: Select all
<Menu>
<Name>Office</Name>
<Include>
<Filename>Dia Diagram Editor.desktop</Filename>
</Include>
<Exclude>
<Filename>gnome-dictionary.desktop</Filename>
</Exclude>
<AppDir>/home/isaac/.local/share/applications</AppDir>
<Exclude>
<Filename>evolution.desktop</Filename>
</Exclude>
</Menu>
Code: Select all
<Filename>wine-Programs-Microsoft Office-Microsoft Office Word 2007.desktop</Filename>
<Filename>wine-Programs-Microsoft Office-Microsoft Office Excel 2007.desktop</Filename>
<Filename>wine-Programs-Microsoft Office-Microsoft Office Access 2007.desktop</Filename>
<Filename>wine-Programs-Microsoft Office-Microsoft Office PowerPoint 2007.desktop</Filename>
I can just use this line of text "<Filename>wine-Programs-Microsoft Office-Microsoft Office ______ 2007.desktop</Filename>" and replace the "_____" with the application name, so this is really easy editing. The icon and everything is correct once I'm done.
Code: Select all
<Menu>
<Name>Office</Name>
<Include>
<Filename>Dia Diagram Editor.desktop</Filename>
<Filename>wine-Programs-Microsoft Office-Microsoft Office Word 2007.desktop</Filename>
<Filename>wine-Programs-Microsoft Office-Microsoft Office Excel 2007.desktop</Filename>
<Filename>wine-Programs-Microsoft Office-Microsoft Office Access 2007.desktop</Filename>
<Filename>wine-Programs-Microsoft Office-Microsoft Office PowerPoint 2007.desktop</Filename>
</Include>
<Exclude>
<Filename>gnome-dictionary.desktop</Filename>
</Exclude>
<AppDir>/home/isaac/.local/share/applications</AppDir>
<Exclude>
<Filename>evolution.desktop</Filename>
</Exclude>
</Menu>
I might make a Python app that handles it better than the regular edit menu does, however, this file isn't hard to use.
In case anyone was wondering, I took these screenshots using $ gnome-screenshot --delay 10