HomePage > Components and HowTos > Configure

How to make File Associations

There are a few ways to associate file-types to programs in Puppy. The following descriptions are based on the ROX Filer and may not work with other file managers.
Sometimes you won't be able to associate a file to a program because its MIME-type has not been defined. Looking in the file's Properties > Type will reveal only a general type (guessed by its content) - for example text/plain or application/x-executable. In this case you need to add a mime type.

Default Action
Default Action loads the file into the appropriate program when it is clicked (left-clicked) depending on its MIME-type. ROX will look for file named after the MIME type, firstly in-
~/.config/rox.sourceforge.net/MIME-types/[MIME-type] then
~/Choices/MIME-types/[MIME-type]
For example, if the MIME-Type is application/x-audacity-project
then ROX will look for a file called application_x-audacity-project (notice the / is replaced by an _).
Typically, the file is a script file or a link to an executable. Often, it is a link to a program's .Desktop stored in /usr/share/applications.
ROX provides a graphical way to set Default-Action:
 (image: http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=57236)


Right-click Association
Right-click association loads the file into a program chosen from the 'right-click File menu' - Right-clicks menu > File 'document.doc' > Doc program
The options in the menu depend on its MIME-type. ROX will list any file in the directory named after the MIME-type in ~/.config/rox.sourceforge.net/MIME-types/[MIME-type directory]
For example, if the MIME-Type is audio/mpeg
then ROX will list the file in the directory called .audio_mpeg (notice the . at the start and the / is replaced by an _).
Typically, the files are script files or links to an executables. Often, they are links to a program's .Desktop stored in /usr/share/applications.
ROX provides a graphical way to set Right-click Association:
 (image: http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=57238)


Open-with Association
Open-with Association loads the program when the user goes - Right-clicks menu > File 'document.doc' > Open With > Program
Open-with Association allows a program to open any file. It is accessed by the 'right-click File menu' - Right-clicks menu > File 'document.doc' > Open With
The options in the menu depend on the files (not the folders) in the directory ~/.config/rox.sourceforge.net/MIME-types/
Typically, the files are script files or links to an executables. Often, they are links to a program's .Desktop stored in /usr/share/applications.
ROX provides a graphical way to set Open-With Association:
 (image: http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=57237)


There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki