Wednesday, January 26, 2011

Xfce Menu: Patching it for Crossover Office

CrossOver Office 9.x doesn't play well with the Xfce menu'ing system (Xfce =< 4.6) therefore it is necessary until Xfce 4.8 to patch the menu.  Here is how to do it:

Patch the following in /etc/xdg/menus/xfce-applications.menu under "Accessories".  Following the format you see there:


    <Menu>
      <Name>CrossOver</Name>
      <Directory>.directory</Directory>
      <DirectoryDir>/opt/cxoffice/support/desktopdata/cxoffice-0/cxmenu/xdg-applications/CrossOver</DirectoryDir>
      <AppDir>/opt/cxoffice/support/desktopdata/cxoffice-0/cxmenu/xdg-applications/CrossOver</AppDir>
      <Include>
        <Filename>Install+Windows+Software.desktop</Filename>
        <Filename>Manage+Bottles.desktop</Filename>
        <Filename>User+Documentation.desktop</Filename>
        <Filename>Terminate+Windows+Applications.desktop</Filename>
        <Filename>Run+a+Windows+Command.desktop</Filename>
        <Filename>Register+and+unlock+this+demo.desktop</Filename>
        <Filename>Uninstall.desktop</Filename>
      </Include>
    </Menu>


The main CrossOver Office Menu will now show up after refreshing the Xfce Menu.  Adding Windows Apps can easily be done by examing the Menu'ing options in CrossOver Office and making links.  I launch MS Office 2007 apps from my AWN Dock for example.



No comments:

Post a Comment