Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [file-type]

Questions about dealing with different file types, converting between them, detecting them etc.

5
votes
2answers
374 views

FILE extension changing while copying from Ubuntu to windows

I downloaded data in Ubuntu which has an extension .text/plain bit when I copied it to my Windows 10 through USB the file extension is changed to '.file'. What should I do now to open it?
0
votes
0answers
12 views

16.04 adding application to list of applications, used for file type association

Sublime was installed via command line, however, when attempting to associated a file type (.txt) from Nautilus, it is not on the list of programs. Is there a simple technique to add new software to ...
0
votes
0answers
28 views

how vlc recognize file type

I would like to know how vlc recognize which is a file; on linux (I'm using an ubuntu 16.04 currently), I know that extension don't mean what is a file. But in the case of VLC, I don't know how it ...
18
votes
2answers
4k views

Why not make .txt file executable instead of .sh file to run scripts?

I was wondering what's the need to put executable commands inside a .sh file to make a single script, since I can do the same by putting the commands inside a .txt file and making it executable using ...
0
votes
0answers
84 views

Program became associated with all file types

Recently I installed Keepass2 from ppa:jtaylor/keepass and it became associated to every file type in my Kubuntu 16.04. Is there a quick way to remove its association from all file types so they don'...
0
votes
0answers
41 views

How to create new file extension? [duplicate]

I need to create custom file extension like myfile.foo for scripting files how can i configure this ?
1
vote
1answer
56 views

ISO Files Are Being Classified As Text Files Under Kubuntu 17.10

The ISO files that I have are not being detected properly by my Kubuntu system. Some of them are getting detected as "Raw CD Image" but others getting classified as "Text Document" or "Windows ...
2
votes
1answer
53 views

My Games folder has been turned into a program file and is no longer a directory

As stated in the title, I went to my games directory today, located on an external drive, which I hadn't used in a long time and found that it is no longer a directory but instead has turned into a ...
1
vote
1answer
1k 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
0answers
57 views

File type wrong

I work with .med files. These are files containing meshes of finite element projects. However ubuntu stubbornly sees this as a music file an represents it even with a music icon. How can I get rid of ...
22
votes
1answer
62k views

gzip: stdin: not in gzip format

When I run: tar -zxvf john-1.7.0.2.tar.gz I get this: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now It should start unpacking. Some ...
3
votes
1answer
40 views

space-delimited file (foo.out) incorrectly read as image

I have Ubuntu 16.04.1 LTS Using the command write.table in R, I create a space-delimited file called foo.out write.table(dresults, file = "foo.out", quote = F, row.names = F) For some reason, ...
0
votes
0answers
25 views

Files which always output a given character/string [duplicate]

/dev/zero always outputs binary zeroes when read by a program. Can I make something similar that always outputs a string of my choosing, for example, y\n, when read?
0
votes
0answers
78 views

Why is kate sudo-ed when remote file type is unknown?

I am accessing a remote server in Konqueror file manager using fish:// protocol (over SSH). All known file types that are plain text I can edit in Kate directly (right click > Open with > Kate). There ...
0
votes
1answer
225 views

How to show WAV files on Ubuntu

I have some WAV files on my phone and they are not shown on that folder when I open it in nautilus on Ubuntu? What should I do?
2
votes
2answers
175 views

How can I change file types of multiple files at once?

I would like to change file type of multiple files at once. The files are like A.1, A.2, A.3 ... and I want them to be A.01, A.02, A.03 ... It's kind of weird file type, but that's just how my ...
0
votes
1answer
134 views

How can I change both names and file types of multiple files at once on Ubuntu 14.04?

I need to change both file names and file type of multiple files at once, but I'm not sure how to do that. For example, I have files like A.1, A.2, A.3 ... I want them to be A1.dat, A2.dat, A3.dat......
0
votes
2answers
493 views

file type options under properties on dolphin does not work. Ubuntu 16.04

I have installed dolphin, additional to Nautilus on Ubuntu 16.04. When I select a file and go to properties and press the file type options button nothing happens. A window showing possible ...
2
votes
2answers
5k views

How can I view binary .log files with application/octet-stream mime type?

I have downloaded some log files from my server which I want to search for a specific string for debugging purposes. All of them have the .log extension. The problem is that one file has the plain ...
3
votes
1answer
175 views

create new filetype with existing extension

I made a Qt application, let's call it "alpha," that opens and generates .zip files. So basically, my files created by the app have the extension .alpha but they are basically .zip files. How do I ...
0
votes
1answer
382 views

How to change file types?

I changed the permissions of some directories and the files within them, so now when I list them, most are highlighted green or have names that are green. Some of the files used to be blue or white, ...
21
votes
1answer
2k views

How to set the default program to open a certain file type in a certain folder?

As well as being a Panda I am also an artist, I make my artwork mostly in GIMP and save my pictures to a certain directory on my computer. However I have a slight inconvenience because I save my ...
1
vote
2answers
3k views

How can I start VirtualBox with an image of Kali Linux?

On my Ubuntu system VirtualBox 5.0 is unable to locate the virtual optical image of Kali Linux 2.0. This is the message: Failed to open the disk image file /home/saiyad/Downloads/Kali-Linux-2.0.0-...
0
votes
1answer
324 views

how to associate a file type “sh3d” with an application Sweet Home 3D?

I installed Sweet Home 3D from Ubuntu Software Center. Application is shown in a list of installed aplication and it could be run from launcher. Default file type of the program is ".sh3d". Ubuntu 14....
1
vote
1answer
613 views

how to associate a filetype with a program?

trying to associate .bluej files with bluej. so i rightclick a bluej file ->properties ->open with and here is the problem. it says: "Select an application to open "pacjage.bluej" and other files of ...
3
votes
2answers
7k views

How can I delete all my core files cleanly?

My computer at work has a tendency to generate an excessive amount of core files, which can be useful for debugging, but slowly take up all of the available space on my computer. I made this command ...
2
votes
2answers
2k views

How to set default program to open specific file type

I wish to set the default program to open .jpg files and other image files to GIMP. To do this as said in one of the answers here, I went into this section (Right-click > Properties > Open With):...
2
votes
2answers
641 views

Same file extension, but different “Type” in file properties!

I have two different files that have same file extensions: *.otf. But if I right click on these two files, Nautilus shows different "Type:" for them in file properties window: One is ODF template (...
1
vote
2answers
341 views

In nautilus how can I hide file types [duplicate]

Like on windows? There doesn't seem to be an option for this? Is this possible? it's annoying looking at the .xxx all the time.
1
vote
1answer
1k views

How can I rename files/change their extensions based on mimetype with a script? [duplicate]

I'm hoping someone can explain to me how i can change a file type. I recently uploaded my pictures onto my laptop and half of them are saved as a file and not an image meaning i cannot upload them ...
1
vote
2answers
607 views

Cannot change association for mp4 video files to custom .desktop

I cannot set default association of mp4 and avi files to my custom desktop files. For mkv, I can change from nautilus file>properties>open with tab. This is a video of the peculiar behavior that I am ...
3
votes
3answers
5k 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 ...
3
votes
2answers
953 views

Is .ogg for Audio or for Video format?

What is the .ogg format? Is that used for audio files or used for video files? I found two examples in /usr/share/example-content/Ubuntu_Free_Culture_Showcase
2
votes
1answer
101 views

image File type associations and sorting

Unbuntu 14.04. Just upgraded from 12 When downloading images from camera (RAW+JPG basic) In file viewer it associates both NEF and JPG as image types.My workflow first action was to separate Jpgs into ...
1
vote
2answers
60 views

Script showing file type?

I want to make a script that shows what type of file is for example : ./file.sh haha test lala ssss haha --> file test --> directory lala --> symbolic link ssss --> executable Im ...
5
votes
0answers
698 views

What is the replacement for AssoGiate?

During the update to Saucy, the AssoGiate module is removed as it has been declared obsolete. I can find no replacement for the editor of the MIME file types database which is compatible with UBUNTU ...
3
votes
1answer
2k views

Problem associating file type to application

I'm trying to make gpxviewer the default application to open .gpx files. The problem is that it doesn't appear in the "Open with" window neither I can add it. What I have tried: Using Ubuntu Tweak as ...
1
vote
1answer
449 views

docx format opened simultaneously with LO writer and Kingsoft writer

im using ubuntu raring 64 bit now, i just downloaded kingsoft office for i686 arhcitecture, unfortunantely it seemed that i downloaded it wrongly (i downloaded the 32 bit rpm version!) and forced to ...
17
votes
5answers
65k views

How can i open SDM.pkg and .sdx files on Ubuntu?

I would like to download Windows 8 disk images, but the files I have for the download are SDM.pkg and 100189659562.sdx. How can I open these files on my computer running Ubuntu?
6
votes
3answers
3k views

Broken file type associations after running update-mime-database

After running sudo update-mime-database /usr/share/mime my gnome doesn't recognize any file types anymore. In Nautilus all files are now text/plain type and all now open with gedit by default. Gnome-...
0
votes
2answers
252 views

what media won't play?

Leaving aside DRM media, are there specific codecs or filetypes which simply won't play on Linux? I've installed ubuntu-restricted-extras but didn't get libavcodec-extra-53 for example. While there'...
3
votes
5answers
10k 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 ...
4
votes
2answers
3k views

How to distinguish doc, ppt, xls files, without looking at file extension

So I was wondering how would you differentiate ppt, xls and doc files from each other in linux regardless of extensions. I tried 'file' but from the looks of it, all of MSOffice files are categorized ...
4
votes
2answers
1k views

Prolog files recognized as Perl

Prolog .pl files are shown as Perl files, both in files browser and in Geany/Gedit syntax-highlighting. Is there a way to let it recognized Prolog files as non Perl files?
21
votes
1answer
4k views

How does Ubuntu know what file type a file without extension is?

As the question goes, how does Ubuntu know what file type a file without extension is? When I save a file as "Untitled Document" without any extension, how does it know? Same thing for video and ...
4
votes
0answers
2k views

How do I manually associate a program to a file type in 11.10? [duplicate]

Possible Duplicate: Creating .desktop files to use on the “Open with other application” tab The interface for associating a file type to a particular application has changed in 11.10 ...