LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2003, 12:24 AM   #1
Eultza
LQ Newbie
 
Registered: Sep 2003
Distribution: Knoppix/Debian
Posts: 8

Rep: Reputation: 0
KDE File Association Issues


Hi,

Here's my problem: I want all html documents to open with Mozilla Firebird. I set that in the file associations config in the Control Center, but every time I open an html file, it goes through Konqueror first and then opens Mozilla Firebird. Is there a way to bypass Konqueror? Another thing, when I reset it to Konqueror as first priority for html files it then says that it cannot handle html files. I'm so confused : (.
 
Old 12-14-2003, 03:52 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
To get Firebird to open html files, right-click on a html file, then choose "Edit file type". Then on the General tab, choose "Add" and give the command to open Firebird.

As for Konqueror, try setting the command as :
Code:
kfmclient openURL %u text/html
That should reset it.

HTH
Baldrick
 
Old 12-14-2003, 01:49 PM   #3
Eultza
LQ Newbie
 
Registered: Sep 2003
Distribution: Knoppix/Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks, but that's where I still have problems. Maybe I should be a little more specific in stating that my problem resides with Ximian Evolution 1.4.5. Whenever I click on a link from Evolution, it always go through Konqueror first - then sends the file to Mozilla FireBird - even though I have MozillaFirebird at the top of the priority list.
 
Old 12-14-2003, 09:52 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Have a look at this:
http://www.mail-archive.com/evolutio.../msg06433.html

Dave
 
Old 12-15-2003, 06:00 AM   #5
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Quote:
Originally posted by Eultza
Thanks, but that's where I still have problems. Maybe I should be a little more specific in stating that my problem resides with Ximian Evolution 1.4.5. Whenever I click on a link from Evolution, it always go through Konqueror first - then sends the file to Mozilla FireBird - even though I have MozillaFirebird at the top of the priority list.
OK, try this: Create a script to start Firebird using this code (I call mine MozFB) and put it in /usr/bin
Code:
#!/bin/bash

/usr/local/MozillaFirebird061/MozillaFirebird -remote "openURL($@, new-tab)" ||
exec /usr/local/MozillaFirebird061/MozillaFirebird "$@";
Just change the directory locations to suit. This script opens Firebird if it's not open or opens a new tab in the existing window if it is.

If you are using Evolution as your mail client, edit the .gnome/Gnome file in your home directory to get Firebird to open links clicked. The .gnome directory is hidden. For example: /home/<user>/.gnome/ If you are using Konqueror to view files, click on the View menu and click "Show Hidden Files". You should now be able to see the .gnome directory. The Gnome file is inside this directory.

Insert this section into the file if it doesn't exist or modify the existing one.
Code:
[URL Handlers]
http-show=/usr/bin/MozFB "%s"
https-show=/usr/bin/MozFB "%s"
(Assuming you call the script MozFB).

That should fix it so that FB opens url's directly from Evolution.

HTH
Baldrick
 
Old 12-15-2003, 05:08 PM   #6
Eultza
LQ Newbie
 
Registered: Sep 2003
Distribution: Knoppix/Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Thank for the link ilikejam. The only problem is that I don't use GNOME. But the site was very useful overall.

Baldrick, I programmed the script correctly, but regarding the Gnome file - it didn't exist in my .gnome directory, so i created it with the code you specified. I have never run GNOME yet on this system - last time I ran GNOME was on Redhat and now I'm on an HD install of Knoppix 3.3. Would that be a problem for me because I open evolution from the command line and it still goes through freakin konqueror. I'm starting to wonder why I went back to evolution from Mozilla Thunderbird. Thanks though!
 
Old 12-16-2003, 05:12 AM   #7
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Quote:
Originally posted by Eultza
Baldrick, I programmed the script correctly, but regarding the Gnome file - it didn't exist in my .gnome directory, so i created it with the code you specified. I have never run GNOME yet on this system - last time I ran GNOME was on Redhat and now I'm on an HD install of Knoppix 3.3. Would that be a problem for me because I open evolution from the command line and it still goes through freakin konqueror. I'm starting to wonder why I went back to evolution from Mozilla Thunderbird. Thanks though!
Hmmm ... that's strange for it not to have a 'Gnome' file. It might be a Evolution 1.4.5 thing, I still use Evolution 1.2.4 and it's still there.

Ok, one last thing to try, remove Konqueror as a handler for html files completely and see if that fixes the prob.

Baldrick
 
Old 12-16-2003, 04:51 PM   #8
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Eultza - It doesn't matter if you use GNOME or KDE - Evolution still looks at the GNOME settings for which application to use as the browser (Evolution is actually part of Ximian Gnome, so it make sense really). I use KDE and xfce4 and the Gnome control panel is still used to configure Evolution.

Dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Konquerer File association bobinglis Linux - Software 2 01-17-2005 03:17 AM
KDE file association won't stick LocoMojo Linux - Newbie 7 12-28-2004 10:32 AM
KDE desktop file association problem neranjana Linux - General 2 10-23-2004 11:01 AM
file association BigNate Linux - General 6 08-16-2003 11:28 AM
KDE Realplayer permanent file association? jcabral3 Linux - Newbie 1 05-29-2003 08:24 AM


All times are GMT -5. The time now is 01:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration