LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-03-2011, 01:35 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Adobe Reader 9 associated itself to every file type in Xfce 4.4.


kernel 2.6.21.5, GNU/Linux (slackware 12.0).

Hi:
I had the bad idea of installing Adobe in my linux box and, as a result, even when I click on a .flac file the reader opens. What is bad about this is that Xfce help system is very poor. Menu bar>Help uses internet to open the site page, where there is very little help indeed.

Right clicking, for example, an HTML file, I can choose the application to open it with and I'll be asked if I want this to be the default action. But for every file type I should be making this work! Perhaps deleting a hidden file in ~/ where xfce registered the associations. I do not want to uninstall Adobe as it is really fast scanning docs. Any hint?
 
Old 02-03-2011, 10:24 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Since this is Slackware, I'm assuming you have KDE installed. If so . . .

Open Konqueror and click Go-->Applications-->Settings-->File Associations.

Use the "Find" window to locate the file types and correct the associations.

I would also junk Acrobat Reader and use a Okular (the old Kpdf).

I haven't yet run into a PDF that Okular did not handle just fine (if you still have to use Windows, junk Acrobat Reader and use Foxit Reader).
 
Old 02-04-2011, 07:22 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks for your reply. KDE I have it installed, only for the benefit of its apps. But as a desktop environment I use Xfce. So it's really Xfce who must handle file associations, I think.

To make things worst, I seem to have lost the original associations. If I had a file whose type was unfamiliar to me (and suppose the file command does not know the type either), Xfce knew and a click revealed the application it was designed to run it with.

I'll give Okular a try. Foxit Reader is my default PDF reader in Windows.

Coming back to the issue, if I only knew where Xfce keeps the assocs, I would edit or remove the file. Another course of action would be just to delete ~/. after relocating my personal data. I assume the next execution of Xfce would create all the necessary files again. Regards.

Last edited by stf92; 02-04-2011 at 07:26 AM.
 
Old 02-04-2011, 07:43 AM   #4
Perceptor
Member
 
Registered: Jul 2007
Location: the Future
Distribution: Slackware
Posts: 128

Rep: Reputation: 64
Why don't you just reinstall the xfce package?
 
Old 02-04-2011, 07:48 AM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Yes, I gave that a thought already, but wasn't quite sure. Seems easier and that's what I'll do. Thanks.
 
Old 02-04-2011, 08:27 AM   #6
dh2k
Member
 
Registered: Jan 2006
Distribution: Slackware 13.0 (KDE 3.5.10 from 12.2; Xfce 4.6; Fluxbox); Slackware 13.1 (KDE 4.5)
Posts: 211

Rep: Reputation: 52
1> You say you are using Slackware 12.0 in your first post? Okular is for KDE4.* - found on Slackware 13.0 and higher.

2> Is your problem the same for all users and root or just your user profile?

If it is just your profile then (edit or) delete (backup first? - your choice)
~/.local/share/applications/defaults.list
Code:
cp ~/.local/share/applications/defaults.list /tmp/defaults.list_BACKUP
rm ~/.local/share/applications/defaults.list
This will then default to system wide default apps.

If the problem is system wide then ... will complete soon!

Last edited by dh2k; 02-04-2011 at 08:58 AM.
 
1 members found this post helpful.
Old 02-04-2011, 03:35 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
1> I do use Slackware 12.0.

2> Just for my user account. There are two of them: a normal user and root.


I did then the deletion thing, and the normal user seems to have come back to the normal values. Problem solved. A noticeable thing, however, is that ~/.local/share/applications/defaults.list, where ~/ is the normal user dir, is empty. It's only line is
Code:
[Default Applications]
, although before the deletion (I exited X after the deletion and restarted it) it was not empty. All entries were associations with Adobe, except one.

The fact that it is empty, therefor, comes as no surprise, except for the non-Adobe entry. The true default associations must be built-in into the code, I suppose. For else, how does xfce know that it must open .txt files with mousepad, as it in fact does? Well, good bye and thanks for your repl and generous help.
 
Old 02-04-2011, 05:24 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
I regularly use multiple window manager/desktop environments on the same computers, though I tend to default to Fluxbox as my primary choice: Fluxbox/KDE/Gnome depending on the distro and computer.

Manipulating file associations under one has always carried through to the others when I've changed environments.

I don't think you have different sets of file association for XFCE and for KDE--I think both desktops access the same database, problably in a hidden file or directory in your /home, but display the interface to it differently.

If I am wrong, I trust that someone will educate me.

Last edited by frankbell; 02-05-2011 at 05:02 PM. Reason: bad grandma. very bad grandma.
 
Old 02-05-2011, 06:13 AM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thank you guys.
 
Old 02-06-2011, 04:59 AM   #10
dh2k
Member
 
Registered: Jan 2006
Distribution: Slackware 13.0 (KDE 3.5.10 from 12.2; Xfce 4.6; Fluxbox); Slackware 13.1 (KDE 4.5)
Posts: 211

Rep: Reputation: 52
Quote:
Originally Posted by dh2k View Post
1> You say you are using Slackware 12.0 in your first post? Okular is for KDE4.* - found on Slackware 13.0 and higher.

2> Is your problem the same for all users and root or just your user profile?

If it is just your profile then (edit or) delete (backup first? - your choice)
~/.local/share/applications/defaults.list
Code:
cp ~/.local/share/applications/defaults.list /tmp/defaults.list_BACKUP
rm ~/.local/share/applications/defaults.list
This will then default to system wide default apps.

If the problem is system wide then ... will complete soon!
3> System wide application defaults can be found (I think) in file at path
Code:
/usr/share/applications/mimeinfo.cache
these are over-ridden by user settings at
Code:
~/.local/share/applications/defaults.list
if ~/.local/share/applications/defaults.list has any file-type entries in defaults.list

Last edited by dh2k; 02-06-2011 at 05:03 AM.
 
  


Reply



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
Slim free PDF Reader as alternative to Adobe Reader cccc Debian 6 10-14-2010 02:51 PM
Unable to print a pdf file opened in adobe reader vsumanth10 Linux - Enterprise 3 07-04-2010 07:52 PM
Adobe PDF Reader broke epiphany file associations silex_88 Linux - Software 0 05-05-2007 05:19 PM
About Adobe Reader 7.0 shadkong Linux - Software 4 05-17-2006 10:52 AM
Adobe Reader 7.0 and Slackware 10.1, problem opening a file that required a plugin houler Linux - Software 0 05-29-2005 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:13 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
Open Source Consulting | Domain Registration