[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Linux Search
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 101
Thread images: 22
File: everything.webm (3 MB, 856x644) Image search: [Google]
everything.webm
3 MB, 856x644
>Linux will never have everything search engine.... blabla

So heres another update to angrysearch - attempt at making Everything Search Engine for Linux

>github
https://github.com/DoTheEvo/ANGRYsearch

>whats new
easy manual installation with install.sh bash script
basic keyboard shortcuts to get focus of search input or quit
simple context menu on right click
quotation marks work for explicit search

FTS5 implementation where available, currently only Arch
https://www.sqlite.org/fts5.html
this gives ability to remove unwanted results with minus sign, like
video -webm


FTS5 also ignores diacritic/accent
so search for
operator
would show in results 'ôperàtor'

also important fix for the slow but precise nonFTS search(checkbox top right)
the order of searched terms mattered before, now it does permutations of input so you can be sure that if it exists on the system it will be shown
>>
File: 1456657169418.gif (1 MB, 590x370) Image search: [Google]
1456657169418.gif
1 MB, 590x370
angrysearch in action
>>
File: gif_1462732733.gif (771 KB, 715x489) Image search: [Google]
gif_1462732733.gif
771 KB, 715x489
I made also a gif of the installation with the new bash script
but it kinda felt meh.. too large, too attention dragging to be put on the github readme page

but here it is...
>>
File: image.png (11 KB, 408x408) Image search: [Google]
image.png
11 KB, 408x408
>mfw linux tries to reinvent search that microsoft mastered on idk xp? when cortana searches the phrase you want on the fucking PICTURES with ocr so you can get that photo of that blurry recipe or whatever on your phone in mere seconds because it also works with connected cloud services too.
>>
>>54451700
>windows search
>good
lol
>>
find . -iname "filename"
>>
regex support?
>>
>>54451700
the default search in windows has the same shortcomings as the many searches in linux
go find some non executable file in program files and search for it...

>>54451778
find . -iname "*.webm"

and what now what to do with results when its just giant list and you cant adjust and filter out the results more based on what you see

>>54451790
sqlite can do it according to quick google so it could be done
cant really see it used often or by many people..
though it might actually be pretty nifty regex tester, seeing results go live as you play with the regex expression
will look in to it
>>
>>54451917
>sqlite can do it according to quick google so it could be done
cool really the only thing I can think of that I use often with everything search is wildcards * and the video/audio/everything filters
>>
>>54451197
OP - if this is yours, thank you. People like you are the reason Linux is great. I really appreciate it. I'm flat broke at the moment but I'll buy you a beer as soon as I get my first paycheck in a few weeks. I'll star your Github repo too.

Have you packaged it for the AUR yet?
>>
>>54451207

nice
>>
>>54451790
find . -iregex ".*foo$"
>>
>>54451197
Also, you should put a bitcoin/paypal address that you'd take donations at
>>
>>54441968
>>
>>54452359
Fuck off, this diserves its own thread you shitty backseat mod.
>>
>>54451207
good. But can I click that mp3 and open it in my preferred player from Angrysearch?
>>
>>54452127
thnx for the praise, but it dont really feel very earned
this project is surprisingly easy, as in I had like codecademy python course done when I started to tinker with it..
but its shame that actual professional programmers with some C magic did not pick up on everything.. that shit would be tiny and awesome

this is just input field for searching in 200MB large database and table with results with some fluff around it

>Have you packaged it for the AUR yet?
yeap its up

>>54452555
yeap
>>
File: mlocate.gif (21 KB, 1366x768) Image search: [Google]
mlocate.gif
21 KB, 1366x768
>people don't have mlocate installed in 2016
>>
>>54452705
>typing mlocate instead of simply locate
>>
where's the ebuild at?
>>
This is the first useful thing I've seen on gee
>>
https://github.com/junegunn/fzf
>>
>>54451197
The fuck is the point of this?
Fuzzy search isnt new
>>
>>54453029
to find what you want as fast as possible
or to get fast where you want to go

and after you get to it you can actually make use of it right away
>>
>>54451197
find / &| grep "chrome"
>>
>>54453106
sneaky
>>
>>54451197
what's wrong with locate(1)?
you don't even need X to run it
>>
>>54454139
cumbersome and unwieldy, hard to make use of the results

its on completely different level to just press alt+space, angrysearch opens and write part of the name of a tv series that you want to continue watching and be there with next 2 key presses

or to search for stuff and filter results depending on what you see instantly popping up...
>>
>>54451197
>>54451207
Looking pretty good.
>>
how do you change the icon?
>>
>>54451197
whats wrong with
locate <thing>
>>
File: 1442178172506.png (26 KB, 566x367) Image search: [Google]
1442178172506.png
26 KB, 566x367
>>54451197
Linux has had this functionality for ages you retard.
>>
>>54455647
>>54455827
>having to hit enter

inferior searching tool
>>
>>54455844
>HUR I CAN'T PRESS ENTER IT'S TOO HAAAARRRD. WAAAAAAAAH
Fucking winfags man, absolute fucking retards.
Pressing enter is too hard for them.
>>
>>54451197
how does this differ from ‘locate’?
>>
>>54451284
>I made also a gif of the installation with the new bash script
make a fucking package REEEEEEEEEEEEE

not some stupid bash install script
>>
File: 1456341484134.png (315 KB, 400x388) Image search: [Google]
1456341484134.png
315 KB, 400x388
>>54455883
>being this much of a buttfrustrated anti-GUI tard
>clogging up your bash history with locates
>>
>>54455936
>bash
>>
>>54451197
>locate brain
>not found
>>
Why is it that angrysearch need to manually update the database when everything knows about all your new files instantly?
>>
File: 1354045994223.gif (467 KB, 270x203) Image search: [Google]
1354045994223.gif
467 KB, 270x203
the most productive thing /g/ has ever done in it's entire existance.

Thank you based OP
>>
File: 1283439949055.gif (64 KB, 360x357) Image search: [Google]
1283439949055.gif
64 KB, 360x357
>entire project is one big py-qt script
>>
>>54456327
write a better one or shut the fuck up
>>
>>54455936
>bash
>>
>>54451778
>
find . -iname "filename"


Good! Now integrate that into a file manager.
>>
>>54455827
>>54455883
>Have to press enter AND type in some long complex command to use the files

Just fuck off.
>>
>>54456643
>some long complex command
>>
>>54451197
>linux
>functionality
lol
>>
>>54455883
>>54456721
fewer steps is better than more steps

I know it's difficult to accept that your precious command line interface is not better at everything.
>>
File: 14267263392957.jpg (222 KB, 1248x618) Image search: [Google]
14267263392957.jpg
222 KB, 1248x618
>>54455827
>need to find a file
>have to type shit into the terminal and hack the mainframe like you're in the fucking matrix or something
linux is garbage
>>
>>54451284

>install.sh
>not utilizing python's setuputils
>not using that to create a proper package for any distribution
>>
>>54452820
Shit, he even went and developed something instead of just the logo.
What a time to be alive.
>>
>>54451197
Can it crawl folders that begin with a #?
Everything cant
>>
>>54451700
>cortana searches the phrase you want on the fucking PICTURES with ocr

Is this actually for real? Sweet
>>
File: overvie.png (36 KB, 400x600) Image search: [Google]
overvie.png
36 KB, 400x600
>>54458428
theres arch, opensuse and fedora packages
setup.py install I saw only used for modules not actually whole applications
and more linux users should be familiar with few lines of bash

>>54456327
yeah, not ideal I guess, if you know of some similar size project that does separation well do tell... I feel like i would be just forcing it for the sake of separation with few classes

I guess database update might be better as separate file with some changes that would make it work for both update from within the main application and on a cronjob...

>>54458560
yeap, it can crawl in to folders named ^@{#}$:::
linux is not picky about the naming
>>
>>54456280
>when everything knows about all your new files instantly?
It doesn't.
>>
Make it so that angrysearch creates a lockfile or I can configure the systray feature.

Currently I use krunner to run it, but it keeps spawning new instances and spamming my systray. Either make it not minimize to the systray, or check if an instance is already running and bring that one up instead.
>>
>>54459877
will check, I can confirm that KDE is virtual box is doing it to me too
>>
>>54458584
of course not--too much for microcucks to develop
>>
>>54458588
>setup.py install I saw only used for modules not actually whole applications
setup.py installs your package to be usable from python and your scripts to be contained in your path, thus making it perfectly easy to create standalone application installers with it. also the __main__.py contains code which gets executed when the package is called on its own, thus making it an executable application as well.
>>
>>54455647
>>54455827
>0.25s
This is horrendously slow compared to Void's everything.
>>
>winfags and linuxcucks desperately trying to recreate what os x had for ages
good job, guys
>>
>>54461416
> people improving and creating software
> the only way something ever got good
> competition is bad
> hurr I'm a retard

Good job man.
>>
>>54461416
I read this few times, but I am skeptical
is os x search really that good even for system files? with instant awareness of everything?

Because if its just for home its meh
>>
>>54461448
i never said any of those things

>>54461497
it's not everything for sure, but it indexes more than home folder. you can also use it in terminal with fzf or whatever. same with locate.
>>
>>54461578
You were clearly making fun of the people writing software.

> winfags and linuxcuks desperately

Nice way to backpedal, but at least you realized how stupid you sounded.
>>
>>54451207
god this is the most useless tool I have every come across in linux.
If it indexed the contents of the files, then yes it would be cool.
Otherwise it completely fucking useless.
plus it's a horrible gui utility
as the others have said, it is nothing locate + grep can't do

I couldn't even understand why someone would even want to write a tool like this. Then I took a look at the guy's github. Six crappy repositories of even more useless shit. This guy is no better than that stupid model who has a few github repos. What's worse is that he's trying to whore out his program on the /flt/.

That guy probably is learning from the /dpt/s or something. Kudos to him for the effort and trying to learn. But please check whether or not there exists a decent solution to the problem you are trying to solve.
>>
>>54462204
>as the others have said, it is nothing locate + grep can't do
except being faster and more comfortable and you actually can make use of the results immediately

also whats the output of this on your system, assuming bash

grep -o "locate" ~/.bash_history | wc -l
>>
>>54462425
my count is 13, but I'm on a new system
I only use locate to hunt down include files

>except being faster and more comfortable and you actually can make use of the results immediately
for the linux power user, he's rather not fire up a gui when he can do everything from the command line
for the users new to linux, i'm pretty sure any decent file manager on nix has this search functionality
the guy is reinventing the wheel
>>
File: 2016-05-09.png (2 MB, 2736x1824) Image search: [Google]
2016-05-09.png
2 MB, 2736x1824
>>54461120
SCUZA SINYORE
>>
File: vid_1462810078.webm (378 KB, 1232x803) Image search: [Google]
vid_1462810078.webm
378 KB, 1232x803
>>54462508
>for the linux power user, he's rather not fire up a gui when he can do everything from the command line
if gui is faster then power user chooses faster solution, better suited for the task
not sticking with universal tools when specialized one offers more

>for the users new to linux, i'm pretty sure any decent file manager on nix has this search functionality
the guy is reinventing the wheel
which is still inferior in some aspects, especially if new user would want to find and get to some config files
>>
File: 1454688639287.png (175 KB, 486x370) Image search: [Google]
1454688639287.png
175 KB, 486x370
>>54451197
When will you newfags learn that the OS is called GNU and Linux is just one of it's kernels?

Damn summer.
>>
>>54456280
>Why is that angrysearch follows the limitations of computer hardware when everything can break the laws of physics?
>>
Good on ya mate, thanks for the tool and keep up the great work
>>
File: 1384742288641.gif (490 KB, 167x250) Image search: [Google]
1384742288641.gif
490 KB, 167x250
>>54456307
here's your (you)
>>
>>54455827
>terminal crap

>relevant

kekekeke


>>54451197

Looks nice. I have already Kupfer and Albert installed but I'm going to try out yours, too.
>>
>>54451207
please add this:
- pressing enter key changes focus from search textbox to results window
- minimize to notification area on close/minimize (escape key press)
- black icon with four red dots is disgusting :)
>>
>>54451197
$ find / | grep "bbc.mkv"
>>
>>54463210
>kupfer
if you on kde then go for the latest commit
it fixes quitting the application, where on KDE it kept living in tray unless closed through tray icon menu
>>
everything is so fucking great holy shit i love that program.

for a small example of its utility, i wasn't sure where save files for DaS3 were located, but instead of googling it i just had to press insert (hotkey to launch it) type .sl2.
>>
>2016
>trying to reinvent locate
>>
>>54463225
>pressing enter key changes focus from search textbox to results window
sure
>minimize to notification area on close/minimize (escape key press)
harder, next launch of application would need to be aware of instance running
maximize it, and quit itself
also it would then need probably some hotkey to show/hide since it would be living in tray
it starts fast so just keybind it to start on some combo... I use alt+space
>black icon with four red dots is disgusting :)
but simple and recognizable easily
>>
>>54463267
locate is just a bash alias for "find / | grep <bla bla>"
>>
>>54463806
/g/ is just an internet alias for /dev/wrong
>>
>>54462694
Damn. Windows is truly superior.
>>
>>54463225
>- black icon with four red dots is disgusting :)

make a better one
>>
>>54463236

I'm on xfce and it's ok for me if it sits in the panel. But thanks anyway.
>>
File: 1462558114806.png (567 KB, 514x989) Image search: [Google]
1462558114806.png
567 KB, 514x989
>pyqt
and i had hopes
>>
File: really.gif (2 MB, 300x290) Image search: [Google]
really.gif
2 MB, 300x290
>>54462951
>finals have barely started at universities, nevermind highschools
>Damn summer
>>
File: pretending.jpg (162 KB, 499x279) Image search: [Google]
pretending.jpg
162 KB, 499x279
>>54456850
>>
>>54463276
thanks man

>>54464554
>make a better one
i wish i could
>>
What is the equivalent of this for dmenu?
>>
>>54465445
dmenu extended?
>>
>>54463806
I can't believe I share a board with you people
>>
>>54452607
>this project is surprisingly easy, as in I had like codecademy python course done when I started to tinker with it..
Da fuq.
Kudos for that OP.
>>
File: YhN5WVs.jpg (5 KB, 315x44) Image search: [Google]
YhN5WVs.jpg
5 KB, 315x44
this is what i need
>>
thanks for the virus, OP
>>
File: opdelivers.jpg (75 KB, 294x312) Image search: [Google]
opdelivers.jpg
75 KB, 294x312
This is the kind of software we need for making GNU/Linux great again.

ANGRYsearch should be shipped by default for all baby's first distros because is an excellent piece of software, ideal for first timers. Plus is GPL!

The only thing I would argue is using python instead of C, but great job nonetheless OP.
>>
Why are so many useless feature requests to OP? That's the last thing you do unless you want mission creep.

Don't do that faggots.
>>
>>54469101
Fucking troll. Cancer always comes when someone makes a good thing for a change.
>>
>install
>start
>hit update
>choose icon theme
>hit update
>segfault
Yup, nice program you got here.
Thread replies: 101
Thread images: 22

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.