You are not logged in.
hi,
PCmanFM is great... except for this one problem that is quite bizarre.
when i right click on a file -> open with -> open with another program -> all applications...
there are duplicate entries for each program.
and each time i use one, it creates another entry of that program!! I verified this by counting the instances of AbiWord and Evince Document Viewer... opening a something with one or the other, and counting again.
I have AbiWord about two dozen times, GIMP 3 times, et cetera.
even programs i've never opened in PCmanFM start out having two entries (htop and nvidia-settings are examples of that).
anyone have any suggestions?
PCmanFM was installed as a depen of LXDE, which i use.
Last edited by earthpig (2009-09-29 23:50:06)
Offline
Check the following directory:
~/.local/share/applications
On my machine it stores all user created entries in pcmanfm.
Offline
[chris: ~/.local/share/applications]$ ls
abiword-usercustom-0-usercustom-0.desktop fusion-icon.desktop
abiword-usercustom-0.desktop gcalctool.desktop
alacarte-made-1.desktop gimp.desktop
alacarte-made-2.desktop gnome-do.desktop
alacarte-made-3.desktop googleearth.desktop
alacarte-made.desktop gstreamer-properties.desktop
avahi-discover.desktop gtkpacman.desktop
chromium-browser.desktop htop.desktop
defaults.list mimeinfo.cache
emerald-theme-manager.desktop nm-connection-editor.desktop
[chris: ~/.local/share/applications]$
some of those are menu entries i created with alacarte... but there are items duplicated in the pcmanfm open with -> other application -> all applications that are not listed there. battle for wesnoth, for example.
Last edited by earthpig (2009-09-30 02:39:22)
Offline
some of those are menu entries i created with alacarte... but there are items duplicated in the pcmanfm open with -> other application -> all applications that are not listed there. battle for wesnoth, for example.
That's because there is a system wide directory and pcmanfm just combines whatever it gets from the two directories. The system wide one is
/usr/share/applications
So just check it out. I think there is no more. But I'm not quite sure.;)
Offline
checked it out.
yes, many apps have another entry there....
...still no reason why AbiWord entires would be in the dozens.
and still no reason for this:
each time i use one, it creates another entry of that program!
Offline
bumpitty bump
i do appreciate the help, eirika. any more suggestions?
Offline
1.Here I get exactly one entry for AbiWord. More concretely, I get an exact one to one correspondence between the entry showed in pcmanfm and the files appears in the directories:
/usr/share/applications
~/.local/share/applications
So I have no idea of what's going on on your machine. Please check if you really have extra entry in pcmanfm even if you have counted all files in these directories.
2.
and still no reason for this:
each time i use one, it creates another entry of that program!
I think you mean every time you check "set selected application to default action" for your action it creates another entry. That's the default pcmanfm behavior. I think it's an author's preference and I don't think there is a way to change this in pcmanfm. A simple workaround is that you can set
~/.local/share/applications
to read only, and pcmanfm will stop adding any entry. But of course you will have to restore the write permission if you really want a new entry. Maybe you can contact the author and file a feature request?
3. You can edit your preference manually. Just edit ~/.local/share/applications/mimeinfo.cache. In this way you can reuse one entry for multiple file types. Then delete useless entries in ~/.local/share/applications.
Last edited by eirika (2009-10-01 14:49:30)
Offline