linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

RandoCalrandian, in "Combokeys" instead of hotkeys. [Feature/new command suggestion]
@RandoCalrandian@kbin.social avatar

You mean a key combination like OS, f,i,r,e,f,down,down,enter to launch Firefox?

That exists, bud. There are even multiple ways to achieve the same command, like “OS,t,e,r,m,i,n,a,l,down,enter, ‘open Firefox’”

Eheran,

Hahaha, thank you. In windows that would be even more efficient, since a few letters will be enough to identify something unique. Win, f, i, enter

YourMomsTrashman,
@YourMomsTrashman@lemmy.world avatar

Out-of-the-box Cinnamon & Gnome moment

RandoCalrandian,
@RandoCalrandian@kbin.social avatar

The same is true in Linux, but it’s harder to get the joke with “OS,f,i,enter”

sir_reginald,
@sir_reginald@lemmy.world avatar

Win, f, i, enter

It’s literally the same with most Linux’s DEs. And even in Window Managers when using dmenu or rofi.

Eheran,

Good. Why did he then fell the need for absurd key combos?

umbrella,
@umbrella@lemmy.ml avatar

in my de its just os > firefox > enter

Lime66, (edited ) in Zorin OS 17 Has Arrived

So let me get this straight, they have a windows look by default, but using GNOME for whatever reason, then they give you the option to switch to something more vanilla GNOME but disable all of the gestures and workspaces, and then they advertise it like they invented gestures when they decide to stop disabling all of them

jackpot,
@jackpot@lemmy.ml avatar

whats bad with gnome

Lime66,

Nothing, I use gnome, but if you want a windows look by default then plasma is made for that

jvrava9, in Just moved to Linux: a follow up
@jvrava9@lemmy.dbzer0.com avatar

Timeshift for backups is a godsend in these situations

Dariusmiles2123,

OP should just know that TimeShift doesn’t work on Fedora Workstation without some tinkering.

Bluefruit,

Thats good to know because Fedora seems to be where im heading when i make the switch as well.

echo64, in How do I get virtual sorround sound working?

So yeah, people have gotten hrtf surround sound stuff going with pulse audio, some searching around that should get you where you want.

Butt your last statement about games being “unplayable” in stereo is pretty silly, too, so I want to call that out. Don’t be silly. They aren’t “unplayable”, you aren’t “locked out,” thats silly. 99% of people that have ever played that game played in stereo.

UnRelatedBurner,

I mean when i switched from stereo to surround it was like a whole new chapter. I got pseudo wallhacks I’m never going back. But I agree it’d be pretty silly to play RTS or city builders with it. Anyways thanks for the lead!

CameronDev, in Installies, a site for managing, organizing, and retrieving shell scripts for installing things on Linux and Unix-based operating systems.

You have probably invested a lot of time and effort into this, so please take this as constructive criticism.

Your security systems are probably not going to be sufficient, for a whole number of reasons.

Script Voting

The general public is not able to appropriately audit shell scripts. This extends even to sysadmins and more technical people. The people who can properly audit scripts are a minority, and they may not even be amongst your user base. Anyone who gets a script that “does its job” is going to upvote it as fine, because they may not even be aware of its malicious side effects.

Scripts will naturally need to evolve over time, so script updates will be a normal part of your system. Will the votes reset for new versions? Is there anything stopping someone uploading farming votes with valid scripts, and then backdoor the script once it gets sufficiently popular?

Is there any form of vote manipulation prevention planned? If not, bad actors can create an army of accounts and upvote their malicious content. Can you remove a users votes if they are found to be acting maliciously? Will it even be possible for you to tell the difference between a naive user who doesn’t understand the maliciousness of the script, versus an account actively increasing the rating of a bad package?

User Reputation

This seems easy to game as well. Upload a host of valid scripts, gain reputation, and then when ready, upload malicious scripts.

Collaboration

