Fw: Re: xfdesktop menu question
Juraj Ziegler
e at hq.sk
Mon May 5 13:27:47 CEST 2003
On Mon, May 05, 2003 at 12:54:37PM +0200, Linus Fagerberg wrote:
>
> ----- Original Message -----
> From: "Juraj Ziegler" <e at hq.sk>
> To: <xfce4-dev at xfce.org>
> Sent: Monday, May 05, 2003 12:11 PM
> Subject: Re: Fw: Re: xfdesktop menu question
>
> On Mon, 5 May 2003 12:11:28 +0200, Juraj Ziegler wrote:
> > Depends on your startx and associated scripts. As already mentiond, I
> > use Debian, and I have a .xsession-errors file. The standard (or error?
> > i'm not sure right now) output of the X server process is redirected into
> it.
> > And start X through startx as well.
>
> I'll try to find my error log and I guess it should be possible to redirect
> the output from the shell I run starx from to a file. If I log our directly
> after trying left-clicking the desktop the prevously posted messages are
> displayed.
You could start by looking in your home directory, whether
.xsession-errors exists. And if it does not exist, the output of X is
probably written to the console where you ran startx.
I just took a look at how my desktop menu looks
> DBG[menu.c:360] ??(): Root Element: xfdesktop-menu
>
> DBG[menu.c:382] ??(): //Desktop Menu (type=3) (term=0)
Title
> DBG[menu.c:382] ??(): //No Name (type=1) (term=0)
Separator
> DBG[menu.c:382] ??(): //Terminal (type=0) (term=0)
>
> DBG[menu.c:382] ??(): //Run Program... (type=0) (term=0)
>
> DBG[menu.c:382] ??(): //Settings (type=2) (term=0)
>
> DBG[menu.c:382] ??(): //Settings/All Settings (type=0) (term=0)
>
> DBG[menu.c:382] ??(): //Settings/Background (type=0) (term=0)
>
> DBG[menu.c:382] ??(): //File manager (xffm) (type=0) (term=0)
>
> DBG[menu.c:382] ??(): //Midnight Commander (type=0) (term=1)
Default xfc4 entries
> DBG[menu.c:382] ??(): //No Name (type=1) (term=0)
Separator
> DBG[menu.c:382] ??(): //Help (type=0) (term=0)
Default entry.
The system-generated menu for applications should appear between the
title and the first separator. But I don't have anymore time to explore
this. It works OK for me, and when it didn't work, it was fault of the
"menu" package not working, not of xfce4.
> > Debian, and I assume other distros as well, uses a package called "menu"
> > to dynamically create menus for various window managers. Each package
> > which wants to have a menu entry includes a file with the definition of
> > this entry. The menu package knows how to convert these definitions into
> > a menu-file, that can be used by specific window managers (i.e. one
> > conversion for WindowMaker, another conversion for xfce4, etc.). If a
> > new package is installed, the menu is regenerated automatically. And
> > most window managers keep an eye on the resulting file, and re-read it
> > if it has changed. This way, your menu (provided by the window manager)
> > is always up-to-date.
>
> > I hope this was clear enough :)
>
> Ok, I think I understand it but shouldn't this mean that the root menu would
> be identical in different window managers?
Yes. That't the point of it. That you find e.g. Mozilla under Apps/Net,
whatever window manager you use. And that you don't have to edit the
menu files by hand, everytime you (un)install something.
[e]
--
_______________________________________________________________________________
>e at hq.sk< /(bb|[^b]{2})/ >http://hq.sk/~euro<
"always know what you say, but do not always say what you know"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20030505/2bbe3cd4/attachment.pgp>
More information about the Xfce4-dev
mailing list