[arch-general] File Associations for firefox & thunderbird :)^
I am a full time KDE user and I don't have GNOME or its libraries. Firefox and Thunderbird keep asking me to choose applications to open .pdf, .doc, .xls, http://, etc. Is there no package which can fix the file associations for FF and TB ? -- Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com Cheap and Reliable VPS Hosting: http://j.mp/arHk5e
Excerpts from Nilesh Govindarajan's message of 2010-06-14 17:09:26 +0200:
I am a full time KDE user and I don't have GNOME or its libraries. Firefox and Thunderbird keep asking me to choose applications to open .pdf, .doc, .xls, http://, etc. Is there no package which can fix the file associations for FF and TB ?
That's likely some xdg stuff. It usually works using gnome, KDE and xfce but nothing else. KDE probably has some preferences thing somewhere, otherwise you're pretty much as f..... as everyone who doesn't use a big DE. Hurray for 'Desktop Integration'.. -- Regards, Philipp -- "Wir stehen selbst enttäuscht und sehn betroffen / Den Vorhang zu und alle Fragen offen." Bertolt Brecht, Der gute Mensch von Sezuan
On 06/14/2010 09:07 PM, Philipp Überbacher wrote:
Excerpts from Nilesh Govindarajan's message of 2010-06-14 17:09:26 +0200:
I am a full time KDE user and I don't have GNOME or its libraries. Firefox and Thunderbird keep asking me to choose applications to open .pdf, .doc, .xls, http://, etc. Is there no package which can fix the file associations for FF and TB ?
That's likely some xdg stuff. It usually works using gnome, KDE and xfce but nothing else. KDE probably has some preferences thing somewhere, otherwise you're pretty much as f..... as everyone who doesn't use a big DE. Hurray for 'Desktop Integration'..
I don't think so. xdg-settings --list gives on default-web-browser. -- Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com Cheap and Reliable VPS Hosting: http://j.mp/arHk5e
Excerpts from Nilesh Govindarajan's message of 2010-06-14 18:28:24 +0200:
On 06/14/2010 09:07 PM, Philipp Überbacher wrote:
Excerpts from Nilesh Govindarajan's message of 2010-06-14 17:09:26 +0200:
I am a full time KDE user and I don't have GNOME or its libraries. Firefox and Thunderbird keep asking me to choose applications to open .pdf, .doc, .xls, http://, etc. Is there no package which can fix the file associations for FF and TB ?
That's likely some xdg stuff. It usually works using gnome, KDE and xfce but nothing else. KDE probably has some preferences thing somewhere, otherwise you're pretty much as f..... as everyone who doesn't use a big DE. Hurray for 'Desktop Integration'..
I don't think so. xdg-settings --list gives on default-web-browser.
You can't use xdg-settings when you don't have one of the major DEs running, xdg-open falls back to a hardcoded array of browsers in that case. It's all quite awkward if you don't use gnome, kde or xfce. I know, doesn't really help with your problem.. -- Regards, Philipp -- "Wir stehen selbst enttäuscht und sehn betroffen / Den Vorhang zu und alle Fragen offen." Bertolt Brecht, Der gute Mensch von Sezuan
On Mon, 14 Jun 2010, Philipp Überbacher wrote:
Excerpts from Nilesh Govindarajan's message of 2010-06-14 18:28:24 +0200:
On 06/14/2010 09:07 PM, Philipp Überbacher wrote:
Excerpts from Nilesh Govindarajan's message of 2010-06-14 17:09:26 +0200:
I am a full time KDE user and I don't have GNOME or its libraries. Firefox and Thunderbird keep asking me to choose applications to open .pdf, .doc, .xls, http://, etc. Is there no package which can fix the file associations for FF and TB ?
That's likely some xdg stuff. It usually works using gnome, KDE and xfce but nothing else. KDE probably has some preferences thing somewhere, otherwise you're pretty much as f..... as everyone who doesn't use a big DE. Hurray for 'Desktop Integration'..
I don't think so. xdg-settings --list gives on default-web-browser.
You can't use xdg-settings when you don't have one of the major DEs running, xdg-open falls back to a hardcoded array of browsers in that case. It's all quite awkward if you don't use gnome, kde or xfce. I know, doesn't really help with your problem..
I found thunderbird asking me for a program to execute for links. Pointed it to the right program and told it to remember. Never asked again. I wouldn't know where to change it if I ever wanted, but it's been working so far, and I don't use a DE. --- Michishige Kaito BOFH excuse #261: The Usenet news is out of date
On 06/14/10 at 11:33pm, Michishige Kaito wrote:
On Mon, 14 Jun 2010, Philipp Überbacher wrote:
Excerpts from Nilesh Govindarajan's message of 2010-06-14 18:28:24 +0200:
On 06/14/2010 09:07 PM, Philipp Überbacher wrote:
Excerpts from Nilesh Govindarajan's message of 2010-06-14 17:09:26 +0200:
I am a full time KDE user and I don't have GNOME or its libraries. Firefox and Thunderbird keep asking me to choose applications to open .pdf, .doc, .xls, http://, etc. Is there no package which can fix the file associations for FF and TB ?
That's likely some xdg stuff. It usually works using gnome, KDE and xfce but nothing else. KDE probably has some preferences thing somewhere, otherwise you're pretty much as f..... as everyone who doesn't use a big DE. Hurray for 'Desktop Integration'..
I don't think so. xdg-settings --list gives on default-web-browser.
You can't use xdg-settings when you don't have one of the major DEs running, xdg-open falls back to a hardcoded array of browsers in that case. It's all quite awkward if you don't use gnome, kde or xfce. I know, doesn't really help with your problem..
I found thunderbird asking me for a program to execute for links. Pointed it to the right program and told it to remember. Never asked again. I wouldn't know where to change it if I ever wanted, but it's been working so far, and I don't use a DE.
xdg-open for non-DE users is annoying but possible. I spent an evening reading the source (it's just a bash script anyway). When no DE stuff is present it falls back to some application.list file which associates mimetypes with .desktop files. The list and .desktop files are searched for in /usr/share/applications globally and ~/.local/share/applications on a per user basis. There's also xdg-open commands to add/remove associations and .desktop files to/from the list. No match found for a mimetype and we fall back on $BROWSER. At least that's how I remember it all working, I haven't looked in quite some time. I hear you can also install mimeo or some other Xyne-tool which will override all this and make it work better. -- patrick brisbin
It would appear that on Jun 16, Patrick Brisbin did say:
On 06/14/10 at 11:33pm, Michishige Kaito wrote:
I found thunderbird asking me for a program to execute for links. Pointed it to the right program and told it to remember. Never asked again. I wouldn't know where to change it if I ever wanted, but it's been working so far, and I don't use a DE.
xdg-open for non-DE users is annoying but possible. I spent an evening reading the source (it's just a bash script anyway).
When no DE stuff is present it falls back to some application.list file which associates mimetypes with .desktop files. The list and .desktop files are searched for in /usr/share/applications globally and ~/.local/share/applications on a per user basis.
There's also xdg-open commands to add/remove associations and .desktop files to/from the list.
No match found for a mimetype and we fall back on $BROWSER.
At least that's how I remember it all working, I haven't looked in quite some time.
I hear you can also install mimeo or some other Xyne-tool which will override all this and make it work better.
Pardon me but this all sounds like a petty annoyance I have when I want to see the content of a pdf I find on the web. I once was a kde user and still prefer several of it's applications over the gnome equivalents. Nowadays I'm usually working from within E17 which is by now more of a DE than a WM (I think)... And I routinely use two different web browsers. (Opera & Firefox) Both of which ask me which application I want to open it with. Unfortunately it always defaults to Evince. And I usually get better results with Okular. But unlike Michishige, I'm unwilling to use the pop-up to set the default because I like always having the choice. Unfortunately, for some reason when I'm doing this with my Arch Linux installation, the "Open With" scroll box never offers any other choices besides "Other" which won't find "okular" but makes me enter the full pathname of "/usr/bin/okular" and worse still, it doesn't even remember the choice if I need to open another pdf from the same browser session. (like when I'm reviewing my banking activity, and I want to peek at more than one canceled check image) These files you mention in /usr/share/applications interest me. But I don't know what to do to them to give greater preference to the desktop files: /usr/share/applications/kde4/okular.desktop & /usr/share/applications/kde4/okularApplication_*.desktop Than to: /usr/share/applications/evince.desktop would you be so kind as to give me a pointer or two? I mean I don't suppose I could getaway with simply renaming "evince.desktop" as "okular.desktop" to get that effect without buggering up my ability to get evince on the rare occasions when I actually want it? Or perhaps I could simply copy all the okular desktop files from /usr/share/applications/kde4/ to /usr/share/applications/??? -- | ~^~ ~^~ | <?> <?> Joe (theWordy) Philbrook | ^ J(tWdy)P | \___/ <<jtwdyp@ttlc.net>>
On 06/15/2010 03:23 AM, Philipp Überbacher wrote:
Excerpts from Nilesh Govindarajan's message of 2010-06-14 18:28:24 +0200:
On 06/14/2010 09:07 PM, Philipp Überbacher wrote:
Excerpts from Nilesh Govindarajan's message of 2010-06-14 17:09:26 +0200:
I am a full time KDE user and I don't have GNOME or its libraries. Firefox and Thunderbird keep asking me to choose applications to open .pdf, .doc, .xls, http://, etc. Is there no package which can fix the file associations for FF and TB ?
That's likely some xdg stuff. It usually works using gnome, KDE and xfce but nothing else. KDE probably has some preferences thing somewhere, otherwise you're pretty much as f..... as everyone who doesn't use a big DE. Hurray for 'Desktop Integration'..
I don't think so. xdg-settings --list gives on default-web-browser.
You can't use xdg-settings when you don't have one of the major DEs running, xdg-open falls back to a hardcoded array of browsers in that case. It's all quite awkward if you don't use gnome, kde or xfce. I know, doesn't really help with your problem..
Have you read the first line of my post properly ? I said I am a 100% KDE user. -- Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com Cheap and Reliable VPS Hosting: http://j.mp/arHk5e
On Tue, Jun 15, 2010 at 7:29 AM, Nilesh Govindarajan <lists@itech7.com> wrote:
On 06/15/2010 03:23 AM, Philipp Überbacher wrote:
Excerpts from Nilesh Govindarajan's message of 2010-06-14 18:28:24 +0200:
On 06/14/2010 09:07 PM, Philipp Überbacher wrote:
Excerpts from Nilesh Govindarajan's message of 2010-06-14 17:09:26 +0200:
I am a full time KDE user and I don't have GNOME or its libraries. Firefox and Thunderbird keep asking me to choose applications to open .pdf, .doc, .xls, http://, etc. Is there no package which can fix the file associations for FF and TB ?
That's likely some xdg stuff. It usually works using gnome, KDE and xfce but nothing else. KDE probably has some preferences thing somewhere, otherwise you're pretty much as f..... as everyone who doesn't use a big DE. Hurray for 'Desktop Integration'..
I don't think so. xdg-settings --list gives on default-web-browser.
You can't use xdg-settings when you don't have one of the major DEs running, xdg-open falls back to a hardcoded array of browsers in that case. It's all quite awkward if you don't use gnome, kde or xfce. I know, doesn't really help with your problem..
Have you read the first line of my post properly ? I said I am a 100% KDE user.
-- Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com Cheap and Reliable VPS Hosting: http://j.mp/arHk5e
tried system settings? the file associations there i guess.
On Tuesday 15 Jun 2010 at 06:48 Madhurya Kakati wrote:
I am a full time KDE user and I don't have GNOME or its libraries. Firefox and Thunderbird keep asking me to choose applications to open .pdf, .doc, .xls, http://, etc. Is there no package which can fix the file associations for FF and TB ?
That's likely some xdg stuff. It usually works using gnome, KDE and xfce but nothing else. KDE probably has some preferences thing somewhere, otherwise you're pretty much as f..... as everyone who doesn't use a big DE. Hurray for 'Desktop Integration'..
I don't think so. xdg-settings --list gives on default-web-browser.
You can't use xdg-settings when you don't have one of the major DEs running, xdg-open falls back to a hardcoded array of browsers in that case. It's all quite awkward if you don't use gnome, kde or xfce. I know, doesn't really help with your problem..
Have you read the first line of my post properly ? I said I am a 100% KDE user.
tried system settings? the file associations there i guess.
I've come across this problem too. I've never managed to get Firefox to honour KDE's file associations (which is big negative IMO), but on one machine, it did remember what I told it to do. From memory, Firefox's file associations can be edited in Edit->Preferences->Content, but I'm not sure if Thunderbird has something similar, since I don't use it. So can Firefox use XDG? I was under the impression that it just managed its own associations. On another machine though, with an identical set-up, it continually asks for a binary to open the file with, and you have to point the file dialog to /usr/bin/okular or whatever. This is annoying, but I've no idea why it worked in one case by not the other. Pete.
On 15/06/10 09:19, Peter Lewis wrote:
On Tuesday 15 Jun 2010 at 06:48 Madhurya Kakati wrote:
> I am a full time KDE user and I don't have GNOME or its libraries. > Firefox and Thunderbird keep asking me to choose applications to open > .pdf, .doc, .xls, http://, etc. > Is there no package which can fix the file associations for FF and TB > ?
That's likely some xdg stuff. It usually works using gnome, KDE and xfce but nothing else. KDE probably has some preferences thing somewhere, otherwise you're pretty much as f..... as everyone who doesn't use a big DE. Hurray for 'Desktop Integration'..
I don't think so. xdg-settings --list gives on default-web-browser.
You can't use xdg-settings when you don't have one of the major DEs running, xdg-open falls back to a hardcoded array of browsers in that case. It's all quite awkward if you don't use gnome, kde or xfce. I know, doesn't really help with your problem..
Have you read the first line of my post properly ? I said I am a 100% KDE user.
tried system settings? the file associations there i guess.
I've come across this problem too. I've never managed to get Firefox to honour KDE's file associations (which is big negative IMO), but on one machine, it did remember what I told it to do. From memory, Firefox's file associations can be edited in Edit->Preferences->Content, but I'm not sure if Thunderbird has something similar, since I don't use it.
So can Firefox use XDG? I was under the impression that it just managed its own associations.
On another machine though, with an identical set-up, it continually asks for a binary to open the file with, and you have to point the file dialog to /usr/bin/okular or whatever. This is annoying, but I've no idea why it worked in one case by not the other.
Pete.
Have you tried simply pressin ok when it asks you? Mozilla apps have a nasty bug?/annoyance wherein the dialog pops up asking you to specifify the program to use when in fact it knows your last preference. Also, if in the case it works, you don't need, and prolly should enter the command that opens it, instead use xdg-open and your preferred program will be launch even after you change it.
On Mon, Jun 14, 2010 at 10:39 AM, Nilesh Govindarajan <lists@itech7.com> wrote:
I am a full time KDE user and I don't have GNOME or its libraries. Firefox and Thunderbird keep asking me to choose applications to open .pdf, .doc, .xls, http://, etc. Is there no package which can fix the file associations for FF and TB ?
Does mozilla work with ~/.mailcap? :/ Andres P
Thanks all for suggestions. Will do the thing collect info from posts of all you people. Thanks once again. :) -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com Cheap and Reliable VPS Hosting: http://j.mp/arHk5e
participants (9)
-
Andres P
-
Joe(theWordy)Philbrook
-
Madhurya Kakati
-
Michishige Kaito
-
Nathan Wayde
-
Nilesh Govindarajan
-
Patrick Brisbin
-
Peter Lewis
-
Philipp Überbacher