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.

chr , in Cannot start spotifyd.service
@chr@lemmy.ca avatar

Looks like it’s in a directory called contrib. Should just be in /etc/systemd/system

HotsauceHurricane OP ,

I moved it to /system shortly after this and tried again. Still nothing. Same result.

rasensprenger , in Cannot start spotifyd.service

I don’t know much about systemd, but i assume the file should be owned by root? It looks like it isn’t, so try chown root:root spotifyd.service

HotsauceHurricane OP ,

I’ll try that when i get back to it.

MonkderDritte ,

Nope, don’t run Spotify as root. That’s a bad idea.

rasensprenger ,

I’m not sure spotifyd is just spotify (Edit: I checked, its some kind of spotify client meant to be run as a daemon? No idea what permissions that needs)

And the user that executes a service isn’t determined by who owns the service file, there is a user option in the service config

avidamoeba , in Free and Open Source Software–and Other Market Failures
@avidamoeba@lemmy.ca avatar

On a related note, FOSS suffers from massive positive externality market failure. As a result we underinvest in it.

KryptonNerd ,

Can you explain what that means, I’m not sure I understand?

where_am_i ,
Zangoose ,

If I understand this right, is the idea something like this?

Developers using FOSS libraries (even if their code is not necessarily FOSS itself), along with the end users of those products, don’t have to pay for it in any way. Because of that, it’s an “external cost” that no one thinks about even though most projects do need some kind of funding?

avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

That’s half of it. But it’s worse than that. You’re considering the case where a non-zero price would fund existing projects that need work. Now consider how much value FOSS could create if we paid enough for it so that more people went to produce more of it. Microsoft wouldn’t exist today or it would use FOSS and either way everyone would pay way less for MS or MS-equivalent enterprise products. There would be a ton of freed up resources that could go towards other useful endeavors. But who am I kidding, they’d go into stock buybacks. 🫠

See my other comment for more detail.

avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

In the free market economic model it’s generally assumed that prices of things, including wages, investment, accurately represent the value of what’s being produced. An ideal free market has everything about a product expressed in its price. In reality markets often misprice things. That is the price determined by the market for a product is lower or higher than it should be. There are many reasons for that and they’re considered market failure, because the market fails to price things correctly which then means it fails to allocate resources efficiently - one of its primary features. This means for example that something is too expensive and we produce too little of it as a result of the other way around. Externalities are a type of mispricing where there’s negative or positive effects, or value, of a product which isn’t reflected at all in its price. For example, until recently the CO2 emitted by manufacturing of most things wasn’t factored in the prices of anything. As a result, say the price of shipping is lower than what it should be. As a result we ship more than what we would have otherwise. As a result there’s more wildfires. As a result populations near wildfires lose their homes and their insurance skyrockets. They’re paying costs that should have been part of the shipping prices which would have reduced the amount of shipping we do, or made shipping invest in low carbon technology, etc. The market however failed to allocate this cost into the price of shipping, thus producing an externality. Since this externality is an additional cost compared to the price, it’s a negative externality. A positive externality is one where there’s additional benefit that’s not reflected into the price of a product. In the case of free open source software, a lot of it is priced at 0. At the same time there’s vast numbers of businesses built upon FOSS. Since the market prices FOSS at 0, most of them pay 0 and we end up with unmaintained OpenSSL libraries. Perhaps more importantly, we end up having less FOSS produced than what would be optimal for the economy. For example we end up having most firms pay Microsoft significant profit margins for their products instead of paying significantly lower prices for FOSS which would have generated the investment needed to develop better alternatives to MS’es products. And that’s the market failure that leads to underinvestment in FOSS.

Now I’m not in any way saying that the free market is a tool that is actually capable of allocating these resources efficiently and that “something is done to it” which causes it to fail. If anything, FOSS is a great example of the inherent inability for the free market to efficiently allocate resources in many cases. You know, in case the climate crisis wasn’t a good enough example. 😅

technocrit , (edited )

Excellent explanation (and disclaimer). I might just add another 2 cents…

It’s not just that “the market fails” to account for many “externalities”, but also that the market is systemically incapable of ever accounting for very many, very important externalities.

IE. The space of externalities >>> the market space. For example if the market priced in the suffering of labor (by paying living wages+, etc), that alone might make the market unaffordable. Similarly with climate justice, etc. The exploitation of these externalities is largely the basis of “profit”.

avidamoeba ,
@avidamoeba@lemmy.ca avatar

You know, as time passes I get the feeling that this “space of externalities >>> the market space” might indeed be the case, or otherwise put that the free market fails to allocate resources efficiently more often than it succeeds. I just don’t know if there’s any empirical evidence for it and therefore I didn’t want to add much of my opinion. Just the mainstream economic view of externalities coupled with a few obvious and massive examples like climate change paints a decent picture.

Do you know of any analysis that tries to compare the space of externalities vs the space of the market?

Pika , in /media or /mnt or anywhere ? Discussion.
@Pika@sh.itjust.works avatar

Actually since their permanent non-removable tribes, I would say wherever you replace them, if they’re meant primarily for storing user-based data you can do like what I used to do which was store them in within the home directory just as specific names. Like my old setup before I went proxmox was /backups was my backup drive, /home was my home drive that stored most of my users /home/steam held all my game server drive and /home/storage held my long term cold storage drive.

gpstarman OP ,

Thanks man. I think I’ll stick to this.

ZWQbpkzl , in Cannot start spotifyd.service

For some reason you’re trying to install it as a system service so I suspect you need to start it with sudo and probably do the daemon reload with sudo. Not entirely sure its in the right folder but it might be fine.
You can also try `systemctl list-unitd

Fwiw I have spotifyd installed as a user service in ~/.config/systemd/user that way I can start and stop it with systemctl --user instead of sudo systemctl. This is important because spotifyd will disconnect and need to be restarted after inactivity.

nieceandtows , in Cannot start spotifyd.service

What’s in your service file? May be you entered some parameters wrong

HotsauceHurricane OP ,

Its the same service file that i used on another computer that had spotifyd working. So i dont think the file is incorrect, i’ll post the file when i get back to my computer.

qaz , (edited ) in Cannot start spotifyd.service

Why are you creating a system service for a user application? It will run Spotify as root unless you override the user. Did you know you can add your own services for your user at ~/.config/systemd/user/?

Anyway, your method to add the service seems correct (create a file and reload the daemon), so I suspect it might refuse to load the file due to a syntax error in the service. Also perhaps compare the file permissions with the other files in the systemd folder.

HotsauceHurricane OP ,

Ill give it a look tomorrow when i sart my nonsense up again.

Ghoelian ,

If you just want it to auto-start at login, you could create a symlink from the .desktop file to ~/.config/autostart.

Something like ln ~/.local/applications/spotify.desktop ~/.config/autostart (or ln /usr/share/applications/spotify.desktop ~/.config/autostart if that’s where it installed to).

I believe most DE’s will pick this up automatically.

qaz ,

KDE also has an easy GUI to configure this. It’s called autostart in the settings app.

Decq ,

Spotifyd is a Spotify daemon, not an user application. It makes perfect sense to run as a service. Though personally I would run it as a user service instead of a system service.

Ghoelian ,

Ahh I thought they were just making a service for the normal spotify application, yeah in that case it makes sense to use a service.

furikuri ,

Additionally if you’re looking for it to start on boot without logging in, you might find the loginctl enable-linger command to be of use. Maybe along with a Restart=on-failure policy in the service file if this is for a headless unit or something

rotopenguin , (edited ) in what could cause one of my monitors to be stuck at 640x480 only on the first boot after a system update?
@rotopenguin@infosec.pub avatar

640x480 sounds like the typical fallback if there is no EDID/DDC data and the card is going ahead with the most bare-minimum signal that any screen should accept. Maybe there’s dumb state sitting around in the video card. Maybe, because everything is now so smart that it’s stupid, the monitor itself is the one remembering weird state. Maybe it doesn’t like the text-mode flip or a DPMS command at the end of an update-reboot cycle, so its EDID responder loses the plot. Who the fuck knows what goes on in all this garbage firmware?

deadbeef79000 , in /media or /mnt or anywhere ? Discussion.

In the past I’ve tended towards /srv/* as most mounts end up being application specific storage.

Though now it is all mounted as container volume storage.

gpstarman OP ,

Isn’t /srv/ is for files from network or something ?

container volume storage

What’s that ? 😅 Is that like LVM ?

deadbeef79000 ,

Used to be an LVM group using the LVM docker volume driver. So every container volume became its own LV.

Now just a bunch of devices behind a btrfs volume mounted on /var/lib/docker or wherever.

gpstarman OP ,

Thank you.

Hawke , (edited )

/srv is for “site-specific data which is served by this system.”

How to interpret that is up to for debate, but it seems clearly to be “user files” as opposed to “system files”. “Served” is a bit ambiguous but I don’t think it really requires that it be made accessible with a network service.

Basically I’d treat this as a location to mount/store your non-personal data such as music, videos, etc that should be accessible to anyone using your system. It could be network-exported as well but doesn’t have to be.

/net is for files imported from the network.

gpstarman OP ,

Thank you.

xenspidey ,

I use /srv for all mu shared mounts for all the *arr’s

accideath , (edited ) in Why do you still hate Windows?

A few things (disclaimer, I‘m both a Linux and mac user. Linux on my gaming machine, mac on my work machines):

• Privacy is a big factor. Microsofts track record is bad, even among non FOSS companies.

• Bloatware and Ads. Microsofts insistence on pushing OneDrive, Edge, 365 and bing are annoying to say the least. Why do they think I’m going to change my mind about that after a minor update?

• The UX is less than stellar. Why does the OS have 4 different UI styles for different programs that sometimes even do almost the same thing but not entirely, so you’ll have to use both versions?

• It’s almost impossible for me to keep my desktop tidy short of not using it. I’m dependent on macOS stack feature. On Linux I never had enough random files for it to be a problem.

In short, Windows just annoys me. While Linux and macOS go out of my way and let me just do my stuff, Windows just constantly pulling my attention away from what I advertised want to do and that was even when I was using my PC solely as a gaming machine.

Edit: formatting

Presi300 , in /media or /mnt or anywhere ? Discussion.
@Presi300@lemmy.world avatar

Idk, I mount my disks in /mnt/whatever, though I don’t think it matters where you mount them.

gpstarman OP ,

Thanks.

Nibodhika , in Why do you still hate Windows?

Because my experience is always the exact opposite of yours. Windows has never been convenient for me, it always does random shit, and stuff just suddenly stops working because fuck you that’s why. For example, I have a Windows computer at work to build and test the games I work on, this week it decided that it won’t use more than 20% of the CPU for building the latest game, there’s no other bottleneck, temperature is stable at 60°C, disks have space, and most importantly, other games compile just fine, it’s just the one I’m actively working currently that doesn’t. And it’s not an issue in the code either since I’m the only person in the company experiencing this. And, this is the important part, I can’t do anything about it, because no one knows why Windows decided to do that, so there’s nothing anyone can do. On Linux when you have an issue there’s an explanation, and someone with enough experience will find it quickly, on Windows you can be the world’s expert and still the OS will just decide to nope the fuck out.

0x0 , in Running a business using linux

The UK Government didn’t create a free solution

You mean you must use their software to do taxes or what?

Back in my neck of the woods you either do them on paper (almost no one) or you submit online… They have well-defined APIs and you can use whatever you want (the IRS submission does use some java crap underneath but it’s fluid and you can save your progress in an XML file).

Although for most people it’s just a matter of logging in, checking that everything is in order, and clicking submit.

utopiah , in Why do you still hate Windows?

Because it’s a tool by one of the biggest, if not THE biggest, corporation ever made. It’s nothing more than a way to lock-in users deeper in an ecosystem of extortion and learned helplessness.

Through Windows, computer users discover that they have a black box at work and then at home. It is NOT their computer. It is a computer that they are allowed to use a certain way. This then is extended in a myriad of ways, through other tools, e.g mobile phone, and services, e.g Office360, reinforcing that behavior. It becomes a second nature to the point that computer users dare not even imagine HOW they want to use a computer. Instead they buy whatever they are allowed to consume.

I do not care for Windows as an OS, I absolutely do HATE it though as a vehicle for cognitive enslavement. I do so keeping in mind the history of the company that made it. It is not a repeated random process, it’s a strategy. This is what I find disgusting.

pastermil , in Cannot start spotifyd.service

Why are you running Spotify as a service? I don’t think that’s what they mean by SaaS!

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