Ubuntu :: Define Application To Open A Certain File Type?
Jul 20, 2010
I have installed Gantt Project (project management application) under 10.04. The system identifies the .gan files produced by the program as xml files. How do I tell the system to open .gan files with the GanttProject application?
I tried right click on the file to open and using "Open with other application" but the GanttProject application does not appear to be in the list of available programs.
how can I define file type for wget to download . for example I do not want to download *.html or I just want to download *.jpg files . or if it does not support any of them do you know any other suggestion ?
I'm trying to define the partition table type (I want to set it to msdos) for an automatic installation using preseeding file. (Why? I want to setup a software RAID 1 with two 2TB disks, by default the installer uses gpt partition tabless on those disks, where it's tricky to install grub(2), as there is no mbr, and the root partition is on a md device) During manual installtion it is possible to set the partition table type (by setting debconf priority to low).
[Code]...
Does anyone know what I have to put in my config file so that a msdos partition table will be created Also any other solution is welcome. I just want to have my root partition on a raid 1 and have grub installed, so that it boots up (No other OS is installed on the boxes. Debian squeeze is used)
I'm having trouble mounting hard drives and partitions - and am rather nervous about using Yast partitioner to do this. Is there something that would tell me about mount points in Yast partitioner? So far I haven't been able to find that information anywhere. I don't want to lose information on existing drives and partitions but do want to be able to access them.Some of them appear under disk information in "My Computer" but if I try to mount them I get this error message.There is no application installed that can open files of the type block device (inode/blockdevice).I was trying to edit fstab,his didn't seem straightforward either. I've been hacking this about in other Linux distros - so not entirely clueless
I have some .loc files from geocaching's website. I wrote a special script that takes these files and converts them to my Bushnell GPS format and moves them into the correct folder. Now I'd like to associate a double click with my script. However, the .loc file shows up as "XML Document". yes, it's an XML document, but I only want .loc XML documents to be executed by my script. How can I give .loc files their own "type" so I can give them their own "Open With" application and not mess up every other xml file?
Using gnome terminal (Ubuntu 10.10), is there a way to execute the default application associated to a file type, only by typing its name, as it is possible with Windows ?
For example, say I create a mime type associated to every file with the pattern *.abc. Lets say I associate this file type to application 'my_app'.
If I have file 'my_file.abc' in current folder, what I want is that when I enter only 'my_file.abc' at the prompt, it executes 'my_app' feeding it with 'my_file.abc' as first argument. (assuming of course 'my_app' is in the path)
In Firefox, when I try to download a PDF document from a particular website, I get the message, "Unable to open document. File type unknown (application/octet-stream is not supported.)" Yet the same PDF document loads fine in Konquerer. Am I missing a plug-in or something?
I am running Ubuntu 10.04 LTS (Lucid Lynx) and Firefox 3.6.11, which has an entry for PDF document under Edit �> Preferences on the Applications tab that says, "Use MozPlugger 1.13.3...".
I have this problem, that I want a specific .exe file to open in Mono, but all other .exe files to open in Wine.
However, the only option there is, are 'Select an application to open XXXX.exe and other files of type "DOS/Windows executable"'
but I just want to open THIS .exe file in mono, and the rest in WINE.
I have been in similar situations before, in that I opened a folder containing music with VLC, and it worked fine, but after that, it assumed that I wanted to open all folders in VLC.
I assume that there must be an option for this, and I can not see why it ain't an option by default.
We are trying to define an appliance for an application server so I would like to know which should be the best file system type for this kind of use, basically our web applications uses libraries of 50 KB and our web apps.creates temp and logs files not bigger than 3 MB.
I know this is possible in GUI gnome. But is it possible to do it too in shell command? Let say if i type this in shell:
#file.txt
then it will open gnome-editor in nautilus which open file.txt. gnome is the desktop manager. nautilus is the explorer windows in gnome. gnome-editor is one like notepad in MS windows.
In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5
previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal
After doing(changing the file system)this one ,i couldnt see the d:drive data
By doing that
1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.
2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.
Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)
I make all as mentioned in this guide [URL] and the MediaTomb working with the script but when I try to open .mkv file PS3 says that "The data type is not supported" in same time it shows the files in the menu normally and marked it unsupported thumbnail after I try to play it.
We are facing problem of to many file open error because of that application become slow and in tomcat catalina log we get following error frequently Jul 6, 2009 12:27:57 PM org.apache.tomcat.util.net.JIoEndpoint$Acceptor run SEVERE: Socket accept failed
at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) at java.net.ServerSocket.implAccept(ServerSocket.java:453)
[code].....
no file limit,file descriptor limit for 300 user of tomcat application server and also oracle database server?
So far so good. Now, I want to define two variables (e.g. e1,e2) in the bash file, so that their values would correspond to 00.00 and 30.00, as read from the input file. This one I have not found yet, thus asking for your advice. At the end, writing echo $e1 $e2, I should get 10.00 30.00 This is even harder to me: I want to replace the values emin,emax in a new file "modify.dat" which looks like that:
with the values e1 and e2 I have in my bash file. In other words, I want to call "modify.dat", find these two lines and replace the numeric values with the e1 and e2. At the end, my file should be like:
We are trying to define an appliance based on Suse for an application server and Web server Apache, so we would like to know configuration best practices for network and security, is there any paper/doc about best practices?
I'm new to Ubuntu . With windows when you install a app it creates a folder in the drive:c under programs : Where is the install folder on Ubuntu ? AND ' with windows ' there is an exe file ' what type of file is like the exe file''' to run ? or the path to run the app ?
I am writting a script to allow uploading of certain files. I want to limit the files by their filename and mime type, and by making sure the two match up.The first thing I need to do is make sure I've got all the mime types I need added. I have never done this before, but I understand that 'file' (which is what PHP's mime-type finding is based off of) uses magic databases that tell at which point in the file should have signatures of the filetype.
My trouble started when I was unable to determine the filetype of any of my video files. Currently, I have some .MOV and .MP4 files that I am using to test.
I want to be able to play a video file on my pda(Tungsten T5) but from memory the only video file i have seen playable on it was the asf file that is used when it starts up/reboots. I tried other file types in the past that were suggested in maybe a manual or forum or something but they never worked/played. I think it is because of the player installed and i tried installing another player but from memory that didn't install properly or just did not play anything. So if anyone knows of a way to convert files maybe using winff or mencoder i would love that info. I have been googling and have found nothing specific to what i am asking. I do not see anything in winff to convert to asf and cannot remember ever using mencoder.
After installing lots of stuff from the main repo (letters Q though U). I, apon starting to catalog the missing software that V-Z needed (and I did not have) I found that open office would not print letters on the screen. I tried rebooting (the computer)and reinstalling (open office is what I reinsalled) and nothing worked. I then tried to type on to a txt document using Kwrite and it wored at first then it started to type symbols and a pop up on the lower left showed the symbols then ABC etc. I clicked on ABC and Kwrite worked but open office did not. If it helps I installed some program that had to do whith typing python. I need to know the following
1:Is it a bug or my mistake? 2:How do I get open office up and running?
Its seems Fedora 11 on eee pc 1000h cannot connect to any wireless type(Open, WPA2, WPA or WEP) of a hidden network(non broadcasting SSID). Though it can connect to visible ones(broadcasting SSID), since my college is on a hidden network this a problem for me. Though I can't really test if its just fedora 11 or rpmfusion drivers for it 1000h model related problem.
My system software is installed on an encrypted LVM on hda1 and hda2. My home directory takes up the whole of hdb1 which is also encrypted. I can boot up into the kde desktop okay, but when I open up konsole and type 'su' and my root password I get the message "su: Authentication failure". I am absolutely certain that I am using the right password.
Even more strangely, if I fire up synaptic and give it that same password I am able to install software. Does anyone have any suggestions as to what's gone wrong and how I can fix it?
I can also type Ctrl-Alt-F2 and log in as root to do administrative tasks without any problems so I cannot understand why konsole has locked me out.
I can define all variables in tcl programming in a file for instance var.cfgand source the same file in my tcl script such assource var.cfgIs this possible in perl too?
Running any freeglut based application from a terminal with Opensuse 11.3 cause that terminal to be spammed with freeglut messages like the following one:
freeglut (./myglutapp): Unknown X event type: 105
There are some bug reports on redhat and ubuntu as well
How do I open an app from a dialog box? Eg the download db in FF in which you have options to Open or Save. I want to be able to navigate to a folder containing app folders which I can then open to find an icon to double click so as to launch an app. Much like in Windows navigating to Program files (I think it is called). How do you do this in Linux?