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 Mon 20 Oct 2014, 14:18
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
DoMyFile general purpose GUI for file processing cmds etc
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
mcewanw

Joined: 16 Aug 2007
Posts: 2346
Location: New Zealand

PostPosted: Mon 21 Jul 2014, 00:20    Post subject:  DoMyFile general purpose GUI for file processing cmds etc
Subject description: Particularly useful for multimedia conversion/capturing
 

The attached dotpet version installed and tested on Slacko 6 beta, but should work with most Puppies. The attached deb package tested in DebianDog, which currently includes DoMyFile by default. You will find a couple of screenshots in post three of this thread.

Changes: hijack modules now use .hijack as file extension.

Note: This latest version of DoMyFile also includes same "hijack" capability as pAVrecord and Precord, which allows you to add your own bottom panel (buttons to activate other apps etc) to the GUI, as a simple addon module. The hijack facility is as described for pAVrecord here:

http://www.murga-linux.com/puppy/viewtopic.php?p=656913#656913

DoMyFile usage Help:

You can read the following at any time by pressing the application included Help button. If you have used the slightly less general purpose Premote user-interface you should be familiar with the general usage idea:

DoMyFile is a GUI front end to store and re-use your favourite bash, sh, or dash commandlines. It was designed to be particularly useful for multimedia file processing commands. It can be used, for example, to convert text files, such as playlists, from one form to another, or to convert or record media files using your favourite ffmpeg command pipe sequencies. The creative user could also add commands to provide outputs via yad, gtkdialog, or similar.

DoMyFile depends only on bash and gtkdialog for basic functionality. For some commandlines it will of course require any underlying commandline utility you wish to use to be installed (e.g. ffmpeg for media conversions, make-xhippo-playlist for streaming media playlist conversions to xhippo format etc). Some of the provided combobox commandlines depend on Xdialog, xterm or rxvt, or sometimes the system text editor for outputs.

On pressing the 'play' button, DoMyFile operates just as if the displayed command was typed into a console window and the 'Enter key pressed', but it brings the following advantages of a GUI environment:

* A dropdown list of pre-saved commands, which can be edited (modified, deleted, or appended to) in your system default text editor by pressing the Edit button on the righthand side of the dropdown list.

* New commands can thus be entered and permanently saved for re-use.

* Entry boxes (variables), which can, for example be used, for playlist to convert (A), and so on for variables U, P and D. Note, however, that what you use the entry boxes to store is actually entirely up to you for the particular commandline you wish to run. The dropdown command can refer to these using standard bash shell syntax (i.e. $A, $U, $P, $D).

* Entry data can be input manually, or via drag and drop, or cut and paste from your system filemanager.

* DoMyFile also provides brief tool-tip text over most elements of its GUI, which becomes visible when the mouse is hovered over each element.

* Pretty much any bash commandline including quote marks and \ can be entered.

----

Commandline Usage

In a console enter command: domyfile --help
for brief commandline usage.
----

Tips:

To keep domyfile as the top window,
right-click on its window bar, and select Layer -> Above

In addition to outputting command results to a controlling xterm or rxvt terminal or to an Xdialog window, it is also possible to pipe command outputs to the 'leafpad' editor.

Alternatively, if you start domyfile from a terminal you can redirect its command output to that terminal using the syntax >/dev/tty
----

William
domyfile_9.0.3_i386.deb.tar
Description  Tested on DebianDog. Just remove the dummy tar.
tar

 Download 
Filename  domyfile_9.0.3_i386.deb.tar 
Filesize  5.97 KB 
Downloaded  30 Time(s) 
domyfile-9.0.3.pet
Description  Tested on Slacko 6 beta, but should work with most Puppies
pet

 Download 
Filename  domyfile-9.0.3.pet 
Filesize  5.34 KB 
Downloaded  24 Time(s) 

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.

Last edited by mcewanw on Sat 02 Aug 2014, 06:53; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
musher0


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

PostPosted: Mon 21 Jul 2014, 15:16    Post subject:  

Hello, William.

Sounds interesting. Would you have a couple of screen captures?

I have been using bash windows launched from wrappers for some of my
scripts, but maybe this is something I should look into. (I should add that I
don't like much the GTK interfacing stuff in XML provided with the Puppy.)

Thanks in advance and best regards.

Chris

_________________
"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 poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2346
Location: New Zealand

PostPosted: Mon 21 Jul 2014, 21:12    Post subject:  

musher0 wrote:
Hello, William.

Sounds interesting. Would you have a couple of screen captures?

I have been using bash windows launched from wrappers for some of my
scripts


Hi Chris,

Yes this is a kind of inbetween bash wrapper script and specialised GUI frontend for underlying bash commandline or utility.

Of course gtkdialog scripts are themselves basically just wrappers and, I agree, a real pain to write overall. That's partly why I wrote DoMyFile since the one gtkdialog app could then be 'programmed' by easily modifying/adding-to the commandline stored within its dropdown box, and parameters to be passed easily typed into GUI entry boxes. Of course, you can also store a list of bash wrapper scripts within the DoMyFile dropdown command list and use it as a quick launcher for these too. I'm planning to add a couple of optional addons later, via the "hijack" facility; perhaps an optional bottom panel with run pause stop process/command controls and something that allows process termination etc.

I tend to use DoMyFile for testing out ffmpeg commandlines/piped commands and for storing my favourites from FFConvert. You can find out the particular ffmpeg commandline FFConvert is using by examining /tmp/ffconvert and inside there the text file ending with .sh when FFConvert is in the process of converting something.

A couple of screenshots of DoMyFile are attached.

Regards,

William
DoMyFileScreenshot2.jpg
 Description   
 Filesize   58.51 KB
 Viewed   89 Time(s)

DoMyFileScreenshot2.jpg

DoMyFileScreenshot1.jpg
 Description   
 Filesize   23.66 KB
 Viewed   87 Time(s)

DoMyFileScreenshot1.jpg


_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2346
Location: New Zealand

PostPosted: Sat 02 Aug 2014, 07:20    Post subject: new version DoMyFile uploaded  

Download from first post of this thread.

Changes: hijack modules now use .hijack as file extension.

Note: DoMyFile also includes same "hijack" capability as pAVrecord and Precord, which allows you to add your own bottom panel (buttons to activate other apps etc) to the GUI, as a simple addon module. The hijack facility is as described for pAVrecord here:

http://www.murga-linux.com/puppy/viewtopic.php?p=656913#656913

William

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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