|
From: Dima K. <no...@di...> - 2017-02-05 08:38:19
|
Wojciech Aniszewski <ani...@da...> writes:
> Yes I do have that package. You see, depreceated or not, if other WMs can acces
> this info (or, for that matter, programs such as 'pdmenu') then why not Notion.
> It's more about the failed Notion functionality than menu itself. Which brings
> me back to the issue: in cfg_notioncore.lua I see something like:
>
> 404 -- Auto-generated Debian menu definitions
> 405 if os and os.execute("test -x /usr/bin/update-menus") == 0 then
> 406 if notioncore.is_i18n() then
> 407 dopath("debian-menu-i18n")
> 408 else
> 409 dopath("debian-menu")
> 410 end
> 411 end
>
> and I don't think the 'debian-menu' module even exists. I'm not sure if it was built,
> as I'm using a snapshot, perhaps I should enable it somewhere at build time.
OK. It works here. I have this:
dima@shorty:~/.notion$ ls -l /usr/share/notion/debian-menu*
lrwxrwxrwx 1 root root 36 Jul 14 2016 /usr/share/notion/debian-menu-i18n.lua -> /var/lib/notion/debian-menu-i18n.lua
lrwxrwxrwx 1 root root 31 Jul 14 2016 /usr/share/notion/debian-menu.lua -> /var/lib/notion/debian-menu.lua
dima@shorty:~/.notion$ ls -l /var/lib/notion
-rw-r--r-- 1 root root 14196 Jan 18 14:03 debian-menu-i18n.lua
-rw-r--r-- 1 root root 14196 Jan 18 14:03 debian-menu.lua
dima@shorty:~/.notion$ head /var/lib/notion/debian-menu.lua
-- Automatically generated file. Do not edit.
-- (See /usr/share/doc/menu/menu.txt.gz)
defmenu("Debian/Applications/Accessibility", {
menuentry("xbindkeys", "ioncore.exec('/usr/bin/xbindkeys')"),
menuentry("Xmag", "ioncore.exec('xmag')"),
menuentry("Xzoom", "ioncore.exec('xzoom')"),
})
defmenu("Debian/Applications/Data Management", {
The menu-updater presumably creates the files in /var/lib, and the links
maybe are supposed to exist always. What are you missing?
|