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 21 Nov 2014, 23:27
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How do i set run action for given file extention?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
flamesage


Joined: 01 Jul 2005
Posts: 214

PostPosted: Fri 01 Jul 2005, 22:54    Post_subject:  How do i set run action for given file extention?  

Example: I want .wmv clips, whenever i click on them to open up in gxine instead of the notepad program.

How would I go about doing this?
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11152
Location: Arizona USA

PostPosted: Fri 01 Jul 2005, 23:42    Post_subject:  

I'm pretty sure one way is to open ROX-Filer, find a wmv file, right click on it, and choose "Set Run Action." I haven't actually done this next step, but it looks like you then can drag an application such as Gxine into the box labeled 'Drop a suitable application here.'

More info than you would ever want to know about ROX can be found in Puppy's very comprehensive Start->Help menu, under "Applications documentation."

I seem to remember a post describing how to do what you want to do, or maybe it's in the Wiki. If you find it, please let me know where it is so I can put it in the Beginners forum index.
Back to top
View user's profile Send_private_message 
flamesage


Joined: 01 Jul 2005
Posts: 214

PostPosted: Fri 01 Jul 2005, 23:55    Post_subject:  

Crap, I told it gxine $1, now it loads up gxine but failes to load because of an unknown error, now it does it to ALL of my .txt documents ><;
Help please!
Back to top
View user's profile Send_private_message 
Rich

Joined: 04 May 2005
Posts: 278
Location: Middlesbrough - UK

PostPosted: Sat 02 Jul 2005, 05:39    Post_subject:  

first off, lets put the text documents back.

Select a Text doc and right click in the rox window.
Go to Set Run action in the drop down menu and type leafpad "$1" in the Shell command line. DO NOT CLICK OK YET !
At the top of this window there are 2 radio buttons. Choose the bottom one - only for the type XXXX. This will change the run actions for any file of the same type, rather than all files.
click on OK and you're back to normal.

Do the same with the filetypes you want to open with gxine. except using the command gxine "$1" instead of the leafpad. Make sure that the second radio button option is selected though, otherwise it will associate everything with gxine.
Back to top
View user's profile Send_private_message 
flamesage


Joined: 01 Jul 2005
Posts: 214

PostPosted: Sat 02 Jul 2005, 09:07    Post_subject:  

I follow the steps... and it still directs me to gxine, for anything that was origionally with leafpad! Even though..
b.png
Description 
png

 Download 
Filename  b.png 
Filesize  73.6 KB 
Downloaded  874 Time(s) 
a.png
Description 
png

 Download 
Filename  a.png 
Filesize  65.52 KB 
Downloaded  872 Time(s) 
Back to top
View user's profile Send_private_message 
Guest
Guest


PostPosted: Sat 02 Jul 2005, 09:41    Post_subject:  

What you are doing is setting the action for the "mime type" text.......


The info for mime type wmv is not listed.......so it appears to default to mime-type text.


What needs to be done is a new entry for wmv to be created....Now I'm not too sure exactly how that is done


maybe
Code:

video/x-msvideo:
   ext: avi wmv


in the file /usr/local/share/Choices/MIME-info/Standard


The help button should direct you to the help pages for ROX
Back to top
flamesage


Joined: 01 Jul 2005
Posts: 214

PostPosted: Sat 02 Jul 2005, 12:37    Post_subject:  

I did that, and still nothing.
Back to top
View user's profile Send_private_message 
Rich

Joined: 04 May 2005
Posts: 278
Location: Middlesbrough - UK

PostPosted: Sat 02 Jul 2005, 13:48    Post_subject:  

Just tried this the old fashioned way and they don't work on my computer Sad

If I open Gxine and manually select the file to play , although the timer bar moves across the bottom, there's no sound or pictures.

( I'm running Gxine 0.3.3 ) .

Do your files play if you manually select them??
( if not then there's not much point worrying about associations )


If they do work - send one of them to me ( just a small one - Dialup ) and I'll try to figure it all out for you.

Rich
Back to top
View user's profile Send_private_message 
Guest
Guest


PostPosted: Sat 02 Jul 2005, 17:22    Post_subject:  

ROX Prolly needs to reread the files to be aware of the new type....or google for ROX on the web goto the site and see what they have to say
Back to top
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Sat 02 Jul 2005, 17:41    Post_subject:  

I have the same problem as flamesage. I'll be working on a work around. But for now - I don't have the solution.
Back to top
View user's profile Send_private_message 
Guest
Guest


PostPosted: Sat 02 Jul 2005, 17:43    Post_subject:  

Ok my theory did work, gxine opened but appears to lack the right codecs to play wmv files.........It played the file but no purty pics came up in the viewing area.......
Back to top
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 02 Jul 2005, 22:49    Post_subject:  

i seem to have codecs installed that play wmv's ... i find the sound doesn't sync to the video as well as avi's or mpg's

pic of a wmv movie playing: http://tinypic.com/6onyvq.jpg

from Erin Gray's website: http://www.eringray.com/
Back to top
View user's profile Send_private_message 
flamesage


Joined: 01 Jul 2005
Posts: 214

PostPosted: Sat 02 Jul 2005, 23:44    Post_subject:  

Hmm thats weird, I added in that vide thing and when I just now rebooted, it started working.
o well =P


video/x-msvideo:
ext: avi wmv
Back to top
View user's profile Send_private_message 
Kal

Joined: 05 May 2005
Posts: 624
Location: California, High Desert

PostPosted: Sun 03 Jul 2005, 10:49    Post_subject:  

Thanks for info, this fixes my bad work around of changing .mwv to .mpg and I have mplayer which uses the win32 codecs
Thanks to all, Kal a end user.
Back to top
View user's profile Send_private_message 
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 » Beginners Help ( Start Here)
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.0646s ][ Queries: 12 (0.0037s) ][ GZIP on ]