Searching on the dash, I can see the program listed as "Personal File Sharing". How can I find the executable name of this program such that it can be launched in a terminal?
Asked
Active
Viewed 657 times
1 Answers
2
Open terminal and use grep to search for "personal file sharing" in /usr/share/applications folder.
In fact, you will have this output:
$ grep -R -i "personal file sharing" /usr/share/applications
/usr/share/applications/gnome-user-share-properties.desktop:Name=Personal File Sharing
Now, if we do this:
$ grep "Exec" /usr/share/applications/gnome-user-share-properties.desktop
Exec=gnome-file-share-properties
That the actual program that runs is `gnome-file-share-properties, which is located at
$ which gnome-file-share-properties
/usr/bin/gnome-file-share-properties
To be more specific, what happens is that in linux there are .desktop files. They are somewhat similar to Windows' shortcuts. These files contain
fields Name= and Exec=. Name part is how the program shows up in the dash search and unity panel. Exec is the actual binary that gets executed
Sergiy Kolodyazhnyy
- 107,582