From owner-freebsd-x11@FreeBSD.ORG Sat Mar 5 05:46:17 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48B971065670 for ; Sat, 5 Mar 2011 05:46:17 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id F1B958FC0C for ; Sat, 5 Mar 2011 05:46:16 +0000 (UTC) Received: by yxl31 with SMTP id 31so1152989yxl.13 for ; Fri, 04 Mar 2011 21:46:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=mWLcC2PwO9ZQoPQF1y2YcFogMXLqW8gTSt+/tHetHP4=; b=VqljeyQqOXizv6yguf2ihNm+hUlY4AbvzP0TjWKT4sErcZygwvR27ZSt3Mq+uU5fV4 Yu8dtDa6nCimJlFvlCx1Zez5jRbNiQ8K9TW0w76qJBe2kfcBUI9OHVd3M5o0Fje3NUSJ MlxEKBc/PeazY4O0Z+rlh2DA0TmzjVnnhMfSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OVzbJ2C4P9r/8JY2WW5490T30FwZHvXwRxinuwVLkP0jR2ahu9u1ZYWE/P5K8T/83y SgoXrUk5zMFE0xgOlMM50Mc7DbFfzFPsODvmhXn56zEyHS1KI9jsyZRtYpRR4zC+EcQN nqxhzkWjRM5LkYRWzkXmi250qyqbOueq8c9So= MIME-Version: 1.0 Received: by 10.236.79.1 with SMTP id h1mr2260724yhe.76.1299303976236; Fri, 04 Mar 2011 21:46:16 -0800 (PST) Received: by 10.236.108.8 with HTTP; Fri, 4 Mar 2011 21:46:16 -0800 (PST) In-Reply-To: References: Date: Sat, 5 Mar 2011 00:46:16 -0500 Message-ID: From: Aryeh Friedman To: Zhihao Yuan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-x11@freebsd.org Subject: Re: xfce upgrade kills xfce menus X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 05:46:17 -0000 On Sat, Mar 5, 2011 at 12:41 AM, Zhihao Yuan wrote: > On Fri, Mar 4, 2011 at 10:35 PM, Zhihao Yuan wrote: >> On Fri, Mar 4, 2011 at 10:04 PM, Warren Block wrote: >>> On Fri, 4 Mar 2011, Zhihao Yuan wrote: >>> >>>>> Unfortunately, neither 'portmaster garcon' nor 'portmaster -r garcon' >>>>> made >>>>> any difference here. >>>> >>>> I don't use portmaster, so I don't know whether these command can >>>> *force* update a package. However, for portupgrade, a --force option >>>> is enough to do so. I met the same problem, and I have fixed it with >>>> an *force* update. >>> >>> 'portmaster -r garcon' is like 'portupgrade -rf garcon'. >>> >> >> First, check whether you have the file >> /usr/local/etc/xdg/menus/xfce-applications.menu >> If you don't have that, reinstall garcon. >> >> If you have the file, the menu should work, but! The xfce4 upstream >> has a problem in their new menu architecture: the application menu >> only looks for .desktop files at .local/share/applications. So, if you >> see only a few entities in your *working* application menu, copy all >> .desktop files under /usr/local/share/applications to user >> applications directory, or just ln -s the whole directory. So far, I >> found no other way to solve this. If someone knows more, please reply >> this thread. >> >> -- >> Zhihao Yuan >> The best way to predict the future is to invent it. >> > > OK. This problem has been solved. > > In the previous version, xfce4's script, startxfce4 requires a patch > to work, which corrects the XDG_DATA_DIRS. In 4.8, this patch is not > needed -- but since it was added as a post-patch command in the > Makefile of the port, no one noticed that. And the command causes the > problem. Now comment out the port-patch part of the file > /usr/ports/sysutils/xfce4-utils/Makefile, and rebuild this port, then > both icons and menus works. > > If you know who manages this port, please forward this mail to him. Thx. > > -- > Zhihao Yuan > The best way to predict the future is to invent it. > I don't think that is the complete solution because I don't use startxfce4 (See thread in ports) my .xsession (until I fixed as described in that thread) was (yes only 1 line): xfce4-session