Questions tagged [file-association]

File extensions such as .Jpg .and .ogg, and issues with association.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

how to associate several file types with an application (kubuntu)

I want to associate several file type to an application example: .mp3, .ogg, .avi, .mpg, ... with VLC .txt, .js, .css, .py, ... with VSCode .jpg, .png, .webp, ... with Gwenview I currently have to : ...
1 vote
1 answer
803 views

Setting a file types default program to be a Jar file

I'm using Ubuntu 12.04. I have a file with an extension .sbd and I have a jar file (that I've written) that can open these extensions. However, I want to be able to click on the .sbd file and have the ...
1 vote
1 answer
635 views

xdg-open not working via ssh terminal session

I have performed file association for my custom extension(.vwxy), I have created the mime specification file and the desktop entry file for that. I m able to launch my application via xdg-open <...
81 votes
11 answers
84k views

Where are file associations stored?

How does Ubuntu or any other Linux systems store file associations? Is there some /etc/asscociations file or something? I know that I can right click on file and change it via "open with", but I'm ...
3 votes
1 answer
85 views

open a file with alternative programs using enter and cmd / super / alt based shortcuts

I have the following need that can be generalized to (I think) several users. 60% of the time I open a certain file type (e.g., .pdf) with the default application (say evince), 35% with an other one (...
0 votes
0 answers
28 views

Terminal getting opened along with GUI Application

I have GUI application created using GTK in linux. Now if I launch the application by clicking on the icon or by using xdg-open file.myextension, an empty terminal gets opened along with the ...
0 votes
2 answers
175 views

File Association on Ubuntu 20.04 not working

I m trying to launch my application using xdg-open myFile.axsd. This is my StartupLinux.desktop file: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Terminal=true MimeType=application/x-...
2 votes
0 answers
600 views

The databases in /usr/share/applications cannot be updated

I m trying to perform File association to register my custom file extension for my application(ex: if I do xdg-open myFile.myExtension, it should launch my app). I m following this link to do it. I ...
1 vote
2 answers
208 views

Just installed KDE and libreoffice calc is the default file association for inappropriate files

Right click on many kinds of files such as tar.bz2, ogg-vorbis etc. and the context menu always shows Libreoffice calc. The software to handle these files is installed and appears in open with ...
8 votes
2 answers
440 views

How to make a Snap application (ksnip) appear in "open with other application" context menu?

For editing screengrabs, I prefer to use ksnip, since Shutter was no longer installable without hassles on Ubuntu 18.04 and 20.04 However ksnip is available as a Snap App on my 20.04 ○ → snap list | ...
9 votes
3 answers
11k views

Globally associate file type with certain application

I don't need "Ubuntu-tweak" and i know about GUI method of associating certain files with certain applications using right click and "Open with". I am having problem setting filetype association ...
22 votes
3 answers
23k views

What is the relationship between MIME types and File .extensions?

I may have the wrong idea here, but I thought that: MIME types are identifying codes, embedded inside a file. File .extensions are idenifying codes, suffixed to the file's name. I thought, from ...
11 votes
1 answer
687 views

Prevent application from changing file associations

I recently installed Skype on Kubuntu 20.04 via snap and I discovered that it added itself at the end of the list of applications associated with every single file type on the system! Of course, this ...
6 votes
2 answers
994 views

Opening text files with emacsclient by default

I want to open all text files with emacsclient. On 10.04 it used to mostly work, but on 16.04 it's completely broken: emacsclient exists and works fine it's missing from the "open with" menu the "add"...
13 votes
7 answers
16k views

Firefox application associations not working in the 'Downloads' window

No matter what changes i make to file associations (actions) in the 'Applications' tab in Firefox, they're totally ignored. For example, i set .wmv and .avi files to open with 'smplayer' but when i ...
3 votes
2 answers
2k views

How to reset default application for opening a text file

I know this question has been asked before, but the answers did not work for me. I have Ubuntu 18.04. When I try to open a .txt file it attempts to use 'Run'. I can choose Open With Text Editor and ...
2 votes
1 answer
566 views

Krusader: how to open .xpi file like .zip?

In Krusader, I can enter a .zip (or .tar etc.) file as if it were a directory, and view/copy/etc. the files in the archive. How can I tell Krusader to do the same for .xpi files (which are really ...
2 votes
1 answer
1k views

How to ad appimage to "Open With" menu

I installed Lightburn software appimage on Ubuntu 20.04 LTS. The files created in Lightburn are saved as either .lbrn or .lbrn2 but when I navigate to these files in the file explorer they don't ...
2 votes
1 answer
75 views

Two program versions, file associations everywhere

I have two versions of VSCodium installed - a manual install and a snap install, and they've split file associations between them. I'd like to eliminate the snap version (it's rarely updated): is it ...
5 votes
2 answers
2k views

20.04 : "open with other application" menu not working properly on the Desktop

I recently installed 20.04 and for some kinds of files, whether text or binary ones, I'm unable to choose an application to open them like I used to in 18.04. For example, when I right-click a .c (C ...
0 votes
1 answer
93 views

Can't change default application for .3gp files

I manually changed /etc/gnome/defaults.list file to set a different application than Totem for playing video files. It is actually a specific wrapper script around Totem that sets a few things before ...
1 vote
2 answers
571 views

How to force Wine to open a png file by the default image viewer of my Linux system?

How to change the default program which opens a file type (for example a .png file) within Wine? When I try to open a png file within Wine by an email client (installed under Wine), the default Wine ...
2 votes
0 answers
564 views

How to associate a file extension to a non-GUI app in Ubuntu 18 Nautilus?

I'm using Ubuntu 18, and all the information I've found on web searches is outdated. I have files with a .p4r extension that I want to associate to a non-GUI application. These files are actually ....
6 votes
2 answers
796 views

Programatically modify file associations using standard interface (using mimetype)

I know that there are some files /etc/gnome/defaults.list that store mime associations and are in format that should make editing them possible. But I am looking for a way that will handle at least ...
6 votes
4 answers
5k views

reset default application to open with a file ( .crt)

using Ubuntu 14.04 I have 1 files .crt extension. when I click to open , it open with view file application which displays the certificate information and other details which is fine. Now I have ...
0 votes
2 answers
125 views

Ubuntu keeps trying to execute text files in shared NTFS drive, forgets default application

Until recently, I was using Ubuntu Mate 14.04. Last week, I did a fresh install of Mate 20.04. I have a dual boot with Windows, and I use a shared partition between both OS's. The shared partition is ...
3 votes
2 answers
2k views

Kate forces itself to be the default application for HTML

In the last few days, Kate took over opening HTML links and files. I want to get it back to Firefox, so I opened System Settings, went into Applications -> File Associations, found the text/html ...
0 votes
3 answers
2k views

Make a snap install as the default app for a file type? (Eg. Sublime from Ubuntu Software)

So I've installed Sublime Text from "Ubuntu Software", and I can't open text files with it by default. Right click offers "Open with Other Application" and I can choose Sublime from there, but I have ...
4 votes
2 answers
692 views

JPEG files default to "bless" (Hex Editor), not to "eog" (Image Viewer)

I opened a JPEG file once with the HEX editor bless. Now Nautilus and GNOME in general have associated all JPEG files with bless. How do I get it to go back to eog (Image Viewer)? I've tried enabling ...
0 votes
1 answer
323 views

How does application get the file name in case of launch by "open file with"?

For example, Windows starts a new process of the selected application and passes the name of the file to be opened to the process with an additional command line argument (for my app: argv[0] - ...
0 votes
2 answers
378 views

How to change default application (GUI doesn't work)

I have both wine ms office 2010 and wps (version 11.1.0.8722), I found that I can't change the default application to wps in any "common office files such as .docx .xlsx . pptx" since it always set ms ...
0 votes
1 answer
733 views

Adobe Reader application association issue

I have a few strange PDF files (that I received once from my bank) that open correctly only in Adobe Reader. So on my new Ubuntu 20.04 I installed Adobe Reader from the latest available Linux version (...
5 votes
5 answers
6k views

How to set netbeans 7.2 as my default PHP IDE on ubuntu 12.10

I'm using Ubuntu 12.10 64 bit ... I have installed XAMPP and Netbeans 7.2 IDE. The problem is I can't open any PHP file using Netbeans IDE and when I click "open with" I can't find Netbeans within the ...
6 votes
5 answers
4k views

How to force Krusader to use Ubuntu's file associations?

Is there a (semi-)automated way of forcing Krusader to use Ubuntu's (14.04) file associations? I know I can do it manually, for each file extension. But, for example, yesterday I installed ...
4 votes
4 answers
2k views

associating files with same MIME but different file extensions to differentt applications

How can I associate files with same MIME but different extensions to different applications. For example both .maff & .zip files have application/zip MIME ; But I need to open .maff by Firefox and ...
2 votes
1 answer
2k views

Can't open desktop folders in Ubuntu 18.04

I have a quite fresh installation of Ubuntu 18.04, When I create a directory on Desktop, I can't open it by double clicking on it. I have to right click → Open with other application → Files and then ...
1 vote
1 answer
324 views

Which configuration file should I edit to configure file type association?

I am using ubuntu 18.04. I am trying to change PHP file association with sublime text and it is currently associated with foxit reader. I tried to change it by using "open with" menu option.But it ...
4 votes
5 answers
15k views

How to associate file types with wine in nautilus

I have Ubuntu 12.10 with Nautilus 3.4.2. After installing wine "apt-get install wine" are exe files still associated with the archive manager. In previous versions of ubuntu I've always right ...
2 votes
1 answer
1k views

How can I associate a custom file type with a custom executable?

I have a custom file type, made a custom MIME type for it, associated an icon with it. Now I want to open it with my custom executable. If I click OpenI get a dialogue Could not display ... There is ...
1 vote
1 answer
189 views

kubuntu can't change file associations

For some mysterious reason, since recently png files are opened with gimp and not with gwenview. When I try to change that in System Settings / Applications / File Associations, the changes are not ...
60 votes
6 answers
122k views

how can I change file association globally? [duplicate]

gedit is set by default to open about any source file. I've gone through the file properties and changed default application to VIM for C and C++ files. I'd need to do this for any source file I open ...
0 votes
1 answer
1k views

How to change the application when opening a folder on the desktop

I want to change the default file explorer from nautilus to Thunar. I searched hours around the web and followed all the advices but nothing did work. What my expected result is: When double-clicking ...
2 votes
3 answers
5k views

How do I (persistently) change default file/program associations in Ubuntu 18.04+?

I am not shown the "Open with ..." tab in Files or the "Set as default ..." button anymore. This seems to be gone due to a UI change and there is an issue registered at Launchpad. I know that tools ...
0 votes
0 answers
88 views

How to associate a filetype with a Windows program installed in Wine

I have a doubt. I don't know how to associate a filetype with a Windows program installed in Wine. I am trying for a few hours... Nothing works to me. I'm running Ubuntu since one week ago. I am a ...
1 vote
0 answers
305 views

How to set Matlab as default app to open .m file

I have the matlab file (.m), the matlab app is also in the desktop entry (I mean that I can search in on the desktop by pressing start menu and type "matlab"), however, for default app I can't find ...
4 votes
2 answers
3k views

How to change all file associations (MIME-types) of one particular application in KDE?

I have installed a closed source office suite called Freeoffice. Generally, I use Libreoffice for all my work and need Freeoffice only as a backup to check if there are any inconsistencies in ...
2 votes
2 answers
1k views

How do I associate native applications with file types in WINE

The title says it all. I want to associate native applications with file types in WINE.
3 votes
2 answers
1k views

Meld: associate file extension with language syntax highlighting

I use meld for graphical diff comparisons. I would like to associate .tpp as a C++ source file for syntax highlighting purposes. How do I do this?
1 vote
2 answers
4k views

FileZilla 3.38.1 file associations on Ubuntu 18.04.1 LTS

I am trying to set up file associations in FileZilla 3.38.1 on Ubuntu 18.04.1 LTS. If I double-click on eg. test.php in Files it will open in gedit. So in FileZilla > edit > settings > ...
1 vote
1 answer
1k views

Files associations (MIME) in Ubuntu 18.04

I'm trying to figure out how files associations work in Ubuntu 18.04. I looked around the web (quite a lot actually) and found these files: [A] /etc/gnome/defaults.list [B] /usr/share/applications/...