<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 17, 2013 at 7:31 AM, Augustine Souza <span dir="ltr"><<a href="mailto:aesouza2008@gmail.com" target="_blank">aesouza2008@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Here's another way:<div><div>  </div><div>Launch the software. </div><div><br></div><div>Then from a terminal, run `COLUMNS=150 ps -ef > ~/Desktop/out.txt`. </div>
<div><br></div><div>Examine the last few lines of `out.txt` for the relevant command (which very often is the name of the package as well).</div>
</div><div><br></div><div class="gmail_extra">*******************************</div><div class="gmail_extra">But sometimes, package names or executable names and the names in menus don't match. For example, Evince may show up as Document Viewer and gedit may appear as Text Editor.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">I'm not good at this stuff but with a little help from people at Ubuntu Forums***, I've settled on this (inelegant) code:</div><div class="gmail_extra">
<br>
</div><div class="gmail_extra">grep '^Name=' /usr/share/applications/*.desktop > ~/Desktop/mgtl1.txt && grep -h '^Exec=' /usr/share/applications/*.desktop > ~/Desktop/mgtl2.txt && paste -d':' ~/Desktop/mgtl1.txt ~/Desktop/mgtl2.txt > ~/Desktop/mgtl3.txt && perl -p -i -e 's/\/usr\/share\/applications\///'g ~/Desktop/mgtl3.txt && perl -p -i.bak -e 's/\n/\n\n/'g ~/Desktop/mgtl3.txt && perl -p -i.bak -e 's/:/\n/'g ~/Desktop/mgtl3.txt  </div>

<div class="gmail_extra"><br></div><div class="gmail_extra">It will create four files on the desktop and in **mgtl3.txt**:<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">The first line is what you'll see by looking at "ls /usr/share/applications" (which is **not** what you'll see if you look at  /usr/share/applications using a File Manager).<br>

</div><div class="gmail_extra"><br></div><div class="gmail_extra">The second line is what you'll see with the File Manager **and** is probably the name in various menus.</div><div class="gmail_extra"><br></div><div class="gmail_extra">

The third is the path to the executable.</div><div class="gmail_extra"><br></div><div class="gmail_extra">  </div><div class="gmail_extra">apport-gtk-mime.desktop  </div><div class="gmail_extra">Name=Report a problem...  </div>

<div class="gmail_extra">Exec=/usr/share/apport/apport-gtk -c %f</div><div class="gmail_extra"><br></div><div class="gmail_extra">audacity.desktop  </div><div class="gmail_extra">Name=Audacity  </div><div class="gmail_extra">

Exec=audacity %F</div><div class="gmail_extra"><br></div><div class="gmail_extra">blueman-manager.desktop  </div><div class="gmail_extra">Name=Bluetooth Manager  </div><div class="gmail_extra">Exec=blueman-manager</div><div class="gmail_extra">

<br></div><div class="gmail_extra"> ***</div><div class="gmail_extra"><a href="http://ubuntuforums.org/showthread.php?t=2067629&p=12282576#post12282576" target="_blank">http://ubuntuforums.org/showthread.php?t=2067629&p=12282576#post12282576</a><br>

</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div></blockquote><div><br></div><div>O_o</div><div>If this is a 'way' to find out the name of a package, I would MOVE right not to Windows and never come back to Linux :P :P :P</div>
<div><br></div><div>Just kidding ;)</div><div>But really, this is way too long if you ask me - no offense :)</div><div><br></div><div>Menu > System > Synaptic </div><div>and Just type the name of the application as it appears on the Menu and you are done :)</div>
<div>If it is installed, a green box will be shown next to the name. If it is not installed, the check box will be blank. Easy as pie :) <br></div></div><div><br></div>-- <br><div dir="ltr"><div><p style="margin:0px 0px 1em;font-family:'Ubuntu Beta',UbuntuBeta,Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;line-height:19px">
<span style="background-color:rgb(255,255,255)"><font color="#000000"><big>"All of us are smarter than any one of us."</big><span></span><span></span></font></span></p><p style="margin:0px 0px 1em;font-family:'Ubuntu Beta',UbuntuBeta,Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;line-height:19px">
</p></div><div><b style="font-family:'trebuchet ms',sans-serif"><span style="color:rgb(11,83,148)">Best Regards,</span></b><br></div><div><span style="font-family:trebuchet ms,sans-serif"><b><span style="color:rgb(11,83,148)"><a href="https://wiki.ubuntu.com/amjjawad/" target="_blank">amjjawad</a></span></b><br>
</span></div><span style="font-family:trebuchet ms,sans-serif"><b><a href="https://wiki.ubuntu.com/Lubuntu/CommunicationsTeam/WOWLubuntu/StartUbuntu" target="_blank"><span style="color:rgb(204,0,0)">Start Ubuntu</span></a></b><br>
</span><div><div style="font-size:small"><font face="trebuchet ms, sans-serif" color="#000000"><b><a href="http://alilinx.blogspot.com/" style="background-color:rgb(255,255,255)" target="_blank">My Own Business</a></b></font></div>
</div><div style="font-size:small"><font face="trebuchet ms, sans-serif" color="#000000"><br></font></div></div>
</div></div>