• 0 Posts
  • 218 Comments
Joined 4 years ago
cake
Cake day: May 31st, 2020

help-circle





  • For a project called “Potato Peeler”, I’ll put it into a structure like this:

    ~/Projects/Tools/Potato-Peeler/potato-peeler/
    

    Tools/ is just a rough category. Other categories are, for example, Games/ and Music/, because I also do gamedev and composing occasionally.

    Then the capitalized Potato-Peeler/ folder, that’s for me to drop in all kinds of project-related files, which I don’t want to check into the repo.

    And the lower-case potato-peeler/ folder is the repo then. Seeing other people’s structures, maybe I’ll rename that folder to repo/, and if I have multiple relevant repos for the Project, then make it repo-something.

    I also have a folder like ~/Projects/Tools/zzz/ where I’ll move dormant projects. The “zzz” sorts nicely to the bottom of the list.



  • Ephera@lemmy.mltoLinux@lemmy.mlSome basic questions about Linux
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    9 days ago

    A distro is a complete installable operating system (+ a set of software repositories from which you can install updates and new software).
    Many distributions (or their flavors/spins) will come with a default desktop environment and then usually also apply some distro-appropriate theming to that desktop environment.
    If you look at screenshots of distributions, you’re likely just looking at screenshots of their themed default desktop environment.

    And a desktop environment is essentially the GUI of your OS.
    It includes software such as the panel/taskbar, the application menu, the systray, the audio system, icons, a login screen etc… It also typically comes with a set of default applications, such as a file manager, a terminal emulator, a text editor etc…
    In a sense, the desktop environment contains essentially everything that differentiates a desktop OS from a server OS (the latter is usually just a terminal, without graphical interface).


  • Never was terribly happy with the previous Tumbleweed wallpaper. It’s background being so dark really clashed with the default light theme for KDE:

    I guess, it looked better on GNOME:

    But yeah, I’m hoping this rebranding means we’ll see appropriately set light and dark default wallpapers…



  • I have a small CLI to create and manage note files. This week, I added a list command, which just spits out the notes ordered by date, to help me reopen previously created notes.

    You can pass along a flag e.g. --since="3 months ago" or --since="2024-06-01" to only open files created in that time range. I used the human-date-parser crate for that.

    Not yet entirely happy, as I would’ve liked to support --since="June" and --since="2024". Will need to see, if I separately implement those.




  • Both parents are on openSUSE KDE. They only use the web browser and printer, so it pretty much doesn’t matter what UI they use, but it really helped with their acceptance that KDE not only works similar to Windows, it was a clear upgrade from Windows 7, with it looking more modern and being a lot faster.

    I also like openSUSE for this, because YaST allows me to administer their PC without cracking out the terminal for everything. It just gives them at least a tiny bit of hope that they might be able to do this themselves. And my brother, who’s not a Linux person, has managed to fix things via YaST without my help.

    Ultimately, though, I use openSUSE KDE myself, and that’s really important.
    If my parents mildly complain about something, I can proactively offer to change that, because I know all the settings of KDE and YaST.
    Or if I don’t know whether there’s a setting, I can go digging for it on my system.

    But perhaps most importantly: “This Linux thing isn’t working.” – “Hmm, it’s working on my system, so there’s gotta be a way to fix it.”
    That immediately shuts down any negativity, so I can concentrate on fixing it, rather than deflecting their grumbling.


  • That’s the sad part. If there’s one thing that the open-source community produces an abundance of, it’s definitely text editors, but music players are a close second.

    Previously, we’ve had XMMS as an open-source project that supported WinAmp skins.
    And right now, perfectly actively maintained, there is QMMP.

    I’d bet money that the code quality of QMMP is a lot higher than that of WinAmp. So, if anyone wanted an open-source WinAmp, it was there all along.





  • Yeah, I do miss those, too, although I’ve noticed that I’m becoming ever more consistent with just naming my variables like the type is called and that works out nicely in Rust, because then you can also leave out the field name when filling in a struct with named fields. I’ll often have named my function parameters the same name that I ultimately need to pass into structs fields.

    At this point, I’m secretly wondering, if a programming language could be designed where you don’t normally fill in variable names, but rather just use the type name to reference each value.
    For the few cases where you actually do have multiple variables of the same type, then you could introduce a local (type) alias, much like it’s currently optional to add type annotations.
    Someone should build this, so I don’t have to take on another side project. 🙃