Ubuntu :: Edit Mime Types To Remove A File Type Association?

Oct 30, 2010

I installed a trial copy of Anquet Map V06 under Wine then decided to remove it. Afterwards I could find many remnants associated with the Anquet program which I've deleted. Except what remains is an association between my .gpx files with Anquet and that includes and any new gpx file I download. My interpretation is that during the install process an association has been created with the gpx file type and the Anquet map program. This is what I want to stop. If I download a .gpx file and look at it's properties I see- Type: GPX File -Anquet Mapsv06 (application/x-wine-extension-gpx) I found this file and it's contents-

/.local/share/mime/application/x-wine-extension-gpx.xml
<mime-type type="application/x-wine-extension-gpx">
−
<!--

[code]....

Running "sudo update-mime-database /usr/share/mime" and rebooting didn't remove the association. How can I stop the Anquet name making as association with my gpx files?

View 9 Replies


ADVERTISEMENT

Ubuntu :: Can't Edit Mime Types In Thunderbird

Feb 18, 2010

associate html attachment in emails with Firefox and tried to edit mime type extensions in Thunderbird through Edit/Preferences/Attachments/Download Actions/View & Edit Actions but it is empty and there is no way to add extensions there. Is there a different way to do it? I tried to choose Firefox while opening the attachment. It works but does not remember it for further actions.

View 2 Replies View Related

General :: Getting Content-type/Mime Type Of The File Using Shellscript

May 24, 2011

I am copying the file form one directory to another directory using shellscript.

Here i want to get the Mimetype/Content-type of the file.

How to i can get the MimeType.

View 9 Replies View Related

Ubuntu :: Script To Rename File Based On Mime Type?

Jan 9, 2011

I have a folder containing the output from Windows XP "File and Settings Transfer Wizard" - the folder refuses to be imported into any flavour of Windows and the original windows system is no more - so I found a little program called fastconv [URL] which extracted all the files but fails to rename them - been working on this solidly for 3 days now, there are 47,000 files in 20gb, so naturally the customer is very concerned.

I noticed that Ubuntu cleverly recognises the type of file, assuming its looking at the contents of the file rather than the extension.

Is there any way I can automatically rename the files based on the mime type?

View 2 Replies View Related

OpenSUSE :: Changing MIME/application Association For Firefox In KDE?

Jun 1, 2011

How can I change the MIME/application associations in KDE so that Firefox and other GTK apps see these settings. Right now in Firefox, PDFs open in GIMP and directories in easytag.

View 9 Replies View Related

Software :: Setting Association Between PLS File Type And A Given Media Player In Firefox?

Jun 11, 2011

Kernel 2.6.21.5, Slackware 12.0 When I click on some audio stream links in my web browser (Mozilla Firefox), the stream comes in a URL ending in .pls, usually listen.pls. As I want mplayer to play it and not the default player, I intend to make the first the default one. In Firefox (2.0.0.4) I can do Edit>Preferences>Content>File Types>Manage and change the actions associated with each file type. However, if the type is, say, PDF, I can can only change the action if a PDF file has anytime been downloaded. So, the same goes for a PLS file.

You have an example of the kind of link I talk about here: [URL] In the case of a radio broadcast audio stream, I am not downloading it, I think. At least, the Download window does not open. The Download window not having open itsef, the PLS type does not appear in the window Edit>...>File Types>Manage leads to. And so, I cannot change the action. The action would be 'Open them with this application': mplayer.

View 2 Replies View Related

Ubuntu :: Xdg-mime - Change The Current Association For MS Word Documents From Kword To Openoffice

Jan 11, 2011

I am trying to change the current association for MS word documents from Kword to openoffice. I guess I'm following closely the indicated step in the manual, i.e.: ~ xdg-mime default openoffice.org-writer.desktop application/msword but when I check it I get this: ~ xdg-mime query default application/msword kword.desktop

View 1 Replies View Related

Programming :: Conflicting Type Declarations Between Sys/types.h And Linux/types.h

Sep 12, 2010

I'm trying to use "netlink" to get ip address of a Linux box. But the linux/types.h included from "linux/rtnetlink.h" introduced many conflicting type declarations with "sys/types.h".

#include <rtnetlink.h>
#include <sys/types.h>
#include <sys/socket.h>
int main (int argc, char *argv[])
{
return 0;
}

The program will demonstrate such type conflicts.

View 3 Replies View Related

