How to get programs to run from search?

Issues related to applications and software problems
Post Reply
DoubleNNs
Posts: 7
Joined: 2014/08/20 00:39:07

How to get programs to run from search?

Post by DoubleNNs » 2014/09/04 16:54:38

Specifically, I've recently downloaded Sublime Text 3.
  1. Went to the website and downloaded the tarball file.
  2. Extracted the sublime_text_3 folder and moved the entire folder to /opt/
  3. Made a soft link to Sublime Text in my /usr/bin/ folder using :

    Code: Select all

    sudo ln -s /opt/sublime_text_3/sublime_text /usr/bin/sublime_text
    
Now, if I type sublime_text from the terminal, it executes the program. However, what I REALLY want is to be able to type "subl" from the search menu to run it. Faster than opening a terminal window 1st. How do I get it to become indexed to CentOS' search?

Also, why was there already a "sublime" link in my /usr/bin directory?

DoubleNNs
Posts: 7
Joined: 2014/08/20 00:39:07

Re: How to get programs to run from search?

Post by DoubleNNs » 2014/09/04 23:43:34

Actually, it seems like I didn't do the move to /opt/ correctly. Can someone help me?
When I go up to Applications, it doesn't show the program in the dropdown menu. I think getting Sublime Text to show in "Applications" would fix it not showing up in the search index. Can anyone help me with that?

Post Reply