d3Xt3r

@d3Xt3r@lemmy.nz

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

d3Xt3r,

Are you talking about for work or home usage? And do they have any specific proprietary application/hardware requirements?

What Tweak, Program, ... changes a Desktop Environment from unusable to great for you?

I have used Linux on and off for 15 years. I consider myself a casual user and stuck to the mainstream DEs (mostly KDE, XFCE and some Cinnamon). Gnome has been a hurdle for me before and after the big version 40 changes, I couldn’t get my head around how they handled the workspaces and workflow. At some point I I tried out an...

d3Xt3r, (edited )

You’re thinking of just one extension, one instance. Now repeat this for EVERY single Gnome release, for pretty much all extensions (not just this one), and you can understand my frustration. Which is why I’ve left the Gnome ecosystem.

Also, it’s not like v45 came out of the blue, the beta releases were available for quite a while prior to final release, and even before the final, the Gnome developers did warn that about the upcoming extension changes. So it’s not like the Material Shell devs were unaware.

Edit: Also, the PR may have been merged but the updated version hasn’t been released yet. Both the versions on Github and the Gnome extensions site are still the old release.

Is there any way I can make an old XMMS plugin work in any modern player?

Long story short, I learned there is an XMMS release of a plugin I use in Winamp for music playback (mp3PRO). Sadly, I recoded most of my music to mp3PRO back in the day, and now I’m stuck using Winamp, even on Linux. I like the player, wouldn’t change it, but I wanted to switch to something native, like Audacious or Qmms....

d3Xt3r, (edited )

Well it’s Black Friday and HDDs are going for cheap. 6TB is nothing these days, when you could get a 16TB external drive for only $200, or a internal SATA one for $185. Or you could replace/supplement your entire NAS with a single 6TB drive for only $50.

Disk space is cheap now, so upgrade your storage, convert your music to FLAC, problem solved.

d3Xt3r, (edited )

Well you don’t have to buy them brand new. If you guys have a used goods market there, you could look around for some good deals on used drives there. Or even used PCs, sometime people sell entire PCs for the same cost as a hard drive, so look out for those and take the drives out, sell the rest of parts.

And if things are really desperate money wise, it doesn’t even have to be a hard drive, you could even store your music on CDs/DVDs - not the most convenient option I know, but it’s an option - you could move the music that you don’t listen to often (or music that you’re tired of playing constantly), and keep your more frequently played music on the HDDs.

New to Linux, have a few questions

I currently use Windows 10 and I’d like to try out Linux. My plan is to set up a dual boot with OpenSUSE tumbleweed and KDE Plasma. I’ve read so many different opinions about choosing a distro, compatibility with gaming and Nvidia drivers, and personal issues with the ethos of different companies like Canonical. I value...

d3Xt3r, (edited )

None of the comments here explain how WINE works, so allow me to elaborate a bit.

WINE is like a translator or a compatibility layer. When a Windows program tries to perform a function that would normally require Windows, WINE steps in and translates that request into something the Linux system can understand and process.

As you may know, Windows programs work by making API calls (eg using Win32 APIs) to operate and perform basic tasks. WINE takes these API calls and translates them to their Linux equivalents (POSIX calls, to be specific, which means Wine can run on several Unix-like systems). This way, when a program asks to say, open a file, or display something on the screen, WINE converts these requests into a form that Linux can execute.

WINE’s approach is about providing compatibility for user-level applications rather than replicating the internal workings of the Windows kernel. It includes various libraries and components that mimic the behavior of those in Windows. This helps in executing the Windows applications as if they are running in their native environment.

  • The core of it is NTDLL. NTDLL.dll is a core Windows library that provides low-level system functions to interact with the Windows NT kernel. In WINE, ntdll.dll is adapted to work with the Linux kernel instead.
  • Then you have the Win32 API libraries, providing the basic APIs that Windows applications use for functions like window management, text rendering, and system calls. Examples include user32.dll (for user-interface functions), gdi32.dll (for graphics device interface functions), and kernel32.dll (for basic system functions).
  • Shell32.dll for handling Windows Shell API functions related to file operations and the user interface.
  • DirectX Support, for running games and multimedia applications. WINE implements parts of DirectX, like Direct3D for 3D graphics, DirectDraw for 2D graphics, and DirectSound for sound processing. Note that WINE’s implementation converse Direct3D calls to OpenGL, whereas there are community projects like DXVK and VKD3D which translates these calls to Vulkan.
  • Finally there’s a Registry Implementation, so that applications that need to read or write to the registry can function correctly.

Of course, there’s a LOT more to it, the above is just an example of some key components. Basically Wine has reimplemented (coded from scratch) various libraries and executables that, on the outside, look like standard Windows dlls/exes, but internally they use POSIX APIs to talk to the Linux kernel and other POSIX components. This, along with the Syscall translations, bridges the gap between Windows programs and Linux.

Now naturally, this is neither a perfect, nor a complete implementation of Windows APIs; plus there are some things which Wine will never implement (such as ntoskrnl.exe), so not every program will work as expected - so check out the Wine AppDB for compatibility reports with various Windows apps.

d3Xt3r, (edited )

Nix (Nixpkgs) actually exceeds the AUR in the number of packages, according to this page.

And the nice thing about it is that you don’t even have to be on NixOS to use it - in fact, NixOS came much later. Nix started out as a distro-independent package manager, and can still be used that way, because Nix packages do not interfere with your system’s packages.

d3Xt3r, (edited )

But if something isn’t available via the package manager, I could still find it online and download and install it, but it might cause issues because it hasn’t been verified by the people who maintain the distro’s package manager accessible repositories.

Correct. The usual issues that you’d find is missing libraries or other package dependencies, because the versions/packages on your OS may not match what the developer complied their generic release package with. Which is why you normally don’t download random apps from the web like you’d do on Windows, becuse there’s no guarantee that it’d work on your distro (not to mention the security concerns).

Or I could still install it with flatpaks or snaps and something something container and it should still work? Or might cause compatibility issues?

Correct, Flatpak/Snap was invented for this very reason, to solve the library mismatch and dependency issues you might get. Flatpak/Snap works by bundling all the necessary dependencies a program might need, so it doesn’t matter what your OS has. There are some issues with Flatpaks/Snaps, but these are rare and usually they come about due to the sandboxing (Flatpak/Snaps typically don’t have full system access, but “just enough” to get things working. You can manually configure the permissions though if you need to give an app more/specific permissions).

AUR has more packages that have been verified for arch than OpenSUSE has with Yast?

  • “packaged”, not “verified”, but yes being packaged for a particular distro usually implies that it works, but that’s not always the case. Btw, YaST is just a system config tool, not a repo. OpenSUSE’s default repos do indeed have fewer packages compared to AUR, but that’s an unfair comparison since the AUR isn’t even enabled by default on Arch, it’s something you’ll manually need to enable and even get a third-party package manager like yay/paru etc to access it. OpenSUSE also has third-party repos like Packman, and even an online Software Portal that can be used to search for and install package from several official and unofficial repos. So technically speaking you could probably find everything you need on OpenSUSE (it’s hard to get an exact package count to compare), but I guess it’s not as easy/convenient as simply using the AUR on Arch.
d3Xt3r, (edited )

This is the actually the thing same as Windows - in Linux you’ve got the which command, and it’s equivalent is where in Windows. Both do the same thing - find out where a program lives.

OP meant a “program” in this context. Both Linux and Windows have specific paths where programs typically lives. For example, in Windows, if you type “notepad” in a command prompt or the ‘Run’ dialog, it’ll search for it in known system paths such as C:Windows, C:Windowssystem32 etc. These paths are declared in the PATH environment variable - which you may have encountered when certain applications try to (or ask you to) add their program folder to the PATH, such as say Java or Python. If a program is added to the PATH, typing ‘java’ or ‘python’ from anywhere will automatically launch it, so you don’t need to specify the full path or the program.

Now whilst this is convenient, sometimes it can cause unwanted issues. For example, say you installed some other program that uses a specific version of Java or Python, and it installed that version in your system, and added that folder to the PATH - now when you type java or python in a command prompt, you wouldn’t know which version you’re executing. This is what OP meant by a program living in multiple places. As you can imagine, this can now cause issues, and can even break some scripts expecting a particular version of Java/Python etc and some other version is being picked up. This is where the where command in Windows comes in handy, as it tells you where exactly that program is located. And it’s Linux equivalent is which.

So at least in this department, the behavior of Windows and Linux is virtually identical. :)

d3Xt3r,

Mine was Mandrake 6. RedHat 5.2 was my first, and I was surprised how much easier Mandrake was in comparison. But the one that really wowed me was SuSE (before they became OpenSUSE), I was blown away how polished and user-friendly it was. Windows 9x/ME felt like a joke in comparison at time. And some people still claim Linux isn’t user friendly… and I’m like, bruh it’s been user friendly for about three decades now…

would it be illegal to download Ubuntu on a Chromebook?

what if I, for example, had a job in Google and I liked Linux so much I install Ubuntu on my Chromebook, would that be illegal/send me to prison?? Or, if I had the job, would I be kicked?? I like Chromebooks because they are so smol and nice. But I don’t know if it’s legal to install a Linux distro on it. Thank you!!

EndeavourOS encrypted partition

I installed endeavourOS 2 days ago and then, the next day, there was a newnrelease of endeavourOS. It’s supposed to have better encryption. Is it possible to upgrade encryption on Linux? An unrelated question: is it possible to change the password of an encrypted partition? I’m a beginner, so please explain your magical...

d3Xt3r, (edited )

Apparently there’s still some limitations, according to the Arch Wiki:

  • Initial LUKS2 support was added to GRUB 2.06, but with several limitations that are only partially addressed in GRUB 2.12rc1. See GRUB bug .
  • Since GRUB 2.12rc1, grub-install can create a core image to unlock LUKS2. However, it only supports PBKDF2, not Argon2.
  • Argon2id (cryptsetup default) and Argon2i PBKDFs are not supported (GRUB bug ), only PBKDF2 is.
d3Xt3r,

That patch looks promising. But I wouldn’t recommend PBKDF2, I mean if you’re going to go thru the trouble of converting to LUKS2 for stronger encryption, might as well go for Argon2.

d3Xt3r,

All come with a browser, a PDF reader, and some word doc/spreadsheet program.

Strictly speaking, “All” is a bit of a stretch - Arch doesn’t come with any of those by default, neither does Gentoo, or for that matter, nor do any of the minimal/netinstall/server variants of other distros.

d3Xt3r,

it’s quite difficult for me to get things working for now. […]

Where do i learn more about linux system so i can get more familiar with it?

You said it was difficult “to get things working” - identify what exactly is it that you’re finding difficult, then type that into Google/DuckDuckGo and check the results. If there’s anything in that results you don’t understand, Google/DDG it further. Keep doing that until you understand everything that you want to about that topic. Then proceed to the next topic.

There are also IRC, Discord and Matrix chat rooms for most Linux distros out there, so if you’re unable to find an answer, feel free to hop into one of those channels and ask a question.

ChatGPT is also a decent resource for general understanding - but don’t type any commands it suggests (unless you know what you’re doing!).

d3Xt3r, (edited )

Why is toolbox preinstalled and not distrobox?

Because Toolbox is a Red Hat/Fedora project and Distrobox isn’t. Also, Distrobox is a much more recent project (2021) compared to Toolbox, which was developed back in 2018. When Silverblue came out, there was a need to make it easier to install apps, and thus Toolbox was born.

Since Toolbox is a Red Hat/Fedora project, it means that it’s officially supported, whereas Distrobox isn’t. Not that it means much from a community support/home use case of course, but that might matter if you’re an enterprise and you want support from Red Hat or official Fedora communities.

But both use podman behind the scenes so internally they aren’t that different, but you can think of Distrobox as a more distro-agnostic and user-friendly version of Toolbox. If you’re a home user then stick to Distrobox.

d3Xt3r,

Plasma Panels have now gained a new visibility mode: “Dodge Windows” aka “intelligent auto-hide!” In essence, the Panel auto-hides when touched by a window, but is otherwise visible

Finally! With this, we can now have a panel behave like a proper dock.

d3Xt3r, (edited )

Also, unless you’re very dependant on some specific X11 apps, you don’t need Xorg any more so I reckon you should switch to Wayland for a better experience (smoother, no screen tearing, high refresh rates, better multi-screen / multi-DPI handling etc).

d3Xt3r, (edited )

If an application only ships with Wayland, then… well, I guess you’re using Wayland now.

If you wanted to though you could run Wayland apps under X11 - you could use something like cage to run the app within it’s own Wayland window. Kinda similar to running X11 apps using XWayland, but not as seamless or pretty, so I wouldn’t recommend it of course.

Should I install Linux on my smartphone?

I have a Samsung Galaxy J3 (2018) smartphone which currently has the stock Samsung Android OS installed on it. I wanted to install an Android “distro” that doesn’t spy on me, like Graphene OS, but I couldn’t find a ROM for it. Since I would probably need to compile AOSP from source code anyways, I though, why not install...

d3Xt3r,

Doesn’t stop the host OS (Android) from “spying” on you though, so doesn’t really help OP.

d3Xt3r, (edited )

If I’m not mistaken, I believe the 2018 J3 has a locked bootloader. The fact that I can’t find even a SINGLE custom ROM on XDA for this model means it’s highly likely that the bootloader is locked, and/or the device isn’t dev friendly (no kernel sources available etc).

so I guess doing the same on my smartphone wouldn’t be too hard.

Mate, you’ve no idea… Smartphones are a completely different ball game to desktops. You could try and compile your distro, but without the kernel sources and drivers for your specific model, nothings gonna work. You won’t even be able to boot the damn thing. And even if you did have those, it’s going to take a LOT of effort just to get basic OS functionality working. Forget getting actual phone stuff working, like making calls etc - that’s next to impossible. Even large projects like PostmarketOS struggle to get basic functionality going even on dev-friendly phones.

But you can stop dreaming about all the above if you can’t even unlock the bootloader.

Basically, what all this means is that there’s no point wasting your time on the J3. Stop right now and don’t waste any further time on this.

If you’d really like to run GrapheneOS / Linux on your phone, your best option is to sell your J3, and get a used Google Pixel from Swappa/eBay or something.

d3Xt3r,

1 CPU and 20 cores?! What sort of a CPU is that?

d3Xt3r,

xremap.

  • Actively developed
  • Works on Wayland and is DE/distro independent
  • Written in rust so it’s faster and more lightweight compared to other similar apps written in python
  • Works on AARCH64 (not sure if it works on 16K kernels though, but worth trying)

How do y'all deal with programs not supported on Linux?

I’ve been seeing all these posts about Linux lately, and looking at them, I can honestly see the appeal. I’d love having so much autonomy over the OS I use, and customize it however I like, even having so many options to choose from when it comes to distros. The only thing holding me back, however, is incompatibility issues....

d3Xt3r, (edited )

Ooh, Win 3.11? Which version of Linux did you switch to at the time?

I don’t recall the kernel version, but my first was Red Hat 5.2 in the late 90s. I didn’t switch to Linux permanently though, had it on dual-boot. But eventually it was SuSE that won me over, with their YaST tool and polished KDE implementation - seemed lightyears ahead of Win 9x and ME at the time.

d3Xt3r,

I only use it to run productivity apps inside a VM (Adobe Reader etc), so no issues here.

I think the most problems people have with it is running it on real hardware, since it lacks drivers and stuff.

d3Xt3r, (edited )

Web apps (for MS Office/Teams), Wine (mostly for games and random apps), and for everything else, an optimized Tiny11 Core VM + WinApps for seamless windows/integration with Linux. My Tiny11 only uses 0-1% CPU and 600MB RAM on idle so I’ve got no issues running it in the background, besides it takes only a couple of seconds to launch, if I wanted to start it on demand.

I’ve also got a portable SSD with a copy of Windows installed on it, just in case I need it for some firmware updates or something (although I’m on a Thinkpad so pretty much everything can be updated via LVFS, but I keep it around just in case + it’s portable so there’s no harm in having it around).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #