devel@ where you _can_ ask
 help / color / mirror / Atom feed
* [newbies] Создать подменю Applications/Science, не работает для XFCE
@ 2016-12-04 17:30 Константин Яблочкин
  2016-12-04 19:36 ` Michael Shigorin
  0 siblings, 1 reply; 5+ messages in thread
From: Константин Яблочкин @ 2016-12-04 17:30 UTC (permalink / raw)
  To: devel@ where you _can_ ask

В 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 ======


Как сделать?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-04 19:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-04 17:30 [newbies] Создать подменю Applications/Science, не работает для XFCE Константин Яблочкин
2016-12-04 19:36 ` Michael Shigorin
2016-12-04 19:44   ` Константин Яблочкин
2016-12-04 19:46   ` Константин Яблочкин
2016-12-04 19:55     ` Michael Shigorin

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