Linux

47952 readers
1639 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
1851
 
 

Hello everyone!

I daily drive a Nobara install with my main drive being an LUKS encrypted M.2 drive. Every time I boot my computer I get presented with the password prompt to unlock the drive and afterwards get prompted with my login manager to login.

Is there any way to combine these steps into a single prompt? It is starting to get a bit annoying having two steps every time I boot.

1852
1853
1854
 
 

Applications like EndeavorOS Welcome, Tor browser won't show their actual icons on the taskbar after Gnome 46 update. I have observed that applications launched by invoking the binary through terminal using ./ behaves this way. (Not sure about the EOS Welcome) Is there any fix to this?

OS: EndeavourOS Linux x86_64. DE: GNOME 46.1. Icons: Papirus [GTK2/3].

[Edit: This is not a freshly installed system. Icons were working fine till Gnome 45.]

1855
 
 

Victoria Brekenfeld: “Hi! My name is Victoria and I have worked on a Wayland compositor library called "smithay" for the past 5 years. Right now I am working for system76 on their new desktop environment, I am member of wayland-protocols and have been contributing to the wider ecosystem. So if you even wanted to learn about the wayland ecosystem and linux desktops, I can and will try to do my best to explain. Even better, I want to give you a reason to use this technology for your projects! The Talk is roughly divided into two parts: First off the background, to get everybody on the same page - What exactly is wayland? - How is it different from X11 in the most important ways? - Technical details! Or how a modern linux desktop is build! - We'll be talking about the "Direct Rendering Manager", "EGL", "libinput", "Client-side-decorations?", "nvidia?!", "WSL?!?" You name it! - THE Showcase! Hopefully you'll understand a lot about the stack now, but you have no idea what to use it for or feel like nothing of it is relevant for you work? Don't be deceived, people use wayland in embedded and automotive applications, for automated testing and continuous integration, for virtualization, XR Applications, Game streaming, Remote Computing, ...! Let me show you, what weird things did people build with it and let's unlock more of its potential together!”

1856
 
 

I don't mean for this to become a KDE vs GNOME post. I'm looking at switching to Fedora (because Arch is a pain), and it seems that GNOME is more supported. I use KDE on Arch. What features would I be losing if I were to switch? (ex: toolbar management, KRunner, etc.)

1857
30
Still... (gnucobol.sourceforge.io)
submitted 6 months ago by Kohji@lemmy.ca to c/linux@lemmy.ml
 
 

COBOL is not obsolete?

1858
 
 

I have 2 physical output devices, say "speakers" and "headphones", and I frequently switch between them.

I also have a script that creates 2 virtual sinks for voice call and game by loading module-combine-sink twice on "speakers" and "headphones".

It works, but it's annoying that every time I want to switch device, I also need to mute the other one.

Ideally, I want to use module-remap-sink instead, remapping the 2 virtual sinks to the default one. This is where I'm stuck. What do I put in for master?

1859
 
 

Comment by Zamundaaa (Xaver) a couple of hours ago. (AKA One of the most prominent KDE and Wayland Dev)

There will also be a new Display/HDR HackFest in around 2 weeks where most prominent Devs from different DE and companies like Valve, ADM and Igalia will attend. Hosted by the latter in La Coruña, Spain. https://www.phoronix.com/news/2024-Linux-Display-Hackfest-May

But doesnt KDE and weston already have HDR implementations? Yes but there are patched hacks. The protocol will finally make things clear and standard so it can be implemented by all the different parties.

The protocol in gitlab

1860
 
 

The journalctl output

