Launch Application from Any Terminal or Create Shortcut in Linux
This post though created using Ubuntu, should be applicable to all *nix distros.
If you install or compile a non-native linux application (third party app), there are times when the installation would not create a shortcut for itself in your start menu and you have to launch the application by going to its directory.
To fix this problem you have two options
- Create a shortcut (symbolic link) for the application in /usr/local/bin: This enables you to launch the application from any terminal window.
- Once you have created the shortcut in /usr/local/bin you can add a Desktop or Start Menu launcher / shortcut.
For step 1: Run the command
Now in the code below replace the “absolute_path_to_the_application_executable” and “name_of_the_shortcut” with appropriate details of your application.
ln -s /absolute_path_to_the_application_executable name_of_the_shortcut
For Step 2: To add a new shortcut entry in the start menu, right click on the Main menu bar and select Edit Menus.
You might also like
|Installs or Update Multiple Linux Distros from One Disc Using NetbootCD Tired of downloading...||Best Looking Linux Distribution – Mint Linux? While there...||How to Install / Update Linux Driver for HP Printers / Scanners Most *nix distros...||Add Launch Terminal Here Context Menu in Nautilus Launch terminal...|