[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#300562: KMail insists on downloading URLs before passing them to Galeon



On Monday 21 March 2005 9:03 am, Kevin Krammer wrote:
> On Sunday 20 March 2005 15:25, Tim Baverstock wrote:
> > 1. KMail insists on downloading the file before passing it on to Galeon,
> > so instead of getting a website URL in Galeon, I get some random
>
> Very likely the command is missing the %u parameter which tells KDE that
> the application is able to handle URLs itself.

Hi.

Thanks for this. I ran 'locate Galeon' and found a few Galeon.desktop files:

/home/warwick/.gnome/Debian/Galeon.desktop
/home/warwick/.kde/share/applnk/Debian/Galeon.desktop
/home/warwick/.wmx/Debian/Galeon
/usr/share/oaf/GNOME_Galeon_Automation.oaf
/var/lib/gnome/Debian/Apps/Net/Galeon.desktop
/var/lib/kde/menu/Net/Galeon.desktop

I updated the Exec line for those in my home directory: 

$ cat .kde/share/applnk/Debian/Galeon.desktop 
[Desktop Entry]
Comment=Galeon
Exec=/usr/bin/galeon %u
Icon=/usr/share/pixmaps/galeon.xpm
InitialPreference=2
MimeType=image/png;all/x-url;application/x-url;Application
Name=Galeon
ServiceTypes=
Terminal=false
Type=Application


and restarted X (to ensure that KDEinit was dead) but no dice.

> If you created the command by using the application tree, this would
> suggest that the .desktop file installed by Galeon is broken.

I did create the association by choosing Galeon from the menu that pops up: 
Internet->Debian->Galeon.

I just tried typing /usr/bin/galeon %u in to the 'enter the name' field and 
moving that entry to the top of the list, and that now successfully launches 
Galeon with the URL, but other than the name change I can't see any real 
difference between the two files, so I don't understand why this one works 
when the other doesn't, so I'm not sure what to ask the Galeon maintainer to 
fix - can you advise?

$ cat .kde/share/applnk/galeon\ %u.desktop 
[Desktop Entry]
Comment=
Exec=/usr/bin/galeon %u
Icon=unknown
InitialPreference=4
MimeType=text/html;Application
Name=galeon %u
ServiceTypes=
Terminal=false
Type=Application

Also, is there something I should be using to edit these files, other that 
Vi? Or something I should run to say 'the files have been updated'?

Thanks,

Tim

-- 
Most incoming HTML email is caught by my SPAM FILTER.
http://www.baverstock.org.uk/tim



Reply to: