0
votes
0answers
149 views

Set nginx configuration file to different location

I'm trying to keep all my server code/configuration files in one place. I tried nginx -c /var/www/nginx.conf but received the following error: nginx: [emerg] open() "/var/www/mime.types" failed (2: ...
0
votes
0answers
86 views

Keynote file showing as 0 Bytes

I know I can't do anything functional with an Apple Keynote file, in Ubuntu, but I have needed to download them or transfer them and send them along as email attachments. The problem is, once ...
2
votes
2answers
497 views

How is it determined which application is to open a file of specific mime-type?

I saw the following question, but I can't comment yet. So I decided to create a separate one. I have both transmission and deluge installed. And I have no association for application/x-bittorrent ...
4
votes
2answers
214 views

How to set icon for tex files?

In Ubuntu 12.04 with all mate, cinamon, gnome, unity desktops, the following issue: I use Latex frequently. My files end with extension .tex. The mime.types associated with tex is text/x-tex. The ...
31
votes
4answers
24k 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 ...
8
votes
1answer
10k views

How to get the mime type of a file from the command line?

I'm trying to get the mime type of a file from the command line as a printed string (eg. application/vnd.oasis.opendocument.spreadsheet). I looked up how to do this and found the xdg-mime command. ...