linux

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

BigTrout75, in Just install EndeavorOS lol

Bah ha ha! All the main distros are amazing these days. You really can’t go wrong with most. And if one doesn’t work, just pick another of the top 5.

Nibodhika, in Which Desktop / Window Manager is most secure?

If you’re going to be that level of paranoid might as well not have graphical interface at all.

BigTrout75, in Any experience with teaching kids Linux?

I’m teaching my son to be pc agnostic.

0x4E4F,

Yep, this is good as well. Use whatever suits the needs best, but I’d try and get him leaning towards the FOSS side - use other OSes only if you have to.

rasensprenger, in Spending a few days with Hyprland made me realize how awesome Gnome is

In your case I would just start by copying a full setup someone else made and then customizing it, starting from scratch always takes a lot of effort. Reddit’s unixporn was great for that, the alternatives on lemmy are sadly still a little empty.

flashgnash, (edited )

I found the opposite actually. I tried others’ configs but nothing clicked and I didn’t learn about the bits I didn’t really care about

Starting from scratch, got the bare minimum to use it (launcher, three finger swipe, terminal bind) and then just attempted to daily drive it fixing bits as I go

Also always had the option to bail back to gnome on reboot if I needed to do something urgently that didn’t work

CaptainJack42, in Any experience with teaching kids Linux?

A friend of mine got his son to use Linux by just not providing an alternative, he installed Debian edu (don’t know if that’s the name, but basically a Debian spin for kids with parental restrictions and stuff) on an old laptop for him and that’s what he used. Once he got his own PC it was over though since he wanted to play Fortnite so bad that he bought windows for that. He still dual boots Fedora, but I don’t think he has used it since the windows partition is there.

I think the thing is you can’t really get kids (or people in general for that matter) into Linux the way you are probably into it and interested in it. At least not if they’re not already interested in it on their own. They will learn how to use it sure, but not the way we’re used to using Linux, understanding the intricacies of the system, keeping the system safe,… They’ll probably find a way to do what they already do on windows and ignore that the OS is different.

0x4E4F,

IMO, his aproach was too strict, that’s why it failed and just caused repulsion towards Linux. There are other ways you can “make” children like things.

CaptainJack42,

I don’t think this was too strict, maybe I made it sound that way, but it was not like he forbid him using windows, it was just that he’s using Linux, his son got his old laptop that was running Linux and they didn’t have a windows license, so his son was running Linux as well. He’s also doing fine on Linux and doesn’t dislike it or anything, the only “problem” was that he wanted to play Fortnite which does not work on Linux. He’s also getting along fine with Linux, especially on fedora where he doesn’t need the Terminal.

What I wanted to say with that comment is that you can’t make your kids to learn and use Linux like most of us probably do. For most people an operating system is still just some black magic on their computer that makes the browser or their games run, they don’t care how it works or if it is secure or using the latest software. Most people just don’t know and don’t care what an OS even is and the same thing goes for kids imo

0x4E4F,

Oh, that’s different then… I thought his dad was like “run Debian, or you’re grounded”, lol 😂.

I agree on the last part, that is most definitely true. You can try, but you can’t force it 🤷. After all, his/hers gifts may lay in another field, not tech 😉.

Synthead, in Any experience with teaching kids Linux?

You can only teach someone Linux if they have a desire to learn it. If they don’t want to learn it, then they might learn that it’s “bad” or “weird” compared to mainstream OSes, which would be working backwards.

Ramin_HAL9001, in Which Desktop / Window Manager is most secure?

This is not a very good question. If you are concerned about security you need to think about what specifically you are trying to keep safe? Here are some examples of different security scenarios:

  1. Do you want your computer to be safe when it is stolen?
  2. Do you want to run lots of native apps from untrusted sources?
  3. Do you want it to be used by many people and you don’t want them to be able to steal each others secrets?

Each one of those questions has different means of securing the computer. With question 1, it is not so much a matter of desktop environment, rather it has more to do with using full-disk encryption, setting a boot password in UEFI, and always having your lock screen enabled.

With question 2, this is a much more difficult task and you would probably be better off running apps in a VM, or carefully crafting your “Security Enhanced” Linux profile – or not using Linux at all, but using FreeBSD which allows you to run apps in jails.

With question 3, be more careful with filesystem permissions and access control lists, setup your sudoers file properly, and use a desktop environment with better security auditing like Gnome or KDE Plasma.

Pantherina,

Never heard of these jails, like bubblejail? Its available on Linux too.

I know the question is vague and highly dependend on Threat model etc. Pre-enabled services, distribution adding stuff to it, SELinux confined user (not working with Plasma at all), xwayland support for keylogging chosen keys (Plasma).

Also GTK is widely used for rust apps, this doesnt exist on Plasma at all, not a problem though as Plasma is not Gnome and simply supports GTK normally.

jman6495,

I don’t think the DE itself matters, but I can recommend using an immutable OS (makes it harder to install malware) and installing flatpak apps only. You can also use software like flatseal to further lock down permissions

lemmyvore,

I’m starting to think people misunderstand what an “immutable” distro really does…

jman6495,

Please do share with me what I do not understand.

A mostly read only filesystem built from a limited number of packages, with other files being in a fixed number of locations mean it is harder for malware to hide.

lemmyvore,

You can achieve the exact same thing with a normal distro if you mount /var and /boot separately of /. And if you get a root exploit it’s just as harmful on either approach.

“Immutable” systems are meant for maintainer comfort not for user security.

jman6495,

No, you can’t : in an immutable distro I can reasonably trace almost any file in the filesystem back to the package that created it, and know with a reasonable degree of certainty that the installed version of said file has not been tampered with. That isn’t possible an a normal distro.

lemmyvore,

Sure it is, has been for decades. You can use a read-only root partition, there are many tools to ensure the integrity of everything on it, and tracing files back to their package is a very old feature.

Pantherina,

Already doing that :D kinoite-main from ublue

mintycactus,
@mintycactus@lemmy.world avatar

deleted_by_author

  • Loading...
  • Pantherina,

    I dont get that scentence

    mintycactus,
    @mintycactus@lemmy.world avatar

    deleted_by_author

  • Loading...
  • Pantherina,

    No that is bluefin, their special distro.

    Ublue is like rpmfusion but for image-based. Its the addition to fedora, with packages they can’t ship. They replace all the libav* with complete ffmpeg which is pretty great as its a great tool and Firefox works ootb.

    For example they have -nvidia images for every image, which is the best way to use the proprietary NVIDIA drivers as you can roll back and a broken update simply wont ship to you.

    They also have modded kernel images for Razer, Surface and a special Framework image.

    Another cool project basing off their “starting point” toolkit to create custom images, is secureblue, a security-optimized Version including

    • hardened kernel and hardened_malloc
    • updated Chromium, maybe soon Brave
    • soon a hardened Chromium (currently as COPR “vanadium”) like GrapheneOS
    • hardened services, firewall
    • removed unused kernel modules

    It is very security focused though, so no Firefox, no Flatpak as its currently broken, Podman (distrobox, toolbox) is currently not working and its unclear if that is actually necessary, …

    Bluefin is their fancy distro with lots of Tools, a custom Desktop, integrated Developer packages and more.

    mintycactus,
    @mintycactus@lemmy.world avatar

    deleted_by_author

  • Loading...
  • Pantherina,

    For firefox AND video thumbnails and preview to work you can just add libavcodec-freeworld. But full ffmpeg is so much better.

    jman6495,

    Very good choice :D

    jorgesumle, in Any experience with teaching kids Linux?
    @jorgesumle@lemmy.pt avatar

    They like playing SuperTux

    blotz, in Anyone want to try this "nyancat" docker image? It's pretty big -- 23kIB. :^)
    @blotz@lemmy.world avatar

    Why wrap a CLI tool in a docker container? Wouldn’t it be simpler to directly compile nyancat to multiple architectures if the goal is to make it run on all platforms?

    flashgnash,

    I would imagine it’s just to experiment with docker

    FooBarrington,

    If you really wanted to, you could create an actually portable executable :)

    brakenium,

    That looks really interesting! Does this exist for other languages like Rust?

    FooBarrington,

    Yes, some people tried it, and it seems to work: ahgamut.github.io/2022/07/27/ape-rust-example/

    brakenium,

    Very interesting, might have to check that out sometime

    AnUnusualRelic,
    @AnUnusualRelic@lemmy.world avatar

    Like go?

    GustavoM,
    @GustavoM@lemmy.world avatar

    Because I’m doing this as a “self-learning” process. Plus, docker is an excellent tool and even “silly” images like this one can give me an edge while looking for (more) jobs, so there’s that. Coding could grant me the same “edge” as well yes, but docker has “more value” since it requires you to code -AND- to have some knowledge/depth regarding typical “dockerization” processes.

    Laborer2125, in Just install EndeavorOS lol

    I’ve used Ubuntu for many years, it is a good start for beginners. Although my new recommendations is Mint.

    maxprime, in Any experience with teaching kids Linux?

    Teacher here.

    My favourite “lesson” I ever gave was in a grade 9 technology class. It was a pretty small class, about 10 kids. I split them up into two teams and made a competition. They chose their own teams — it ended up being boys vs girls. I never would have made it that way on my own but that’s how it worked out.

    The school had a bunch of old, decommissioned PCs that were headed to the junk yard. I sorted through all of them to get two exact sets of working parts for the competition.

    The goal of the competition was to recover a jpeg from one of the hard drives. Each team had a computer with the ram removed and two hard drives. One was blank and the other had the jpeg on it. They also had a Linux Mint installer on a usb stick.

    I don’t remember exactly how I had set it up but it was points based, something about getting to different stages first. Like 5 points to be the team that turns the computer on first. One of the big ones was that they got an extra 10 points if they did the whole thing without a mouse.

    I told the other classes about the competition and asked some other teachers if it would be okay for them to watch and cheer on. It ended up being the nerdiest and most exciting class ever. Students were literally cheering each team through a Linux install. One team got stuck and had to pull out the mouse. There was booing. It was so epic.

    The girls won, being the first to recover the jpeg and they did it all without a mouse. It was so awesome. The jpeg was the meme about how would a dog wear pants.

    It was about 5 years ago, my first year teaching. I really miss those days. I only teach math now, and while I like that, there was something magical about showing kids how fun computers can be.

    sabriunal,
    @sabriunal@fosstodon.org avatar

    deleted_by_author

  • Loading...
  • lumonaut,
    @lumonaut@mastodontech.de avatar

    @sabriunal @maxprime @nayminlwin

    I think they had the hardware disassambled and part of the challange was to put all things together to run the OS and finish the task.

    Ductos,
    @Ductos@mastodon.social avatar

    @maxprime @nayminlwin Ah, a wholesome IT teaching story. That's something I might get into, when we train new interns and apprentices.

    CEbbinghaus,
    @CEbbinghaus@mas.to avatar

    @maxprime @nayminlwin what an amazing story. I love that this could be gamified for them and made more fun. I presume you had a guide or helped them when they got stuck?

    rysiek,
    @rysiek@mstdn.social avatar

    @maxprime amazing, thank you for sharing!

    @nayminlwin

    viq,
    @viq@hackerspace.pl avatar

    @maxprime
    This is so full of awesomeness :D
    @nayminlwin

    harcesz, (edited )
    @harcesz@szmer.info avatar

    I had some of my classes (14-15yr olds) assemble their own computers as the first class. It was cheap junk anyway, and I was willing to risk it, but it set the stage for the year. I dont think I got them to install system on it (whole school run on Linux btw), thats a great touch. And making it into something that entertaining, and stereotypes breaking is brilliant!

    birv2,
    @birv2@pkm.social avatar

    @maxprime @nayminlwin Super awesome story! You're the teacher we all wish we had (so am I).

    lucydev,
    @lucydev@wetdry.world avatar

    @maxprime @nayminlwin you sound like the teacher i would've wished for.

    If i were to become a teacher in the future (unlikely, but not impossible), i'd hope to be just as caring and enjoying the craft as you are. Keep it up! ☺️​

    phenidone,
    @phenidone@mstdn.social avatar

    @maxprime @nayminlwin so basically... School of Rock but for nerds. You are Jack Black.

    bbbhltz,
    @bbbhltz@beehaw.org avatar

    wholesome, awesome, fun

    0x4E4F,

    Wow, just WOW 👏👏👏.

    I wish there were more teachers like you in schools. Inspired people, in general… that’s what’s lacking in society nowadays 😔.

    akkana,
    @akkana@fosstodon.org avatar

    @maxprime @nayminlwin Great story! Reminds me of Cathy Malmrose's "The Un-Scary Screwdriver", https://thegnomejournal.wordpress.com/2009/11/13/the-un-scary-screwdriver/

    maxprime,

    Thanks! That’s a very nice story too. I have a baby boy and can’t wait to introduce him to computing.

    rufus,

    🏆

    nayminlwin,

    Damn, we need more ICT teachers like you.

    bionicjoey,

    That is incredible. Good on you.

    Out of curiosity, how much had you already taught them about the tasks? Was it just expected that between the whole team there would be someone who knew this stuff?

    maxprime,

    Thanks!

    If I recall correctly I didn’t tell them much about anything. One of them had a nerd dad who set up his daughter with Linux at home but she wasn’t familiar with the install process. I gave them some basic info when I gave them the rules (you have to connect the hard drives and ram) but for the most part everything was new to them.

    On the other hand, I also ran a computer club with some other kids (in a younger grade) where we took that pile of broken computers and salvaged working parts. We ended up with 3 or 4 working pcs that we ran Linux mint on. They used the computers for Roblox or something at lunch lol. The computers ended up being a popular attraction at lunch!

    WhiteHotaru,

    🏅

    2ndStar,
    @2ndStar@astronomy.social avatar

    deleted_by_author

  • Loading...
  • mina,
    @mina@berlin.social avatar

    @2ndStar

    So ein geiles Projekt von @maxprime !

    Und da wirft man Lehrpersonen mangelnden Enthusiasmus vor.

    luigirenna,
    @luigirenna@infosec.exchange avatar

    @maxprime my technology teacher in middle school did something similar with me and a bunch of other kids in 1995 or so. That's how I fixed my first pc, and eventually started a career in IT. There was no team competition, but he basicallt said "these are some broken computers, if you can fix them you can have a lab to play Doom or whatever you want. He helped us setting up the IPX network tbf, but we had to check what dimm banks were working, which not, same with hdd and processors, and put togheter everything and install Windows 3.11

    quantensalat,
    @quantensalat@astrodon.social avatar

    @maxprime @nayminlwin This is it right there, the moments everyone will remember. Not always possible for day to day work I guess, but all too rare.

    tuxicoman,
    @tuxicoman@social.jesuislibre.net avatar

    @maxprime @nayminlwin was the disk with correct partition table. So only mount the disk to recover the jpeg data. Or else?

    What 9th grade is ? How old are kids here?

    maxprime,

    Yeah I had formatted and partitioned the disk ahead of time. The JPEG was in the root directory IIRC. I warned them to not plug in both hard drives during the install process to be sure not to overwrite the wrong drive. They were labelled physically but were otherwise identical.

    Ninth grade is 14/15 year olds.

    luilver,
    @luilver@mastodon.social avatar

    There aren’t enough reactions on Mastodon to express how much I loved this, so fav-ed, re-blogged and commented.

    squaresinger, in Any experience with teaching kids Linux?

    Don’t start with the tinkering aspect first.

    Ask yourself, why does your kid use Windows?

    Probably to play games, access the internet and maybe do their homework. Most probably, they don’t use Windows because they specifically enjoy working with Windows, but because it easily lets them do whatever they actually want to do on a PC.

    Spending 5h on fixing some weird incompatibility between the Nvidia GPU, your DE and Proton might be fun for some, but it’s most probably not what your kid wants to do when they could be gaming or doing whatever they actually want to do. Problems like that can scare them off quickly.

    So first setup the PC so that everything they usually do on Windows works without issues.

    The next question is, why would your kid want to run Linux instead of Windows?

    The usual advantages (FOSS, free to use, better for developers) don’t really matter to most kids. The only things I can think of right now are:

    • Runs on PCs that aren’t Win11 compatible
    • Some games like Minecraft run faster (but some games also run slower)

    With the setup completed and advantages thought of, you can let the kid use Linux quite similarly to Windows. When the kid wants new software or has an issue, work together with them to get everything running. First do everything and let them watch, later let them do more and more of the process.

    That’s basically it.

    rufus, (edited ) in Any experience with teaching kids Linux?

    Awesome question. And good advice here. To add something: Don’t just give them games. Hook up an old printer, install LibreOffice plus the openclipart images. Kids can make everything into a game. We used to play with my dad’s old pc and imagined being private investigators and had our own little office. We printed out lots of silly stuff and took notes on the computer. There are a few ‘learn typing on a keyboard’ games, but back then I didn’t have fun with them.

    Maybe they like drawing, install TuxPaint, Krita. Or video editing or recording stuff, give them a webcam/phone and Kdenlive. Have them do a spoof on a movie or do their own Lego stop-motion film. Or they like to make music, install Audacity’s sucessor, LMMS, a drum sequencer …

    And of course the whole kids-education metapackage if your distribution has one. So they can program little turtles and start coding with Python. You can do this at age 8, depending on the kids personality.

    It works best if it’s tied somehow into their lives. For example (occasionally) printing homework assignments, a stop-motion suite if they play a lot with Lego anyways…

    Other than that, my boy scout education tells me to “look at the boy”. Have them explore and see that they like. Assist and teach them how to operate the software they want to use. Help them once they get stuck or can’t figure something out on their own. You will have to guide them and show how they can achieve the results they want, so they stay motivated.

    Give them background knowledge and tell them the 'why’s. Why something is the way it is. I’d say that is the point where we get to Linux. At age 10 or so, you don’t necessarily care about an operating system. But you’re curious and happy to learn why there are different ones and why they behave differently and the story behind that. And the thing that hooks you is the possibilities and usefulness for your life. So that’s why I recommend installing lots of useful (to kids) software.

    And maybe give them a chat / instant-messenger program. So they can contact you and ask questions.

    As it is with teaching generally, it heavily depends on how you do it. Kids are very curious by default. In my experience: “Look at the boy” has served me well. Kids come in a wide variety. Don’t teach them top-down but find a mix of letting them explore and roam, but also make sure to teach them the basics first. And guide them how to apply things to their life and find use-cases and the fun in it. If you pay attention to them, you can adjust your own behaviour.

    nayminlwin,

    This is also how I got hooked to computers as a kid as well. The problem nowadays though is the internet and easy access to addictive internet services and games. Back then, you’re stuck with what’s on your PC and somehow have to make the most out of it.

    rufus, (edited )

    Mmh. Sure, I don’t have kids so I probably lack some experience in how it is today.

    I’m not sure if trying to compete with the attention-grabbing games is what whe should aim for. Sure kids love Roblox and Minecraft, and watching lets-play videos for days on end…

    But there is no educational aspect in just giving them all the games. And they won’t become invested in the underlying concepts and the world of free software and computers if all you do is replicate a gaming pc and provide them with a flawless Steam/Proton experience. The computer as a tool and the operating system is irrelevant for just gaming. And it isn’t (in my eyes) what makes computers and Linux appealing.

    I wouldn’t even attempt to compete with that. Sure, give them SuperTuxKart, PPracer and maybe a Minetest world (with mods and animals and NPCs so the world isn’t just the empty and boring default one).

    I don’t really know how to pry a modern child out of games and videos. Maybe restrict their time with that. Show them alternatives and how to use the computer as a tool. Start a project together with them. Maybe design a calender as a gift for someone, or get them started with the stop-motion movie, or music studio. You could also (dis)assemble the PC together with them and install Linux so they learn about the components. Unfortunately this all really requires time, attention and dedication from the adult and I see no way around that. And the child also needs to become interested in that aspect. But you need to start somewhere. I would really try to advertise this as something more than an alternative gaming platform and make some sort of distinction between the two.

    [I know how it was back them with old computers and without the internet. We had a super old, decommissioned PC from my dad. The choice of games was somewhat limited and we had to become innovative. I learned programming relatively early, because Commander Keen or the old flight simulator wasn’t as enticing as the modern games are and you got bored after a few days. With some games we got stuck or some were pirated and in English, which i didn’t speak back then. So I definitely did a good amount of gaming, even back then. But we weren’t allowed to do it indefinitely and we also sat in front of the PC with friends and took turns. I suppose this is different now that everyone has their own Nintendo Switch. The world has changed since and trying to go back isn’t the right thing to do. But I believe the underlying concepts, trying to do more than just gaming and passive entertainment, restricting their access to it and provide them with alternatives, if you got the time to spare, is a good thing.]

    (Apart from that, I’ve been with the boy scouts for quite some time. We always did some projects in the rainy autumn and winter. Even the roblox-kids from today like to do other things like hands-on projects, handicraft work to carpentry. But you have to find a way to reach them. Once they managed to get some nice results, it becomes easier and they become invested themselves.)

    30p87, in Any experience with teaching kids Linux?

    My father was lucky, I wanted a minecraft server so bad that I accepted to learn how to handle an Ubuntu Server, with ~10 years.
    Then I kinda had my edgy hacking phase with 12, and installed Kali as dual boot.
    As my Windows install got older, dirtier and buggier, I decided to just f it and installed Pop over everything.

    So, get them to be interested in having/doing something requiring Linux, then show them the wonders of the Linux desktop, preferably not Kali, but something more user friendly, and finally wait till they want to reinstall for whatever reason, like a new PC (with AMD or Intel GPU).

    rufus, (edited ) in Any experience with teaching kids Linux?

    For reference about 4 year olds: lifehacker.com/i-raised-my-kids-on-the-command-li…

    I think I read his blog back then. Telling about the progress his (then) very young son made. How he didn’t install a graphical user interface at first but the kid loved ‘sl’ (the steam locomotive if you mistype ‘ls’), and cowsay and so on. And they had a command-line chat to communicate (or just smash buttons).

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