Re: How do you change file associations in Thunar?

2011-08-13 Thread Camaleón
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
 
Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.13.10.30...@gmail.com



Re: How do you change file associations in Thunar?

2011-08-13 Thread AG

On 12/08/11 23:39, Jason Hsu wrote:

OS: antiX Linux M11 (based on MEPIS)
File managers: Thunar and ROX-Filer
Window manager: IceWM

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

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-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e4654a1.50...@gmail.com



Re: How do you change file associations in Thunar?

2011-08-13 Thread Jason Hsu
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?

On Sat, 13 Aug 2011 10:30:32 + (UTC)
Camaleón noela...@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 jhsu802...@jasonhsu.com
Founder and lead developer of Swift Linux (http://www.swiftlinux.org)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110813105445.fe977843.jhsu802...@jasonhsu.com



Re: How do you change file associations in Thunar?

2011-08-13 Thread Camaleón
On Sat, 13 Aug 2011 10:54:45 -0500, Jason Hsu wrote:

 On Sat, 13 Aug 2011 10:30:32 + (UTC) Camaleón noela...@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-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.13.18.20...@gmail.com



How do you change file associations in Thunar?

2011-08-12 Thread Jason Hsu
OS: antiX Linux M11 (based on MEPIS)
File managers: Thunar and ROX-Filer
Window manager: IceWM

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 jhsu802...@jasonhsu.com
Founder and lead developer of Swift Linux (http://www.swiftlinux.org)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110812173921.e1c1680a.jhsu802...@jasonhsu.com