Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 173308

Summary: xfce-base/xfdesktop-4.5_pre20070325 chokes on %U in desktop files
Product: Gentoo Linux Reporter: Ivan <Ivan.Miljenovic>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: RESOLVED UPSTREAM    
Severity: trivial CC: jakub
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ivan 2007-04-04 07:46:07 UTC
I recently had problems opening openoffice from the menu in xfce 4.4, where it would keep coming up with the error "/home/ivan/%U does not exist" then halt.

Changing to openoffice-bin didn't do anything, but when I found that this didn't occur when opening a file directly or through the command line, I looked in the desktop files and found what seems to be an error in them:

Gentoo applications # pwd
/usr/share/applications
Gentoo applications # fgrep %U openoffice.org-2.2-*
openoffice.org-2.2-base.desktop:Exec=ooffice -base %U
openoffice.org-2.2-calc.desktop:Exec=ooffice -calc %U
openoffice.org-2.2-draw.desktop:Exec=ooffice -draw %U
openoffice.org-2.2-impress.desktop:Exec=ooffice -impress %U
openoffice.org-2.2-math.desktop:Exec=ooffice -math %U
openoffice.org-2.2-writer.desktop:Exec=ooffice -writer %U

As far as I can tell, those %U entries in there are bugs.  Not sure if this is a Gentoo-related error, or upstream's (couldn't find this anywhere else though).
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-04-04 08:30:41 UTC
This is not an OO.org bug; %U is just fine [1]; looks like it got even more broken sice Bug 96028 has been filed.

[1] http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-04-08 07:48:09 UTC
By chance, have you tried w/ xfce-base/xfdesktop-4.5_pre20070325-r1 (you'll have to unmask it)?
Comment 3 Ivan 2007-04-08 07:56:39 UTC
That actually was my problem... :(

I masked it again, and it works properly... must be a bug with that version.

Thanks for your help.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-04-08 08:00:15 UTC
(In reply to comment #3)
> I masked it again, and it works properly... must be a bug with that version.

Please, make sure to report this upstream and post URL here for tracking

http://bugzilla.xfce.org/
Comment 5 Ivan 2007-04-08 09:35:09 UTC
Bug report on Xfce's bugzilla:

http://bugzilla.xfce.org/show_bug.cgi?id=3106