Allowing non-maintainers to edit and upload scripts seems like a wildly bad idea. There must be some level of maintainer approval for that right? Still will have the same issues, easy for someone to build trust on a script repo and then exploit it when it suits them.

None of these issues are unique to your site, pypi, dockerhub etc have all hit these issues in the past.

I think the only real answer is to have very strong human moderation, but I fear that if your site takes off, the workload will rapidly spiral out of control. Otherwise, interesting idea, Good Luck!

Berserkware,
@Berserkware@lemmy.ml avatar

Thank you for the feedback. I think I will remove the voting system for now while I figure out of solution. I will probably not be adding the user reputation system, unless I figure out a way to do it without facing the problems you have mentioned. As for collaboration, I will add a feature allowing app maintainers to set whether or not non-maintainers can add scripts without maintainer permission. Thank you again for the feedback, it was very useful!

EuroNutellaMan,
@EuroNutellaMan@lemmy.world avatar

Maybe add a comment/review system (if you haven’t already) in the meantime? Far from foolproof but better than nothing nonetheless.

Berserkware,
@Berserkware@lemmy.ml avatar

It does have a discussion system at the moment where you can comment on a script, but there is no system to rate the script and have the total of all the ratings combined.

CameronDev,

Have you considered some form of CI? I.e: Spin up a VM, run the script, reboot, report what changed? Might be a little expensive, but could help auditing?

Berserkware,
@Berserkware@lemmy.ml avatar

I have, but I think it would be a bit too expensive on my VPS, but might use it if my site ever catches on. I have also considered using something like Try, but it isn’t a full sandbox.

CameronDev,

Very understandable. And from a security standpoint not necessarily indicitive of anything. A good malicious script would just check its environment first.

skilltheamps,

I wholeheartedly agree, yet this is the same for stuff like the AUR, every PPA, or even just blindly copy & pasting inductions from some blog - all of which are very popular. (Just to name some examples that are closer to what op wants to do).

I still wouldn’t use scripts from a random dump site because they are just likely to mess up the os with junk and cruft that will be there forever. But fundamentally from a security point of few its not necessarily worse than what many are doing - simply because it doesn’t get worse than blindly executing stuff from sources missing the reputation to justify trusting them.

CameronDev,

