Making ROX more fun: changing file associations

What features/apps/bugfixes needed in a future Puppy
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#16 Post by Lobster »

:)

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

http://www.goosee.com/puppy/wikka/LearnTclTk
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
peppyy
Posts: 443
Joined: Mon 27 Jun 2005, 23:49
Location: VT USA
Contact:

#17 Post by peppyy »

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.
Puppy Linux...
It just works!

User avatar
Bancobusto
Posts: 168
Joined: Mon 13 Jun 2005, 20:52
Location: Vancouver Island

#18 Post by Bancobusto »

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 :lol:

Guest

#19 Post by Guest »

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: Select all

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
Attachments
abi-assoc.pup
setup an Abiword file association
(4.54 KiB) Downloaded 397 times

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#20 Post by GuestToo »

the Abiword file association dotpup post was mine

Jesse
Posts: 466
Joined: Sun 08 May 2005, 16:07
Location: Auckland, NZ

#21 Post by Jesse »

I'm getting there, learning more about widgets at the same time :)
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 :shock:

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

Jesse
Attachments
select1208.png
(24.31 KiB) Downloaded 1192 times

User avatar
peppyy
Posts: 443
Joined: Mon 27 Jun 2005, 23:49
Location: VT USA
Contact:

#22 Post by peppyy »

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.
Puppy Linux...
It just works!

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#23 Post by GuestToo »

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
Attachments
abi-assoc2.pup
setup an Abiword file association ver 0.0.2
(4.55 KiB) Downloaded 386 times

User avatar
peppyy
Posts: 443
Joined: Mon 27 Jun 2005, 23:49
Location: VT USA
Contact:

#24 Post by peppyy »

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?
Puppy Linux...
It just works!

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#25 Post by GuestToo »

yes, add these lines:

Code: Select all

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

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#26 Post by GuestToo »

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: Select all

video/x-msvideo
	ext: avi AVI wmv WMV asf ASF

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#27 Post by Lobster »

Jesse wrote:I'm getting there, learning more about widgets at the same time :)
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 Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
peppyy
Posts: 443
Joined: Mon 27 Jun 2005, 23:49
Location: VT USA
Contact:

#28 Post by peppyy »

Thanks. I swear the more I learn the more I forget.
Puppy Linux...
It just works!

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#29 Post by edoc »

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: Select all

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
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#30 Post by GuestToo »

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

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#31 Post by edoc »

I thrashed around the xinehq.de site and searched the pupget and dotpup areas and could not find a Win codec ... what am I missing, please?

Also stumbled across this on the xinehq.de site. Didn't know if it was relevant when run under Puppy.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12.09.2005 gxine 0.4.8
Bug fixes again. One is significant: it stops gxine from (potentially)
eating lots of CPU time.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

Guest

#32 Post by Guest »

LA Traffic Cams

here's a traffic cam program, like the Internet Radio program
Attachments
trafficcam.pup
LA Traffic Cams
(7.48 KiB) Downloaded 358 times

Guest

#33 Post by Guest »

i think the codecs are available as a PupGet package (not a dotpup)

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#34 Post by GuestToo »

i uploaded trafficcam.pup ... forgot to login

Jesse
Posts: 466
Joined: Sun 08 May 2005, 16:07
Location: Auckland, NZ

#35 Post by Jesse »

Ah, I've been very busy with my day job, I've uploaded most recent version of my proggie for those who have been waiting for ages... There shouldn't be too many bugs in it, I'm not aware of any, but usually that means other people will show me where they are in 2 secs flat :)

for those with plenty of time on their hands:

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

Jesse

Post Reply