[SOLVED] Adobe Reader starts instead of Nautilus

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Adobe Reader starts instead of Nautilus

Postby flink » Aug 6th, '12, 16:21

I have just updated to Mageia 2 and the GNOME desktop. When I click on the "Home Folder" directory icon, then Acrobat Reader is started and not Nautilus with the home directory. :evil:

And Acrobat Reader gives the error message: "There was an error opening this document. It is a directory."

So how can I open the homefolder with Nautilus? How can I teach Adobe Reader that it does not assign itself to a directory?
Last edited by flink on Sep 22nd, '12, 09:34, edited 1 time in total.
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby doktor5000 » Aug 6th, '12, 22:00

When you are using GNOME, you need to edit the default application for inode/directory or for opening folders, but i don't know where this is set in GNOME.
Maybe right-click on an empty folder and say Open with ... and select Nautilus instead Adobe Reader?

Otherwise i'd just remove Adboe Reader.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Adobe Reader starts instead of Nautilus

Postby flink » Aug 6th, '12, 23:14

doktor5000 wrote:Maybe right-click on an empty folder and say Open with ... and select Nautilus instead Adobe Reader?

There is no entry of 'Adobe Reader' in the 'Open with' context menu. But I wanted to start Nautilus by the easy way from the second menu in the GNOME menu panel. And when I click on the Nautilus Icon here then only Adobe Reader starts with the folder and of course it fails to open it. :evil:

doktor5000 wrote:Otherwise i'd just remove Adboe Reader.

But I need the Adobe Reader.
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby flink » Aug 7th, '12, 11:08

I have the same problem when I insert an usb stick into the computer.
Then Adobe Reader starts with the error message.
Code: Select all
There was an error opening this document. Is a directory.
[OK]
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby tom_ » Aug 7th, '12, 12:31

I'm not a gnome user,
but googling I have found some simple solution in internet.

Can you try them?
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: Adobe Reader starts instead of Nautilus

Postby flink » Aug 7th, '12, 13:04

tom_ wrote:Can you try them?

I have added these lines:

Code: Select all
[root@localhost applications]# vi defaults.list

inode/directory=nautilus.desktop
x-directory/normal=nautilus.desktop



Code: Select all
[root@localhost applications]# vi nautilus.desktop

MimeType=x-directory/gnome-default-handler;x-directory/normal;inode/directory;application/x-gnome-saved-search;


This has no effect. Adobe Reader ignores all this.
The entries for the Adobe Reader are these:

Code: Select all
defaults.list:

application/pdf=AdobeReader.desktop
application/vnd.adobe.xfdf=AdobeReader.desktop
application/vnd.fdf=AdobeReader.desktop
application/vnd.adobe.xdp+xml=AdobeReader.desktop
application/vnd.adobe.pdx=AdobeReader.desktop
application/fdf=AdobeReader.desktop
application/xdp=AdobeReader.desktop
application/xfdf=AdobeReader.desktop
application/pdx=AdobeReader.desktop
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby tom_ » Aug 7th, '12, 13:41

I was talking about this part:

One more way - for "mousemonkeys", like me

Just do in terminal

Code: Select all
exo-preferred-applications


then switch to Utilities tab and select File Manager you prefer. And that's all!
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: Adobe Reader starts instead of Nautilus

Postby flink » Aug 7th, '12, 20:17

I have now executed this command in a command shell. Then a graphical window opens.
I have chosen the 'Gestionnaire de fichiers' (file assignment) and set it to Nautilus.

However there is still the Adobe Reader which tries to open every folder.
I will make a restart now. I will only post again if this issue gets resolved in 10 minutes.
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby doktor5000 » Aug 7th, '12, 20:37

BTW, as which user did you do this and which file did you edit, as the commands you posted show that you did this as root?
Code: Select all
[root@localhost applications]# vi defaults.list
[root@localhost applications]# vi nautilus.desktop


You should do this as normal user.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Adobe Reader starts instead of Nautilus

Postby flink » Aug 7th, '12, 21:43

doktor5000 wrote:You should do this as normal user.


I have done the modifications as root on the global files.
Now I have done it also as the user on the local files.

The situation remains unchanged. Adobe Reader still opens the start folder and fails doing so.
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby doktor5000 » Aug 8th, '12, 21:40

As user, please show the output of
Code: Select all
xdg-mime query default inode/directory
and
Code: Select all
grep -iE 'adobe|acro' ~/.local/share/applications/mime*


Also, which system files did you change so far?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Adobe Reader starts instead of Nautilus

Postby flink » Aug 8th, '12, 22:24

doktor5000 wrote:As user, please show the output of
Code: Select all
xdg-mime query default inode/directory
and
Code: Select all
grep -iE 'adobe|acro' ~/.local/share/applications/mime*


Code: Select all
nautilus.desktop
/home/franz/.local/share/applications/mimeapps.list:application/pdf=AdobeReader8.desktop;evince.desktop;gimp.desktop;


doktor5000 wrote:Also, which system files did you change so far?


I have only changed the files as recommended from your link above.
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby flink » Aug 11th, '12, 09:17

When I start Nautilus from a command shell, then I see this error message:

Code: Select all
[franz@localhost ~]$ Initializing nautilus-open-terminal extension
Error: PDF file is damaged - attempting to reconstruct xref table...


Nautilus still gets started without any problems.
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby flink » Sep 19th, '12, 20:12

After I have deinstalled Adobe Reader then the following happens. I download a jpg file from Firefox and try to open it from the download window. Then I get an error message:

Code: Select all
Impossible de lancer le Gestionnaire de fichiers par defaut.
L'exécution du processus fils « /usr/bin/acroread » a échoué (Aucun fichier ou dossier de ce type).

