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.
Possibly related posts (generated automatically):
- Add Launch Terminal Here Context Menu in Nautilus
- Some Useful Linux Terminal Commands
- Create A Perfect Linux Desktop Using Ubuntu 10.04: Post Install Guide
- Create Bootable USB / Flash Drive From ISO Image in Linux or Windows
- Linux Terminal Hacks (Ubuntu 9.10, Fedora 12)
- Search or Recall Commands Typed in Linux Terminal
- $350: VIZIO E322VL 32-Inch LCD HDTV with VIZIO Internet Application, Black
- Perfect Desktop Using Linux Mint 9 Isadora: Post Install Guide
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...|