Date: Sat, 5 Mar 2011 00:46:16 -0500 From: Aryeh Friedman <aryeh.friedman@gmail.com> To: Zhihao Yuan <lichray@gmail.com> Cc: freebsd-x11@freebsd.org Subject: Re: xfce upgrade kills xfce menus Message-ID: <AANLkTikVoea7QT=HnhJRx4JEj%2BsxV%2BEbmi-5MTgdoNaJ@mail.gmail.com> In-Reply-To: <AANLkTinJH6DhXRnReVZ2N74Ou4im8R6cSRL0Ln3QZDq=@mail.gmail.com> References: <AANLkTik3vnTUGtJcmyoZPtzKV7uZFrnjcvoB0_kiZ27a@mail.gmail.com> <AANLkTi=oWEZrqzcqUDQvi8Ff6UmXYW62-H%2B-3JpebVjm@mail.gmail.com> <alpine.BSF.2.00.1103042042430.86175@wonkity.com> <AANLkTin3RH7Rvsc9hiBEZKMYtvFqkoP%2BeRgcuNifmRBe@mail.gmail.com> <alpine.BSF.2.00.1103042101310.86175@wonkity.com> <AANLkTi=KPtZdydCvi4uA2_cH0=xqiWK-vCoGfsSc5et2@mail.gmail.com> <AANLkTinJH6DhXRnReVZ2N74Ou4im8R6cSRL0Ln3QZDq=@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 5, 2011 at 12:41 AM, Zhihao Yuan <lichray@gmail.com> wrote: > On Fri, Mar 4, 2011 at 10:35 PM, Zhihao Yuan <lichray@gmail.com> wrote: >> On Fri, Mar 4, 2011 at 10:04 PM, Warren Block <wblock@wonkity.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikVoea7QT=HnhJRx4JEj%2BsxV%2BEbmi-5MTgdoNaJ>