Ubuntu :: Getting To The Bottom Of Application Defaults File Associations
May 13, 2011
On Ubuntu 11.04, I have a need to use gnome-open from another application to open files in assigned applications. I think I understand how mime types are given in /usr/share/mime. I understand how default application associations are done in /usr/share/gnome/applications/defaults.list. I understand how update-desktop-database is used to maintain defaults.list. I know how to specify file associations (open with) from Nautilus. I understand how ~/.local/share/applications and ~/.local/share/mime override the system settings. I get all that.
What I don't understand is why the command gnome-open or double-clicking a file in nautilus, for certain file types (e.g. PDF), generates an error message:
Quote:
Could not display "<whatever file>". The location is not a folder.
The occurrences of application/pdf in the different applicable files all point to evince as the associated application.
By the way, mimeopen does work. What is the relationship between mimeopen and gnome-open? Manual pages for these commands are not helpful in understanding their operation.
In addition, I might throw in one other question. In the various .desktop files, I see that some application commands are enclosed in single quotes, but never the file name identifier, %f. If dealing with file/directory names with spaces in them, it would seem that quoting the '%f' would be important.
View 3 Replies
ADVERTISEMENT
Mar 1, 2010
Every applications of KDE 4 menu are missing.
[URL]
When I try to open some file, including directories, "Open with..." window appears.
View 3 Replies
View Related
Sep 8, 2010
I have been searching around into /etc/xdg/ and ~/.config and also /skel/.config (for newly created users!) so I can ensure specific applications open filetypes by default.
I would prefer to be able to use a system wide configuration so that i may be able to run a script with each new slackware release that would change application/filetype defaults for all users including existing to our liking (unless they have already preset their own app/defaults in ~/.config).
View 4 Replies
View Related
Jan 21, 2010
I've edited the default file list association; sudo gedit/etc/gnome/defaults.list replacing all the totem.desktop with vlc.desktop (ctrl+H). however I don't understand how but VLC opens only certain files such as .flac, .wmv but not .mp3, .avi
View 9 Replies
View Related
Mar 25, 2010
I would like to change some of the file associations. for example, I like to exaile and every time I click on a mp3 I end up 'pulling' up totem the movie player. I have seen in the past but do not use this feature that much so have forgotten.
View 1 Replies
View Related
Jun 18, 2011
Yesterday on my laptop I minimized Konqueror file browser and did something else for 10 minutes. When I went back to Konqueror no files would open; any file type asked for an app to use.
I found even in KDE settings/file associations everything had disappeared. No file type any longer has an app associated with it. Worse, if I assign one it doesn't 'take'. I haven't deleted anything or installed/updated anything, and I restored ~/kde/share/apps and ~/kde/share/config from backups but no joy.
I figure I may have a corrupted or missing data file, but which one?
View 2 Replies
View Related
Feb 1, 2010
I am unable to double-click a file of a given type, e.g. .pdf, and have it open in the appropriate application. While some file types have the correct associations, others do not, and I am unable to assign apps for some file types.
An example is Adobe portable document files ending in .pdf. If I right-click on a .pdf in Nautilus, and select "Open with," I get a dialog containing two tabs. One lists applications already associated with that file type, which at present is blank. The other tab seems as if it should allow me to assign an application to that file type, but when I click it, the dialog simply closes suddenly, as if crashing.
What is going on here, and how do I fix it?
(Ubuntu 9.10 64-bit)
View 9 Replies
View Related
Jun 7, 2010
i initially installed ubuntu, working with gnome for a while. i now migrated to kde as i like it better. however, the kde session still has lots of the "old" file associations set as they are in gnome...
some examples? text files open in gedit, instead of kate pdfs open in "document viewer" instead of okular double clicking zip folder opens the "archiver" (gnome?), extracting an archive from the archiver and then pressing the "open folder" dialog after extracting has finished, opens nautilus (although dophin is the default program for inodes). etc.
i'm aware of the possibility to edit file associations, however thats a tedious thingy to do, if you want to get it complete... furthermore, the file association edit dialog has the "defaults" button disabled, hence my questions:
is there any way to "restore" the kde default file associations, just as i would have installed kubuntu initially? i don't want to reinstall just because of this.
View 5 Replies
View Related
Apr 19, 2011
I have my default text files (also source codes etc.) associated with gedit (checked with ubuntu tweak).However, nautilus tries it to open with some "notepad" - dunno what it is I don't even have such a program. Files are OK, opening them directly from gedit or vim is fine.Some weird things:- nautilus correctly displays gedit icon- I have dualboot system with windows 7 and notepad command looks like it came from "there"- when I click on open with -> gedit, file is correctly open. However this option is not remembered by nautilus (even though I checked it as always open with ...)- nautilus (after clicking on open with) also suggest to use some "iexplore" command, I totally don't have idea where that came from Any suggestions? I really don't feel like using another file manager, but opening text files is pretty elementeray action and should work properly
View 9 Replies
View Related
Jan 4, 2010
I know Dolphin/Konqueror is the manager of choice while in KDE, but I prefer Nautilus, mostly because I'm used to it. If I launch either a pure Openbox or Gnome session, Nautilus works perfectly fine. If I launch a KDE or KDE/Openbox session, Nautilus seems to 'forget' all the file associations for... well, pretty much everything. Thumbnail image previews and the mouse-over playing of audio files also seems to have stopped working, though these I can live without.
I looked into how Openbox handles it, and it seems to be that it launches 'Gnome services' to allow it, but I've not found exactly what those are, or how to launch them within KDE to fix Nautilus.
This is on Debian Lenny, with the KDE 4.3 repository containing the backport for Lenny enabled.
View 1 Replies
View Related
Jan 20, 2010
I'm running a standalone compiz (not in gnome, but just compiz, gnome-do and AWN).I use tracker to search for my stuff all the time, however, since I started using compiz without gnome, when I click results they're always opened by the browser (folders, mp3s, etc).I belive tracker uses xdg-open, and I noticed xdg-open exhibits the same behaviour.Where do I change the file associations xdg-open uses? I've found little to no documentation about it.
View 1 Replies
View Related
Jun 29, 2011
For the past few days my file associations have gone for a toss. For example : an icon on the desktop to open eclipse says eclipse.desktop and doesn't show the eclipse image when i right click a .bz2 file it doesn't show the extract here option for text files, a small bit of the text is showing outside the icon where it usually shows inside The same problems are present in nautilus as well as the desktop.
Need some quick help to reset these to the default.
Have attached a screenshot to show the issue.
View 7 Replies
View Related
Apr 21, 2011
I installed the Elegant Gnome theme/package and I uninstalled it after about a week of use. Even after reverting back to the ambiance theme, or other themes, I've noticed that some elements of the Elegant Gnome theme have remained (e.g. the panel color and icons in Chrome or after right clicking and the system font).Is there a way to restore the Gnome defaults or Ubuntu system defaults so that everything is as it should be?
View 2 Replies
View Related
Mar 16, 2016
For some time (I don't remember exactly how long/since when, maybe since I switched to i3 window manager?) I have the problem from title.
Chromium browser uses completely different programs to open files than file browser (thunar). And most of the time thunar has associations I want. For example thunar opens PDFs with iceweasel, and chromium opens them with GIMP (!), note that I have never changed this king of settings. Until I changed it today chromium also used Baobab (I didn't even know it existed before I saw it) to open directories ("show file in directory" for downloaded files).
I know how to change for a single file type (at least for browser), but is there some way to set all file types to something sensible and keep both, browser and thunar in sync without doing all of that manually? Or at least revert it all to default?
Debian version: latest "testing" version. (I use testing because I really need up to date versions of a lot of programs)...
View 0 Replies
View Related
May 1, 2010
When using firefox to open a file attachment in web mail the update configuration runs but next time the same box appears to select which program to use , in firefox preferences / applications there is no way to add a new file association for a new filetype eg .doc or .xls ....!
I tried switching off suse integration with firefox but it made no difference .if anyone has a fix for for this i can save myself a lot of time .
Firefox version 3.5.9
open suse 11.2
AMD Athlon(tm) II X2 240 Processor
Speed: 2,800.00 MHz1.8 GiB
Free memory: 788.6 MiB (+ 605.2 MiB Caches)
Free swap: 2.0 GiB
View 2 Replies
View Related
Aug 22, 2011
I'm curious how file association management is implemented in Linux. Where is the related information stored? How do I modify it (I'm interested in non-KDE-based ways; I know there's a system configuration page for that in KDE)?
View 2 Replies
View Related
Jun 3, 2010
I would like to associate my program with several file extensions programatically.
Everything I've been finding online is how a user would set a file association, does anyone know how to do this progormatically (bash, C++, etc)?
I would mostly like to get this to work with Gnome, but KDE would be nice as well.
View 3 Replies
View Related
Mar 26, 2011
application icons are not apearing in the bottom panelI do not remember having done a change. it started some days ago.Ubuntu version is 11.04Gnome 2.32.1
View 1 Replies
View Related
May 25, 2011
How do I change the default file associations in F15/gnome 3? My system is currently set to open .tex files with emacs. But I prefer TeXworks, and while TeXworks shows up in the "Open With" menu, it would be convenient if double-clicking on a tex file opened it in TeXworks. In gnome2, the "Open with-->Other application" option let me select the default program associated with a particular type of file, but this functionality seems to be gone in Gnome 3. Do I have to edit some config file?
View 5 Replies
View Related
Jun 15, 2011
I recently upgraded to Fedora 15 and am super-happy with it. Unfortunately, I have a minor issue that I haven't yet figured out how to fix: I can't change the default applications or the file type associations. For instance, I'd like to set Chromium as my default browser. When I first login, I tell it to set itself as default. But after I end my session and log back it, Firefox is back to being the default browser.
I have the same issues when trying to change what applications open filetypes. .rtf files have been opening in Wordpad in Wine. When I try to change it to Writer through the "Open with" dialog, it retains the change for that session but resets after I log out. I actually ended up having to uninstall Calibre because it was opening .odt files instead of LibreOffice and I couldn't change it permanently.
View 5 Replies
View Related
May 16, 2010
How do i change file type associations? i looked but i don't see anything...i'm having that problem where google chrome won't stya set as default and i fixed it in fedora by changing the file associations manually :-)
View 1 Replies
View Related
Jul 11, 2011
Is there way to place application launcher which is by default placed at left side of the screen to bottom (like MAC style)?
View 5 Replies
View Related
Feb 17, 2011
Only "Favourites", "Run Command" and "Leave" is shown on the classic KDE menu, same thing when switching to Launcher Menu Style. Missing Applications and everything else. File associations is not working. Double clicking any type of file it asks to install the program and the known applications menu is empty.
I tried to add a new user, same problem with that. I also noticed that when running Chrome it asks to be the default web browser each time even when I say yes.
I have not been messing with anything, I suspect it happened during a update, but I got the exact same repositories on 2 other x64 machines where there is no problem.
I'm using KDE 4.6.0 from the factory repository.
I tried to reinstall some KDE4 packages without any luck.
I do not want to reinstall the entire system or downgrade KDE.
Code:
# | Alias | Name | Enabled | Refresh
---+------------------------------+----------------------------------------------+---------+--------
1 | buildservice-education | openSUSE BuildService - Education | Yes | Yes
[Code].....
View 9 Replies
View Related
Aug 27, 2010
Trying to speed up booting with profiling and such, i do:
Code:
But the file it opens is empty? I searched for it manually and found nothing, either I should add that i'm dual booting with Windows 7, and have another partition in ntfs format just for my files =]
View 2 Replies
View Related
Nov 24, 2010
In 10.04LTS, when selecting print to file, the default settings are .ps, and home directory. Can those defaults be changed? I've looked around in CUPS, ubuntu-tweak, and searched on here, to no avail.
View 5 Replies
View Related
May 22, 2010
So about an hour ago I put my computer on standby. For whatever reason I couldn't bring it back so I restarted it. It works fine except now Ubuntu has pushed my display down. This means that the bottom of my tool-bar on the bottom of the screen is cut off, and there's a black bar on the top. I'm using a T.V. screen so there is no way I can manually adjust it. I also plugged my desktop back into an old monitor and it was off-center downward too.
View 1 Replies
View Related
Jan 7, 2011
I would like to get the predefined application icon to open the same file types.
for instance: *.avi, *.mp3 to have the VLC icon
and other application to have the icon of their default application.
So far I only found tips to install single icons or to add icon packs. :S
and is there any way to when you install an application make it default for such file types ?
View 1 Replies
View Related
Apr 7, 2010
I don't know what I did differently before this happens. Now I cannot access files or see icons on the desktop. The "starting file manager" continuously loops in the bottom panel, continuing to load forever. in the system monitor, if I kill the process "gnome panel", it resets itself, then continues the process. Only thing different I did was install that one thing that gives you System->Preferences->Windows by hitting "yum install control-center-extra".
View 3 Replies
View Related
Dec 28, 2010
I just removed wine, I want it completely removed from my system. I installed it and removed it using the Software Center. However I still have associated options in the Nautilus context menu. For example when I right click any text file I have "Open With notepad" as an option. It's easy enough to right click that file, go to the open with tab, and remove notepad from the list of options. However it's apparently associated with certain types of files because the option was there for bash scripts I'd written with no extension, files with the .txt extension, etc. So this is apparently some file associations that wine installed and didn't take out. I've searched the xml files in /usr/share/nautilus/ui and none of those contained the word "notepad" so I'm guessing that's not where I need to be focusing my attention. I've done some googling and nobody seems have a definitive answer that I can find. Also, I found a "how to uninstall" on Wine's website where it basically just had me remove $HOME/.wine and some gnome association settings, and I did that and have even rebooted and that option was still there. I've removed it for those two types of files, but I want to know where it's stored so I can get rid of all traces.
View 9 Replies
View Related
Oct 22, 2009
I installed MS office 2003 via wine on Slackware 13. I need to know how to associate files with the right Office (msword, msexcel, msppt) program. I made launcher scripts that can launches office files from the CL, but the user on this computer will want to be able to just double click a file in dolphin and have the right office program come up.For some reason all office files show up as x-ole-storage instead of application/msword or something similar. So, even if I tell Excel to associate with that file, it will do it for Word and PowerPoint files as well.
.ppt, .doc, and .xls extensions were configured via the KDE file associations panel, but this did not help. I played around with the raw files under ~/.local/share, but I did not find the solution.The version of WINE is 1.1.24 (built from SBo SlackBuild).
View 2 Replies
View Related