Yup, there is a lot of prior art on how to get this wrong :(, and I dont know of any good solutions either. Curation and moderation are probably the best case, but arent bulletproof either.

I raised this not to kill OPs project, but to make sure they go into it eyes open. I personally would be very uncomfortable if my website was being abused to distribute malware, so they deserve to at least be aware of the risks.

skilltheamps, (edited )

I think one puzzle piece of improvement is flatpak:

  • It has a verification system, such that users can see which apps are packaged by their developers. For those apps, this eliminates the need to trust a separate maintainer entirely
  • It targets almost all linux distributions with a single package. This cuts down the packaging effort for covering the majority of the linux landscape so much, that the number of package maintainers required to be trusted collapses - in the ideal case to just the developers themselves as in the first bullet point
  • It makes use of sandboxing, so in case of a malicious app it (in theory) only has access to the stuff the user gave it permission to.

In reality there’s a plethora of problems obviously:

  • verified apps are the minority
  • some people don’t like the additional storage needed for runtimes (although the more flatpaks you use the more runtimes can be shared and its overall impact gets smaller)
  • A lot of apps do not yet use all the portals, and require the classical full access to the system to work properly (in some cases the user can still remove some permission if certain features of the application are not needed by them though). This is just a question of ongoing development work, and hopefully we reach a point in the near future where a flatpak app without tied down permissions raises eyebrows
luthis, in Video editor for Linux?

You could try kdenlive.org and www.openshot.org

I haven’t done much editing, but they are fairly popular and decent tools. They also come as an AppImage, which means they pretty much ‘just work.’

And handbrake.fr gets a mention for transcoding.

skullgiver, (edited ) in Why I need extra kernel modules to be able to run Wayland on nvidia?
@skullgiver@popplesburger.hilciferous.nl avatar

deleted_by_author

  • Loading...
  • uis,
    @uis@lemmy.world avatar

    I don’t think it supports Wayland, and there are no mentions of Wayland anywhere on the website.

    It seems you are talking about nouveau and very wrong. Nouveau is part of Mesa, which supports DRI/Mesa GBM by design. You can guess why.

    Worked perfectly while I had nvidia gpu. Maybe even more stable than on X11, but memory is kinda fuzzy. It was few years ago.

    open-gpu-kernel-modules

    Isn’t it their GPL shim?

    Nvidia hid all of its special sauce in firmware starting around the 20xx series of cards

    Nouveau says around Maxwell

    skullgiver, (edited )
    @skullgiver@popplesburger.hilciferous.nl avatar

    deleted_by_author

  • Loading...
  • uis,
    @uis@lemmy.world avatar

    I had Kepler.

    Nvidia nuked power managment mid-Maxwell. Gladly, at least one vulnreability has been discovered, that theoretically allows nouveau load their power manager.

    jokro, (edited ) in What's with all these hip filesystems and how are they different?

    btrfs = B-tree filesystem

    B-trees are a data structure.

    kpw,

    Great. So what?

    Chewy7324,

    You know, ZFS, ButterFS (btrfs…its actually “better” right?), and I’m sure more.

    tastysnacks,

    I call it butterface

    teawrecks,

    Butterface?! That’s my wife!

    palordrolap, in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

    It's rare that I get to feel anything remotely comforting about not being able to afford new hardware, but if I understand correctly, my BIOS-only dinosaur can't be exploited.

    Still vulnerable to thousands of other exploits no doubt, but not this one.

    NoisyFlake, in Manjaro OS

    There’s not really any benefit of running Manjaro over Arch, it will only introduce problems over time. If you want a “pre-configured” Arch with a nice installer, go for EndeavourOS, it’s great!

    interceder270, (edited )

    I just wanna point out, people were using this exact same rhetoric when Antergos was a thing.

    Antergos is no longer a thing. Just saying. Manjaro still is though! I believe it’s older than endeavor OS.

    NoisyFlake, (edited )

    Even if Endeavour stopped development tomorrow, I could still use and update my system normally because it’s using the regular Arch repos.

    lemmyvore,

    Manjaro has graphical tools that make it super easy to manage packages, drivers and kernel versions.

    NoisyFlake,

    I‘m pretty sure you can install a GUI for pacman on Arch/Endeavour.

    lemmyvore,

    You can but there isn’t a lot of choice, Octopi is pretty much the only other pacman GUI besides Pamac that’s sufficiently fleshed out. All the others are either just package searchers or CLI-only.

    And Manjaro also has the Manjaro Settings Manager, which includes the kernel management module and the hardware drivers management module.

    smileyhead, (edited ) in One of these 6 will become Plasma 6. Wallpaper Which one do you prefer?

    3 and 4 are nice but as something someone would set themself. Too much character and detail to be the default when Plasma do not target any specific demographic.

    1, 2 and 5 are nice abstract wallpapers, but honestly boring as we have stuff like that for years.

    6 is the best. This is wallpaper with some style, but not too much character.

    Edit: Just in my opinion and for my eye of course.

    vsis, (edited ) in How safe are my data if my hard drive isn't encrypted?
    @vsis@feddit.cl avatar

    If the device get stolen, your drive and its files can be easily read.

    Other attacks like malware or ransomware are almost the same if the drive is encrypted or not.

    Disk encryption is important for laptops and phones because these devices are frequently stolen. For desktop or servers is still good idea, though.

    Guenther_Amanita,

    Thanks a lot for your answer. How would you encrypt a server? Typing a password every time it boots isn’t possible for me, since I would need a monitor for my headless server.

    AdamantiteAdventurer,
    @AdamantiteAdventurer@beehaw.org avatar

    I use Luks/Tang to unlock the server at boot from another computer that is always on too. If that one is down I’ll need to type it or power the other PC on, but otherwise it auto decrypts for me as long as I’m on the same network.

    dime,

    One option may be a hardware security key. Here is an example: https://www.endpointdev.com/blog/2022/03/disk-decryption-yubikey/

    vsis,
    @vsis@feddit.cl avatar

    That’s why it’s not always an option.

    Some servers have some kind remote console hardware, with their own security issues.

    Your “threat model” is important too. Do you expect that server to get stolen? If it happens, is there critical data that should not leak?

    Maybe you need to encrypt a directory, and not the whole drive.

    Guenther_Amanita,

    My threat model isn’t high. Just normal stuff everyone has, but that would be disadvantagely if someone else got them.

    It’s more if a precautionary measure. It doesn’t have to be super safe, but better than nothing.

    rgb3x3,

    Is this for your home? If it is, you don’t really have to worry about someone stealing your desktop. If someone breaks into your home, they’re looking for quick cash and jewelry and TVs. They’re not going to bother stealing your server to dig through files for something usable.

    Guenther_Amanita, (edited )

    I’ve had quite a bad experience with police for example.

    30 cops raided my home because of something trivial (I ordered a bit of non-psychoactive CBD-weed, which is, even in the most restrictive country you can imagine, ridiculous).

    Of course, I got the whole experience-pack, including strip searches and confiscating all electronics.

    Even though I believe them getting hold of any data wouldn’t have changed much, I’m still glad I had my devices encrypted.

    Just knowing they didn’t see my cringy pictures of my teeny-me, where I discovered Snapchat filters, is a big relief. 😅

    Yeah… that traumatized me a bit and maybe that’s the reason I’m worrying.

    Also, you could never know what will happen in the future. Maybe my GF will turn crazy tomorrow and use those embarrassing pictures against me. Who knows?

    I believe everyone should use encryption, even if they don’t have much to hide…

    rgb3x3,

    Oh that’s a really good point. Don’t trust the cops, keep everything encrypted.

    Way safer in those situations.

    Frederic, (edited )

    If Windows, use BitLocker.

    If Linux, use LUKS but you need to enter the passphrase at boot, you can securely put the key in TPM2 I think (à la Windows) but it may be complicated to setup, or just seal the phrase in TPM2 but if you boot on grub you can break grub and replace init with a shell in boot option and have access to the system I think :-/ but a simple crackhead thief would not understand that.

    You can also have the key on a USB key, but if on the server and the server get stolen, it’s useless. You can setup a “anywhereUSB” and have your USB key in another room/place, etc, there is others possibilities.

    I wanted to unlock with bluetooth but having the bluetooth HW driver and stack in initramfs was nightmarish a little bit :-/

    wmassingham,

    Either self-encrypting drives (if you trust the OEM encryption) or auto-unlock with keys in the TPM: wiki.archlinux.org/title/Trusted_Platform_Module#…

    Ing0R,
    neshura, in PeerTube v6 is out, and powered by your ideas !
    @neshura@bookwormstory.social avatar

    That is one awesome set of new features

    Neil, in I finally switched back to Linux as my daily driver after a couple of years of being on nothing but Windows.
    @Neil@lemmy.ml avatar

    Windows 11 finally made me tell my boss “i’m not using that anymore.” I’ve used Linux exclusively at home and Windows at work, but got fed up just like you. I have a VM for testing purposes as the security admin and it’s actually improved my workflow since I can tear down and bring up VMs instead of using my main OS for testing.

    Glad to hear you’ve had a positive switch as well.

    aBundleOfFerrets, in your stance on image compression and/ or avif/jxl?

    jxl is love. jxl is life (also afaik re-encoding jpeg to jxl is lossless)

    yote_zip,
    @yote_zip@pawb.social avatar

    Yes it’s lossless. JPG->JXL lossless compression is generally 20% savings for free.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #