I know that the file associations in the Rox-Filer file manager are in the ~/.config/rox.sourceforge.net/MIME-types directory. These scripts control what application opens up when I click on a file in the Rox-Filer file manager.
Where are the file associations in the Thunar file manager, and how do I change them? When I click on a file in the Thunar window manager, I still get AbiWord for *.doc and *.odt files and Gnumeric for *.xls files.
Please note that I'm aware of right-click -> Open with Another Application. I'm looking for the solution that involves command line or directly editing files, as I need to automate the procedure on behalf of Swift Linux users.
--
Jason Hsu <jhsu8...@jasonhsu.com>
Founder and lead developer of Swift Linux (http://www.swiftlinux.org)
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20110812173921.e1...@jasonhsu.com
(...)
> Where are the file associations in the Thunar file manager, and how do I
> change them? When I click on a file in the Thunar window manager, I
> still get AbiWord for *.doc and *.odt files and Gnumeric for *.xls
> files.
(...)
Take a look into this forum thread (specially message #5) and see if that
helps:
https://bbs.archlinux.org/viewtopic.php?id=76836
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
While I can't help with the command line solution you are seeking, I
have found that by right clicking on the file you wish to open (e.g. a
*.doc) and selecting "properties" from the context menu, you can then
change the association in a way that is far more permanent than trying
to fix it via the "open with" option.
But, as I admitted, this will not help you with the command line solution.
AG
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
So how do I use the update-mime-database command to make the changes I need to make?
On Sat, 13 Aug 2011 10:30:32 +0000 (UTC)
Camaleón <noel...@gmail.com> wrote:
> On Fri, 12 Aug 2011 17:39:21 -0500, Jason Hsu wrote:
>
> (...)
>
> > Where are the file associations in the Thunar file manager, and how do I
> > change them? When I click on a file in the Thunar window manager, I
> > still get AbiWord for *.doc and *.odt files and Gnumeric for *.xls
> > files.
>
> (...)
>
> Take a look into this forum thread (specially message #5) and see if that
> helps:
>
> https://bbs.archlinux.org/viewtopic.php?id=76836
>
--
Jason Hsu <jhsu8...@jasonhsu.com>
Founder and lead developer of Swift Linux (http://www.swiftlinux.org)
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20110813105445.fe...@jasonhsu.com
> On Sat, 13 Aug 2011 10:30:32 +0000 (UTC) Camaleón <noel...@gmail.com>
> wrote:
>> > Where are the file associations in the Thunar file manager, and how
>> > do I change them? When I click on a file in the Thunar window
>> > manager, I still get AbiWord for *.doc and *.odt files and Gnumeric
>> > for *.xls files.
>>
>> (...)
>>
>> Take a look into this forum thread (specially message #5) and see if
>> that helps:
>>
>> https://bbs.archlinux.org/viewtopic.php?id=76836
> I looked at the /usr/share/mime/glob and /usr/share/mime/glob2 files,
> and it says at the top that these files should not be edited because
> they were generated with the update-mime-database command.
>
> So how do I use the update-mime-database command to make the changes I
> need to make?
Hum... true. That scares a bit, I agree :-)
If you want to take the correct path, take a look at GNOME docs for mime
types and how to edit them in the right way:
http://library.gnome.org/admin/system-admin-guide/stable/mimetypes-modifying.html.en
or this one from FreeDesktop:
http://www.freedesktop.org/wiki/Specifications/AddingMIMETutor
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org