Darktable 5.0 Open-Source RAW Image Editor Officially Released, Here’s What’s New
Darktable 5.0 Open-Source RAW Image Editor Officially Released, Here’s What’s New - 9to5Linux
Darktable 5.0 open-source raw image editor is now available for download with new features, improvements, and enhanced camera support.Marius Nestor (9to5Linux)
CachyOS Update Now Uses AutoFDO-Optimized Kernel, Rusticl Driver
CachyOS Update Now Uses AutoFDO-Optimized Kernel, Rusticl Driver
The CachyOS December 2024 update is out today as the newest monthly release to this performance-optimized, Arch Linux based operating system.www.phoronix.com
New Package Management Tool Debuts
New Package Management Tool Debuts
YQPkg, a promising new package management tool for openSUSE, is preparing to make waves in the Linux community. Designed as a standalone GUI, the software pa...openSUSE News
How to change context menu in "linux"
I want code to right click context menu on a file
and if it is a .mp4, then convert that to a .mp3 of the same name
also include an option to play faster by +25 +33 +50 or slower by -25 -33 -50 (in a sub menu)
I understand this is different depending on your system, so answer how to do it for the people who use the same system as you
like this
Wonder who will TIL this
Winter solstice 2024 brings shortest day of the year to Northern Hemisphere today
The winter solstice is today, bringing the shortest day and longest night of the year to the Northern Hemisphere.Samantha Mathewson (Space)
it aint fun when the sun is up only a few hours a day for months. during work hours. you are tired and depressed because you see daylight only on weekends.
and then in the summer you don't see dark nights for months, so you are tired because the night never comes and bedtime is all messed up.
CERN’s Large Hadron Collider finds the heaviest antimatter particle yet
ALICE finds first ever evidence of the antimatter partner of hyperhelium-4
Illustration of the production of antihyperhelium-4 (a bound state of two antiprotons, an antineutron and an antilambda) in lead–lead collisions. (Image: J.CERN
like this
Ukraine faces difficult decisions over acute shortage of frontline troops
Ukraine faces difficult decisions over acute shortage of frontline troops
Depleted army is increasingly made up of older men, but Zelenskyy is reluctant to lower mobilisation age from 25Shaun Walker (The Guardian)
The personnel shortage has soured relations between Kyiv and Washington over recent months. Officials in the Biden administration felt irritated that Zelenskyy and other officials frequently demanded more weapons, but were unable to mobilise the requisite manpower to fill the ranks.
like this
I don't understand this file pathing
Hi, I'm trying the desktop Grayjay app and it seems to work fine.
I just have to keep locating the app in folder whenever I want to launch it so I found out how to make it appear in the GNOME Apps and launch it there.
However it requires me to copy 2 folders (cef,wwwroot) from the app folder into my "/home/werecat" folder and I don't understand why when it can launch just fine from the executable without me having to do that.
Any idea on what I'm missing or doing wrong? The main goal is to add the app to my Dash to Dock.
Try adding a PATH=/home/werecat/Grayjay
line to your .desktop file. Without it the application will run with your home directory as your working-directory...and there the data files are missing (Why you need to copy them to your home). The path entry makes the program work in /home/werecat/Grayjay where the data directories actually are.
Edit: That is assuming when you started it manually you did a cd Grayjay
and a ./Grayjay
or similar. So you changed your working directory there first before starting it. If that is not the case ignore my post ;)
Yeah this looks right. The program is launching other tools, in this case when it gets to CEF (chromium embedded framework) it is looking in the default path it's picked up when the .desktop file is launching it. So it's essentially looking directly under /home/werecat/ instead of where the /Greyjay programme is running from.
So if you specify the path in the .desktop file it should fix the problem.
An alternative route of that doesn't fix it might be to edit any config files (if it has them) to ensure they explicitly point to the correct Grayjay directory.
Path
as was suggested worked after removing TryExec
.
Thanks, that actually worked even though it did not at first.
I've tried to also do export PATH=/home/werecat/Grayjay:$PATH
but that did not work either. And finally I had to remove the TryExec
for some reason for the Path
to start working.
It launches now with Terminal even though I've set it to 'false' but at least it runs.
Just to make this clear (Sorry if it's unnecessary, but maybe still useful info for others)...Path= lines in .desktop files are not related at all to the $PATH environment variables. They do something completely different (And yes, picking Path as key was a terrible choice in my view). Path= lines in .desktop files change the current working directory...they do about the same as a cd <directory>
in a shell.
They do not change where a .desktop file looks for executables....only indirectly if a executable runs another file relative to the current directory or looks for images/icons/audio/other data relative to the current working directory.
And I have no clue why it doesn't work with TryExec...the desktop file spec doesn't mention anything about that :( ( specifications.freedesktop.org… )
Israel’s War on Gaza Is a War on Children
Israel’s War on Gaza Is a War on Children | Truthout
Children in Gaza are not merely collateral damage; they are often actively being targeted.Merula Furtado (Truthout)
like this
Billionaires want you to know they could have done physics
- YouTube
Auf YouTube findest du die angesagtesten Videos und Tracks. Außerdem kannst du eigene Inhalte hochladen und mit Freunden oder gleich der ganzen Welt teilen.www.youtube.com
Japan Is So Desperate to Increase Its Birth Rate That Tokyo Is Trying Out a New Idea: Free Daycare
Japan Is So Desperate to Increase Its Birth Rate That Tokyo Is Trying Out a New Idea: Free Daycare
Japan has been grappling with its demographic statistics with a sense of urgency, particularly regarding its declining birth rate. In 2023, the country...Carlos Prego (Xataka On)
It has two sources of funding (taxes being the second) and there isn’t a middle man skimming a cut while paying older participants simply with new participants’ money while claiming their money is invested to generate money to pay them all out. The entire point of a Ponzi scheme is you are pretending there is money being generated that isn’t, you are just using new victims money for as long as possible until the music stops. They literally make up numbers to cover their tracks. It’s a fraudulent enterprise by design.
It is not a Ponzi scheme. It is literally not a Ponzi scheme by definition. You are making up your own rules and definitions because of how it feels to you. Do I think it is flawed and not a great way of handling these funds if you want them to be steady in the longterm? Absolutely. But it is not a Ponzi scheme.
I’m done man.
It has two sources of funding
Taxes is the same source of funding. Workers.
there isn’t a middle man skimming a cut
Er. The government.
The entire point of a Ponzi scheme is you are pretending there is money being generated that isn’t.
Exactly. State Pensions are promised but there is no money held aside for them.
It is literally not a Ponzi scheme by definition.
I've already given you the Ponzi literature, and shown that PAYG pensions satisfy the description.
I’m done man.
Cos, like your PAYG error, you just can't admit being wrong.
US State Dept gives nod to $5bn in potential arms sales for Egypt
US State Dept gives nod to $5bn in potential arms sales for Egypt
Huge sale likely to go through despite ongoing concerns over Egyptian government’s human rights breaches,Al Jazeera
like this
like this
That's a gish gallop, and the core premise that people believing it's democratic makes it so is incorrect.
~Edit: added link~
don't like this
The very first article yogthos showed you, had a poll that showed half of usonians don't think their country is a democracy (they're right)
The US congress, its highest governing body, hasn't gotten over a 20% approval rating for many years.
don't like this
like this
like this
Because China is capitalist, despite being formally led by a communist party. It has private property on means of production, and it is defining Chinese economy just like any other capitalist one. Socialism, by definition, requires social ownership of means of production, which is not the case in China; the term was appropriated and wrongfully used by US and several other countries to define economies with more state control and/or social policies, but this is simply not what socialism is.
Interestingly, China has entire ghost towns full of homes ready to accept people in - but, as in any capitalist economy, homes are seen as an investment, and state subsidies are low, pricing out the homeless. They have more than enough homes, they just chose to pursue a system that doesn't make homes and homeless meet.
don't like this
Capitalism is not defined by how the poor are treated, but by the economic relationships and mode of ownership.
Nordic countries have low poverty and generally good social support. Like it or not, this is achieved with private property on means of production, hence they are capitalist.
China has private property on means of production, hence it too is capitalist.
Both of them feature strong state oversight, which allows them to direct more of the capitalist profits to help the poor - which is good! But this doesn't make them "socialist".
Capitalism is defined by which class holds power in society, and in China it's demonstrably the working class. The reason the economy works in the interest of the poor is a direct result of that.
All the core economy in China is state owned, and the role of private sector continues to decline piie.com/research/piie-charts/…
You might want to learn a bit about the subject you're attempting to debate here.
like this
- A China misinformation Megathread.
🚫 Sorry, this post was removed by Reddit’s filters.
Thoughtcrime. web.archive.org/web/2020072715…
Love how you respond to a bunch of information from the World Bank, NYT, and the National Bureau of Economic Research with a definition from Wikipedia.
Consider that you could learn more here.
like this
Do any of the sources define socialism?
All of this could be true - none of this makes China socialist.
You said:
China is capitalist... It has private property on means of production, and it is defining Chinese economy just like any other capitalist one.
The response was a well-souced refutation of the idea that the Chinese economy is developing like a capitalist economy. You replied with Wikipedia. All I'm saying is that you're not looking at this in a whole lot of detail and you might have some things to learn.
For instance, you say Nordic countries have low rates of poverty and good social supports despite private ownership of the means of production. But in reality a lot of that is due to sovereign wealth funds, like Norway's Government Pension Fund Global, which is owned by the government and managed by a state-owned bank.
This is all true - state intervention and state-owned businesses and funds bring about a positive change for the majority, and they should be there, but seriously calling those economies socialist would be missing the definitional mark, which is what I have highlighted.
I do believe that moving entire economy under public control would be beneficial, and that, actually, will be what can be called "socialism". Virtually no country, except for heavily sanctioned and blatantly tyrannical North Korea, is currently there.
What we have right now, with heavy state intervention, is certainly better than "free" market economy though, and it reflects in quality of life for the economically disadvantaged - this very intervention leads to these economies following a different path compared to traditional capitalist societies. I do not argue there is no difference between China and, say, US in that regard - the difference is big, it's just not what it takes to call the economy socialist.
There are historical examples of completely and actually socialist countries, so it's not some impossible idealistic notion for me.
The transitory period of New Economic Policy lasted only a few years in USSR, and China under Mao was much closer to actual socialism than later under Deng Xiaoping.
And the trend of expanding government control over the economy only comes alive in the 2020's, roughly since the COVID-19 outbreak (just a milestone, not saying they are related). Previously, the trend was strongly on privatization of industries, with the share of state-owned enterprises falling from 80% to 30% in the previous decade, and it's too early to make any conclusions.
They have more than enough homes, they just chose to pursue a system that doesn't make homes and homeless meet.
This is demonstratably false. China has one of the highest home ownership rates in the world, at ~90%. The US is at ~66% for comparison (and most of that isn't actually full ownership, but a debt to mortgage brokers).
Why do you white supremacists think its okay to spout any unsourced nonsense because it fits your racist biases?
This link does not disprove the point. Home ownership isn't the same thing, you can have families that rent, they aren't homeless either.
Using the same source there is twice as many homeless (relative to population) in china than in spain, for example.
I'm not trying to prove that the number is high in China, I don't know what's the average for all countries. However, claiming that there isn't a lot of homeless because 90% of the non homeless own their house is wrong.
The source for that appears to be this article from 2011 : web.archive.org/web/2016093001…
Most of the poverty alleviation campaigns were well underway by 2012, so I'd be interested to see what those numbers are now.
But also, China is responsible for ~3/4ths of the reduction in world poverty via these campaigns.
Not to mention that if you've visited any Chinese city in the past few years, you won't see any of the slums or homeless that you see in the neoliberal countries.
I just used the same source out of simplicity, I didn't double check as that wasn't my point. It would indeed be better to have more recent numbers.
Not seeing homeless people doesn't mean they don't exist, seems like Japanese streets are mostly devoid of homeless people, but a lot of people seem to be living in cafes, to avoid ending up in jail as as far as I've understood, the government has a harsh policy towards that. Might be wrong on japan, but again, I'm not trying to point fingers to a country saying they are bad or good, it's the argument itself that I find "weak".
PS: just to be clear, I do feel that first of all, the OP should be the one trying to prove their saying. Nice of you to try and debunk it though
huh?
However, the people of China can afford to buy these extremely expensive properties. In fact, 90% of families in the country own their home, giving China one of the highest home ownership rates in the world. What’s more is that 80% of these homes are owned outright, without mortgages or any other leans.
like this
If China is socialist then Lipton is tea.
Look into the country on the shallowest level. They have socialist programs but, honestly...
don't like this
like this
It doesn't, I have no idea where you're getting that from. China eliminated urban poverty over a decade ago (~2013), and rural poverty is nearly eliminated. Source.
Over the past 40 years, the number of people in China with incomes below $1.90 per day – the International Poverty Line as defined by the World Bank to track global extreme poverty– has fallen by close to 800 million. With this, China has contributed close to three-quarters of the global reduction in the number of people living in extreme poverty. At China’s current national poverty line, the number of poor fell by 770 million over the same period.
Another anti-China western source because we know white supremacists wouldn't accept any Chinese source about their poverty alleviation campaigns.
like this
darktable 5.0.0 released
darktable 5.0.0 released
We’re proud to announce the new feature release of darktable, 5.0.0! The github release is here: https://github.com/darktable-org/darktable/releases/tag/release-5.0.0.Pascal Obry (darktable)
darktable 5.0.0 released
darktable 5.0.0 released
We’re proud to announce the new feature release of darktable, 5.0.0! The github release is here: https://github.com/darktable-org/darktable/releases/tag/release-5.0.0.Pascal Obry (darktable)
like this
reshared this
Scientifically sound YouTube channels
Greetings all!
There are a few YouTube channels I watch on a regular basis that I’d put in the science/math bin. Here are a few examples:
NileRed
Standup Maths
Steve Mould
AlphaPhoenix
I was wondering if anyone here had any recommendations for other science/math channels to follow or a resource that aggregates good channels. As a lay person, as in no college level education on these topics, I’m not sure I have the qualifications to determine if a channel is highly accurate or not. I think I’ve done a good job finding channels that are accurate but wanted to check in with folks that may be able to better determine that.
I’m particularly interested in astronomy, cosmology, and evolution.
Hyperspace Pirate is making something in his garage. I don't really know what, but involved cryogenics and electric arc furnaces.
Tech Ingredients seems to be gearing up to arm the resistance after the seven hours war.
Atomic Frontier is a young Aussie kid trying really hard and doing a great job of teaching pop science.
Forget Chrome—Google Starts Tracking All Your Devices In 8 Weeks
Forget Chrome—Google Starts Tracking All Your Devices In 8 Weeks
Digital fingerprinting is suddenly back and it will be everywhere—here's what you need to know.Zak Doffman (Forbes)
Bird flu update: Maps show states most affected
Bird flu update: Maps show states most affected
The bird flu outbreak has spread to all 50 states, infecting dairy cattle, poultry farms and 61 humans across the country., USA TODAY (USA TODAY)
wildbus8979
in reply to interdimensionalmeme • • •caseyweederman
in reply to interdimensionalmeme • • •You got me curious, so I looked it up.
This isn't a "let me google that for you", it's an "I'm joining you on this journey".
develop.kde.org/docs/apps/dolp…
(KDE)
Looks like you drop a .desktop file into ~/.local/share/kio/servicemenus.
Name the file extensions, write your Exec= line, fill in a couple other details like what icon to use and what it should be called in the right-click menu, save it, and you're done.
I imagine it's similar in xfce.
caseyweederman
in reply to caseyweederman • • •john89
in reply to caseyweederman • • •caseyweederman
in reply to john89 • • •You're absolutely right, I'm surprised that xfce (or Thunar anyway) has a GUI for it and KDE doesn't.
KDE might and I just didn't find it in the search results.
Pull request time!
verdigris
in reply to john89 • • •john89
in reply to verdigris • • •The UX at the end should never be identical.
It's why laypeople shy away from Linux. They prefer GUIs because GUIs are easier for users.
verdigris
in reply to john89 • • •john89
in reply to verdigris • • •Absolutely!
How am I supposed to know where to find the file? Editing files by hand is also more error-prone compared to using a GUI. It's not for laypeople and they shouldn't have to adjust for it.
A big appeal of software development for me is making things easier for users even if it's harder for the developers to implement. That's good design, and great work.
verdigris
in reply to john89 • • •Okay if finding the file is the problem I assume you're just allergic to documentation, which, yeah, would make configuring things pretty annoying.
Hypothetically yes it would be great if all settings were easily discoverable and all users could easily make all their software work exactly how they want. In practice you're asking for a huge amount of development by unpaid volunteers whose time could be (and is) going to, for example, the actual features or configuration options that you're trying to set in the first place.
Most apps with GUIs do expose most settings that "laypeople" would use, anyway. OP is literally asking to be able to run custom scripts from context menus, I'd love to see your suggestion for implementing a clean and user-friendly GUI for that.
john89
in reply to verdigris • • •Allergic to documentation? See, this is where the free software community fucks up. Stop putting the onus of usability on the users. It's the role of developers to make their software easy to use for people who aren't working on it. That's why macOS and Windows are still dominant to this day. The companies that develop them realized decades ago that laypeople don't want to and shouldn't have to read documentation or sift through configuration files if software can be designed so that it's easier to use.
Unfortunately, thanks to people like you, getting this solution across to the Linux community at large is like pulling teeth.
I'd be happier if we could just admit, "Yeah, GUIs are better but they're harder to implement so we don't do it." At least then we're being honest and not trying to blame users for the lack of developers.
As it stands right now, your rhetoric actively discourages people to take up GUI development because you keep trying to make it a user problem, not a developer one.
Captain Aggravated
in reply to john89 • • •john89
in reply to Captain Aggravated • • •So you admit the lack of GUIs on Linux is due to a lack of developers?
You don't think it's easier for users to edit configuration files by hand?
Captain Aggravated
in reply to john89 • • •Actually no I don't.
Linux doesn't lack GUIs; there's at least ten entire Desktop Environments in active development at any given time and several of them are quite feature complete such as Cinnamon and KDE. Then you've got GNOME which is polished if deliberately feature poor.
A few DEs do have GUI applets for editing the context menu but not all do. Windows doesn't have one built in. Quote the second page of that thread:
I'm a subscriber to the old adage "GUIs make simple tasks easy, CLIs make complex tasks possible." This task is either within the city limits of shell scripting or close enough to read the "Speed limit 35 unless posted" sign, so it might as well be left as a "write a config file" type thing.
Ephera
in reply to john89 • • •Well, more choice is a good thing. So long as the configuration file stays available as well (because it makes it way easier to script this configuration), then having a GUI available is cool, too.
Having said that, the particular feature that OP wants is for people who want to script things, meaning most of them will prefer the configuration file anyways. You'd need quite a lot of spare devs for one of them to get bored enough to want to develop a GUI, which will not see much usage.
Mactan
in reply to john89 • • •TootSweet
in reply to interdimensionalmeme • • •bortsampson [he/him, any]
in reply to interdimensionalmeme • • •like this
timlyo likes this.
eldavi
in reply to interdimensionalmeme • • •some desktop environments and window managers have built in functionality to do this through something like config files or a gui config.
the intentionally "simplified" or "streamlined" alternatives (ie gnome) requires more involvement and runs at a gradient between simple kde like config file at one extreme end, to full on source modification at the other extreme end.
if something like this was a common thing for me; i would go with an environment that makes the bells and whistles available to you as the default option, like kde.
deadcream
in reply to eldavi • • •eldavi
in reply to deadcream • • •that's the beautiful thing about linux; so many way to accomplish a goal and it you can do it at any experience level.
the best part is that all of it is free and your solution is easily shareable through things like social media and source code repositories where people with more experience can improve upon your idea further. if your idea is REALLY good, it will become mainstream.
Captain Aggravated
in reply to eldavi • • •Captain Aggravated
in reply to interdimensionalmeme • • •In the Cinnamon desktop, there's a directory in ~/.local/share/nemo/actions. Navigate to this directory in Nemo file manager and a message will appear across the top, it has a built-in tutorial as to how to do this. You create a short config file with a .nemo_action that defines what an action does, what context it appears in, what text it displays, what icon it displays etc. and the command to run when chosen.
It's been about a year since I've messed with this, but IIRC if it's set up to fire with one or more files selected, it will pass the file names to the command as arguments. You can configure it to run on exactly one, one or many, or specifically plural files. A thing I did a lot was allow it to take multiple files and then iterate across the variables in a for loop, so say I used pandoc to convert .docx files to .pdf, I could highlight 50 of them, click one option and it would churn through all of them.
I'm not going to build the script for you, but the first approach that occurs to me would be to write a shell script that calls ffmpeg to do the conversion, get
... show moreIn the Cinnamon desktop, there's a directory in ~/.local/share/nemo/actions. Navigate to this directory in Nemo file manager and a message will appear across the top, it has a built-in tutorial as to how to do this. You create a short config file with a .nemo_action that defines what an action does, what context it appears in, what text it displays, what icon it displays etc. and the command to run when chosen.
It's been about a year since I've messed with this, but IIRC if it's set up to fire with one or more files selected, it will pass the file names to the command as arguments. You can configure it to run on exactly one, one or many, or specifically plural files. A thing I did a lot was allow it to take multiple files and then iterate across the variables in a for loop, so say I used pandoc to convert .docx files to .pdf, I could highlight 50 of them, click one option and it would churn through all of them.
I'm not going to build the script for you, but the first approach that occurs to me would be to write a shell script that calls ffmpeg to do the conversion, get that to where it works when you invoke it from the terminal, then write a .nemo_action file to fire it from the GUI.
As for the playback speeds...I'm not sure how to get that done. If you mean "take this .mp4 and make an .mp3 out of its audio that is 25% faster" I think what would happen there is you'd write a little GUI pop-up window, I would do it in Python with either a GTK or QT module, that would open up to ask parameters before passing that back to the main script to do the work.
interdimensionalmeme
in reply to Captain Aggravated • • •Captain Aggravated
in reply to interdimensionalmeme • • •