The launcher and .desktop files

Doug dmcgarrett at optonline.net
Sat Sep 21 18:27:49 UTC 2013


On 09/21/2013 05:46 AM, Johnny Rosenberg wrote:
> 
> I compiled something and I want it in the launcher, so I ran the
> program, right clicked new icon in the launcher, then ”Keep in the
> launcher” (or something like that – I run Ubuntu in Swedish).
> 
> Now, the icon is named ”Namnlöst fönster” (”Nameless window”) and the
> icon is a question mark. Of course I want a proper icon and a proper
> name for it and I guess clicking that ”Keep in launcher” thing created a
> .desktop file for me somewhere, right?
> 
> So where is it? I want to edit it… I searched for it but I didn't find
> it because I don't know what to look for except .desktop. There is no
> .desktop file in my system named ”Namnlöst fönster” or anything that I
> can think of.
> 
> 
> 
> Johnny Rosenberg
> 
> 
> 
Ignore my previous post--this is what you want:

Passing on something form Rob Owens (rowens at ptd.net):
*******************************************************************
I think you are looking for the 'grep' command.

"grep word path/*" will find all files in "path" which contain "word"

"grep word path/* | grep word2" will do the same, but then narrow down the
search to files that also contain "word2"

man grep for options.  But you might be interested in '-r' to
recursively search a path.
*******************************************************************
--doug
-- 
Blessed are the peacemakers..for they shall be shot at from both sides.
--A.M.Greeley





More information about the ubuntu-users mailing list