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


ADVERTISEMENT

Ubuntu :: Find The .desktop File For A Specific Application?

Feb 1, 2010

I know that every .desktop file comes into the Applications section but how can I find the .desktop file for a specific application?

View 5 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

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

Debian :: How To Change Keys For Just One Specific Application

Aug 14, 2015

I want to remap my keys for a game I'm playing, for example WASD instead of arrows to walk, r, f, c to act like f1, f2, f3 and so on. I'm aware of xmodmap, but I want to do this just for one application and be able to use hotkey to toggle between this script and default setting. I've been trying to use AutoKey, but I cannot force it to work just for specific app. On windows solution is AutoHotKey, but it won't work through wine.

View 0 Replies View Related

Debian Programming :: Installing Application Data To Specific Folder?

Jun 16, 2014

app deployment on Linux/debian and I'm using Debreate to create .deb packages which works fine. I install the software itself to /usr/bin but want to install the program's database to /home/username/myapp/ The problem is it that I don't know how to add the env variable 'username' to the target path. What is the exact syntax for this installation path?

View 3 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 :: 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

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 View Related

Debian :: Nautilus Does Not Accept Changes To Default Application

May 21, 2010

I'm trying to get Nautilus to open avi files with VLC instead of Totem. This succeeded for two of the three computers I have Debian on, but not on my EeePC. I right click the file, click "Open with other application", select VLC, and check that the "always use this application" option is checked (it always is). Then I click OK and it opens the file with VLC. But it doesn't remember the change; if I try opening any avi file again, it'll go back to Totem.

View 3 Replies View Related

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

Ubuntu :: Adding Extensions To Multiple Files Without Extensions?

Dec 28, 2010

I have a directory of a load of files without extensions. I know what the filetype should be, so is there any way of batch renaming the files to append a given extension onto it. i.e. text would be renamed as text.txt?

View 3 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

Debian Configuration :: Aptitude Update From Specific File?

Feb 18, 2011

I'm developing with puppet, and I need to do an aptitude update from a specific file, here is my configuration: The file sources.list in /etc/apt/ is deleted. I've created 3 files in /etc/apt/sources.list.d each one with their repos:

00-debian_sources.list
deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free

[code]....

All the repos are updated/refreshed , and I only want to refresh/update the specific repos insie of the file 01-debian_security_updates.list. On the other hand if I put some repos in the sources.list and delete the 3 files and I create an external file for example in /tmp/temprepo and I do the command aptitude update -o dir::etc::sourcelist=/tmp/temprepo it works fine.give some workaround to update and then upgrade packages from the files specified in my config.

View 1 Replies View Related

Debian Multimedia :: How To Get VLC To Start At Specific Time In Media File

Mar 14, 2015

How do I get vlc to start at a specific time in a media file. I can do it easily in mplayer2, mpv but not vlc. Let's say the media file is named abc.avi (file format,container not important for this example.) Also the running time is around 2+ hrs. In mplayer2 and mpv I can simply do :-

Code: Select all$mpv abc.avi --start=00:59:00

And it will start running at that point in time.

In vlc, it also seems to have something at :-

Code: Select all[$] vlc --advanced --help
......
......

Playback control:
      --input-repeat <integer [-2147483648 .. 2147483647]>
                                 Input repetitions
      --start-time <float>       Start time

Now I don't understand what the <float> bit. I tried :-

Code: Select all$vlc abc.avi --start-time=00:59:00

But that didn't work. It's possible that it might be a bug, then again I might not have done it correctly.

View 3 Replies View Related

Ubuntu :: Using Sed To Change Certain File Extensions?

Jun 2, 2010

I have about a hundred and fifty html files that I would like to change image file extension on from gif to png. I want to change this line:

<img src="images/robopix/web/ROBOTNAME.gif" border="0">

to this:

<img src="images/robopix/web/ROBOTNAME.png" border="0">

Trouble is that ROBOTNAME is different in each of the hundred and fifty files. To make it harder, there are other gif filenames on these pages that I do not want to change. I only want the extensions to change if the address prefix is 'images/robopix/web/'. Is there any way to do this with a quick program/sed command rather than manually editing a hundred and fifty files?

View 8 Replies View Related

General :: File Name Extensions With VIM (VI Improved)?

Feb 11, 2010

GNU/Linux kernel 2.6, Slackware. VIM - Vi IMproved 7.1 Huge version without GUI. When I quit an editing sesion vim creates a backup file with the same name as that of the edited file but with a '~' appended. I would like the name for the backup file to be the following: same base name as that of the edited file and edited file extension replaced by 'bak'. Example:

Input file//////////////backup file after editing
----------//////////////-------------------------
foo.txt/////////////////foo.txt~
foo.txt/////////////////foo.bak

The first line corresponds to what vim now does. The second one is what I want vim to do.

View 12 Replies View Related

Fedora :: Allow To A Specific User To Run An Application?

Apr 22, 2010

I want to know, how to allow to a specific user to run an application (for example Virtual Machine Manager) without entering a password? I have tried to add this user into appropriate groups, but it didn't helped.

View 7 Replies View Related

General :: Set Specific Application To Always Reside In Ram?

Jun 12, 2010

how can you set specific application's data to always reside in ram, so it runs and launches super fast all the time?

i recall reading about how you could put all your libs folders into ramfs once, but it took up a lot of ram, so i never bothered, and it was really just for faster (instant) launching times.

i just want to be able to set that for specific things, like for example, the GIMP and Inkscape.

View 2 Replies View Related

Ubuntu :: Command To Hide File Extensions?

Apr 20, 2010

i was just wondering if anybody knows of a command that i can run in the terminal to HIDE file extensions.I would apretiate this command and i dont mind if it is for ubuntu or windows.

View 2 Replies View Related

Ubuntu :: Recursively Rename File Extensions?

Feb 15, 2011

I want to rename some image file extensions from upper case to lower case but renaming all the images in all directories and subdirectories. the following code works if I am inside the folder but how do I make it work recursively?

Code:
for f in *.JPG; do mv $f `basename $f .JPG`.jpg; done;

View 2 Replies View Related

OpenSUSE Multimedia :: Specific Sound Car Per Application?

Oct 28, 2010

I have two sound cards in my computer. OpenSuSE 11.3 recognizes them both without a problem, and I can play sound through each of them. Is it possible to set one application to use one sound card simultaneously with another sound card routing to a different application? That would be sweet. For example, I have my surround speakers plugged into one sound card, so I can provide music for the whole room, and have my PC speakers next to the monitor playing a movie.

View 2 Replies View Related

General :: Make Specific Keymaps For Application ?

Oct 14, 2010

I want to make specific keymaps for application, that working only in it and doesn't affect other apps.

For example, I already use my Caps key to toggle input language (via xorg.conf), but I want Capslock to behave like Esc in vim.

Looks like xmodmap doesn't have any options related to that.

View 1 Replies View Related

Ubuntu :: Assign Each Application To A Specific Workspace?

Jul 24, 2010

I am using ubuntu 10.04 and opensuse 11.3. I would like to know how to assign each application to a specific worksapce. For example,when I open a pdf file, it will be moved to workspace2. When I open a movie, it will be moved to workspace3. In Leopard, "Space" have such features. I would like to know the way to achieve this in ubuntu and opensuse, in an easy way, meaning that just need to install a small package, not a big one , like compiz

View 1 Replies View Related

Ubuntu :: Install New Application Specific Software?

Jan 4, 2011

I just changed my windows to Ubuntu. Now I need to install software for my SLR camera, I tried to do an search on but end in vain. How can i use the sony software on my system.

View 4 Replies View Related

General :: Run Application Or Boot As Specific User

Apr 18, 2010

I have a need to run a specific app as a specific user when the machine boots into init 3. I can not run this as root so I need to specify a user. Can someone tell me how to accomplish this?I usually have to log in and start this application by typing check -D which starts this app and daemonizes it. I want to be able to run that at boot with my normal user not root.I hope I explained this correctly.I have added it to rc.local but it runs as root.

View 3 Replies View Related

Ubuntu :: Search For Multiple File Extensions At Once In Gnome

Jan 1, 2010

Does anyone know of a way to perform a search for multiple file extensions at once in Gnome? I know that M$ Windows Explorer had this capability, but I'm just not sure how to do it in Gnome, or if it's possible. I just want to be able to perform searches for Video, Music, and Document file types, without having to perform a separate search for each file extension. Example: When doing a search for Video file types (.avi,.mp4,.mov,.wma, etc.), I would like to do one search for all files that have these file extensions, instead of doing one search for .avi files, a second search for .mp4 files, another for .mov files, etc.

View 8 Replies View Related

Ubuntu :: RDP Extensions And Plain Text File Types

Jul 15, 2010

Basically, I have a selection of .rdp shortcuts to various machines, but they are considered the file type "plain text document (text/plain)" so if I change it to open with to tsclient, all of that file type opens with tsclient. And if I change it to gedit, all the rdp files open with gedit. Is there a way to create a custom file type dependent on the extension rdp, or is there a way to set tsclient to open by extension rather than filetype?

View 2 Replies View Related

Ubuntu :: Any Tools To Find File Extensions In Server

Mar 2, 2011

I am doing a migration and where i face problem with few file formats . I have the list of acceptable file formats , now i need to find the rest of the file formats other than the acceptable file formats. is there any tool available for this ? or can some give me the VBA macro .. My VBA macro works to find the file extension in a particular folder but the problem is its ending when the count increases to 65000 (excel limit). How do i use If condition here to avoid the acceptable format and give me unique file formats .

[Code]....

View 1 Replies View Related

Ubuntu :: Hide Php / Html File Extensions When Visiting URL?

Apr 25, 2011

Just recently installed the latest Ubuntu on my laptop and working perfectly. I have installed and configured LAMP but unable to figure out how to hide php and html file extensions when visiting a URL. I have enabled mod_rewrite via sudo a2enmod rewrite. Can this be accomplished globally rather than using a htaccess file?

View 6 Replies View Related







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