There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

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

priapus , in Toolbx now enables the proprietary NVIDIA driver

I have never heard of toolbx before, can anyone share how it compares to Distrobox? I’ve been using that for some time.

Telorand ,

From what I gather, it’s very similar. They’re both containerization tools to install software in a container overlay (someone mentioned to me before that they both even draw from the same Docker images).

Toolbx environments have seamless access to the user’s home directory, the Wayland and X11 sockets, networking (including Avahi), removable devices (like USB sticks), systemd journal, SSH agent, D-Bus, ulimits, /dev and the udev database, etc…

I’m not familiar with the finer details, but here’s some example use cases.

ETA: Based on the examples, it reminds me of how NixOS uses nested shells to do things.

biribiri11 ,

From what I gather, it’s very similar.

They are both just wrappers for podman(/docker). Distrobox is more feature rich, and is far better documented, but is closer to a collection of bash scripts rather than a fully cohesive program. Toolbx is… definitely something. Their only real claim to fame is being less “janky”? IDK, it reeks of NIH, and in my experience, it’s a lot more fragile than distrobox (as in, I’ve had containers just become randomly inoperable in that I can’t enter them after a bit).

If you want to be pedantic, technically, distrobox is a fork of toolbx before it was rewritten.

scottmeme ,

Its mostly used for servers so that a GPU can be easily used with containerized software.

Most of these use cases don’t even have a display output.

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

Its faster and more minimal.

For desktop use poorly it doesnt have the ability to use custom home dirs so dotfiles will conflict

priapus ,

I see, I only use distrobox for building software that doesn’t easily run on NixOS, so that likely shouldn’t matter too much for me.

possiblylinux127 , in Linux distro for an ancient Pentium PC

Tinycore or maybe something custom with Gentoo or buildroot

CsXGF8uzUAOh6fqV , in Editing (or running) file(s) regardless of current directory. [Cli tip]
@CsXGF8uzUAOh6fqV@lemmy.world avatar

What about FZF? For example, I want to play a video file without digging through my files, I type fflpay and press ctrl-t which opens a fzf fuzzy finder. Type the incomplete name and select it. I would suggest this at least for the second example as running the wrong executable may get you in trouble. This is on the fish shell but I think other shells have similar possibilities. I also use this ctrl-t thing in combination with nvim or even cd.

gnuhaut , in Help with sink switching script

Like this?


<span style="color:#323232;">#!/bin/sh
</span><span style="color:#323232;">set -eu
</span><span style="color:#323232;">
</span><span style="color:#323232;">name_from_desc() {
</span><span style="color:#323232;">    LANG=C pactl list sinks 
</span><span style="color:#323232;">        | awk 'BEGIN {FS=": "} /Name:/ {name=$2} /Description:/ {print name, ":", $2}' 
</span><span style="color:#323232;">        | while IFS=' : ' read name desc; do
</span><span style="color:#323232;">        if [ "$desc" = "$1" ]; then echo "$name"; fi
</span><span style="color:#323232;">    done
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">id_from_name() {
</span><span style="color:#323232;">    pw-cli i "$1" | awk '/id:/ {print $2}'
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">ret=$(LANG=C pactl list sinks | awk 'BEGIN {FS=": "} /Description:/ {print $2}' | tofi)
</span><span style="color:#323232;">
</span><span style="color:#323232;">wpctl set-default $(id_from_name $(name_from_desc "$ret"))
</span>

I don’t get how that case statement of yours is even supposed to work. I’m pretty sure that’s just a syntax error. I guess you want to map from description to name? But that’s not remotely what that does.

Communist OP , (edited )
@Communist@lemmy.ml avatar

I made a better solution in my post that works perfectly… and is better for me because it isn’t a script (I don’t like adding additional dotfiles) sorry for the unnecessary effort.

owenfromcanada , in Linux distro for an ancient Pentium PC
@owenfromcanada@lemmy.world avatar

I’ll throw Alpine Linux into the mix. Not sure how well it supports older hardware, but it’s really small.

Azzk1kr , in How can I easily and conveniently transfer files wirelessly between my linux computer and android phone?

My go to hack was quickly running a python http server and connect to it. I can’t remember what the command was exactly. Something like python -m http.server or so, then connect to the ip from my phone, heh.

kellenoffdagrid , in How can I easily and conveniently transfer files wirelessly between my linux computer and android phone?
@kellenoffdagrid@lemmy.sdf.org avatar

I use a mix of GSConnect/KDEConnect, Warpinator, and Syncthing. I’ve got a shared “dropoff” folder on Syncthing that lets me easily drop files from one device to another. You’re having issues with Warpinator but if you’re able to figure out the issue there, that’s my second go-to for one-time file transfers. KDEConnect is a bit more fiddly, but I use it mostly for sharing clipboard info and the occasional file when it’s stable enough.

VictoriaAScharleau , in How can I easily and conveniently transfer files wirelessly between my linux computer and android phone?

snapdrop

delirious_owl , in How can I easily and conveniently transfer files wirelessly between my linux computer and android phone?
@delirious_owl@discuss.online avatar

Onionshare or syncthing

claymore , in Windows XP loading screen / bootsplash?
@claymore@pawb.social avatar

Plymouth would be what you’re looking for. You’d have to find an XP theme or create one yourself.

fl42v , in Windows XP loading screen / bootsplash?
riodoro1 ,

Op, now you have to report with pictures.

gnutard OP , (edited )

I will definitely come back with photos, I’m getting the Thinkpad on Friday or Saturday :-)

I’m also looking into customizing GRUB to look like this:

https://sh.itjust.works/pictrs/image/b4b70d3d-2e73-42e8-90f5-e13ad67f73f2.png

Edit: also planning on using this for my DE:

github.com/rozniak/xfce-winxp-tc

possiblylinux127 , (edited ) in What is PID 0?

There is no PID 0. I guess I’ll read the article.

Edit: This guy knows things

nycki , in How can I easily and conveniently transfer files wirelessly between my linux computer and android phone?

syncthing is the easy option if you have some files you always want to have on both. if you just want to access your desktop files from your phone, I recommend Cx File Explorer for Android, it’s a file browser that supports various network file share protocols including Samba and SFTP.

lord_ryvan , in How bad is Microsoft?

I feel like the authors of this site may be biased, though.

Moorshou OP ,

I’m a little biased right now.

jjlinux , in How can I easily and conveniently transfer files wirelessly between my linux computer and android phone?
@jjlinux@lemmy.ml avatar

KDEconnect or gsconnect if you’re on KDE or Gnome respectively.

jbk ,

There’s an in-development program for GNOME called Valent. It’s been pretty solid for me. It’s also not a GNOME shell extension, instead a native app.

jjlinux , (edited )
@jjlinux@lemmy.ml avatar

Oh, nice. Thank you, I’ll take it for a spin.

Went to look into it, and seems to be in very early stages. I’ll set up the flatpak on my computer and laptop to help where I can, seems like a very nice option. Do you know how to integrate it to Android? I could not find anything on that.

Edit: So it works from the KDEConnect Android app. Nice.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines