From: "Константин Яблочкин" <yakonstb@yandex.ru> To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org> Subject: [newbies] Создать подменю Applications/Science, не работает для XFCE Date: Sun, 04 Dec 2016 20:30:06 +0300 Message-ID: <522011480872606@web7m.yandex.ru> (raw) В brlcad ( http://git.altlinux.org/people/yakonstb/packages/?p=brlcad.git;a=summary ) кладу файлы .desktop, .directory, .menu в папки /usr/share/applications /usr/share/desktop-directories /etc/xdg/menus/applications-merged В Mate появляется подменю BRL-CAD в меню Science. И все кнопки идут туда и во вложенное туда подменю В XFCE все кнопки лежат в меню Other ========= brlcad.menu ============ <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd"> <Menu> <Name>Applications</Name> <Menu> <Name>Science</Name> <Menu> <Name>brlcad</Name> <Directory>brlcad.directory</Directory> <Include> <Category>BRL-CAD</Category> </Include> <Menu> <Name>brlcad-doc</Name> <Directory>brlcad-doc.directory</Directory> <Include> <Category>BRL-CAD-doc</Category> </Include> </Menu> </Menu> </Menu> </Menu> ================ end =========================== ========= brlcad.directory ========== [Desktop Entry] Type=Directory Icon=/usr/share/icons/brlcad/256x256/brlcad Name=BRL-CAD ====== end ======= ====== brlcad-doc.directory ============ [Desktop Entry] Type=Directory Icon=folder Name=Documents ======= end ========= ======= archer.desktop ======== [Desktop Entry] Name=Archer Comment=Archer - Constructive solid geometry (CSG) solid modeling computer-aided design (CAD) system Exec=/usr/libexec/brlcad/bin/archer %f Icon=/usr/share/icons/brlcad/256x256/archer Type=Application Categories=BRL-CAD; MimeType=application/brlcad-v4;application/brlcad-v5; ====== end ======== ====== brlcad-doc-animation.desktop ======= [Desktop Entry] Name=BRL-CAD Animation Comment=Animation Techniques in BRL-CAD Exec=xdg-open /usr/libexec/brlcad/share/doc/html/manuals/Anim_Tutorial/index.html Icon=/usr/share/icons/brlcad/256x256/brlcad-doc Type=Application Categories=BRL-CAD-doc; ====== end ====== Как сделать?
next reply other threads:[~2016-12-04 17:30 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-12-04 17:30 Константин Яблочкин [this message] 2016-12-04 19:36 ` Michael Shigorin 2016-12-04 19:44 ` Константин Яблочкин 2016-12-04 19:46 ` Константин Яблочкин 2016-12-04 19:55 ` Michael Shigorin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=522011480872606@web7m.yandex.ru \ --to=yakonstb@yandex.ru \ --cc=devel-newbies@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
devel@ where you _can_ ask This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \ devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com public-inbox-index devel-newbies Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies AGPL code for this site: git clone https://public-inbox.org/public-inbox.git