
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?
doktor5000 wrote:Maybe right-click on an empty folder and say Open with ... and select Nautilus instead Adobe Reader?
doktor5000 wrote:Otherwise i'd just remove Adboe Reader.
There was an error opening this document. Is a directory.
[OK]
tom_ wrote:Can you try them?
[root@localhost applications]# vi defaults.list
inode/directory=nautilus.desktop
x-directory/normal=nautilus.desktop
[root@localhost applications]# vi nautilus.desktop
MimeType=x-directory/gnome-default-handler;x-directory/normal;inode/directory;application/x-gnome-saved-search;
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
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!
[root@localhost applications]# vi defaults.list
[root@localhost applications]# vi nautilus.desktop
doktor5000 wrote:You should do this as normal user.
xdg-mime query default inode/directory
grep -iE 'adobe|acro' ~/.local/share/applications/mime*
doktor5000 wrote:As user, please show the output ofand
- Code: Select all
xdg-mime query default inode/directory
- Code: Select all
grep -iE 'adobe|acro' ~/.local/share/applications/mime*
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?
[franz@localhost ~]$ Initializing nautilus-open-terminal extension
Error: PDF file is damaged - attempting to reconstruct xref table...
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).
update-desktop-database -v && update-mime-database -v
doktor5000 wrote:Well, as you directly edited system-wide configuration files you may have inflicted this yourself ...
Tryas root
- Code: Select all
update-desktop-database -v && update-mime-database -v
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.
doktor5000 wrote:Firefox has its own settings for actions on files. Check Preferences -> Applications
image/jpg Toujours demander (ask always)
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.
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?
<bookmark:application name="File Manager" exec="'/usr/bin/acroread'" modified="2010-12-23T16:23:13Z" count="1"/>
<bookmark:application name="File Manager" exec="'/usr/bin/acroread'" modified="2010-12-28T11:41:10Z" count="1"/>
<bookmark:application name="File Manager" exec="'/usr/bin/acroread'" modified="2011-01-01T09:08:44Z" count="1"/>
2293782 84 -rw-rw-r-- 1 franz franz 81308 janv. 1 2011 ./.recently-used.xbel.AAE4NV
<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>
[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
Users browsing this forum: No registered users and 1 guest