Sunday, April 28, 2013

Enable Opera Keyboard Shortcut for Delete Private Data

Despite various forum postings, including a long one from Tamil, an Opera developer with over 110,000 postings, this was surprisingly hard to figure out, which is weird because if you know what you're doing, you could do it in under 1 minute.

Don't try to choose a key combination of your own, because nearly all of them are taken by other shortcuts, or else don't seem to work. Unless you have a lot of time on your hands, or know Opera inside and out, stick with the one given in the examples, ctrl-shift-d, which by default means "bookmark this page." A similar result can be had using ctrl-d, or hitting + in the bookmark bar dropdown. Life is tough, and you may need to sacrifice the default action of ctrl-shift-d.

Go into Opera > Settings > Preferences > Advanced > Shortcuts. Ignore the Mouse Setup, and focus on the bottom half of the panel, for Keyboard Setup. You'll see 1 or maybe 2 config files that can be edited, using the buttons at the right. Do not press the Mouse edit buttons! When you edit this file or files, it will be saved as "(Modified)," while the default config file will remain unchanged. There is no concept of deleting the prior config and replacing it. The system uses the modified file, if there is one, and goes back to the default, which cannot be changed, if there is not.

Select a Keyboard config file, click Edit, and expand the Application section. (Or you can Duplicate the file first, and edit the dupe, which I believe gives the exact same result.) You'll see a list of keyboard shortcuts followed by their actions. Scroll down until you find d ctrl shift. The easiest procedure is to just edit this line, leave the shortcut unchanged, delete the action, and input your desired action, which is Delete Private Data. Once you get it part way typed, it will drop down and you can just select it. Why this shortcut isn't enabled by default is a mystery!

If it's not there, which I doubt, you can Add a line for it, or you could delete that line and re-Add it, no problem either way. If there are 2 default config files, do it for both. After you save them, they will say (Modified). Make no effort to delete the prior defaults, which isn't allowed anyway. Don't worry about them, as the system uses your Modified ones, if they exist.

Hit Okay, you're out of there, and press your newly redefined keyboard shortcut. Voila' You no longer need to perform a difficult mouse movement to access this frequently used action.


Post a Comment

<< Home