One of the features I've missed in Windows 7 is that you can pin your favourite files to the application icon's right click menu. Luckily, I've since discovered, that you can create so called "actions" in a particular application's desktop file, so you can access your desired files by right clicking on the application icon by adding the following lines to the .desktop file:
Actions=Action1;Action2;Action3; [Desktop Action Action 1] Name=Name which appears in right click menu Exec=gedit "path/to/file" OnlyShowIn=Unity [Desktop Action Action 2] ...
And so on.
However, upgrading to Ubuntu 16.04 while this works with other application icons, with Gedit now it doesn't behave accordingly. Unless I open the application beforehand, using the right click menu items detaches the Gedit task icon from the dash locked icon. Image:
The upper one is the locked dash icon, accessible by SUPER-9, and the lower one is what opened when clicked on the one of the right click items of the dash locked icon. Because of that, I can't switch to gedit with the SUPER-9 keystroke, it creates a new document in it instead.