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 Sat 25 Oct 2014, 01:51
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
Making ROX more fun: changing file associations
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 10 Aug 2005, 03:30    Post_subject:  

Smile

I hope it is added to your wiki Tcl tutorials . . .

http://www.goosee.com/puppy/wikka/LearnTclTk

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Wed 10 Aug 2005, 08:30    Post_subject:  

An "open with" dot pup would be great! I have just spent half a day trying to figure out why I couldn't open any text or abi files and it looks lihe it is all from associating .asf with mplayer. Never knew that it would change all the files with a text icon.

What are the chances of seperating extensions so they could be associated individually? Open .abw with abiword and ,txt with beaver etc.

_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send_private_message Visit_website AIM YIM MSNM 
Bancobusto


Joined: 13 Jun 2005
Posts: 168
Location: Vancouver Island

PostPosted: Wed 10 Aug 2005, 13:27    Post_subject:  

I know it may be to size issue, but the newer version Rox that came out has all these features and more. I hope that we can upgrade to it eventuallly Laughing
Back to top
View user's profile Send_private_message 
Guest
Guest


PostPosted: Wed 10 Aug 2005, 23:43    Post_subject:  

peppyy wrote:
What are the chances of separating extensions so they could be associated individually? Open .abw with abiword and .txt with beaver etc.


it's easy ... just add something like this to /root/Choices/MIME-info/Standard (or /usr/local/share/Choices/MIME-info/Standard)

Code:
text/abiword
   ext: abw ABW

here's a dotpup that will setup a rox file association so that abw files will open with Abiword when clicked
abi-assoc.pup
Description  setup an Abiword file association
pup

 Download 
Filename  abi-assoc.pup 
Filesize  4.54 KB 
Downloaded  292 Time(s) 
Back to top
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 10 Aug 2005, 23:46    Post_subject:  

the Abiword file association dotpup post was mine
Back to top
View user's profile Send_private_message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Thu 11 Aug 2005, 09:03    Post_subject:  

I'm getting there, learning more about widgets at the same time Smile
Here is a screen shot from todays work...

added option for "run action" so a filetype can have several actions, and the command line can be set for each "run action"

This is almost looking like I'd use it Shocked

I want to also look at if mime types need to be configured like extensions... but migh leave that to a second version.

Jesse
select1208.png
 Description   
 Filesize   24.31 KB
 Viewed   1174 Time(s)

select1208.png

Back to top
View user's profile Send_private_message 
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Thu 11 Aug 2005, 10:19    Post_subject:  

Thank you Guest Too. I was beating myself up over that one. The only thing I noticed is that it reset the default "Home" folder in rox to / instead of /home, but that is fine because there is a right click option for home directory. Even included the icon Wink I might just have to disect that one and see what makes it tick. I almost got the template figured out.
_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send_private_message Visit_website AIM YIM MSNM 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Thu 11 Aug 2005, 19:18    Post_subject:  

peppyy wrote:
The only thing I noticed is that it reset the default "Home" folder in rox to / instead of /home


when you restart the rox pinboard (desktop icons) rox will consider your home dir to be whatever working dir your are in when the pinboard is started ... i forgot to cd to /root just before restarting the pinboard (the pinboard is restarted so rox will re-read the config files ... there are other ways to do this, none that seem to work really well)

i add the cd instruction just after i uploaded the dotpup, but i couldn't upload a new version, because accidently i wasn't logged in when i posted it ... the first version seemed to work ok on my machine, so i thought it might be ok

since it's so small, here's the fixed version (most of the space is the icon ... and i could have used a symlink instead of including the icon in the dotpup)

anyone could make a dotpup to setup any rox Run Actions they like, with any icons they like
abi-assoc2.pup
Description  setup an Abiword file association ver 0.0.2
pup

 Download 
Filename  abi-assoc2.pup 
Filesize  4.55 KB 
Downloaded  303 Time(s) 
Back to top
View user's profile Send_private_message 
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Fri 12 Aug 2005, 11:28    Post_subject:  

Thanks again. I had no problems with this one. I have set up a few other extensions and it's really just a matter of preference to fine tune things for each user and or need.

There are still some that I just haven't figured out how to seperate from the defaults like video types .asf always shows up as a text file. Is there an easy way to disassoiate it with a group so it can be opened seperately?

_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send_private_message Visit_website AIM YIM MSNM 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Fri 12 Aug 2005, 19:47    Post_subject:  

yes, add these lines:

Code:
video/asf
   ext: asf ASF

to /root/Choices/MIME-info/Standard

click the Reread Files button in rox options, or restart X, or reboot

now asf files will be video files
now you can right click an asf file and set it's run action to be different to an avi file, for example

i can make a dotpup that will do it all automatically
but it's easy ... just add those 2 lines to Standard
Back to top
View user's profile Send_private_message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Fri 12 Aug 2005, 20:11    Post_subject:  

of course, you don't have to create a new video subgroup ... you can just add asf extensions to a video group that's already there ... for example:

Code:
video/x-msvideo
   ext: avi AVI wmv WMV asf ASF
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 12 Aug 2005, 22:00    Post_subject:  

Jesse wrote:
I'm getting there, learning more about widgets at the same time Smile
Here is a screen shot from todays work...
Jesse


Jesse is it possible to have a set to defaults button that sets all the extensions to the programs in Puppy likely to run them? Are the files stored in one place? Can we call an edit from your program (leafpad seems to be emerging as the Puppy standard) of any registry type storage?

Will this info be available in the help incuded in the program (who can ever find readme files in Linux?)

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Mon 15 Aug 2005, 23:56    Post_subject:  

Thanks. I swear the more I learn the more I forget.
_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send_private_message Visit_website AIM YIM MSNM 
edoc


Joined: 07 Aug 2005
Posts: 4379
Location: Southeast Georgia, USA

PostPosted: Mon 12 Sep 2005, 17:22    Post_subject:  

GuestToo wrote:
of course, you don't have to create a new video subgroup ... you can just add asf extensions to a video group that's already there ... for example:
Code:
video/x-msvideo
   ext: avi AVI wmv WMV asf ASF


Do I read this to mean that one may view the LA traffic cams at:
http://video.dot.ca.gov/ ?

They are x-ms-asf

Thanks! doc

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send_private_message Visit_website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Mon 12 Sep 2005, 18:14    Post_subject:  

you should be able to click one of the camera links
tell Mozilla or firefox or Opera to Open With ... /usr/local/bin/gxine
and it should show the traffic cam
you might need to install the Win codecs for it to work

you can also use mplayer, but i think you need the mplayer plugin to play it directly (i tried to get the mplayer plugin to work before, but i didn't get it to work quite right) ... you can download and look in the .asx file, and play the url with mplayer

pic: http://tinypic.com/dnms7o.jpg
pic: http://tinypic.com/dnms94.jpg
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Taking the Puppy out for a walk » Suggestions
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.0804s ][ Queries: 12 (0.0050s) ][ GZIP on ]