Ubuntu :: Applications Ignoring Mime Types?

May 24, 2011

Files downloaded with Firefox, Chromium, Miro etc. will not open correctly. Clicking to open the file (e.g. jpg or ogg) should result in the file opening with eog or audacious. Results - from Nautilus this works correctly, however from other applications the result is a Nautilus window. Placing a file 'test.torrent' on the desktop and using terminal to do

Code:
gnome-open test.torrent
or
Code:
xdg-open test.torrent
results in the same behaviour. However, simply clicking the file in Nautilus opens it in Deluge (correct behaviour).

View 4 Replies View Related

Ubuntu :: MIME Types Setup For Apache / MediaWiki

Jan 28, 2010

I'm trying on getting the MIME types setup correctly for Apache/MediaWiki. I think I've modified every config file known to man to no avail. Here's some info on what I've got going on. I'm trying to get the Office 2007 MIME types configured for MediaWiki 1.14 so that we can upload/download the files. Out of frustration/lack of need I went the less secure route and I modified the LocalSettings.php config file to disable MIME type verification for uploads.

Code:
$wgVerifyMimeType = false;

This works great for the uploads, and I can upload .DOCX, .XLSX, and .PPTX all day long, however when downloading them, they download as a .ZIP file with all the XML info inside of it. No biggie for me personally as I can just rename .ZIP to .DOCX and it works fine, however for the average user it's not going to fly. So, I figured that MIME types would be the source of my pain and started doing some research.

I have modified the following config files to include the MIME types listed below.
/etc/mime.types
/var/www/.htaccess (created to try and force them)
/var/www/mediawiki-1.14.0/.htaccess (created to try and force them)
/var/www/mediawiki-1.14.0/includes/mime.types

Code:
application/vnd.ms-word.document.macroEnabled.12 .docm
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
application/vnd.ms-powerpoint.template.macroEnabled.12 potm
application/vnd.openxmlformats-officedocument.presentationml.template potx
application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam
application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm
application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
application/vnd.ms-excel.addin.macroEnabled.12 xlam
application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
application/vnd.ms-excel.template.macroEnabled.12 xltm
application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
It doesn't seem to matter where I put the code, I can't get the MIME types to register with Apache/MediaWiki.

View 1 Replies View Related

Software :: Wine Set It As Default Handler For Many Mime-types?

Dec 24, 2010

I don't have wine installed. But I use teamviewer [URL] to remote support my friends. Teamviewer provide an "linux version" using wine wrapper. Every time I run it, some mime types such as .jpg, .wmv, .txt, .ini, v.v... was set to be handle by a "A Wine application". So, nothing happen when I open those file, I have to reset their handler to proper linux application.

1. How can I completely remove those "A wine application" handler? Is there a tool, or a settings applet in gnome that allow me to do that. Currently, I have to find those files in nautilus, right click and change the open with settings, that's frustrated.

2. Can I lock mime type handling settings from being changed by some application? Or even lock it from any changed at all? I don't mind remove the write permission from some settings file, I won't likely to change my current mime type handling settings in near future.

View 4 Replies View Related

Debian Multimedia :: Freedekstop MIME Types Versus Update Alternatives

Aug 15, 2010

I would like to know if there exists an article explaining how update-alternatives integrates with Freedesktop.org MIME. How do these systems coexist? How do they cooperate? Lately KDE and GNOME apps seemed to agree on default applications more and more; it seems there still exists an ordering problem [URL] , section Default application ordering), but things are generally working.

However, now I notice that some applications (which I've known for a long time to not be very Linux desktop friendly, I'm looking at Mozilla first, but this time I can't blame them without reason) use some totally different system, Alternatives. The example that comes to mind now is Icedove. Is there going to be a consensus on the default system or we'le have different applications using different systems?

View 3 Replies View Related

Ubuntu :: Grsync - Filtering File Types / Getting Only Some File Types Getting Included And Not Others?

Sep 1, 2011

I'm using Grsync and I want to be able to plug in any drive into my laptop and run rsync on it to back up all the user documents on there to another external hdd and to exclude everything else. Working on the principle that user documents don't always appear where we'd expect I want rsync to look through the whole drive and filter what it backs up by file type. I am only having partial success, however.

I am using the 'filter' option in the 'additional options' box. I am using the command
Code:
filter='merge /home/tim/Desktop/filter'
and I am attaching the filter file I have written. (I have added the .txt extention to upload it).

I have tested this script on my home folder and here's what's going wrong. Rsync will copy the entire directory structure regardless of whether there are any files to be copied over in those directories. I am also getting only some file types getting included and not others. .odt and .ods files are copied, for instance, but not .doc or .rtf.

View 3 Replies View Related

Ubuntu :: Use Mime Type Instead Of Thumbnails For .pdf?

Nov 12, 2010

I installed faenza icon theme and would like to have for my pdf docs only mime type (included in mime types/ icon theme), not a thumbnail. Is there some easy way to change this system wide?
I tried this and similar suggestions found on net, but no go:
http://ubuntuforums.org/showthread.php?t=770142

Using Ubuntu 10.04 64bit (Gnome)

View 3 Replies View Related

Software :: Error In File "/usr/share/applications/kde4/kfontview.desktop": "fonts/package" Is An Invalid MIME Type

Oct 5, 2010

attempting to install VLC I get the following errors;

Error in file "/usr/share/applications/kde4/kfontview.desktop": "fonts/package" is an invalid MIME type ("fonts" is an unregistered media type)
Warning in file "/usr/share/applications/gnome-nautilus-folder-handler.desktop": usage of MIME type "x-directory/gnome-default-handler" is discouraged ("x-directory" is an old media type that should be replaced with a modern equivalent)
Warning in file "/usr/share/applications/gnome-nautilus-folder-handler.desktop": usage of MIME type "x-directory/normal" is discouraged ("x-directory" is an old media type that should be replaced with a modern equivalent)

Thoughts or suggestions on how to fix this. I running Fedora 13 and I used 'yum install vlc' to install the app.

View 7 Replies View Related

Programming :: Get Program Based On Mime-type In C

Feb 10, 2010

I need to launch programs in my program and the program can be a script, a Linux executable or even a Windows executable. The first thing i tried is to use xdg-open from my program, but i can't pass arguments to it, otherwise it would have worked perfectly. Is there maybe a way to determine which program is set as default according to the mime-type of the program i want to launch? I also tried kfmclient and gnome-open, they don't allow arguments either.

View 2 Replies View Related

Ubuntu :: Unable To Locate Encoding Profile For Mime-type?

Feb 7, 2010

I am trying to transfer extracted music files from a CD into Rhythm Box music library, and I get the response, "Unable to locate encoding profile for mime-type"

View 2 Replies View Related

Slackware :: Mime Type Associations For Office Files

Oct 22, 2009

I installed MS office 2003 via wine on Slackware 13. I need to know how to associate files with the right Office (msword, msexcel, msppt) program. I made launcher scripts that can launches office files from the CL, but the user on this computer will want to be able to just double click a file in dolphin and have the right office program come up.For some reason all office files show up as x-ole-storage instead of application/msword or something similar. So, even if I tell Excel to associate with that file, it will do it for Word and PowerPoint files as well.

.ppt, .doc, and .xls extensions were configured via the KDE file associations panel, but this did not help. I played around with the raw files under ~/.local/share, but I did not find the solution.The version of WINE is 1.1.24 (built from SBo SlackBuild).

View 2 Replies View Related

Slackware :: Mime Type Error Opening Dolphin And Other Kde 4.4 Applications

Feb 11, 2010

I did a clean installation of KDE 4.4 Alien bob`s packages and when I open the dolphin, for example, appears this error:

The icons and directories are all on blank...

View 1 Replies View Related

Debian Multimedia :: MATE Desktop - Setup Default Apps (MIME-Type)

Aug 28, 2015

I can't setup or change MIME-Types in Mate/Caja (filemanager)

I use MATE Desktop on Debian 8.1 - File Manager is Caja (1.8.2) - I put in a USB Stick whit Pics. In the Popup Window they came up, normally i can setup a Default behavior for Pics, Music ... But, in my Window the Options are not available. (Grey) The same in "Settings" from Caja (Datenträger) Data Medium.

What can i do to set MIME Types in Mate?

View 0 Replies View Related

Programming :: Error: New Types May Not Be Defined In A Return Type?

Oct 12, 2010

The first line of this struct:

Code:
struct custom_int {
typedef int big_int;

[code]...

View 4 Replies View Related

General :: Permissions - Temporarily Remove My Association With A Group?

Jan 21, 2010

I need to test linux group permissions on a repository. In one shell, how can I temporarily remove one of my group associations? e.g.If my groups are defined as:

% groups
foo bar baz

How can I make it so it only returns foo bar without baz?

View 2 Replies View Related

Ubuntu Multimedia :: Where Is Association Config File For File Extensions?

Aug 7, 2010

I'm using Ubuntu 10.04.1 LTS (Netbook).I need to associate ram file extension to realplayer. First time I opened a ram file I choosed the default player, Reproductor de peliculas (I think Movie player in english).Now when I choose Open with Realplayer and remember the application for this extension it opens the archive but it does not remember for the next times. It seems to be a little bug. How can I do it manually? Where is the association config file for file extensions?

View 2 Replies View Related

Fedora :: Gcc Error: Conflicting Types - Warning: Passing Argument 2 Of R00002_ From Incompatible Pointer Type

Jun 17, 2011

I'm trying to install a program (MOPAC2007) from the source code which is a 32-bit program, but I get the following errors:

[code]...

I have installed the 32-bit libraries (gcc-gfortran.i686, glib.i686, libstdc++.i686).

View 1 Replies View Related

Ubuntu :: Edit File Inside It, Open It, Edit A File, Then Remake The Bin File?

Mar 3, 2011

I have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?

View 7 Replies View Related

Ubuntu :: Txt File Association Fail On Fat32?

Sep 15, 2010

I have a Windows 7 partition, a fat32 partition that I use for moving data between Windows and Linux, and an Ubuntu partition. On the Ubuntu partition, I can right click on a text file and the top of the menu says "open with 'gedit'." On the fat32 partition, the same action says just "open," and the "open with" submenu doesn't include gedit.

If I right-click and choose properties on the same file, the "open with" tab shows gedit as the default file association. So that's weird... anyone else seen anything like this?

View 2 Replies View Related

Ubuntu :: VLC Playlists - Won't Remember File Association

Sep 21, 2010

I am trying to use VLC playlists.

Either xspf or m3u.

Creating them is fine but the only they will launch is if I "Open With" VLC.

Having "Remember this application for "XSPF playlist" files." checked seems to make the assignment b/c when I right-click to get properties VLC is chosen under the "Open With" tab.

The icon doesn't change from the music note image either (I thought I'd get some VLC icon)

I understand this is a bug and you must edit ".local/share/applications/mimeapps.list"

But don't know what to enter there for XSPF or M3U files.

Ubuntu 10.04.1
VLC 1.2.2

View 8 Replies View Related

Ubuntu :: File Association To A Program That Will Only Run In It's Own Directory?

Apr 9, 2011

is a file association to a program that will only run in it's own directory. (Arobas' Guitar Pro, if you're curious). The link created by the installer leads to a shell script, which cd's to /opt/GuitarPro6, then executes the program there. Attempting to call the program from outside that directory fails, as the program cannot find it's libraries. It starts normally otherwise.

Passing a file name to the program via the command line works fine, IF you start with the working directory as above. The question is, what can I do to pass the filename to the command line in the shell script, so that double-clicking in Nautilus brings up the program with the file? (Currently, just associating with the shell script gives me the program, with no loaded file).

Second issue is files with an .hjt extension. They're essentially text files, following a specific format used by Treepad. Nautilus recognizes them as text files. When I change their association to Treepad, regular .txt files follow this change, and when I change the .txt's back to Leafpad, the .hjt's follow. How can I separate the .hjt's from the .txt's?

View 9 Replies View Related

General :: When Type "crontab -e" To Edit The File, It Is Not Opening In The Editor & Showing Output As "285"?

Aug 8, 2011

when I type "crontab -e" to edit the file, it is not opening in the editor & showing output as "285". I just wanted to edit crontab, So could anybody please tell me which is the real file of crontab, so I can manually edit that file using vi editor or nano. Or if that default editor is corrupted when I type "crontab -e", how can I change default editor before using "crontab -e" command. I will be waiting for your kind reply

View 2 Replies View Related

Ubuntu :: Panel Menubar Wrong File Association?

Apr 12, 2011

I somehow messed up the file association of the panels.... Alle Folders in the "places" are linked to vlc media player.... except the "Computer" icon If I drag a folder on the desktop it opens with nautilus as it should I remember that i wrote somewhere manually "vlc..." to associate a videodvd, that worked too well I deinstalled vlc, but i only get an errormessage then " cant execute child process" so its still linked to vlc.....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved