Page 6 of 14

Posted: Sat 21 Apr 2012, 16:56
by don570
Does this program work with Saluki?
No I don't know the method to put options on the
right click menu.

I tried here with rename-files

http://www.murga-linux.com/puppy/viewto ... 004#618004

but it shows on the 'Send to' menu for all files when
what I want is for rename files to show only for folders.

Yad right click file search

Posted: Sun 29 Apr 2012, 07:53
by Geoffrey
I came across a zenity search script meant for Thunar custom actions, I have modified it for yad and changed some of the code so it now works as it supposed to.

I won't make a pet of it, as it won't uninstall correctly, maybe someone will find some use for it.

It is a basic search, type in the name click ok, then double click the result to open the containing directory.

Code: Select all

#!/bin/bash 
#search-for-files 

maxresults=500 

window_icon="mini-zoom" 

# this script will work for any environment that has bash and yad, so the filemanager is entirely down to you! you can add extra arguments to the string as long as the last argument is the path of the folder you open 
filemanager="rox" 

window_title="Search for Files" 

srcPath="$*" 

if ! [ -d "$srcPath" ] ; then 
cd ~/ 
srcPath=`yad --file-selection --directory --title="$window_title - Look in folder" --window-icon="$window_icon"` 
fi 

if [ -d "$srcPath" ] ; then 

fragment=`yad --entry --title="$window_title - Name contains:" --window-icon="$window_icon" --text="Search strings less than 2 characters are ignored"` 
if ! [ ${#fragment} -lt 2 ] ; then 

( 

echo 10 
O=$IFS IFS=$'\n' files=( `find "$srcPath" -iname "*$fragment*" -printf \"%Y\"\ \"%f\"\ \"%k\ KB\"\ \"%t\"\ \"%h\"\\\n | head -n $maxresults` ) IFS=$O 
echo 100 

selected=`eval yad --list --title=\"${#files[@]} Files Found - $window_title\" --window-icon="$window_icon" --width="600" --height="400" --text=\"Search results:\" --print-column=5 --column \"Type\" --column \"Name\" --column \"Size\" --column \"Date modified\" --column \"Path\" ${files[@]}` 

if [ -e "${selected%|}" ] ; then "$filemanager" "${selected%|}" ; fi 

) | yad --progress --auto-close --pulsate --title="Searching..." --window-icon="$window_icon" --text="Searching for \"$fragment\"" 

fi 

fi 

exit 0

Posted: Mon 30 Apr 2012, 16:34
by don570
Note to Geoffrey : You should read the script by SFR called
Large file finder which also makes a list of files that
can be double clicked. It doesn't use YAD

http://murga-linux.com/puppy/viewtopic.php?t=77779


Actually what I want is a simple utility to find a file based on date.

For instance I want to find all documents written in past week.

I can't get pfind to work correctly doing this even though it
appears to have this functionality.

_______________________________________________

_________________________________________________

New version 5.9.

Posted: Mon 30 Apr 2012, 16:40
by don570
New version 5.9.6

Added split-file to split up mp3 or txt files in smaller chunks
that might be more manageable.

Upgraded rename-files 4.8

Added in SFR's Large file finder
which can be useful to track down larger files.

_______________________________________________

fast find

Posted: Fri 04 May 2012, 00:07
by don570
I made another right click app to find a file fast
but it needs YAD to be installed
so I won't put it in this pet package

http://murga-linux.com/puppy/viewtopic. ... 963#624963

_____________________________________________________

Posted: Mon 25 Jun 2012, 00:50
by oldyeller
Hello,

Will this work on Slacko 533

Posted: Mon 25 Jun 2012, 18:48
by don570
I've tested it on Slacko 531 so it should work with
future versions. Occasionally developers change a link
or the wording of a right click menu item and that
causes a dead menu item to appear . That can
be fixed by the user by just dragging it to the trash can .

______________________________________________

Posted: Tue 26 Jun 2012, 17:36
by vicmz
It didn't work for me on latest Slacko 5.3.3 menus remain as usual. Works in Wary 5.3 though. Maybe UTF-8 has something to do, I know there's espanol-right-click but I find it outdated compared to the original, which is more fulfeatured.

Posted: Tue 26 Jun 2012, 18:04
by oldyeller
I did have success on Slacko 533

I have already used it to make sfs

New version 1.9.7

Posted: Wed 27 Jun 2012, 23:50
by don570
New version 5.9.7

Download available on first page


I checked on Slacko 533 which has been just released.

I noticed that Slacko doesn't have a method to check MD5sum
so I added my version of Check MD5sum.

It will only be seen when Slacko is used.
A comparison of MD5sums can be made to see if download was successful.

______________________________________________

Posted: Mon 09 Jul 2012, 09:20
by smokey01
Don,

Any chance you have a copy of right-clicks for Fatdog64-600? Wink wink, nudge nudge.

Posted: Mon 09 Jul 2012, 13:42
by russoodle
Thanks Don, working well in Slacko 5.3.2.7 :)

Posted: Mon 09 Jul 2012, 23:23
by don570
Any chance you have a copy of right-clicks for Fatdog64-600?
I don't have a 64 bit machine, just old IBM desktops which
do a great job running linux.

People are free to modify the package anyway they like and post it.

Here are the instructions to make your own package.

1) Extract my package in /root. You will see a folder. Rename the folder
to a different name.

3) Switch Rox so that hidden files are shown. Make modifications
especially in /foldername/root/.config/rox.sourceforge.net/OpenWith/

4) To make the final package --->

Make a temporary work folder and drag all desktop files except one to
this temporary work folder. This fools the application dir2pet
into thinking that there is only one application inside your folder.


Launch the terminal program and type

Code: Select all

dir2pet  foldername
Go through the steps as normal but stop just before end
to put the desktop files back in their proper place
(foldername/usr/share/applications/).

Then finish the process and you will see a finished pet package in
your home folder.

You have fooled dir2pet into thinking that there is only one
application in the package.

__________________________________________________



/

Posted: Tue 10 Jul 2012, 08:53
by smokey01
Thanks Don.

I haven't had a close look at your architecture yet but I think it may be significantly different in Fatdog. I took a risk and installed your latest package to Fatdog and nothing showed up in the rox menu system. FD uses openbox by default, not JWM although I'm not sure if that would make a difference.

I will try your directions and see if I have any luck. I assume right-clicks uses already installed apps which may not be available in FD.

Right-clicks is great and really simplifies use of Linux. I think a lot of people would be happy to see this in FD.

Thanks again.

Posted: Wed 11 Jul 2012, 07:42
by CatDude
Hi

To get right clicks working in Fatdog, you need to create a symlink.
(i used this package: Right-click-5.9.7.pet)

Take a look in here: /root/.config/rox.sourceforge.net
and see what directories you have.

The attached images show:
  • what i had to begin with,
    what i had after installing the Right-click-5.9.7.pet,
    what i had after creating the symlink.
The symlink was created with this command:

Code: Select all

ln -s /root/.config/rox.sourceforge.net/OpenWith /root/.config/rox.sourceforge.net/SendTo
Obviously, this does not mean that every 'Right Click' menu entry will work,
you will need to try them and see if they do or don't.


Hope this helps
CatDude
.

Posted: Sat 14 Jul 2012, 17:37
by don570
Please help me. I don't have a 64 bit computer.

Is it possible to find the version of fatdog
easily such as typing in terminal.....

Code: Select all

cat /etc/puppyversion
If I knew if fatdog was the version that the user was using then
I could install the right clicks in /SendTo.

Then a user could give me a list of right clicks that
are useless and should be delected.

It would be simple to do if someone helped me. :?:

______________________________________________

Version 5.9.8 (July 14)

Posted: Sat 14 Jul 2012, 18:05
by don570
Version 5.9.8 (July 14)

1) HFS images can be made. This is useful in Emulation
of a MAC computer by Puppy linux. This allows files to be
transferred to Client side in the form of an image.
Just put the file(s) you want to transfer into a folder and
make an HFS image ---> it will have .dsk extension

Mini vMac alows image to be dragged to it's window
Basilisk allows the image to be chosen at the time of launch or
else use the file sharing folder.

2) compression 1.5 added

3) dir2iso by shinobar was added but I used old name of script

_____________________________________

Posted: Sat 14 Jul 2012, 21:29
by smokey01
don570 wrote:Please help me. I don't have a 64 bit computer.

Is it possible to find the version of fatdog
easily such as typing in terminal.....

Code: Select all

cat /etc/puppyversion
If I knew if fatdog was the version that the user was using then
I could install the right clicks in /SendTo.

Then a user could give me a list of right clicks that
are useless and should be delected.

It would be simple to do if someone helped me. :?:

______________________________________________

Don,

Code: Select all

cat /etc/puppyversion
does not work but

Code: Select all

uname -a
produces the following results:

Linux fatdog64-52245 3.4.4 #1 SMP Sat Jun 23 18:31:59 GMT 2012 x86_64 GNU/Linux

Posted: Mon 16 Jul 2012, 22:25
by don570
Good!! Thats enough info for a beta :lol:

____________________________________

Posted: Thu 16 Aug 2012, 20:24
by oldyeller
Hello don,

Would you be willing to do one for precise, I would like to include it in the nest build

Cheers