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

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

#101 Post 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.

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

Yad right click file search

#102 Post 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
Attachments
Screenshot-2.png
(13.13 KiB) Downloaded 711 times
Screenshot-3.png
(84.17 KiB) Downloaded 719 times
Right-click-yad-file-search.tar.gz
(1.26 KiB) Downloaded 567 times

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

#103 Post 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.

_______________________________________________

_________________________________________________

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

New version 5.9.

#104 Post 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.

_______________________________________________

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

fast find

#105 Post 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

_____________________________________________________

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#106 Post by oldyeller »

Hello,

Will this work on Slacko 533

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

#107 Post 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 .

______________________________________________

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#108 Post 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.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#109 Post by oldyeller »

I did have success on Slacko 533

I have already used it to make sfs

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

New version 1.9.7

#110 Post 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.

______________________________________________

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#111 Post by smokey01 »

Don,

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

User avatar
russoodle
Posts: 707
Joined: Fri 12 Sep 2008, 17:36
Location: Down-Under in South Oz

#112 Post by russoodle »

Thanks Don, working well in Slacko 5.3.2.7 :)
[i][color=Green][size=92]The mud-elephant, wading thru the sea, leaves no tracks..[/size][/color][/i]

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

#113 Post 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.

__________________________________________________



/

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#114 Post 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.

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#115 Post 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
.
Attachments
pre-install.png
(23.41 KiB) Downloaded 633 times
post-install.png
(34.57 KiB) Downloaded 673 times
with-symlink.png
(39.34 KiB) Downloaded 702 times
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

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

#116 Post 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. :?:

______________________________________________

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

Version 5.9.8 (July 14)

#117 Post 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

_____________________________________

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#118 Post 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

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

#119 Post by don570 »

Good!! Thats enough info for a beta :lol:

____________________________________

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#120 Post by oldyeller »

Hello don,

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

Cheers

Post Reply