Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 25 Jul 2014, 07:20
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How To Associate a File with an Application
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Smithy


Joined: 12 Dec 2011
Posts: 404

PostPosted: Sun 01 Sep 2013, 19:05    Post_subject:  How To Associate a File with an Application
Sub_title: There are more than three steps.
 

1. Right Click on the file say an mp3 and go down to Run Action.

2. Drag the Application that you want to open the file in usr/bin (for example, vlc media player) onto the Run Action Dialogue.

3. The file will open the intended application when clicked on it.

4. If you want these associations to be permanently included in a remaster, then how would it be done?
Back to top
View user's profile Send_private_message 
musher0


Joined: 04 Jan 2009
Posts: 4228
Location: Gatineau (Qc), Canada

PostPosted: Sun 01 Sep 2013, 21:22    Post_subject:  

Hello, Smithy.

When you do the three steps above, I believe you are creating a "MIME-Type".

"MIME-Types" are preserved in folder
/root/.config/rox.sourceforge.net/MIME-types/

When you do your remaster, make sure that the number of files in
/root/.config/rox.sourceforge.net/MIME-types/
and
/tmp/root/.config/rox.sourceforge.net/MIME-types/
are the same and you should be fine.

(The remaster process provides a pause for the user to do this.
As for me, when that part is done, I erase the supposedly "virgin"
/tmp/root that the process has created and drag (copy) the contents
of my working /root to /tmp/root before letting the process continue.)

Another way: save /root/.config/rox.sourceforge.net/MIME-types/
separately and re-introduce it manually (overwrite) once your
remastered Puppy has booted.

Since I never had the problem myself, it would be best for you
that another experienced Puppyist validate my information.

Best regards.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send_private_message Visit_website 
Smithy


Joined: 12 Dec 2011
Posts: 404

PostPosted: Mon 02 Sep 2013, 12:54    Post_subject:  

Hi Musher,

Thanks for that, I was not copying over the right folder (s).

Step 5.

If you change icons for the file types, a folder called mime icons will appear in the rox sourceforge.net folder and globicons might have changed also,
so I copied these over to the temp root before remastering.
And yes the remaster comes back with the changes.
Back to top
View user's profile Send_private_message 
musher0


Joined: 04 Jan 2009
Posts: 4228
Location: Gatineau (Qc), Canada

PostPosted: Thu 05 Sep 2013, 12:45    Post_subject:  

Smithy wrote:
Hi Musher,

Thanks for that, I was not copying over the right folder (s).

Step 5.

If you change icons for the file types, a folder called mime icons will appear in the rox sourceforge.net folder and globicons might have changed also,
so I copied these over to the temp root before remastering.
And yes the remaster comes back with the changes.


That's great! Thanks for the feedback!

Have a good one! (day, beer, whatever!) Smile

BFN

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0450s ][ Queries: 12 (0.0040s) ][ GZIP on ]