• 0 Posts
  • 10 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle
  • _edge@discuss.tchncs.detoLinux@lemmy.mlMacOS Preview equivalent
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    13 days ago

    Preview is one of the things mac os got right. it’s hard to copy. If you think about it, it does not make sense that a tool called preview that most people use to quickly read pdf (and other) files, is also a lightweight pdf editor, which is often more useful than acrobat or pdfedit or whatever you use.

    It’s not logical. no one will make a clone of it.

    you’ll have to get used to other tools.





  • I use Ubuntu every day. I’m part of the Linux community. And i believe that Ubuntu helped to make the Linux desktop easy and available and sort-of cool.

    There’s no hate, but i could live without snap, unity and oversimplification. Actually that’s my biggest issue. Give me settings, give me choice. Hibernate works fine on my machine, don’t hide it.

    Apt/deb is a fine package manager, flatpak and docker can supplement it when you want something not packaged as deb. The way Ubuntu updates browser over snap is a small improvement, but it’s not worth deviating from the rest of the Linux world.

    I don’t hate Ubuntu. I think they are wasting their time on stuff no one needs. Missing the chance to improve Linux for everyone.


  • Your problem is most likely escaping. $1 has a meaning in regex and in shell. You want the former and the single quotes achieve this.

    In your second example, with alias, probably the shell interpreting this replaces $1 with whatever the first arg in the shell environment is, probably the empty string.

    Not sure what the problem with the shell script is. Anyway try escaping the $ as $ and \ as \.

    You can see where you are wrong if you replace prename with echo for debugging. Or in a shell script do

    set -ex



  • Valid question. You can ask this about many things:

    Would the Internet as we know it exist if Facebook, AOL, and Yahoo had united to create a walled garden?

    Would Macbooks as we know them today exist without an open source ecosystem? Would the company Appke exist? Would there be an iPhone?

    Would the web exist without Linux? Both developed at the same time, 1991 till now, and most stuff runs on Linux servers.

    Would the people who build all the hardware and software even be interested in computers had they not played with (build) computers in the 90ies? What if we had given them an iPad aith CandyCrush that just works; and not BIOS codes, cables, extension cards and drivers?


  • There are several ways to exploit LogoFAIL. Remote attacks work by first exploiting an unpatched vulnerability in a browser, media player, or other app and using the administrative control gained to replace the legitimate logo image processed early in the boot process with an identical-looking one that exploits a parser flaw. The other way is to gain brief access to a vulnerable device while it’s unlocked and replace the legitimate image file with a malicious one.

    In short, the adversary requires elevated access to replace a file on the EFI partition. In this case, you should consider the machine compromised with or without this flaw.

    You weren’t hoping that Secure Boot saves your ass, were you?