| Author |
Message |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Wed 10 Aug 2005, 03:30 Post subject:
|
|
I hope it is added to your wiki Tcl tutorials . . .
http://www.goosee.com/puppy/wikka/LearnTclTk
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
peppyy

Joined: 27 Jun 2005 Posts: 429 Location: VT USA
|
Posted: 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
|
|
 |
Bancobusto

Joined: 13 Jun 2005 Posts: 168 Location: Vancouver Island
|
Posted: 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
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: 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
| Description |
setup an Abiword file association
|

Download |
| Filename |
abi-assoc.pup |
| Filesize |
4.54 KB |
| Downloaded |
243 Time(s) |
|
|
Back to top
|
|
 |
GuestToo
Puppy Master
Joined: 04 May 2005 Posts: 4078
|
Posted: Wed 10 Aug 2005, 23:46 Post subject:
|
|
the Abiword file association dotpup post was mine
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 465 Location: Auckland, NZ
|
Posted: Thu 11 Aug 2005, 09:03 Post subject:
|
|
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
I want to also look at if mime types need to be configured like extensions... but migh leave that to a second version.
Jesse
| Description |
|
| Filesize |
24.31 KB |
| Viewed |
1136 Time(s) |

|
|
|
Back to top
|
|
 |
peppyy

Joined: 27 Jun 2005 Posts: 429 Location: VT USA
|
Posted: 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 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
|
|
 |
GuestToo
Puppy Master
Joined: 04 May 2005 Posts: 4078
|
Posted: 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
| Description |
setup an Abiword file association ver 0.0.2
|

Download |
| Filename |
abi-assoc2.pup |
| Filesize |
4.55 KB |
| Downloaded |
265 Time(s) |
|
|
Back to top
|
|
 |
peppyy

Joined: 27 Jun 2005 Posts: 429 Location: VT USA
|
Posted: 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
|
|
 |
GuestToo
Puppy Master
Joined: 04 May 2005 Posts: 4078
|
Posted: 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
|
|
 |
GuestToo
Puppy Master
Joined: 04 May 2005 Posts: 4078
|
Posted: 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
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Fri 12 Aug 2005, 22:00 Post subject:
|
|
| 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 WIKI
|
|
Back to top
|
|
 |
peppyy

Joined: 27 Jun 2005 Posts: 429 Location: VT USA
|
Posted: 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
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 3942 Location: Southeast Georgia, USA
|
Posted: 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
Multiple computers - currently running Puppy Exprimo ver. 5x15
|
|
Back to top
|
|
 |
GuestToo
Puppy Master
Joined: 04 May 2005 Posts: 4078
|
Posted: 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
|
|
 |
|