There is ion3 debian package for debian unstable:
http://packages.debian.org/sid/ion3
download it and get some files from it e.g. by midnight commander.
You need at least following files:
/etc/menu-methods/ion3
/etc/menu-methods/ion3-i18n
When you install these files (with 'x' permission), you have
to run 'update-menus'. This generates following files:
/var/lib/ion3/debian-menu.lua
/var/lib/ion3/debian-menu-i18n.lua
Now you can link these files from your ~/.ion3 directory and then
include one of them in your cfg_ion.lua
After this you should be able to include debian's menu by something like
submenu("Debian","Debian")
in your main menu definition.
Note that this all will work only if debian menu system did not change
significantly since Etch. I did not tried this myself, as I use ion's
menu only for closing or restarting ion.
Dne 26 Červenec 2008, 17:20, Csanyi Pal napsal(a):
> Hello!
>
>
> I have installed from source the last stable Ion3 release on Debian
> GNU/Linux Etch en Half.
>
>
> When I used Ion2 I have Debian menu but now I havn't.
>
>
> I tried to edit cfg_ioncore.lua to include Debian menu but this is not
> enough:
>
>
> ---------------
> defmenu("mainmenu", { menuentry("Run...",
> "mod_query.query_exec(_)"),
> menuentry("Terminal", "ioncore.exec_on(_, XTERM or 'xterm')"),
> menuentry("Lock screen", "ioncore.exec_on(_, 'xlock')"),
> menuentry("Help", "mod_query.query_man(_)"), menuentry("About
> Ion", "mod_query.show_about_ion(_)"),
> submenu("Styles", "stylemenu"), submenu("Session",
> "sessionmenu"),
> submenu("Debian", "Debian"), })
> ---------------
>
>
> I open the old file ion-menus.lua from Ion2 to see this setup and find
> a line like the line abowe:
>
> submenu("Debian", "Debian"),
>
> and this lines:
>
> -------------------------
> -- Auto-generated Debian menu definitions
> if os.execute("test -x /usr/bin/update-menus") == 0 then if
> ioncore_is_i18n() then include("debian-menu-i18n") else
> include("debian-menu") end end -------------
>
>
> These lines can't to use in Ion3.
>
>
> Somehow I must to include debian-menu but how?
>
>
> --
> Regards, Paul Csanyi
> http://www.freewebs.com/csanyi-pal/index.htm
>
>
>
--
Tomas Ebenlendr
http://drak.ucw.cz/~ebik
--
Tomas Ebenlendr
http://drak.ucw.cz/~ebik