For Ubuntu 16.04 the steps are different:
Open a terminal
Become root
sudo su -
The lenses are now apparently controlled by scopes
cd /usr/share/unity/scopes
The next command will show the files that contain a shortcut definition
grep -R "Short" *
Make a copy of the existing files (just in case) and verify they copied.
mkdir ~/scopes
cp -rp * ~/scopes
ls -Rl ~/scopes
Remove all the Shortcut entries - if you would rather just disabled some of the shortcuts, then edit the specific files that returned from the previous command.
find ./ -type f -exec sed '/Shortcut/,+1 d' {} \;
Verify all the shortcuts are removed
grep -R "Short" *
This takes effect immediately. The shortcuts do not disappear from Keyboard Shortcuts menu, however.
This works for me because I have a single-user system, but is there any way to configure this on a per-user basis? Perhaps some sort of user-space override of
– namuol Jan 26 '13 at 08:37/usr/share/unity/lenses
-- something in.config
or similar?