this post was submitted on 05 Jun 2024
819 points (98.8% liked)

linuxmemes

21192 readers
554 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
    819
    submitted 5 months ago* (last edited 5 months ago) by ordellrb@lemmy.world to c/linuxmemes@lemmy.world
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] corsicanguppy@lemmy.ca 109 points 5 months ago (2 children)
    */1
    

    Get out. You're fired.

    [–] ordellrb@lemmy.world 62 points 5 months ago (3 children)

    Oh does * mean every minute anyway.

    [–] LodeMike@lemmy.today 47 points 5 months ago (1 children)
    [–] Agent641@lemmy.world 27 points 5 months ago (1 children)
    [–] LodeMike@lemmy.today 6 points 5 months ago (1 children)
    [–] masterofn001@lemmy.ca 9 points 5 months ago (1 children)
    [–] LodeMike@lemmy.today 4 points 5 months ago (3 children)

    Yes but why are you saying that to me?

    load more comments (3 replies)
    [–] Tartas1995@discuss.tchncs.de 28 points 5 months ago

    You are learning which is great.

    [–] crispy_kilt@feddit.de 11 points 5 months ago* (last edited 5 months ago)

    The sysadmin version of

    if(predicate) { return true; } else { return false; }

    [–] ptz@dubvee.org 80 points 5 months ago (3 children)

    Gotta chain that with arecord too if you want the full, Orwellian experience.

    [–] driving_crooner@lemmy.eco.br 28 points 5 months ago (1 children)

    How to add a picture from the Webcam?

    [–] ptz@dubvee.org 34 points 5 months ago (1 children)

    ha, yeah. Throw in some fswebcam too. lol

    Don't forget to export your clipboard to plaintext

    [–] overload@sopuli.xyz 24 points 5 months ago

    The telescreen received and transmitted simultaneously. Any sound that Winston made, above the level of a very low whisper, would be picked up by it; moreover, so long as he remained within the field of vision which the metal plaque commanded, he could be seen as well as heard. There was of course no way of knowing whether you were being watched at any given moment.

    [–] ordellrb@lemmy.world 12 points 5 months ago

    nice, i always wanted a telescreen in my house

    [–] Rudee@lemmy.ml 58 points 5 months ago (1 children)

    Its missing the command to forward every screenshot to Microsoft

    [–] ordellrb@lemmy.world 32 points 5 months ago

    Something like: > sftp://telemetry.microsoft.com that would be even better.

    [–] DannyBoy@sh.itjust.works 47 points 5 months ago* (last edited 5 months ago) (6 children)

    That's not the worst idea ever. Say a screenshot is 10 mb. 10x60x 8 hours =4800mb per work day. 30 days is 150gb worst case scenario. I suppose you could check the previous screenshot and if it's the same, then don't write a new file. Combine that with OCR and a utility to scroll forward and backward through time, it might be a useful tool.

    [–] RandomLegend@lemmy.dbzer0.com 34 points 5 months ago (2 children)

    Are you on 16k resolution or something?

    When i take a screenshot of my 3440x1440 display it's 1MB big. I mean this doesn't change the issue in its core but dramatically downsizes it

    [–] NeatNit@discuss.tchncs.de 22 points 5 months ago

    they're running 10 screens in parallel

    [–] DannyBoy@sh.itjust.works 6 points 5 months ago (1 children)

    I just chose a number haha. That makes it much more feasible then.

    [–] RandomLegend@lemmy.dbzer0.com 10 points 5 months ago* (last edited 5 months ago) (3 children)

    Also, 1MB on full resolution. You could also downscale the images dramatically after you OCR them. So let's say we shoot in full res, OCR and then downscale to 50%. Still enough so everything is human readable, combined with searchable OCR you're down to 7,5GB for a whole month.

    Absolutely feasable. Let's say we're up to 8GB to include the OCR text and additional metadata and just reserve 10GB on your system for that to make double sure.

    Now you have 10GB to track your whole 3440x1440 display.

    load more comments (3 replies)
    [–] meekah@lemmy.world 27 points 5 months ago (3 children)

    Running OCR every second sounds like a great way to choke your CPU

    [–] DannyBoy@sh.itjust.works 6 points 5 months ago (1 children)

    Once a minute, and only if the screen contents change. I imagine there's something lightweight enough.

    [–] MacNCheezus@lemmy.today 6 points 5 months ago* (last edited 5 months ago) (1 children)

    In order to be certified for running Recall, machines currently must have an NPU (Neural Processing Unit, basically an AI coprocessor). I assume that is what makes it practical to do by offloading the required computation from the CPU.

    Apparently it IS possible to circumvent that requirement using a hack, which is what some of the researchers reporting on it have done, but I haven't read any reports on how that affects CPU usage in practice.

    load more comments (1 replies)
    [–] RandomLegend@lemmy.dbzer0.com 3 points 5 months ago

    You could optimize it though.

    As said one comment above, check if it's the same composition as before and don't take a screenshot if it didn't change. Make some rules to filter out video content so if you have a youtube video open it doesn't take a screenshot every second just because the video is running.

    Or you could actually integrate this with your window manager. Only take a screenshot if you move / resize / open / close a window. Make a small extension for browsers that tell it to make a screenshot if you scroll / close / open a page. Then you don't have to make a screenshot and compare with the one before.

    This wouldn't be as thorough as just forcing screenshots all the time and you would probably not catch stuff like writing a text in libreoffice as you don't change anything with the window. But it could be a resourceful way to do that.

    And if for example no screenshot was taken for 1 minute because nothing called for that, you could just take one regardless. That way you have a minimum of one screenshot per minute or as often as window manager / browser calls for it.

    load more comments (1 replies)
    [–] Evotech@lemmy.world 19 points 5 months ago* (last edited 5 months ago) (2 children)

    That's what recall is... It's literally screenshotring and. Ocr / ai parsing Combined with a sqllite database

    [–] barsquid@lemmy.world 10 points 5 months ago

    I think it would be hugely useful.

    But obviously I don't want a malware company like Microsoft doing that "for me" (actually the purpose is hyperspecific ads if not long term planning to exfiltrate the data).

    Not sure if I even trust myself with the security that data would require.

    load more comments (1 replies)
    [–] takeheart@lemmy.world 8 points 5 months ago

    I mean taking the screenshot is the easy part, getting reliable OCR on the other hand ...

    In my experience (tesseract) current OCR works well for continuous text blocks but it has a hard time with tables, illustrations, graphs, gui widgets, etc.

    [–] renzev@lemmy.world 5 points 5 months ago

    I suppose you could check the previous screenshot and if it’s the same

    Hmmm... this gives me an idea... maybe we could even write a special algorithm that checks whether only certain parts of picture have changed, and store only those, while re-using the parts that haven't changed. It would be a specialized compression algorithm for Moving Pictures. But that sounds difficult, it would probably need a whole Group of Experts to implement. Maybe we can call it something like Moving Picture Experts Group, or MPEG for short : )

    load more comments (1 replies)
    [–] JackGreenEarth@lemm.ee 20 points 5 months ago (3 children)

    What does that command do?

    [–] hitwright@lemmy.world 58 points 5 months ago* (last edited 5 months ago) (1 children)

    Takes a screenshot every minute and saves it

    [–] JackGreenEarth@lemm.ee 7 points 5 months ago (3 children)

    Can you search the screenshots with OCR though? That's Recall's main selling point

    [–] Aux@lemmy.world 59 points 5 months ago (3 children)

    You can start by running sudo apt install tesseract-ocr and then reading its docs.

    [–] Morphit@feddit.uk 29 points 5 months ago

    Fulfills the AI quota 👍

    [–] MacNCheezus@lemmy.today 4 points 5 months ago* (last edited 5 months ago) (2 children)

    It appears to be as simple as tesseract <infile> <outfile>. Possibly could even pipe (or tee) the screenshot straight into that and save both an image and a text file in a single command line.

    So something like this should do the trick:

    gnome-screenshot -f - | tee /Microsoft/yourPrivacy/$(date +%s).png | tesseract - /Microsoft/yourPrivacy/$(date +%s).txt
    

    Skip the database, just use grep to search that directory if you need to find anything. Voilà, homemade Recall.

    load more comments (2 replies)
    load more comments (1 replies)
    [–] R00bot@lemmy.blahaj.zone 21 points 5 months ago (3 children)

    I can't imagine it'd be that hard to write some code that does that using an existing AI model.

    [–] not_amm@lemmy.ml 9 points 5 months ago

    I found a small command to run KDE Spectacle (screenshot software) with Tesseract so I can OCR a screenshot if I want to, I only had to install Tesseract and a main language, you could easily do the same with an API and/or a local AI.

    [–] JackGreenEarth@lemm.ee 5 points 5 months ago

    You're probably right.

    load more comments (1 replies)
    [–] JackbyDev@programming.dev 7 points 5 months ago

    This is a shitpost and not a real suggestion.

    [–] DmMacniel@feddit.de 27 points 5 months ago* (last edited 5 months ago)

    its a cronjob that runs each minute (*/1) in any hour, any day, any month, on any weekday, gnome-screenshot obviously takes a screenshot and outputs it to the given file path and filename, where the filename is written as the current date as string and .png as format

    [–] DaPorkchop_@lemmy.ml 10 points 5 months ago

    It's a crontab entry which, once a minute, uses the gnome-screenshot program to take a screenshot of your monitor and save it to /Microsoft/yourPrivacy.

    [–] qjkxbmwvz@startrek.website 17 points 5 months ago (1 children)

    Does gnome-screenshot work without DISPLAY being set?

    [–] ordellrb@lemmy.world 13 points 5 months ago

    It does not work like shown here, but with the same line in a script and the script as crontab it works.

    [–] widw@ani.social 14 points 5 months ago* (last edited 5 months ago) (3 children)

    Am I the only one who honestly thinks Recall is totally useless? I feel like everyone is acting like it's useful and the only thing to debate over is whether it's "worth the security risk". But I feel like it's not even worth anything at all. Even if there was no risk and I was 100% in control I don't think I would ever use such a feature.

    Wouldn't you waste just as much (if not more) time looking through old screenshots, than to just go look up a solution the old fashioned way? Whatever you were looking at is probably still in your browser history too.

    I know the point is it has some AI crap with it, but that still requires you to remember enough information about what you're looking for to filter them. And if you know that much information I think you could probably just find whatever you were looking for again normally.

    [–] renzev@lemmy.world 9 points 5 months ago

    I've never heard a single good thing said about recall from anyone lol. Maybe my social media feed a bit of an echo chamber 😅

    load more comments (2 replies)
    [–] FiniteBanjo@lemmy.today 12 points 5 months ago (1 children)

    I really can't understand why people would want it, given the added risks.

    [–] johannes@lemmy.jhjacobs.nl 12 points 5 months ago

    The problem is, knowing Microsft, its gonna be turned on by default. And half the people who use Windows barely know how to turn the computer on and off. Let alone dive deep into some half baked settings app to figure out where to turn it off.

    load more comments
    view more: next ›