LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-06-2010, 01:51 PM   #1
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 648

Rep: Reputation: 78
Thunar File Manager shows text files as Adobe bridge workspace files


I installed wine and photoshop cs2. After that Adobe bridge hijacked all my plain text files and shows the adobe bridge workspace icon and shows the type as adobe bridge workspace file. It will still open with text editors in the GUI or CLI, but it's still a little irritating. Anyone know how to fix this???
 
Old 09-09-2010, 09:10 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,914

Rep: Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494
Does this happen in other file managers?

I think the answer to that will help you figure out where to look. I'm guessing the problem resides elsewhere than in Thunar itself.

I just took a quick look at Thunar v. 1.0.1 on my Slackware box and didn't see any place in there to set file associations. When I checked the properties of a *.txt file, it showed as a "plain text document."
 
Old 09-10-2010, 07:19 AM   #3
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by frankbell View Post
*.txt
Linux ignores the extensions, it doesn;t even know about them. It uses the file's contents to determine its type.
 
Old 09-10-2010, 12:32 PM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,126

Rep: Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792
Almost every file manager has an extension it doesn't understand. At least yours is opening the files, and not doing a Nautilus with a "This file appears to be X but the extension says it's Y" protest.
 
Old 09-10-2010, 02:08 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
I didn't know that some file managers look at extensions. I tried renaming a PNG file to end with .jpg, and the file manager said it was a JPEG image. It opens in an image viewer just fine woth no errors or conflicts, though.
 
Old 09-10-2010, 06:43 PM   #6
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 648

Original Poster
Rep: Reputation: 78
thanks for the reply guys. I don't have any other file manager installed. I've never had this happen before. Not sure what makes it show up as an adobe bridge file... very strange.
 
Old 01-01-2011, 09:23 AM   #7
eurekafag
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
Just in case you didn't solve that. I got the same problem and successfully restored icons and associations. Go to .local/share/icons first. I deleted some of them but nothing changed so I deleted them all. That restored my .txt icons.

Then I removed ~/.local/share/mime/packages/x-wine-extension-*.xml And then did update-mime-database ~/.local/share/mime That returned mime type back to text/plain. Maybe you'd better also clean ~/.local/share/applications in the same way (wine related .desktop-files). Maybe you'd need to relogin but I just restarted Thunar.

Hope this helps.
 
  


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
join 2 text files based on first number present in every line of the 2 text files markraem Linux - Software 4 01-25-2010 06:26 AM
Icons for Thunar file manager Alexvader Slackware 7 12-07-2009 08:04 AM
Thunar as default file manager ? slax Linux - Software 2 09-06-2008 01:51 AM
Archive manager not recognising ZIP files - suggests it's a text file. AnanthaP Ubuntu 4 12-27-2007 07:10 AM
Steps needed to convert multiple text files into one master text file jamtech Programming 5 10-07-2007 11:24 PM


All times are GMT -5. The time now is 07:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration