Questions tagged [file-association]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
122 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 <...
Vipul Gupta's user avatar
0 votes
0 answers
25 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 ...
Vipul Gupta's user avatar
0 votes
2 answers
88 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-...
Vipul Gupta's user avatar
2 votes
0 answers
151 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 ...
Vipul Gupta's user avatar
10 votes
1 answer
601 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 ...
Ratler's user avatar
  • 508
1 vote
2 answers
170 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 ...
X Naterion's user avatar
2 votes
1 answer
68 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 ...
Bill in Kansas City's user avatar
1 vote
1 answer
730 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 ...
Thinus Rautenbach's user avatar
0 votes
1 answer
86 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 ...
raj's user avatar
  • 9,472
1 vote
2 answers
471 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 ...
Name's user avatar
  • 161
0 votes
2 answers
111 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 ...
olvc89's user avatar
  • 1
8 votes
2 answers
355 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 | ...
knb's user avatar
  • 4,854
0 votes
1 answer
254 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] - ...
S P's user avatar
  • 5
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 ...
talentless's user avatar
0 votes
1 answer
684 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 (...
raj's user avatar
  • 9,472
1 vote
1 answer
290 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 ...
Kavindu Ravishka's user avatar
1 vote
1 answer
168 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 ...
Felix's user avatar
  • 131
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 ...
MaxKraft's user avatar
0 votes
0 answers
77 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 ...
Joan's user avatar
  • 21
1 vote
0 answers
281 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 ...
Negrito's user avatar
  • 764
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 ...
Bruni's user avatar
  • 10.2k
0 votes
2 answers
307 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 ...
Negrito's user avatar
  • 764
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 ...
oscar1919's user avatar
  • 1,707
2 votes
0 answers
555 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 ....
lord_nimon's user avatar
0 votes
3 answers
1k 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 ...
Domarius's user avatar
  • 243
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/...
ddidier's user avatar
  • 238
1 vote
2 answers
3k 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 > ...
Chris L's user avatar
  • 11
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 ...
Mario's user avatar
  • 1,256
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?
Steve Lorimer's user avatar
2 votes
0 answers
337 views

Gnome desktop entry not working?

when I select two video files and open them through the Files manager, it opens two vlc instances, even though I have /usr/bin/vlc --started-from-file %U in /usr/share/applications/vlc.desktop (see ...
user avatar
2 votes
0 answers
561 views

Where is a detailed GUI for file associations?

I am using Gnome on Ubuntu 18.04. I just fixed an irritating feature whereby Firefox would open PDFs with PDFShuffler instead of Okular (which Dolphin launches). I fixed it by editing /usr/share/...
spraff's user avatar
  • 383
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 ...
user226737's user avatar
0 votes
1 answer
113 views

Steam using wrong file association for inode/directory (kid3)

Kubuntu 16.04, latest Steam. kid3 is not a preferred application in both /usr/share/applications/mimeapps.list and ~/.config/mimeapps.list and ~/.local/share/applications/mimeapps.list is a symlink to ...
int_ua's user avatar
  • 8,414
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 ...
user2394156's user avatar
1 vote
1 answer
75 views

File associate by MIME subtype / extension

I'm writing files in markdown format using the markdown editor Remarkable and I name these files with the extension *.md. I'd like to associate the these files with Remarkable but if I do so the ...
Clox's user avatar
  • 111
0 votes
0 answers
75 views

How to make a file type (.blend) association when it does not appear in Properties > Open With? (16.04 LTS) [duplicate]

The file type association for .blend files broke after I removed the synaptic version of blender and installed the official blender site version. I also tried the Thomas Schiex PPA. The association is ...
soundssilver's user avatar
0 votes
1 answer
1k views

How to open .cpp file with notepadqq application?

Currently I am using default text editor (gedit) to write C++ programs. Now I wanted to use notepadqq application rather than gedit. I have installed notepadqq. The problem I am facing, create a ...
Ravi Teja's user avatar
2 votes
1 answer
528 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 ...
mivk's user avatar
  • 5,122
1 vote
0 answers
93 views

KDE: URLs are opened by Kate instead of the browser [duplicate]

Kate is registered as default application for *.html-files. This has the unwanted effect that html files as well as http-URLs are opened in Kate instead of Firefox. The strange thing now is that when ...
Puce's user avatar
  • 133
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 ...
xkeshav's user avatar
  • 569
1 vote
1 answer
3k views

Change file associations (not default applications) in Ubuntu Mate 16.04

I have a shell script that for some reason Ubuntu Mate decided is an audio file. I know how to set the default application to open files of that type, and I have it set to my editor. However, I would ...
Kyle's user avatar
  • 245
3 votes
1 answer
78 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 (...
Damiano Varagnolo's user avatar
1 vote
1 answer
6k views

Default file manager [duplicate]

Recently I changed my default file manager to Krusader and it seems that my computer crashes constantly; How does I change it back to Nautilus?
Christie David's user avatar
1 vote
0 answers
100 views

Automatically open iPod with GTKpod instead of Caja in MATE

I have an iPod 2g. It automatically opens Caja. But I want to open it with GTKpod. GTKpod also doesn't open my iPod however I don't know if that is related to the problem. And yes I know that alot of ...
AJ Billson's user avatar
1 vote
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.
Anwar's user avatar
  • 75.9k
2 votes
2 answers
1k views

Cannot change default music player 16.04

I don't know if this is a bug, but I cannot change the default music player in 16.04 LTS. In System Settings / Details / Preferred Applications, Rhythmbox is set as default, but when I double click ...
Mookey's user avatar
  • 4,757
2 votes
2 answers
1k views

How to properly save gedit java_home file

Every tutorial I've read about setting java_home environment variable via gedit just says "save and exit" save to where? Can I save this particular gedit file as such /home/nexogen/developer/...
nexogen.io's user avatar
6 votes
2 answers
928 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"...
maaartinus's user avatar
1 vote
1 answer
1k views

xls/xlsx extentions not associated properly (considered as archives)

For some reason, xls/xslx files are associated with file-roller app (for archives) and cannot be associated separately with WPS. As I understand, these extentions are same MIME types with different ...
Sebastian's user avatar
  • 1,178
1 vote
2 answers
890 views

How to associate all extensions with their respective programs by XFE file manager?

Trying to open any file in the XFE file manager, I have to associate the program to its file format, such as PDF format have to inform the evince program, as shown below. I wonder if there is a ...
ricardoramos's user avatar