Apr 28 18:19:09 fedora systemd[1]: Started radarr.service - Radarr Daemon.                                                                                     Apr 28 18:19:09 fedora Radarr[31211]: [Info] Bootstrap: Starting Radarr - /opt/Radarr/Radarr - Version 5.4.6.8723
Apr 28 18:19:09 fedora Radarr[31211]: [Info] AppFolderInfo: Data directory is being overridden to [/var/lib/radarr]
Apr 28 18:19:09 fedora Radarr[31211]: [Debug] Bootstrap: Console selected
Apr 28 18:19:09 fedora Radarr[31211]: [Info] AppFolderInfo: Data directory is being overridden to [/var/lib/radarr]                                            Apr 28 18:19:10 fedora Radarr[31211]: [Info] AppFolderInfo: Data directory is being overridden to [/var/lib/radarr]
Apr 28 18:19:10 fedora Radarr[31211]: [Info] MigrationController: *** Migrating data source=/var/lib/radarr/radarr.db;cache size=-20000;datetimekind=Utc;journ>
Apr 28 18:19:10 fedora Radarr[31211]: [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating                                       Apr 28 18:19:10 fedora Radarr[31211]: [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
Apr 28 18:19:10 fedora Radarr[31211]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
Apr 28 18:19:10 fedora Radarr[31211]: SQLite error (14): cannot open file at line 43450 of [831d0fb283]                                                        Apr 28 18:19:10 fedora Radarr[31211]: SQLite error (14): os_unix.c:43450: (203) open(/var/lib/radarr/radarr.db) -
Apr 28 18:19:10 fedora Radarr[31211]: [Error] FluentMigrator.Runner.MigrationRunner: unable to open database file
Apr 28 18:19:10 fedora Radarr[31211]: [v5.4.6.8723] code = CantOpen (14), message = System.Data.SQLite.SQLiteException (0x800007FF): unable to open database f>
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteO>
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Data.SQLite.SQLiteConnection.Open()                                                                         Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.<>c__DisplayClass6_1.<.ctor>b__1()
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)                                                                Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.CreateValue()                                                                                        Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.get_Value()
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.get_Connection()
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen()                                     Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(PerformDBOperationExpression expression)
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Expressions.PerformDBOperationExpression.ExecuteWith(IMigrationProcessor processor)                 Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()                             Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.StopWatch.Time(Action action)
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
Apr 28 18:19:10 fedora Radarr[31211]: [Fatal] ConsoleApp: EPIC FAIL!                                                                                           Apr 28 18:19:10 fedora Radarr[31211]: [v5.4.6.8723] NzbDrone.Core.Datastore.CorruptDatabaseException: Radarr failed to start: Database file: code = CantOpen (>Apr 28 18:19:10 fedora Radarr[31211]:    at System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteO>
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Data.SQLite.SQLiteConnection.Open()                                                                         Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.<>c__DisplayClass6_1.<.ctor>b__1()
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)                                                                Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.CreateValue()
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.get_Value()                                                                                          Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.get_Connection()
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen()
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(PerformDBOperationExpression expression)           Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Expressions.PerformDBOperationExpression.ExecuteWith(IMigrationProcessor processor)
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 11136        Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11055
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/Dry>
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.>
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Resolver.Resolve[TService](IResolver resolver, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:lin>
Apr 28 18:19:10 fedora Radarr[31211]:    at Radarr.Http.ClientSchema.SchemaBuilder.Initialize(IContainer container) in ./Radarr.Http/ClientSchema/SchemaBuilde>Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.<CreateConsoleHostBuilder>b__1(IContainer c) in ./Radarr.Host/Bootstr>
Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.<ConfigureContainer>b__0(HostBui>Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContex>Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()                                                   Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostBuilder.Build()
Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in ./Radarr.Host/Bootstrap.cs:line 79          Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Console.ConsoleApp.Main(String[] args) in ./Radarr.Console/ConsoleApp.cs:line 43
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 11136        Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11055
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082       Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082       Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082       Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/Dry>Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.>Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Resolver.Resolve[TService](IResolver resolver, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:lin>Apr 28 18:19:10 fedora Radarr[31211]:    at Radarr.Http.ClientSchema.SchemaBuilder.Initialize(IContainer container) in ./Radarr.Http/ClientSchema/SchemaBuilde>
Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.<CreateConsoleHostBuilder>b__1(IContainer c) in ./Radarr.Host/Bootstr>Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.<ConfigureContainer>b__0(HostBui>
Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContex>Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostBuilder.Build()                                                                   Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in ./Radarr.Host/Bootstrap.cs:line 79
Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Console.ConsoleApp.Main(String[] args) in ./Radarr.Console/ConsoleApp.cs:line 43                          Apr 28 18:19:10 fedora Radarr[31211]: Press enter to exit...                                                                                                   Apr 28 18:19:11 fedora Radarr[31211]: Non-recoverable failure, waiting for user intervention...                                                                lines 62-82/82 (END)
1861
39
submitted 6 months ago* (last edited 6 months ago) by joel_feila@lemmy.world to c/linux@lemmy.ml
 
 

Solved. I was able to run sudo pkcon update and that fixed it. I can log in now but the desktop is rest to system defaults

I updates my distro, kde neon. The login screen changed and now it will not accept my password. I have checked caplocls, numlock, all that. It is the only password i set for it will not take it. I have no other usera on my pc so i cant just login as someone else.

What password is looking for, why is the password i used to login this morning not working?

Summary Distro kde neon Problem logon screen not accepting password

1862
 
 

Whenever I resize the panel or the any other widget on the panel (e.g calendar widget) it doesn't remember its size. It's really annoying me. I am on Fedora 40, KDE 6.0.4. Nothing seems to fix it, thinking of a complete reinstall. Is anyone of you getting this bug?

1863
 
 

The only distro I can find that successfully configures a functioning bootable GRUB on this (bastard) machine is Nobara, which looks very cool but is way too heavy! Some things are glitchy; attempting tab completion seems to freeze Konsole for ~5 seconds and does not complete the command as expected. We're working with an Intel Atom Z3735F@1.33GHz and 2GB RAM here.

How can a noob figure out what it's doing differently so I can apply that to Linux Mint Debian Edition or Crunchbang Plus Plus?

The weird thing is that once the system is installed, it does not seem to have what I think are the required packages for GRUB to be set up correctly with this type of UEFI.

nextbook@nextbook:~$ sudo grub2-install /dev/mmcblk

grub2-install: error: /usr/lib/grub/i386-efi/modinfo.sh doesn't exist. Please specify --target or --directory.

1864
1865
 
 

I've been using VMware Player (free version) for a while now and it's been working fine. Recently I switched to Wayland and VMware's grab input behavior broke. The guest gets most keys correctly but Alt and Super are intercepted by the host. Clicking on the vm also gives me a remote desktop popup on the host prompting to allow remote interaction which gives some weird results both on the host and guest. Apparently this is a known issue with gnome(?) and the only workaround is to add Super to any shortcut (eg. Super+Alt+Tab) but this obviously doesn't work for all shortcuts.

I'm using Gnome on Fedora and Ubuntu and they seem to have the same behavior (but no remote desktop popup on Ubuntu). Both work fine on X11. I've also tested both VMware player 16 and 17.

So if anyone is using VMware on Wayland, do you know of a combination that works? Does it work on KDE? Should I just switch to Virtualbox? I'd really rather keep Wayland if possible.

1866
113
submitted 6 months ago* (last edited 6 months ago) by Deckweiss@lemmy.world to c/linux@lemmy.ml
 
 

I was reading the reddit thread on Claude AI crawlers effectively DDOSing Linux Mint forums https://libreddit.lunar.icu/r/linux/comments/1ceco4f/claude_ai_name_and_shame/

and I wanted to block all ai crawlers from my selfhosted stuff.

I don't trust crawlers to respect the Robots.txt but you can get one here: https://darkvisitors.com/

Since I use Caddy as a Server, I generated a directive that blocks them based on their useragent. The content of the regex basically comes from darkvisitors.

Sidenote - there is a module for blocking crawlers as well, but it seemed overkill for me https://github.com/Xumeiquer/nobots

For anybody who is interested, here is the block_ai_crawlers.conf I wrote.

(blockAiCrawlers) {
  @blockAiCrawlers {
    header_regexp User-Agent "(?i)(Bytespider|CCBot|Diffbot|FacebookBot|Google-Extended|GPTBot|omgili|anthropic-ai|Claude-Web|ClaudeBot|cohere-ai)"
  }
  handle @blockAiCrawlers {
    abort
  }
}

# Usage:
# 1. Place this file next to your Caddyfile
# 2. Edit your Caddyfile as in the example below
#
# ```
# import block_ai_crawlers.conf
#
# www.mywebsite.com {
#   import blockAiCrawlers
#   reverse_proxy * localhost:3000
# }
# ```
1867
1868
 
 

Ubuntu has too many problems for me to want to run it. However, it has occurred to me that there aren't a lot of distros that are like the Ubuntu LTS.

Basic requirements for a LTS:

  • at least 2 years of support
  • semi recent versions of applications like Chrome and Firefox (might consider flatpak)
  • a stable experience that isn't buggy
  • fast security updates

Distros considered:

  • Debian (stable)
  • Rocky Linux
  • openSUSE
  • Cent OS stream
  • Fedora

As far as I can tell none of the options listed are quite suitable. They are either to unstable or way to out of date. I like Rocky Linux but it doesn't seem to be desktop focused as far as I can tell. I would use Debian but Debian doesn't have the greatest security defaults. (No selinux profiles out of the box)

1869
15
submitted 6 months ago* (last edited 6 months ago) by mfat@lemdro.id to c/linux@lemmy.ml
 
 

There is a very annoying problem with archive extraction on Linux. I always sort my files by "last modified" and want my latest files and folders on top in any file manager. When I download and extract an archive, the extracted folder is placed toward the middle or bottom of the list apparently because the original timestamps of files are retained. If I'm not mistaken I didn't have this issue on my MacBook and the extracted archives would appear on the top of the list.

Workaround: In Ark if I choose extract to subfolder and type a name for the new folder, it is treated as recently modified and is placed at the top. But I don't want to enter a name every time.

Shouldn't an extracted folder be treated as recently modified??

Any ideas?

1870
119
submitted 6 months ago* (last edited 6 months ago) by lemmyreader@lemmy.ml to c/linux@lemmy.ml
 
 

https://discourse.nixos.org/t/much-ado-about-nothing/44236

Not directly related to this blog post but from NixOS discourse forum, a tl;dr from another person about the NixOS drama here :

If you’re looking for a TL;DR of the situation, here it is:

    Nix community had a governance crisis for years. While there has been progress on building explicit teams to govern the project, it continued to fundamentally rely on implicit authority and soft power

    Eelco Dolstra, as one of the biggest holders of this implicit authority and soft power, has continuously abused this authority to push his decisions, and to block decisions that he doesn’t like

    Crucially, he also used his implicit authority to block any progress on solving this governance crisis and establishing systems with explicit authority

    This has led uncountably many people to burn out over the issue, and culminated in writing an open letter to have Eelco resign from all formal positions in the project and take a 6 month break from any involvement in the community

    Eelco wrote a response that largely dismisses the issues brought up, and advertises his company’s community as a substitute for Nix community
1871
1872
1873
73
submitted 6 months ago* (last edited 6 months ago) by boredsquirrel to c/linux@lemmy.ml
1874
1875
view more: ‹ prev next ›