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.

View 1 Replies


ADVERTISEMENT

Debian :: Make Java Default Application To Open JAR Files

Feb 4, 2016

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 :

1) which java ->Code: Select allĀ /usr/lib/jvm/java-7-openjdk-amd64/bin/java
2) java -version -> Code: Select alljava version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-1~deb8u1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
3) echo $PATH: Code: Select all/usr/lib/jvm/java-7-openjdk-amd64/bin:/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin: /usr/local/ sbin:/usr/local/bin:/ usr/ sbin:/usr/bin:/ sbin:/bin
4) javac -version : Code: Select alljavac 1.7.0_95

View 4 Replies View Related

Fedora :: Icons Of "default Application" / Get Predefined Application Icon To Open Same File Types?

Jan 7, 2011

I would like to get the predefined application icon to open the same file types.

for instance: *.avi, *.mp3 to have the VLC icon

and other application to have the icon of their default application.

So far I only found tips to install single icons or to add icon packs. :S

and is there any way to when you install an application make it default for such file types ?

View 1 Replies View Related

Fedora :: Change The Default Open With Application Of A .mpg File?

Jul 25, 2011

I am trying to change the default open with application of a .mpg file but when I click on properties it shows me this.. how can I fix it.

View 5 Replies View Related

General :: How To Open The File With Extension .pmd

Apr 26, 2010

How will I open a file with extension .pmd in linux ?

View 7 Replies View Related

General :: Changing The Default Application To Open Files - Ubuntu 11.04

Jun 30, 2011

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.

View 1 Replies View Related

General :: Make Ncftp Hold The Connection Open Longer Than The Default ?

Jan 18, 2011

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.

View 1 Replies View Related

General :: Executing The Default Application Assigned To A File Type?

Dec 10, 2010

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)

View 3 Replies View Related

Ubuntu :: Open And Run File With Extension Nds?

Jun 26, 2010

How to open and run file with extension nds in ubuntu linux?

View 1 Replies View Related

Software :: OTS File Extension - Cannot Open Directly

Feb 8, 2010

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.

View 2 Replies View Related

General :: 6.13 GMP-5.0.0 LFS Make Error - Cannot Open Shared Object File: No Such File Or Directory

Jun 10, 2010

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'

[code]....

View 5 Replies View Related

OpenSUSE :: Make An Application Default For Opening Documents

Sep 10, 2010

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.

View 1 Replies View Related

Ubuntu :: Why Does Open Office Not Have Base Application Installed By Default?

Jan 27, 2010

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?

View 3 Replies View Related

Software :: Dual Monitors - Make An Application Automatically Open On Second Monitor?

Jul 20, 2011

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.

View 2 Replies View Related

General :: Make A Variable = Filename Without The Extension?

Apr 23, 2011

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.

View 8 Replies View Related

Software :: Make Open Office Writer Default When Click On A Document?

Apr 17, 2010

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.

View 2 Replies View Related

Debian :: Set Default Application For Specific File Extensions

Dec 17, 2015

How to properly set some entries in:

$HOME/.config/mimeapps.list

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

My configuration is the following:

- 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 GNU/Linux
- gnome desktop

View 3 Replies View Related

Slackware :: Default PATH - Python: Can't Open File 'SABnzbd.py': [Errno 2] No Such File Or Directory

Nov 24, 2010

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

View 5 Replies View Related

Fedora :: Open A File Or Application In Terminal?

Jul 8, 2010

How to open a file or application in terminal?

View 4 Replies View Related

General :: Add A File Extension To A Bunch Of File Names?

Oct 20, 2010

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.

View 10 Replies View Related

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.

View 1 Replies View Related

Ubuntu :: Select An Application To Open A (specific) File?

Mar 16, 2011

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'm using Ubuntu 10.10)

View 3 Replies View Related

General :: Accessing .dd File Extension

Mar 2, 2010

I am trying to access a .dd file extension. Do I have to mount it?

VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd
# fdisk -ul VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd
Blocks Id System
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd1 8192 1535999 763904 5 Extended
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd4 * 32 8191 4080 4 FAT16 <32M
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd5 8224 106495 49136 6 FAT16

[Code].....

I am trying to grab some files off this file to create a PXE vmware boot.

View 2 Replies View Related

General :: Match A File Name Without Extension In Csh?

Aug 8, 2011

#!/bin/csh -f
source /xxxx/
set $spicedir = `sim_${1%.*}`
printf "Output folder is %s
" $spicedir
toolcommand -i $1 -o $spicedir
(-o output directory, -i =input)

I got spicedir: Undefined variable in my xterm

How could I match a file name without extension in csh

View 1 Replies View Related

General :: Make Picture Icons Larger When Selecting A Picture File To Open?

Jul 27, 2011

I'm trying to use Pinta Image Editor but I cannot find an option to preview the image, in a viewable size, before I work on it.

what to do in this situation? Prefferably it would be nice to view all the pictures as thumbnails.

View 1 Replies View Related

Ubuntu :: Make Dolphin The Default File-manager In 9.04?

Nov 25, 2009

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 !

View 2 Replies View Related

General :: Unable To Get Basename Of File Without Extension

Mar 4, 2011

Trying to get the basename of a file without the extension, I found this snippet but it just returns command not found twice:

[Code]....

Also tried (with and without the quotes on input and file_ext):

input=$1
file_ext=.${input##*.}
base=`basename "$input" $file_ext`

executed: convert.sh /path/music.wav But it echoes base as music.wav

View 14 Replies View Related

General :: Apache And Php, Force File Extension?

Apr 18, 2011

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

View 4 Replies View Related

General :: Sed Command To Replace File Extension?

Dec 9, 2009

how to use a variable in a sed command, but I can't get the output into a variable.

FILE=readme.txt
now i want to remove the extension of filename
so file woud be:
FILE=readme

my script:

NFILE=`echo $FILE | sed 's/.txt//'`
mv ../out/$FILE ../out/$NFILE
FILE=$NFILE

now when i run my script. i get this unknown character extensions in my new file(NFILE).

View 14 Replies View Related

OpenSUSE :: Default Programs To Open File Types In LXDE?

Nov 30, 2010

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 ?

View 6 Replies View Related







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