In this question, answers were given that worked to add items to some menu commands, e.g., additional colors on the Format > Background Color menu, or Help menu items. I have code for such in an init.m
:
AddMenuCommands["OpenHelpLink",{Delimiter,
Item["Installed Add-Ons",FrontEndExecute[FrontEnd`FrontEndToken["OpenHelpLink",
{"guide/InstalledAddOns",Automatic}]]],
Item["Standard Extra Packages",FrontEndExecute[FrontEnd`FrontEndToken["OpenHelpLink",
{"guide/StandardExtraPackages",Automatic}]]], Delimiter}];
AddMenuCommands["BackgroundDialog",{Delimiter,
Item["L&inen",Background->RGBColor[0.980,0.941,0.902]],
Item["A&liceBlue",Background->RGBColor[0.941,0.973,1.0]],
Delimiter,
Item["HelpBrowser Sand",Background->RGBColor[0.964706,0.929412,0.839216]],
Item["SlideShow Slate",Background->RGBColor[0.408011,0.440726,0.8]]
}];
The solution proposed there was to place that init.m
into:
$UserBaseDirectory/Autoload/PacletManager/Configuration/FrontEnd/
However, this no longer seems to work with Mathematica 10.0.1. Yes, I did restart with a clean cache and clean preferences.
I note that in $UserBaseDirectory/Autoload/PacletManager/Configuration/FrontEnd/
there's already a file init_10.0.1.0
. I even tried appending the code displayed above to that (and appending a semi-colon to the long SetOptions[$FrontEndSession...
expression already in init_10.0.1.0
, but still no change to the menus. Moreover, after I restart Mathematica, the added text has disappeared from init_10.0.1.0
.
I'm using version-specific front end preferences, just as I had been doing with Mathematica versions 8 and 9.0.1, and, I think, version 10.0.0.
What am I doing wrong? How get this to work?