How to open files in the desired application.

learn more… | top users | synonyms

1
vote
1answer
15 views

How to change programs used to handle files in Calibre in Debian

I have recently installed Calibre, and it works great, however I have some problems with handling of files by this program: Folders open in baobab. To open folder I just need to click on a book and ...
1
vote
1answer
19 views

Disable breadcrumb navigation in KDE

I want to copy the file path from a file open dialog, but can't because of breadcrumb-style navigation. There's no option in the dialog itself to switch between breadcrumb and address bar. I want to ...
3
votes
1answer
68 views

How to open any file through the command line?

I would like to know if there is a command to open any file in Linux independently of their extension, just as if you were double-clicking it.
0
votes
1answer
53 views

Which config-file stores file associations in KDE/Plasma?

With the 15.04 release of Kubuntu, I switched from Gnome (Ubuntu) to KDE/Plasma. I did a clean install, while keeping my home directory. Now, libreoffice (mostly Calc) seems to be associated with ...
46
votes
7answers
4k views

How are file types known if not from file suffix?

I would like to know how file types are known if filenames don't have suffixes. For example, a file named myfile could be binary or text to start with, how does the system know if the file is binary ...
2
votes
2answers
184 views

KDE opens .deb files with ar instead of a package manager

I just installed Debian for the first time. I use KDE. I'm trying to install Google Chrome and Steam. I download the installation package, then I double-click it. Instead of installing, both display ...
4
votes
2answers
81 views

Prevent the Gtk file dialog from listing mount points

When I open the Gtk file dialog, there is a box called “Places” on the left-hand side which lists “Search”, “Recently Used”, a bunch of directories, and several things that appear to be volumes. I ...
2
votes
0answers
72 views

programmatically alter kde file associations

Problem: In kde I want to remove a particular file association from every file type Details: I wanted to try out clamTk as a companion to clamAv. It didn't suit my needs so I uninstalled the ...
2
votes
0answers
96 views

Make Firefox use xdg-open for opening files

Is there any way to force Firefox to use system-wide defaults, i.e. xdg-open for opening all types of files?
0
votes
0answers
75 views

Change file Association Arch Linux

I have just installed Banshee on my Arch installation. It has now been associated with mp4 files, originally I used VLC for videos. How can I change the the file association so mp4 files will ...
2
votes
1answer
116 views

How to change my file/url association across all my DM/WM without using the GUI?

I have installed several Desktop Managers and Window Managers, and changing the file association can become a mess. I need some foolproof method which can allow me to change my user or system file ...
2
votes
0answers
47 views

How to find/remove file associations for a certain program in KDE

I had a program installed on my Kubuntu system that was able to open a lot of different graphics file types and registered as default program for many of those file types. I have unistalled the ...
6
votes
1answer
1k views

Where does firefox get the “default” applications for opening files from?

By default, the Firefox (33.0) on my FreeBSD 11.0-CURRENT has the default application for opening PDF files set to Inkscape. Firefox does remember my previous choice, evince, in the “What should ...
3
votes
1answer
459 views

How an application is chosen over others to open a particular filetype in Linux

Earlier my text/xml files were by default opened by firefox I think. Not sure of this because I do not remember exactly. Then I think I installed geany and then my text/xml files were always by ...
2
votes
0answers
141 views

Files are opened by wrong applications if opened from a number of programs

History: I had problems with mime associations under Firefox. Firefox opened downloaded files with wrong programs. I deleted ~/.local/share/applications/mimeapps.list and now it works. Now I noticed ...
-1
votes
2answers
55 views

Reading file with different formats [duplicate]

I am a new user to Linux. I have several files and documents in my directory and sometimes when I want to read or display data in these files, I do not know which command I need to type for this ...
31
votes
6answers
5k views

How does Linux choose which application to open a file?

If a file tells the OS its file format, how does the OS choose which application to open it by default? In Windows, is the association stored in the registry table? How does Linux choose which ...
6
votes
2answers
364 views

How to find out which program can open a given file?

Let's say I have a file thesis.pdf or picture.jpg Is there a command which returns a program to open this file with? I am aware of the command file, but it just returns the correct type of the file ...
19
votes
4answers
2k views

Is there an “open with” command for the command line?

Does the command line have a way to get a recommended list of programs used to open a particular file, based on the file type? For example, a .pdf file would have an open with... recommendation using ...
2
votes
1answer
282 views

Open file with default program and wait until the app is terminated [closed]

I want to open a text file from the command line with the default application. During that time the default app is opened, the terminal must be disabled (cannot execute another command). For example, ...
1
vote
1answer
456 views

If I open the same file twice in Okular, switch to the existing window

I have always been confused why the file manager in Linux cannot stop applications from opening a single file twice at the same time? Specifically, I want to stop the PDF file reader Okular from ...
2
votes
1answer
135 views

Configuring Org-mode to open PDFs with evince

I'm starting to use org-mode to export text to LaTeX. My problem is that it opens the generated PDF with ebook-viewer (it is a EPUB, CHM reader) instead of using evince. Question Does anyone know ...
2
votes
4answers
1k views

ranger: open many files with mplayer

I use the file explorer called ranger and I wonder if it is possible to open many files in different directory with mplayer? What I can already do is to select all the files (pressing v) from one ...
4
votes
5answers
2k views

Use xdg-open to open a url with a new process

I'm starting to experiment with Crunchbang (which is based on Debian, and uses terminator) as a web development environment, and one of the things I am struggling with is the behaviour of xdg-open. I ...
1
vote
6answers
4k views

File extensions and association with programs in linux

In windows we can associate a file's extension with programs. E.g. a file test.pl can be run by the installed Perl interpreter due to the pl extension. In linux though it needs #!/usr/bin/perl as the ...
2
votes
1answer
605 views

Open any kind of application with BASH

I have made a Java program that could open any application. Suppose there is a file name "*.jpg", the it would allow the OS to recognize the type of application and then open the default application. ...