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 Thu 16 Aug 2018, 16:05
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Find'N'Run
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 7 [104 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
LazY Puppy


Joined: 21 Nov 2014
Posts: 2007
Location: Germany

PostPosted: Fri 27 Mar 2015, 10:59    Post subject:  

Quote:
What a waste of time and talent

Laughing

NO! NO! NO!

Laughing

To me it was worth every little milli-second to hack that Find'N'Run Script to my personal needs.

At the current state of my hack, I got immediately Access to all of my Files, internal Apps, external Scripts, RoxApps, SFS Modules, Linux Portables and Wine Portable Apps - by a single GUI.

Executing a Wine App loads a Wine SFS automatically first.
Executing a SFS Module sends it to my SFS-Handler, which offers just to load and run the SFS Module or to edit, add dependencies, mount it to view content etc.pp.

Still Find'N'Run to me is the application of the month! Smile

My personal Hack of this script is my personal development of the year! Very Happy

As I said: I had a quick go on dmenu2, but I'm convinced, modifying it to my needs would have taken an equal amount of work, without to be sure to achieve any equal results!

And it would force me to install stuff into my Puppies and to do a remaster - at least once.

By the way:

I have over 4230 Files in the List of my Files and it takes less than a second to find a file (after the .desktop files have been created once). Very Happy

_________________
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) Laughing

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! Wink
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Fri 27 Mar 2015, 15:29    Post subject:  

That was to be expected: a defensive developer! Smile
Still developing a logical entity needlessly...

Use dmenu2, Ladies and Gentlemen, dmenu2!!!

_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
LazY Puppy


Joined: 21 Nov 2014
Posts: 2007
Location: Germany

PostPosted: Fri 27 Mar 2015, 17:33    Post subject:  

musher0 wrote:
That was to be expected: a defensive developer! Smile
Still developing a logical entity needlessly...

Use dmenu2, Ladies and Gentlemen, dmenu2!!!

I love you too... Wink

_________________
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) Laughing

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! Wink
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Fri 27 Mar 2015, 17:57    Post subject:  

LazY Puppy wrote:
musher0 wrote:
That was to be expected: a defensive developer! Smile
Still developing a logical entity needlessly...

Use dmenu2, Ladies and Gentlemen, dmenu2!!!

I love you too... Wink


Wink

_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 302
Location: indonesia

PostPosted: Sat 28 Mar 2015, 13:15    Post subject:  

Hey, this is very sophisticated!
I think it's very great if it was combined to PupMenu.
And with a little wmctrl and shortcut, it can be so amazing.
Wink Wink
Back to top
View user's profile Send private message 
LazY Puppy


Joined: 21 Nov 2014
Posts: 2007
Location: Germany

PostPosted: Sat 28 Mar 2015, 22:51    Post subject:  

Quote:
Hey, this is very sophisticated!
I think it's very great if it was combined to PupMenu.
And with a little wmctrl and shortcut, it can be so amazing.

Did you have a look at the screenshot of my hacked version of Find'N'Run a few posts up?

No need for PupMenu, but yes: for my additional functions I'm using wmctrl AND xdotool!

This is really fantastic... Very Happy

_________________
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) Laughing

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! Wink
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1660

PostPosted: Sun 29 Mar 2015, 07:04    Post subject:  

@RSH/Musher0: Nice to see your love is blooming. Wink

Ok, let's make it "final" - version 1.0.
See first post for changelog.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3151
Location: The Blue Marble

PostPosted: Sun 29 Mar 2015, 08:35    Post subject:  

Quote:
Still Find'N'Run to me is the application of the month!

Seconded Very Happy

SFR - thanks for the update.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 302
Location: indonesia

PostPosted: Sun 29 Mar 2015, 12:19    Post subject:  

Aah.. I remember now.
Some year ago, I also write a mukstart. It's like find n run.. Here it is:
http://murga-linux.com/puppy/viewtopic.php?p=722606#722606
My script can just search and then just press enter to run the top of list. Maybe find n run can do this rather than press enter twice for running top of list.
it can more eye candy if find n run use color every two row. I use:
Code:
tree rules-hint="true"


Note:
Watch out your background. Wink Please try my script in pfix = ram.
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3151
Location: The Blue Marble

PostPosted: Thu 02 Apr 2015, 03:14    Post subject:  

Version 1.0: bug report: In Fatdog, I have two similar menu entries: mtPaint and mtPaint Snapshot. When I typed "mtP" both shows up, but whatever I do (enter enter, or click enter, or double click on the "mtpaint entry") I cannot launch mtPaint - I always get "mtPaint Snapshot".
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
LazY Puppy


Joined: 21 Nov 2014
Posts: 2007
Location: Germany

PostPosted: Thu 02 Apr 2015, 03:27    Post subject:  

Try to change:
Code:
${LOC1} ${LOC2} ${LOC3}

to:
Code:
'${LOC1}' '${LOC2}' '${LOC3}'

I've done this in my hack of Find'N'Run and it works correctly.

_________________
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) Laughing

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! Wink
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 302
Location: indonesia

PostPosted: Thu 02 Apr 2015, 04:04    Post subject:  

FOI, we can open everythings file with
Code:
rox /our/location/file
this trick also can be added in find n run, I think.. So not only bin application, but also file in some directory. Nah, we choose a directory that we want to search.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1660

PostPosted: Thu 02 Apr 2015, 05:36    Post subject:  

@Recobayu: F'N'R is for launching apps that you can normally find (only) in Menu. Other binaries (without menu entry) or normal files are rather out of scope of this app...
rules-hint="true" - well, I don't know...it makes more sense for multiple columns.
mukstart - yes, I've seen it before; nicely done!
___________

@Jamesbond: confirmed - I don't know why, but with --include="*.desktop" option mtpaint-snapshot gets found before mtpaint:
Code:
# grep -h -r -C1000 "^Name.*=mtPaint" /usr/share/applications --include="*.desktop" | grep '^Exec='
Exec=mtpaintsnapshot.sh
Exec=mtpaint %F
#

Before v1.0 it was like this (but recursion didn't work):
Code:
# grep -h -r -C1000 "^Name.*=mtPaint" /usr/share/applications/*.desktop | grep '^Exec='
Exec=mtpaint %F
Exec=mtpaintsnapshot.sh
#

Anyway, the $ fixed that:
Code:
# grep -h -r -C1000 "^Name.*=mtPaint$" /usr/share/applications --include="*.desktop" | grep '^Exec='
Exec=mtpaint %F
#

Thanks for reporting this.

Btw, there's another minor glitch in FD (dunno how to fix it gracefully, though) - if you type "trans", it finds only "Start Transmission Minimized", however it launches Transmission in a normal way.
That's because Transmission's .desktop file contains a second 'Name=' field, which gets picked up by F'N'R (due to 'tac').
___________

@RSH: Hmm, it works for me with or without single quotes (since these variables are exported), but if it works better for you, I changed it that way (and withdrew exporting).
___________

First post updated!

Thanks all &
Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1660

PostPosted: Fri 03 Apr 2015, 15:17    Post subject:  

Version 1.2 - small update:

X11VNC Server in Fatdog has "unusual" Exec line:
Code:
Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o "%HOME/.x11vnc.log.%VNCDISPLAY"

It didn't work correctly when invoked via F'N'R, because all stuff after the first % got truncated.
Now fixed, first post updated.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Fri 03 Apr 2015, 19:36    Post subject:  

No-no-no-no... This doesn't work as intended.

Find'N'Run only works if you double click on the name of the program in
the list. No other way.

The "tick" for "stay open" doesn't work. The window closes anyway when
the selected program is launched.

Finally, if you type anything in the top rectangle to narrow the search, the
entire window closes.

This script needs a serious re-fit... Good luck!

And as I told L18L earlier today, "if I may have the pleasure of tightening
the screw, [by comparison] dmenu2 [just] works."

Sorry for being so frank, but that's how it is, guys.
(Versions tested : 0.9 and 1.2)

Bye for now.

musher0

_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 7 [104 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
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.0594s ][ Queries: 14 (0.0037s) ][ GZIP on ]