Vitaly wrote:
[xdg-utils] can not handle files with spaces in them.
If that's true, it's a bug, and should be fixed.
Also they don't allow installing icons without specifying size.
? http://portland.freedesktop.org/xdg-utils-1.0/xdg-desktop-icon.html doesn't seem to talk about sizes at all.
[We can't just check the scripts into the wine source tree and require their installation.]
Why not? If they save effort and work well, let's do it. - Dan
Hi,
On Sat, Nov 25, 2006 at 07:55:38AM -0800, Dan Kegel wrote:
[We can't just check the scripts into the wine source tree and require their installation.]
Why not? If they save effort and work well, let's do it.
Yes please. If they save tons of efforts via the Oh So Ugly mechanism of standardization </sarcasm> then let's just do it. I'm tired of the non-standard behaviour of too many Linux distros. Let's forcefully change that for the better. I'd say it's fair to slightly penalize those who don't comply.
Besides, xdg-utils happens to already be installed on my Debian testing box: # dpkg -l|grep xdg-utils ii xdg-utils 1.0-1 Desktop integration utilities from freedeskt
Most likely that happened due to some Recommended: or Suggested: line (I'm adding most recommended packages to my install/upgrade list). I certainly didn't explicitly do it because I heard of this cool package...
Andreas Mohr
On Sa, 2006-11-25 at 17:44 +0100, Andreas Mohr wrote:
Besides, xdg-utils happens to already be installed on my Debian testing box: # dpkg -l|grep xdg-utils ii xdg-utils 1.0-1 Desktop integration utilities from freedeskt
A Package for xdg-utils is not available in Ubuntu 6.06 (Main, Multiverse, Universe, Backports)
Dan Kegel wrote:
Vitaly wrote:
[xdg-utils] can not handle files with spaces in them.
If that's true, it's a bug, and should be fixed.
Yes it have to be fixed.
Also they don't allow installing icons without specifying size.
? http://portland.freedesktop.org/xdg-utils-1.0/xdg-desktop-icon.html doesn't seem to talk about sizes at all.
Read closer. You have to specify the size of the icon for it to install it properly. However that doesn't work at all in this case. We do not know what the icon's size is, we do not want to limit user to one particular theme they use. I guess just using full path to an icon and getting rid of this script should work even better.
[We can't just check the scripts into the wine source tree and require their installation.]
Why not? If they save effort and work well, let's do it.
I ultimately don't care what scripts we use. It's been broken for number of years now generating Wine menu entries for all WMs but KDE. Whatever it takes to get it fixed. Users should not use command line interface to get to the directory and start something that they don't even know correct command line options. There are lots of programs that are not a simple executable. And will be impossible for anyone to launch without looking at .link file for required command line options.
So in the end this is Alexandre's call. All I can do is present my solution. And let him decide how he wants to fix this major show-stopper.
Vitaliy.
On Saturday 25 November 2006 17:50, Vitaliy Margolen wrote:
Dan Kegel wrote:
Vitaly wrote:
[xdg-utils] can not handle files with spaces in them.
If that's true, it's a bug, and should be fixed.
Yes it have to be fixed.
It's sad though, that even developers of free software projects seem to think that unreported bugs magically fix themselves.
Also they don't allow installing icons without specifying size.
? http://portland.freedesktop.org/xdg-utils-1.0/xdg-desktop-icon.html doesn't seem to talk about sizes at all.
Read closer. You have to specify the size of the icon for it to install it properly. However that doesn't work at all in this case. We do not know what the icon's size is, we do not want to limit user to one particular theme they use. I guess just using full path to an icon and getting rid of this script should work even better.
I guess Dan mixed it up with xdg-icon-resource. xdg-desktop-icon is about installing/uninstalling "links" on the user's desktop.
Not sure if the problem of unknown size can be fixed or is required, I'll have to have a closer look at the icon spec for this. However I am quite sure that theming isn't a problem, since those unthemed icons would be installed into the default theme "hicolor" which is, as far as I know, always a fallback lookup if an icon is not found in the currently active theme.
Cheers, Kevin
On Saturday 25 November 2006 18:34, Kevin Krammer wrote:
It's sad though, that even developers of free software projects seem to think that unreported bugs magically fix themselves.
They don't? Damn. Next someone will say that Santa isn't real.
Kai
Vitaliy Margolen wine-devel@kievinfo.com writes:
So in the end this is Alexandre's call. All I can do is present my solution. And let him decide how he wants to fix this major show-stopper.
If xdg-utils can be used, then that seems clearly preferable to reinventing them ourselves. Even if it's a bit more effort in the short term it should save us trouble in the long run.