|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
how to get the Debian menu back?Several months ago(maybe), the Debian submenu dispeared from Xfce4 desktop and
panel menu. I read Xfce wiki and google around, and found no answer. >From the wiki: http://wiki.xfce.org/howto/customize-menu I learnd that I should edit the xfce-applications.menu, but I don't know how to include a menu file. I copied some lines from the file of gnome-applications.menu like this: <!-- The Debian menu --> <Menu> <Name>Debian</Name> <MergeFile>debian-menu.menu</MergeFile> <Directory>Debian.directory</Directory> </Menu> But it totally not work. Maybe there need some layout lines? For the system menu on xfce panel, it is still using menu.xml, and it still use the menudefs.hook file but can not show the Debian menu, too: <menu name="Debian"> <include type="file" src="menudefs.hook"/> </menu> How to get the debian menu back? both desktop menu and panel menu? Thanks. -- cathayan@... http://blog.cathayan.org _______________________________________________ Xfce mailing list Xfce@... http://foo-projects.org/mailman/listinfo/xfce http://www.xfce.org |
|
|
Re: how to get the Debian menu back?On Sun, Oct 18, 2009 at 12:13 PM, cathayan <cathayan@...> wrote:
> Several months ago(maybe), the Debian submenu dispeared from Xfce4 desktop and > panel menu. I read Xfce wiki and google around, and found no answer. > From the wiki: > > http://wiki.xfce.org/howto/customize-menu > > I learnd that I should edit the xfce-applications.menu, but I don't > know how to include a > menu file. I copied some lines from the file of > gnome-applications.menu like this: > > <!-- The Debian menu --> > <Menu> > <Name>Debian</Name> > <MergeFile>debian-menu.menu</MergeFile> > <Directory>Debian.directory</Directory> > </Menu> > > But it totally not work. Maybe there need some layout lines? > > For the system menu on xfce panel, it is still using menu.xml, and it > still use the > menudefs.hook file but can not show the Debian menu, too: > > <menu name="Debian"> > <include type="file" src="menudefs.hook"/> > </menu> > > How to get the debian menu back? both desktop menu and panel menu? > > Thanks. > -- cathayan@... http://blog.cathayan.org _______________________________________________ Xfce mailing list Xfce@... http://foo-projects.org/mailman/listinfo/xfce http://www.xfce.org |
|
|
Re: how to get the Debian menu back?On dim, 2009-10-18 at 12:13 +0800, cathayan wrote:
> I learnd that I should edit the xfce-applications.menu, but I don't > know how to include a > menu file. I copied some lines from the file of > gnome-applications.menu like this: > > <!-- The Debian menu --> > <Menu> > <Name>Debian</Name> > <MergeFile>debian-menu.menu</MergeFile> > <Directory>Debian.directory</Directory> > </Menu> work. > > But it totally not work. Maybe there need some layout lines? > > For the system menu on xfce panel, it is still using menu.xml, and it > still use the > menudefs.hook file but can not show the Debian menu, too: > > <menu name="Debian"> > <include type="file" src="menudefs.hook"/> > </menu> > > How to get the debian menu back? both desktop menu and panel menu? Follow the instructions on the http://wiki.xfce.org/howto/customize-menu webpage. First create at Debian submenu, then create items. The thing is, the Debian menu is not created from desktop files but from debian .menu files, so you would have to find a way to generate .desktop files from menu files. Another solution is to add a new menu in the panel and to point it to the Debian mennu file (/var/lib/menu-xdg/menus/debian-menu.menu). That should work. Cheers, -- Yves-Alexis _______________________________________________ Xfce mailing list Xfce@... http://foo-projects.org/mailman/listinfo/xfce http://www.xfce.org |
|
|
Re: how to get the Debian menu back?On Sun, Oct 18, 2009 at 4:17 PM, Yves-Alexis Perez <corsac@...> wrote:
> On dim, 2009-10-18 at 12:13 +0800, cathayan wrote: >> I learnd that I should edit the xfce-applications.menu, but I don't >> know how to include a >> menu file. I copied some lines from the file of >> gnome-applications.menu like this: >> >> <!-- The Debian menu --> >> <Menu> >> <Name>Debian</Name> >> <MergeFile>debian-menu.menu</MergeFile> >> <Directory>Debian.directory</Directory> >> </Menu> > > libxfce4menu 4.6 doesn't support the Merge attribute, sot that won't > work. > >> >> But it totally not work. Maybe there need some layout lines? >> >> For the system menu on xfce panel, it is still using menu.xml, and it >> still use the >> menudefs.hook file but can not show the Debian menu, too: >> >> <menu name="Debian"> >> <include type="file" src="menudefs.hook"/> >> </menu> > > Afaik it uses the exact same menu as xfdesktop. >> >> How to get the debian menu back? both desktop menu and panel menu? > > Follow the instructions on the http://wiki.xfce.org/howto/customize-menu > webpage. First create at Debian submenu, then create items. > > The thing is, the Debian menu is not created from desktop files but from > debian .menu files, so you would have to find a way to generate .desktop > files from menu files. > > Another solution is to add a new menu in the panel and to point it to > the Debian mennu file (/var/lib/menu-xdg/menus/debian-menu.menu). > > That should work. > > Cheers, > -- > Yves-Alexis Thanks. The last way is an acceptable solution, except no submenu icons show up. -- cathayan@... http://blog.cathayan.org _______________________________________________ Xfce mailing list Xfce@... http://foo-projects.org/mailman/listinfo/xfce http://www.xfce.org |
|
|
Re: how to get the Debian menu back?Am Sonntag, den 18.10.2009, 12:13 +0800 schrieb cathayan:
> Several months ago(maybe), the Debian submenu dispeared from Xfce4 desktop and > panel menu. I read Xfce wiki and google around, and found no answer. I guess Debian uses a custom menu instead of the global one. Right click on the menu icon in the panel -> Properties -> Use custom menu -> enter the path to debian-menu.menu, probably /etc/xdg/menus/debian-menu.menu. Regards, Christoph _______________________________________________ Xfce mailing list Xfce@... http://foo-projects.org/mailman/listinfo/xfce http://www.xfce.org |
| Free embeddable forum powered by Nabble | Forum Help |