Here are the steps to follow to create a Ubuntu Custom keyboard shortcut.
- First Install Gnome Panel package
sudo apt-get install --no-install-recommends gnome-panel
gnome-desktop-item-edit --create-new ~/Desktop
Type: Select the type of your shortcut. If it is some command that needs to be executed in the Terminal, for example, a XAMPP application. Then select Application in Terminal.
Name: Give a name to your shortcut, whatever you want.
Enter the command that needs to be executed when one click on your create shortcut. For example, in the below screenshot we want to run XAMPP GUI interface, thus we have selected the script that does that. In the same way, you select your desired application.
After all above click on the OK button.
- Now right click on the created shortcut and select Allow launching.