Right click options for lupu-525 , lupu-520 , Wary , Slacko

Miscellaneous tools
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#41 Post by don570 »

I modified the Extract-txz script written by Nathan Fisher and Tazoc

It now will open a .tar.xz archive. This format will become more
popular when people realize that it compresses much better that gzip
and it has about the same speed as gzip.

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#42 Post by DaveS »

Slacko?
Spup Frugal HD and USB
Root forever!

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#43 Post by don570 »

There is a lot of confusion about this script.
I just read on the Exprimo page that 'pemasu' has hacked it
as well :lol: All I know for sure is that I first saw it
in the Lighthouse 4.43 distribution by Tazoc over a year ago.
The script that I am using now originated in Lighthouse 503.
The script says clearly that it is written by Nathan Fisher,
But for some strange reason it only extract files
with the extension .txz which is a rare extension, so I
just ignored it till now. Now I realize my mistake, and
Barry Kauler has xz util builtin to recent versions of Wary!!

So the .tar.xz method of compression should become
more popular now.

To test if it is working correctly, go to a website that
distributes files using this extension
http://tukaani.org/xz/
http://www.gnu.org/software/tar/

Download a file and right click it.

___________________________________________

BTW pemasu put his version in /usr/bin/Extract-txz
which has precedence over the 'correct' place to put
it namely /usr/local/bin/Extract-txz

This caused me a lot of confusion ---> I thought
my version wasn't working correctly!! But it just
turned out that pemasu's version was the one
that was recognized by the operating system.
I suggest using 'pfind' to see if the script has been installed
previously.
____________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

new version 5.2.5 available

#44 Post by don570 »

new version 5.2.5 available on first page.

The new feature is extraction of .txz and .tar.xz files.

_________________________________________

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#45 Post by 666philb »

any chance of a dir2pet option?
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#46 Post by don570 »

No, I tried that and found that it was very quirky.
Files just wouldn't tar correctly. I don't know
why that is. I'm not a programmer.

Frankly, just memorizing the command 'dir2pet' isn't too hard :lol:

________________________________________

I mentioned this to Billtoo on another thread.

When you make a pet package that has several applications
inside, it will therefore have several corresponding desktop
files inside.

To make a pet package in this situation is easy if you
know this trick.

Here it is....
Remove all but one desktop file from your folder and proceed
with the regular 'dir2pet' routine.

Then near end of routine, return the desktop files
that you have removed back to their original place.

Then finish the tarring. .... and a final pet is created
that can have several apps inside.


That's how I have been making this Right click pet in recent months.
Apparently not many people know this method.
___________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

new version of Right click 526

#47 Post by don570 »

new version of Right click 526

Lots of new changes under the hood.
Here are the hilites.

1) newest Bacon recorder 233 allows white space in output
name

2) mp3 sound files are converted easily to wave files

3) compatibility to either Nicoedit or leafpad as texteditor

4) bz2 file format is now handled nicely

5) upgrade to zathura_gui 1.9 which can deal with
whitespace in file names

6) Scottman's script txz2pet is now included and txz files
have a right click menu

7) backup_pupsave is now included. This allows your
pupsave file to be backed up each night automatically.
http://www.murga-linux.com/puppy/viewtopic.php?t=71976

Check to see if you are using pschedule 1.0 or higher

Uncompressed Size is now over 1 meg!!!

______________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

version 5.2.7

#48 Post by don570 »

version 5.2.7 - a small upgrade

I tried out newest Wary and decided some
changes are needed to my pet package,
especially how Nicoedit and leafpad are handled.

Also a .patch file now has a right click option

______________________________________________

stu90

#49 Post by stu90 »

Hi don570,
Regarding right click .pet creation -
Pemasu has made a .pet for such a function here:
http://www.murga-linux.com/puppy/viewto ... 936#572936

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#50 Post by don570 »

Thanks. How could I have missed that post?? :oops:

I'll add it in if it works in Wary and Lucid.

_____________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

right click option - new version

#51 Post by don570 »

right click option package - new version 5.2.8

I found Stu's pet useful so I put it in.

It makes a pet package very simply and quickly.

I had better warn inexperienced users that rightclick options
sometimes launch powerful processes that take
over your computer, so be careful which folders you
use this on.
_____________________________________________________

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#52 Post by pemasu »

/mnt/home directory is not recommended one for dir2pet right click. :D :D :D

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

new version

#53 Post by don570 »

new version 529 of Right click

I put in xdialog boxes so users can cancel mp3 conversions
or folder to pet package conversions. This is safer.

___________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

new version 5.3 of Right click pet package

#54 Post by don570 »

new version 5.3 of Right click pet package


-This package corrects small bugs in
baconrecorder and conversion of mp3 and wav files

-Also added in mini-clock icon to make menu of baconrecorder look
nicer. :lol:

_________________________________________________

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#55 Post by Geoffrey »

Hi don570,

I was wondering if it was at all possible for you to make a right click option that copied a image file to /root naming it .rox_background
a system link will also work if " ln -s -f " is used to force it to over write an existing link.

this would be so that a image can be used as a background for Roxfiler, the only other thing to do is add a .gtkrc.mine file to /root with this content

Code: Select all

# Rox background
pixmap_path "/root/"
style "rox" = "default"
{
  bg_pixmap[NORMAL] = ".rox_background"
}
widget_class "*Collection*" style "rox"
x will need to restarted to apply the change, removing the link restores rox back to it's default so maybe a button on the right click menu to do that would be needed also,
I'll leave it up to you on what they should be called, that's only if you feel like doing it, I just felt that it was a handy addition.

Geoffrey
Attachments
rox_background.jpg
(53.44 KiB) Downloaded 1302 times
Last edited by Geoffrey on Thu 27 Oct 2011, 23:58, edited 2 times in total.

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#56 Post by DaveS »

And maybe right click on a directory option 'open with Rox'? Opens Dir in new Rox window...
Spup Frugal HD and USB
Root forever!

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#57 Post by Geoffrey »

DaveS wrote:And maybe right click on a directory option 'open with Rox'? Opens Dir in new Rox window...
Yeah dave, I looked for that, defiantly would be handy, I usually open the directory
then right click the back arrow to open the previous directory in a new window.

I guess it the same thing but back to front :lol:

Geoffrey

User avatar
TheAsterisk!
Posts: 406
Joined: Tue 10 Feb 2009, 08:52

#58 Post by TheAsterisk! »

@Dave S, Geoffrey:

Something like this? It should open the selected directory in a new ROX-Filer window.
Attachments
roxmenu_new.win.pet
(370 Bytes) Downloaded 609 times
Last edited by TheAsterisk! on Thu 27 Oct 2011, 15:37, edited 1 time in total.

stu90

#59 Post by stu90 »

middle click on directory you want to open in a new windows :wink:

or right click script:

Code: Select all

#!/bin/sh
## usage: symlink script to directory customize menu ##
DIR="$@"
 if [ -d "$DIR" ]; then
      rox "$DIR"
    else
      echo "not a directory" && exit
 fi

User avatar
TheAsterisk!
Posts: 406
Joined: Tue 10 Feb 2009, 08:52

#60 Post by TheAsterisk! »

stu90 wrote:middle click on directory you want to open in a new windows :wink:
Nevermind. :lol:

Three years in, and ROX-Filer still manages to surprise me from time to time! It's just so beautifully unlike every other file manager I've ever used.

Post Reply