This means in English, that there is a default file handler /usr/bin/acroread set somewhere and it could not find it any more. But where has this been set so I can remove it from the configuration?
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby doktor5000 » Sep 19th, '12, 21:23

Well, as you directly edited system-wide configuration files you may have inflicted this yourself ...
Try
Code: Select all
update-desktop-database -v && update-mime-database -v
as root
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Adobe Reader starts instead of Nautilus

Postby flink » Sep 19th, '12, 22:40

doktor5000 wrote:Well, as you directly edited system-wide configuration files you may have inflicted this yourself ...
Try
Code: Select all
update-desktop-database -v && update-mime-database -v
as root

I do not think that I have added anywhere the 'Adobe Reader' manually.

I have executed the command as root.
Code: Select all
File "/usr/share/applications/kpdftool.desktop" lacks MimeType key
File "/usr/share/applications/mageiaupdate.desktop" lacks MimeType key
File "/usr/share/applications/qasconfig.desktop" lacks MimeType key
File "/usr/share/applications/session-properties.desktop" lacks MimeType key
File "/usr/share/applications/gnome-datetime-panel.desktop" lacks MimeType key
update-mime-database (shared-mime-info) 1.0
Copyright (C) 2003 Thomas Leonard.
update-mime-database comes with ABSOLUTELY NO WARRANTY,
to the extent permitted by law.
You may redistribute copies of update-mime-database
under the terms of the GNU General Public License.


However I have the same result in the Firefox Download Window. It tries to run the /usr/bin/acroread command with an image file.
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby doktor5000 » Sep 19th, '12, 22:57

Firefox has its own settings for actions on files. Check Preferences -> Applications
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Adobe Reader starts instead of Nautilus

Postby flink » Sep 19th, '12, 23:06

doktor5000 wrote:Firefox has its own settings for actions on files. Check Preferences -> Applications

There I have this:

Code: Select all
image/jpg   Toujours demander (ask always)


There is no entry for 'Abobe Reader' anywhere in Firefox.
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby doktor5000 » Sep 19th, '12, 23:41

flink wrote:However I have the same result in the Firefox Download Window. It tries to run the /usr/bin/acroread command with an image file.

Which differs from the setting which you mentioned, where it should ask what to do -> or what do you select in that dialog?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Adobe Reader starts instead of Nautilus

Postby flink » Sep 21st, '12, 20:09

doktor5000 wrote:
flink wrote:However I have the same result in the Firefox Download Window. It tries to run the /usr/bin/acroread command with an image file.

Which differs from the setting which you mentioned, where it should ask what to do -> or what do you select in that dialog?


The dialog never shows up. It just tries to start the acrobat reader and fails, because there is no acroread.

I have now searched all files '*.*' under /etc if it contains the string acroread. But they exist only for the urpmi configuration. Then I search the local files '.*' of the user and I found this:

Code: Select all
          <bookmark:application name="File Manager" exec="&apos;/usr/bin/acroread&apos;" modified="2010-12-23T16:23:13Z" count="1"/>
          <bookmark:application name="File Manager" exec="&apos;/usr/bin/acroread&apos;" modified="2010-12-28T11:41:10Z" count="1"/>
          <bookmark:application name="File Manager" exec="&apos;/usr/bin/acroread&apos;" modified="2011-01-01T09:08:44Z" count="1"/>
2293782   84 -rw-rw-r--   1 franz    franz       81308 janv.  1  2011 ./.recently-used.xbel.AAE4NV


But where does this come from to have the File Manager set as "/usr/bin/acroread"?
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby flink » Sep 21st, '12, 21:48

Now I have searched in the local user folder and found this:

./.mozilla/firefox/9i1h0hph.default/mimeTypes.rdf

Code: Select all
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-octet-stream"
                   NC:path="/usr/bin/acroread"
                   NC:prettyName="acroread" />

...

 <RDF:Description RDF:about="urn:mimetype:externalApplication:content-type:application/x-unknown-content-type"
                   NC:prettyName="acroread"
                   NC:path="/usr/bin/acroread" />

...

  <RDF:Description RDF:about="urn:mimetype:handler:content-type:application/x-unknown-content-type"
                   NC:alwaysAsk="true">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:content-type:application/x-unknown-content-type"/>
    <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/acroread"/>
  </RDF:Description>


This seems to be part of Firefox. Version 10.0.7 is installed.
Should I remove these lines? There is no file '/usr/bin/acroread' anyways.

So I have removed those lines and: still everything is the same problem.
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby flink » Sep 21st, '12, 21:55

I have found another file under /home/franz:

./.local/share/xfce4/helpers/custom-FileManager.desktop


Code: Select all
[Desktop Entry]
NoDisplay=true
Version=1.0
Encoding=UTF-8
Type=X-XFCE-Helper
X-XFCE-Category=FileManager
X-XFCE-CommandsWithParameter=/usr/bin/acroread "%s"
Icon=acroread
Name=acroread
X-XFCE-Commands=/usr/bin/acroread


I have removed this complete file.
And now it works!
I get a windows which says that no file association has been made for this jpg image file from the Firefox download window. And I can choose one in the select box or search for other applications. So I choose Nautilus as my preferred File Manager application.
Now the file SnipImage.JPG opens in Nautilus and is listed in the '/home/franz/tmp' folder. From here I can continue.
Thanks for your answers.
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23

Re: Adobe Reader starts instead of Nautilus

Postby isadora » Sep 22nd, '12, 08:02

Flink, great you found out!!!

Will you please mark the topic solved now?

You can edit your first message, by pre-fixing the title with [SOLVED].
Thanks in advance!!! :)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron