linux

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

Unquote0270, in What's your favorite music player on Linux?

Mpd and Cantata. Deadbeef for playing from a directory or for conversation. I haven’t found anything as good as cantata but I have to admit that I miss the monolithic and do everything of musicbee.

hungover_pilot, in How to use a portable SSD for a travel OS with Linux?

I do this same thing. I have Ubuntu on an external ssd with its own EFI partition. I followed this guide to get it setup and it works great.

itsfoss.com/intsall-ubuntu-on-usb/

ShouldIHaveFun, in Debian 12: how do I get Gnome Files to display preview thumbnails/icons for large video files? Right now it just shows generic icons

There should be an option in the setting to choose the max file size for which to generate the thumbnails.

TheAnonymouseJoker,
@TheAnonymouseJoker@lemmy.ml avatar

I replaced Nautilus with Thunar for this, and other utilities. Thunar is straight up superior.

mmababes, (edited )

This is what I see when I open Gnome Files, click on the icon with three lines, and select Preferences (there’s no option for choosing the max size):

https://lemmy.world/pictrs/image/0eaffaf8-f400-4de6-b497-a4e1d2a9497f.png

caseyweederman, in What's your favorite music player on Linux?

dd if=/dev/urandom | aplay

neidu2,

I was about to suggest of=/dev/dsp, but that devnode doesn’t seem to be in use anymore

Rozauhtuno,
@Rozauhtuno@lemmy.blahaj.zone avatar

So you like jazz?

onlinepersona,

Only free jazz

CC BY-NC-SA 4.0

spaphy, in Linux tablet?

Can I be ridiculous here and say that a nook e-reader or kobo e-reader, and a steamdeck would suffice?

Maybe just a kobo?

I know it’s not Linux and that’s what you asked for, but at the end of 2022 when I looked into this I had a hard time finding Linux tablet with a good UX.

Vincent, (edited )

What would you need the Steam Deck for?

E-reader sounds like good advice though, unless they really need colour (e.g. are planning to mainly read comics). MEGA sync probably won’t work, but Pocket might be good enough?

Kobo’s are basically Linux, and have quite a few customisation options.

spaphy,

I had reasoning for the steam deck when I wrote that but I’m struggling to recall why. There was some niche with Linux for it since it has good support for Linux applications but I can’t remember how I thought it would fit

Anyhow nook and especially kobo are solid.

Falcon, in Is it actually dangerous to run Firefox as root?

I have no clue how dangerous running Firefox as root is, but it begs the question…why would you do that?

Create a user account for managing things and create a separate user for each service and/or containers.

For managing things use tmux with ssh, if you want to manage files etc. just use ranger/lf/mc. One can also mount the file system with sshfs.

BCsven, in OpenSuse TW + Gnome Appreciation Post

All the things ypu said abouy GNOME and OpenSUSE I will give a +1. It really is polished and tweaked to be reliable. YAST is truly a great way to onboard to pinux withouy having to drop into CLI to configure things. I don’t think it is 100% Vanilla Gnome there are aome subtle things like OpenSUSE nautlius has a paste button, where as NixOS excludes this. While keyboard short cuts are OK, sometimes you want to just go into the hamburger menu and click paste without having to find white space in the list view to right click on. I have run it for about 7 years now, every distro upgrade has gone smooth.

StrawberryPigtails, in What's your favorite music player on Linux?

About 2 years ago, I moved my music to Jellyfin and have been using their media players on every platform I use (iOS, FireTV, Ubuntu, and Windows). At this point my music library is close to 200 GB, kinda hard to store that much on every device I own.

drathvedro, in Linux reaches new high 3.82%

I suspect that it’s not Linux that is on the rise, but overall PC market that is shrinking. It’s been a trend for quite a while for non-linux people to dump the PC entirely in favor of using just phone.

The desktop/mobile ratio chart aligns with this

gs.statcounter.com/…/desktop-mobile-tablet

abraxas,

I wonder at the various nuances of that. My wife and I have 4 phones and 3 tablets between us between home and work. It would seem any multi-person household would be likely to have more mobile devices than PCs due to the variety of the former. So that chart seems to be that there are more mobile devices per person, but perhaps no reduction in PCs.

In fact, PC sales rocketed up in Q3’20 for very obvious reasons, and have largely not come back down to pre-COVID levels.

rottingleaf, (edited )

It’s been a trend for quite a while for non-linux people to dump the PC entirely in favor of using just phone.

Can’t do that if you play games.

Also that’s half of the reason Windows hasn’t lost the war on home desktop PCs yet. Another half is office applications.

Actually, these are thirds.

Another reason making me say so is that no major user-friendly distribution wants to be just that, they all have a particular madness with no good reason for it.

So I don’t know what to recommend, there should be something off the top of my head, but that’d be “just install Debian, it’s fine”.

So, any single reason of these going away would accelerate Linux adoption notably. Any two would make it a trend visible to housewives. And all three would resemble the flight of ICQ users to Skype.

abraxas, (edited )

What’s Ubuntu’s “particular madness”? They used to be a little FOSS-only, but they’ve chilled out on that.

I agree on the other points, though, with one caveat on both.

No matter how many games run on linux, it won’t be enough because there aren’t ever going to be linux exclusives. Without linux exclusives, there will always be more games that run in Windows than Linux, even if the majority of them run in linux AND run better than in Windows.

Office sounds like a big deal, but Apple managed to prove you don’t need it. The real problem Linux has with office is that it has no well-marketed office suite. There’s nothing wrong with Libre- or Open- except the complete lack of advertising and passive training to its nuances that we get from MS and Apple office products.

It’s not that linux can’t win on games or office. It’s that the game is rigged against it on both. It took me a few years back in the early 00’s, but I quickly realized that there will never be a “year of the linux desktop” regardless of how good Linux gets at games, office, user-friendliness, or anything.

And that’s ok because MY life is easier when I use linux.

rottingleaf,

What’s Ubuntu’s “particular madness”?

I remember that it does too much, but without specifics. It’s been 4+ years since I touched Ubuntu.

They used to be a little FOSS-only

I vaguely remember that “Amazon lens” for Unity, I don’t think they ever were that much FOSS-only.

No matter how many games run on linux, it won’t be enough because there aren’t ever going to be linux exclusives.

It’s fine. That’d still be goal fulfilled.

Office sounds like a big deal, but Apple managed to prove you don’t need it.

How so?

There’s nothing wrong with Libre- or Open- except the complete lack of advertising and passive training to its nuances that we get from MS and Apple office products.

I recently had a problem with LO, while editing a document with lots of math formulae - from time to time while adding a formula about half of others (in the whole document) would just become empty.

Not sure something like that would happen under Apple suite’s analog of Word, whatever it’s called.

It’s not that linux can’t win on games or office. It’s that the game is rigged against it on both.

With that I agree, somewhere in 2012 I somehow realized that it’s already much better than the alternatives, and yes, for a housewife’s desktop just as well, if one’s honest and thinks of their own needs.

And if one’s comparing it to advertising of the competing commercial products, then it’s hopeless.

drathvedro,

Can’t do that if you play games.

I recently been arguing with some dude about some PUBG mechanics. It took me quite some time to realize that he was playing PUBG mobile, never played the PC version or even knew that it even existed for that matter. For him, PUBG simply meant PUBG mobile. For those people, they don’t even consider using PC for gaming. They might consider console, but PC to them is just more or less a typewriter for school/office tasks.

rottingleaf, (edited )

I’ve been thinking for some time what to answer and concluded that the normie world is a world of pain.

We - as in FOSS OS users and FOSS paradigm users - desperately need open hardware, so that the rest of the industry could eat all the rubber dicks they want without affecting us significantly.

And I mean not only hardware design, but fabs.

It may seem an impossible future, with semiconductor deficit etc, and Taiwan being that important.

And with starting a fab being so expensive.

Still, they only way a conclusive FOSS victory resulting in even balance happens is if there is a public fab producing general-purpose hardware with public design.

Because right now lots of resources are being wasted on catching up in inherently disadvantageous areas, like supporting proprietary hardware which is always harder for FOSS developers than for MS or Apple.

Without full-chain FOSS hardware production it’ll always be bare survival.

zingo, (edited )

And yet here I am looking to expanding my devices with a replacement server (linux) and a NUC (linux).

Finally ditched Windows on the desktop forever, about 7 months ago.

I agree with you on mobile. I my country many ppl ditched laptops and desktops for their phones.

Although I have a hard time understanding how they can actually get some work done on the phone, if they do any work from home that requires a computer. Well those ppl probably have an old laptop laying around.

jadedwench,

I don’t know what everyone else’s case is, but my work provides a laptop. None of my home machines have Windows, but the work laptop does.

zingo,

Yeah, many workplaces here do not offer a laptop, its more of “bring your own device” kinda thing.

But of course, some do.

nossaquesapao, (edited )

I remember looking at pc sales data, and they have been shrinking in the last decade, with the curve flattening until the pandemic, when sales grew substantially, almost to the 2000s level. Now it’s shrinking back slowly. I’m not sure if people are abandoning desktops in favor of phones as much as we think. desktops are durable and we tend to have only one, while mobile devices are gaining different forms, and people are getting more of them. Perhaps the desktop market has not much more room to grow while mobile devices are still booming.

But that’s just one possible explanation, I might be wrong. I was going to post the data, but statista requires login to see it.

abraxas, (edited )

I don’t know if we know it’s shrinking back for sure. With the exception of Q1’23, there seems to be a balance around 19M sales per quarter. There’s a way to read it as shrinking, but there’s also a way to read it as stabilizing. There’s just not enough samples to be certain.

What we have to remember is that we’re finally reaching a turning point in GPU pricing. Laptops that were in the $2000+ range a year or two ago are closer to the $1000 commodity price. There had been a “value stall” that just broke, where a new computer used to not be a significant upgrade on an old one, and so people might hold onto their current computers a year or two longer.

I mean, I sure I pulled a few discounts out of my ass, but I just landed an i9 laptop with a 4090 for just over $2k as a replacement to a computer that died. Two years ago almost to the day I bought a middle-of-the-road gaming machine with a 3070 in it for about the same price.

FuckBigTech347, (edited ) in Is it actually dangerous to run Firefox as root?
@FuckBigTech347@lemmygrad.ml avatar

Firefox does sandbox everything but vulnerabilities exist and sometimes go unnoticed for a while before they’re discovered and patched. If a malicious script does manage to escape the sandbox it will be able to do literally anything to the system since it has root privileges. It would have full access to any device that’s in /dev, it could create, modify and delete udev or iptables rules, it could mess with the BIOS since the kernel exposes EFI variables, if the mainboard has re-writable flash chips for the firmware it could write malicious code to them since they may show up in /dev, etc. If any of this makes you uneasy then you probably should stop running stuff as root in general except for when you really need to.

Also in general you don’t want to run any graphical applications on a Server unless there is a very specific reason for it because it takes up extra resources and therefore makes the machine use more power overall. This is especially bad when the machine in question has no hardware acceleration and renders everything in software. Remote desktop also adds CPU/GPU load and takes up a good bit of I/O and network bandwidth which is not ideal for a NAS server.

flubba86, (edited ) in What's your favorite music player on Linux?

Yeah, put me down for Strawberry too. I used to use Rhythmbox up until mid 2023, I started to get into high res music and I got a tidal subscription, so switched to Strawberry.

chockblock,

Can Strawberry interface with iPods?

const_void,

Yes

azvasKvklenko, in What's your favorite music player on Linux?

Lollypop and Deadbeef

planish, in How to use a portable SSD for a travel OS with Linux?

I think that Ventoy has some kind of mechanism to let you do a persistent Linux live environment. Maybe try that?

shotgun_crab, in What's your favorite music player on Linux?

I agree with Strawberry. I’d love if Music Bee ever got a linux port or equivalent though

lemann, in Debian 12: how do I get Gnome Files to display preview thumbnails/icons for large video files? Right now it just shows generic icons

Roughly how big are these files, and are they stored locally on your machine or mounted over the network (using FUSE, GVFS, or a kernel-based one like NFS?)

I’ve noticed a few linux file managers are quite cautious loading multimedia thumbnails for networked filesystems mounted with GVFS, not sure of a fix for that aside from looking for a command line utility to mount using FUSE instead

mmababes,

These files are anywhere between 600 MB to 1.5 GB in size and thet are stored locally on my PC.

cmnybo,

Look for preview size in the settings for your file manager and increase it.

JoMomma,

Make sure you have all the free and non-free video codecs installed

mmababes,

Which ones in specefic?

AVincentInSpace,

Which one are your files encoded with?

(You can check this by running ffprobe on the file.)

mmababes,

Shoot can’t install it because it’s probably in a repository that is not listed in my sources

AVincentInSpace, (edited )

ffprobe is included in the ffmpeg package. For future reference you can find what package contains a file by doing dpkg-query -S /bin/ffprobe (note that the path you give it is relative to /usr)

mmababes, (edited )

Got the command to work. Here’s the info for one of the files for which a preview thumbnail/icon isn’t available:

https://lemmy.world/pictrs/image/7082d6b7-f318-4752-b0c2-9f2582b2baab.png

AVincentInSpace, (edited )

Looks like that video is encoded H.264, which according to Google is one of the codecs that Debian only makes available via third party repository.

Here are instructions from debian.org for installing the codec by manually downloading and installing a single package file:

wiki.debian.org/MultimediaCodecs

And here are instructions from a third party explaining how to tell apt how to install them so they can be kept up to date (be sure you read the warning on the debian.org page about why they don’t tell you to do that before you do it):

debiantutorials.com/how-to-install-ffmpeg-with-h-…

Depending on how exactly your file manager works, installing the codec may or may not be sufficient to display thumbnails. If not, there are probably instructions specific to your file manager for installing the appropriate plugin.

mmababes,

I have been installing the codecs through the Software app. Should I delete them and then install through the terminal?

Btw here are the codecs I have installed through the Software app:

https://lemmy.world/pictrs/image/0cd66308-8a8c-49a5-97fa-287ed3e6a1f7.png

https://lemmy.world/pictrs/image/13a256be-b75a-4844-a9d0-ff321fa72efc.png

AVincentInSpace,

You have openh264 installed already which should cover your bases. Since it quite clearly isn’t I’m not sure what to suggest. What file manager is this that’s having issues?

mmababes,

Ext4

AVincentInSpace, (edited )

Ext4 is a filesystem. That is the part of the kernel that actually stores and retrieves the files on disk. What program are you using to browse files? It’s a bit hard to tell from this screenshot what program it’s a screenshot of, but it looks like Nautilus (the default file browser in GNOME). Is that it?

superbirra,

lol, no :)

first of all, it only searches for occurrences in already installed packages and is more or less a grep -l xxx /var/lib/dpkg/info/*.list. So you can’t use it in order to determine which package to install, for that you use packages.debian.org or apt-file instead.

Secondly, what you search for isn’t relative to anything (wtf):


<span style="color:#323232;">$ dpkg-query -S /etc/grub.d/                                  
</span><span style="color:#323232;">fwupd, grub-common: /etc/grub.d
</span>
  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #