General :: Make A Default Application Open A Certain Extension File?
Nov 3, 2010
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.
i cannot seem to find a proper way to make Java my default application to open .jar files. I just made a new Debian 8.3 install on my laptop HP Pavilion G6 and the default application for opening .jar files is the Archive Manager. But when i go to "Open with.." section on right-clicking the .jar file, i get no JRE or JDK option to choose. I just installed the openjdk 7. I can manually run them from the bash, but it would be much more convenient if i just double-clicked it. Here is what i get when i run several commands in the bash :
I want to change the application that opens my mp3 files.
At present if I double click an mp3 it opens in the movie viewer for some reason. I know I can use "open with..." to get a file to open in Rythymbox instead, but I have over 800 mp3 files and want to change the default for all of them.
Is there a way to make ncftp hold the connection open longer than the default? a ping every 10 sec or something? I feel like after I push a change up to the server before I can verify everything is working as expected and get back into ncftp the connection is closed by the remote host.
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)
All files I save, now have to have the OTS file extension, and I cannot open them directly. I have to go through Open Office Org. My computer has also slowed down. Whether this is associated I don't know. Could this be a Bug, and if so how can I correct this problem?. My OS is Fedora 10.
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory make[2]: *** [libmpn.la] Error 127 make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
I want to use my Thunderbird as default newsreader for rss feeds. When I click on the icon of the website, it tells me that another application is the default. There is an option to browse for another application that I can set as default.But where do I have to browse to find the Thunderbird program. I have to same problem with pdf -files. I want to use acrobat reader as default.
I am a complete newcomer to Ubuntu (or Linux in general for that matter) although I have many years' experience of Windows. It seems to me that the Base application of the open office suite of programs has not been installed by default. Why is this? And how do I install it in Ubuntu 9.1?
I am using Fedora 15 with dual monitors. I want to make an application open automatically on the second monitor. In particular I would like to make Firefox open on the second monitor. For now I am just manually moving Firefox to the second monitor, but if I close it down and open it again, it automatically opens on the first monitor. Is there a way to make it automatically open on the second monitor?
I have two Nvidia cards in my machine. I did have one monitor connected to each video card, but I was unable to get a dual monitor set up to work like this, so I plugged both monitors into one card and the dual monitor set up works fine like. Is there a way to make dual monitors work if you have a monitor connected to each video card? When I had a monitor connected to each video card, I could see the second monitor in the Nvidia settings, but it always disabled it. I could enable it, but it would grey out twin view. After I enabled it, I'll restart the X server, the second monitor would auto disable again.
I'm using Gnome, I don't have the above issue in Xfce4 - it works fine with one monitor connected to each card in Xfce4. However, I want to use Gnome. I've searched, but have not been able to find a solution to either of these issues. I read you can fix the application to launch in a second monitor with wmctrl. I've tried to install it with yum, but I get the message: No package wmctrl available.
I am trying to strip the .wav file extension from a file name so that I can pass the result to lame encoder. I started to write a BASH script that looks like this:
Code:
for f in /home/user/wavfiles*; do FILE=basename $f .wav; lame $FILE; done
It doesn't work very well though. For the life of me I can't seem to discover how to use basename in a suitable way for a script like this.
am using slackware 13 and want to make Open Officeriter default when I click on a document. Currently when I click on doc it opens kwrite. Similarly when I click on an audio file it opens Gxine. I prefer MPlayer.
so that: *.odb files are opened by default with libreoffice base *.org files (just org files not plain text files) are opened by default with emacs
For some reason I can not figure out how to proceed.
As far as I know - i.e. for what I have been reading in the documentation - the default application for a given MIME-type is specified by writing into the group [Default Applications] in the mimeapps.list file
I have just installed SABnzb application in my home folder. The executable file is SABnzb.py When I run the command in the Konsole # python SABnzb.py I have this Quote: python: can't open file 'SABnzbd.py': [Errno 2] No such file or directory
I have a considerable number of files in a subdirectory (some fascinating old military clips from archive.org - search on Big Picture if interested). Anyhow, I am downloading them using Internet Download Manager running in an XP virtual machine in VMWare on my Ubuntu 10.04 PC (due to the queuing, restart and speed capabilities of IDM). But I digress - the files are being saved on the host (Samba share) without a file extension. So I have a collection of files with names like
Quote:
The Douglas MacArthur Story THEY WERE THERE (1960)
I wish to add the extension ".mp4" In Windows this is simply done with the command
Quote:
rename *. *.mp4
This of course does not work in Linux. I have researched the Linux rename command and reviewed a lot of examples. However, I have not found a way to add an extension to a batch of files which are named with no extension to start with. The spaces in the file names also seem to present an issue. At the moment I am renaming them from the Windows VM while they are sitting on the Samba share using the ancient File Manager program from Windows NT which works great on XP. I have experimented with the file rename facility in Gnome Commander however, it does not seem to want to do something so simple.
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.
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.
I have installed dolphin in ubuntu 9.04 but whenever I click on a folder it opens with nautilus file-manager. I found no option in the folder properties for making dolphin the default file-manager !
I am playing with my LAMP server1. why can i access a php file on the server only by typing http://serverip/file with no .php extension on?2. later i tryed to play with .htaccess, but when i uploaded it to the server it just disappeared, why is that
i've iregulare situation here i use LXDE and when i use chromium (for ex)and download a jpg file and then open it it starts FIREFOX and then asks me to open it i want chromium (for ex) to open that file type directly with images viewer another example when i installed awn and made some favorite applications shortcut on it when i try to open those shortcuts it opens firefox again and ask me to download or open O_O how can i remove firefox from all this proccess ?