Works. Really simple ) Thank you

On Tue, Aug 20, 2013 at 2:23 PM, Zsolt Udvari <udvzs...@gmail.com> wrote:

> Hello,
>
> it's very simple: you can redefine all_menu_dirs:
> put into rc.lua:
>
> menubar.menu_gen.all_menu_dirs = {
>   "/usr/share/applications",
>   "/usr/local/share/applications",
>   "/home/your_user/.local/share/applications"
> }
>
> 2013/8/20 Ivan Osadchii <ivan.osadc...@gmail.com>:
> > Hi All,
> >
> > I've installed an application with .desktop in
> ~/.local/share/applications.
> > Now I want to launch it using modkey+p but it is not there (awesome
> already
> > restarted).
> >
> > As far as I could understand awesome's menu_gen.generate() doesn't look
> into
> > that folder. There is such code in lib/menubar/menu_gen.lua.in:
> >
> >     menu_gen.all_menu_dirs = { '/usr/share/applications/',
> > '/usr/local/share/applications/' }
> >
> > And then it simply iterates over all_menu_dirs variable. Is it possible
> to
> > make it also look in ~/.local/share/applications?
> >
> > I'm not sure if there is a standard regarding where to put desktop entry
> > files; this is what gnome people use:
> >
> https://developer.gnome.org/integration-guide/stable/desktop-files.html.en
> >
> > Thanks,
> > Ivan
>

Reply via email to