linux

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

Guenther_Amanita, in toolbox vs distrobox. Which one to use?

I use Distrobox on Fedora Silverblue.
More precisely, uBlue. It came pre-installed there and I quite like it.

Toolbx is more of a “use it to install command line dnf-packages on SB”, while Distrobox is way more capable.

I can have any distro I want as container and export graphical apps and binarys.

alt,

The link for uBlue didn’t work for me. For those interested: uBlue

Moobythegoldensock, (edited ) in Need some help with a Kali linux

Did you try apt update and apt search? Is it in the repositories you’re searching? Do you need to add a repository and/or build it from GitHub?

The reason Kali is a meme is because it’s intended for professionals but often used by newbies, and you’re asking a rather basic question about package management.

Bicyclejohn,

Will run apt update, just didn’t think to was needed cos it was a new iso.

I’m not very technical. Not good with terminals

Moobythegoldensock,

You’re running a live image, so the list of packages in the external repositories may be blank depending on how Kali does its defaults. Having apt fetch a package list is a very easy first troubleshooting step.

vluz, in Pyradion, internet radio TUI client, with recording functionality, written in Python
@vluz@kbin.social avatar

Lovely! I'll go read the code as soon as I have some coffee.

christos,
@christos@lemmy.world avatar

Thanks, any feedback would be welcome!

bizdelnick, in find, grep, sed, and awk

My 5 cents:

  1. When piping output of find to xargs, always use -print0 option of find and -0 option of xargs. This allows processing files with any allowed characters in names (spaces, new lines etc.). (However I prefer -exec.)
  2. There’s an i command to insert a line in sed, it is better to use it instead of s/^/…n/. It makes code more readable (if we can talk about readability of sed code, huh).
  3. If you want to split a delimiter separated line and print some field, you need cut. Keep awk for more complicated tasks.
OmnislashIsACloudApp,

agree with one and two and younger me would have agreed with your third point but I think I don’t anymore.

yes cut is the simpler and mostly functional tool you need for those tasks.

but it is just so common to need a slight tweak or to want to substitute something or to want to do a specific regex match or weird multi character delimiter or something and you can do it all easily in awk instead of having to pipe three extra times to do everything with the simplest tool.

Holzkohlen, in A response to the "Boycott Wayland" article

I now have perfect wayland setup with a Nvidia GPU. I just use my AMD Apu as main gpu and the nvidia one as secondary GPU. The DE runs on Amd and games run on Nvidia. Thanks for nothing Nvidia, making me work around your bs.

michaelmrose,

Doesn’t that drastically limit your monitor support like to ONE?

chunkyhairball, in State of the Nvidia open source driver in late 2023?

I REGRET buying an nvidia adapter when I had the opportunity to buy an AMD/Radeon adapter.

During the pandemic, I purchased an GeForce GTX 1650. It’s an older, Turing hardware-based card, so you’d think the driver support would be pretty mature, right? It has been NOTHING but problems.

On nouveau, it’s stable, but 3d acceleration just doesn’t work right. Under the nvidia open source driver, it corrupts the screen after boot and locks up entirely second later. Under the proprietary driver, it freezes on boot a good amount of the time.

Now, once I get it booted, it’s solid as a rock. I’ve gotta crank the engine over five or six times every time I DO boot, though. If I had it to do over again, I’d definitely have stuck with AMD.

wim,

Sounds similar to my most recent Nvidia experience.

0x0, in Applications to reduce mouse usage

mutt is on my to-learn list.

swytch,
@swytch@lemmy.ml avatar

You’re in for a treat, it’s a PITA to configure if you’re learning it (especially on the UI part, I found). Good luck on the journey :)

Cralder, in Applications to reduce mouse usage

A terminal file manager like ranger is pretty useful

be_excellent_to_each_other,
@be_excellent_to_each_other@kbin.social avatar

I'm partial to midnight commander but admit I haven't used it in a couple of years.

KISSmyOS, (edited ) in Need some help with a Kali linux

First, make sure your VM has access to the internet, for example with ping 8.8.8.8
Then do sudo nano /etc/apt/sources.list

The file should include a line that is exactly this:
deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware
(or it could have kali-last-snapshot in place of kali-rolling)
If not, replace everything in the file with the line above and save the file with Ctrl+O, then close the editor with Ctrl+X
Then run:


<span style="color:#323232;">sudo apt update   
</span><span style="color:#323232;">sudo apt dist-upgrade   
</span><span style="color:#323232;">sudo apt install hcxtools
</span>
Helix,

Why the dist-upgrade?

nobloat, (edited ) in wayland, not even once

Had me at “References >> 5 years old Chris Titus Tech YouTube video”

Rustmilian, (edited ) in Question about RMM remote support on Wayland.
@Rustmilian@lemmy.world avatar

Wayland imposes new rules, and one of those rules being that programs can’t arbitrarily access keystrokes and mouse input. This is done to protect against keyloggers as they are used by malicious actors to gain a bevy of information like passwords, banking information, personal information, etc.
I’m unsure if it’s Firefox, the RMM or both, but the necessary permissions aren’t granted and that’s why it’s not working.

PullUpCircuit, in change my mind: Ubuntu does the same thing as Android

Are you talking about mobile OS? I can’t imagine using Android as a desktop.

The biggest differences are the available packages and the that Android is typically heavily locked down to prevent user access.

01adrianrdgz,
@01adrianrdgz@lemmy.world avatar

Android isn’t locked down, because you can download things from the internet, get new apps, even if you can’t access the Google Play Store!! and you can run the terminal.

conciselyverbose,

If you, as the owner, don't have root, it's extremely locked down.

There are a few you can get root, but they're the exception, not the rule, and having to jump through hoops for it is still a locked down OS.

theshatterstone54,

Here’s a task for you: Create a new file called “Unlimited_POWER” in /

Do that both on Android and Ubuntu using the built in or preinstalled terminal, and no external devices. No new software installation. Just this task on a fresh install.

Granixo,
@Granixo@feddit.cl avatar

Oh but there is. (Chrome OS)

PullUpCircuit,

Oh, I forgot about Chromebooks and ChromeOS. They are similar, but there are significant differences.

ChromeOS is based on Gentoo. It is centered on keyboard and mouse input, often with touchscreen.

Android is its own flavor of Linux, entirely centered on touch input.

While I think it might be entirely possible to install and remove packages to have one act like the other, we are comparing a different Linux flavor against Android.

Also, my answer is probably generic enough to answer OP.

Quackdoc, (edited )
@Quackdoc@lemmy.world avatar

it’s not accurate to say android is centred on touch input. Android has some of, if not the most diverse input options, mouse and keyboard works fine, also there is a large library of apps compatible with remotes/gamepads. While that might be how a lot of people normally interact with it, android is very well developed to be diverse

Quackdoc,
@Quackdoc@lemmy.world avatar

android as desktop works pretty decently actually, it can be quite nice when you set it up, especially for lower end hardware, and ofc, if you need more flexibility, you can run linux in a chroot and use x11 to bring the screen to the android env. or go vice versa and use waydroid in linux and your desktop, then simply swap out when you dont need it. (though waydroid can be harder on low end hardware)

simple, in VanillaOS 2.0 (Orchid) Alpha Build 84 Available Now

Never really understood Vanilla OS. Why use this compared to other immutable distros like Fedora Silverblue?

Secret300,

Their package manager interest me. From what I’ve read it seems I can install any app from any distros repo and it’ll set up the container for me

gonzoknowsdotcom1,

You can run containers that are integrated such as android, arch, etc

Guenther_Amanita, (edited )

Which isn’t an unique feature of VOS. You can do the same on Fedora Atomic or any other distro too with Distrobox and Waydroid.

BUT, I like VOS’ implemention. It’s nothing special, but still neat!

gonzoknowsdotcom1,

agreed

MonkCanatella,

Yeah but that’s true about any linux distro. if you can do it on one, you can most certainly do it on any others

Pantherina,

Better Distrobox tooling I think. Actually pretty cool, that has to be ported. Silverblue is the better base imho.

Guenther_Amanita,

I’m a huge fan of Silverblue, but VanillaOS still looks pretty promising.

It doesn’t have much unique to offer imo, but it seems to be “the next Mint” in how I see it.

It has a similar philosophy (user friendliness and reliability), but kind of a different implementation.

Mint tries to archive that by looking similar to Windows UI-wise and being “stable” (in terms of a conservative release cycle).

VOS archieves that by looking simplistic (appealing to younger folks like myself) and being immutable + self managing.

Both are valid, but the key difference is that Mint is “old fashioned”, while VOS tries to use new technologies for it’s goals.

Mambert, in What do you think about this?

One important thing you need to know about distros: they’re all the same under the hood.

You can have any desktop you want on any distro. But some customizations are redone in some distros. In terms of programs you want to run, they pretty much all work on any distro. If a distro is “better for gaming” it usually just means the programs are pre-installed.

People talk about arch and Debian as the best because they have the least customizations, allowing you to install and customize as you wish.

Linux users are mostly tinkerers, they like their customizations their way. I’m in that boat. The less I have to remove to get my customization working, the better. Just give me a black screen and a white blinking cursor, I know how to do the rest from there.

alt,

One important thing you need to know about distros: they’re all the same under the hood.

This is true for the traditional model in which the package manager is the main differentiator between distros. Therefore Arch, Debian, Fedora, openSUSE etc and their derivatives (which make up about 90% of the distros found on DistroWatch) are indeed mostly the same.

But the likes of Gentoo and NixOS etc don’t quite fit the bill. Granted, a new user should only very rarely (if ever) start their Linux journeys on any of these advanced distros.

Mambert,

Yeah, you look at how there are a handful of package managers, and hundreds of distros, they’re pretty much all the “same”

But yes gentoo and NixOS do things the most differently. But even on those you can game on them.

I mostly want to discourage distro hopping with the belief that they’re missing out on a program or desktop, only to end up on windows because they’re tired of reinstalling everything.

alt,

I mostly want to discourage distro hopping with the belief that they’re missing out on a program or desktop, only to end up on windows because they’re tired of reinstalling everything.

Thank you for being thoughtful! I just wanted to add some nuance with my previous comment.

zingo, (edited )

Just give me a black screen and a white blinking cursor, I know how to do the rest from there.

That’s exactly what happens on opensuse when I log into to Wayland. Kwin also crashes 100 % of the time. I’m using a 1050ti.

So my default is always x11.

Can you shed a little light how to fix the Wayland issue.

Thank you.

Edit. I misread your post. Its not the command line but the GUI. Also its a black screen with a mouse cursor followed by a kwin crash.

Mambert,

I’ve never used Wayland, x11 is fine for me.

I have also had issues with Wayland, but I have heard issues with Nvidia cards and Wayland.

penquin, in gamescope through the heroic launcher is WAY better than steam

I was forced to use heroic launcher because I couldn’t get genshin impact to run on steam from my games drive. It kept pushing it to my home drive and I didn’t want that. I’m now in love with heroic launcher(this is my first time ever using it). So beautiful and very practical. I also use it to install regular .exe files. Very solid. I’m going to donate to the project, that’s how much I actually like it 😄

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