551
62
submitted 3 months ago by vrek@programming.dev to c/linux@lemmy.ml

I don't expect much but I found an old pi I bought probably 2016(may of been 2017). It was supposed to be a pi-hole but was never able to get the dns forwarding to work on my modem. It still works but wanted to somehow convert it to a regular distro(it's based on a micro-SD and I don't have any more microsd readers). I wanted to set it up as a basic system I could ssh into a terminal. Not expecting anything fancy or even graphic based. A lot of stuff I want to learn/practice "work" on windows but are native to Linux, like vim/neovim nmap gcc etc. Is this feasible? Am I under estimating what's possible with it?

552
60
submitted 3 months ago by qyron@sopuli.xyz to c/linux@lemmy.ml

While trying to move my computer to Debian, after allowing the installer to do it's task, my machine will not boot.

Instead, I get a long string of text, as follows:

Could not retrieve perf counters (-19)
ACPI Warning: SystemIO range 0x00000000000000B00-0x0000000000000B08 conflicts withOpRegion 0x0000000000000B00-0x0000000000000B0F (\GSA1.SMBI) /20250404/utaddress-204)
usb: port power management may beunreliable
sd 10:0:0:0: [sdc] No Caching mode page found
sd 10:0:0:0: [sdc] Assuming drive cache: write through
amdgpu 0000:08:00.0 amdgpu: [drm] Failed to setup vendor infoframe on connector HDMI-A-1: -22

And the system eventually collapses into a shell, that I do not know how to use. It returns:

Gave up waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
 - Check rootdelay= (did the system wait lomg enough?)
- Missing modules (cat /proc/modules; ls /dev)

Alert! /dev/sdb2 does not exist. Dropping to a shell!

The system has two disks mounted:

-- an SSD, with the EFI, root, var, tmp and swap partition, for speeding up the overall system -- an hdd, for /home

I had the system running on Mint until recently, so I know the system is sound, unless the SSD stopped working but then it is reasonable to expect it would no accept partitioning. Under Debian, it booted once and then stopped booting all together.

The installation I made was from a daily image, as I am/was aiming to put my machine on the testing branch, in order to have some sort of a rolling distro.

If anyone can offer some advice, it would be very much appreciated.

553
53
submitted 3 months ago by cyclohexane@lemmy.ml to c/linux@lemmy.ml

Gaming on Wayland, or more specifically sway WM, broke for me when updating to nvidia drivers version 580.

Reverting to 570 fixed the problem.

Card: Nvidia RTX 3060 Ti

What exactly happened: some games wouldn't launch at all (overwatch 2) while others had severe performance issues (Resident evil 5).

Those were the only two games I tried. Both ran through steam and Proton GE version 10.

Though I didn't test extensively, both games seemed to work fine on Xorg with nvidia drivers 580. So this confirms it's only problematic for Wayland.

554
24
submitted 3 months ago by DarkSpectrum@lemmy.world to c/linux@lemmy.ml

I am a new Linux user and have settled on Ubuntu 24.04.3 LTS in Wayland. In Windows, I used AutoHotKey to automate the keyboard to type repetitive text strings with a hotkey e.g. pressing Alt+E to type my@email.com

I believe the solution in Linux is to install an application like dotool or ydotool and then create a custom shortcut command. The problem is I cannot get dotool and ydotool to work. I'll document the issues I'm having with ydotool as there seems to be more awareness and support for this application.

I am following the instillation instructions here:

https://askubuntu.com/questions/1413829/how-can-i-install-and-use-the-latest-ydotool-keyboard-automation-tool-working-o

Everything seems to go fine until I get to this step and get the following error:

sudo systemctl enable ydotoold

Failed to enable unit: Unit file ydotoold.service does not exist.

I came across this issue which suggests it could be a permissions issue on /dev/uinput and tried to the solution provided in that post but I still can't enable ydotoold after a reboot.

Running this command works:

ydotoold --version

v1.0.4-38-g708e96f

But I am stuck here and not sure how to troubleshoot or progress further. Any help would be appreciated, thank you!

555
33
submitted 4 months ago* (last edited 3 months ago) by HenriVolney@sh.itjust.works to c/linux@lemmy.ml

I am looking for a cheap, light, tough, relatively fast laptop to replace my decade-old lenovo. It will be my daily computer for browsing, documents and occasional photo editing. I will install eitherUbuntu or Mint. I am looking at thinkpad x13 gen 1. It looks like the processor has an impact on the way it will be running, with different performances between ~~ARM~~ AMD and Intel. Can I buy either one or I there a real compatibility issue with intel?

556
22

listenonrepeat.com was up for years until last month, when it mysteriously went offline. I haven't found any sites like it. I could just paste in a youtube link and have it play right away, and choose the start and end times for looping, and it had a count for how many times you played the song, as well viewing history (with start & end times saved) so you could easily listen to previous songs.

557
57
submitted 4 months ago by carotte@lemmy.blahaj.zone to c/linux@lemmy.ml
558
101
submitted 4 months ago by CodeAssembler@lemmy.ml to c/linux@lemmy.ml

You are a captain of a nuclear submarine that is on station somewhere in the depth of the sea. Armed with SLBMs you are responsible for your nations deterrence and lasting peace on earth. When you get the orders to launch a counter strike, strange things happen to your Submarine Command System (SCS), soon you realize that your submarine was hit by a cyber attack. You need to dive and investigate who is responsible and how to restore your ship to full functionality.

Hacked for Nuclear war is a little game written in Bash, that makes you investigate simple logs in search for Indicators of Compromise (IoC) that you get from the MITRE | ATT&CK collection. The submarines attacker, nation, logs and general behaviour of the systems is randomly generated for every play-through, and you will have multiple endings that are triggered through your actions.

559
35
submitted 4 months ago* (last edited 4 months ago) by MattW03@lemmy.ca to c/linux@lemmy.ml

I did notice that sometimes the flatpack version of a program didn't seem to recognise my graphic card. I've seen this first with Handbrake, but also with other apps it seems that i get better performance with the mint package or the official ppa. Did anyone notice anything similar?

I'm using Mint on an old HP laptop with a nvidia card so if anything I'm glad that everything is recognised properly (safeboot disabled).

560
-49
submitted 4 months ago by alsaaas@lemmy.dbzer0.com to c/linux@lemmy.ml

cross-posted from: https://hexbear.net/post/7224516

Imagine spending 3+ years on staying mad at GNOME to release the most underwhelming software imaginable.

System76 is best known for spreading misinfo and lies about GNOME and other upstreams, selling overpriced re-branded clevos, "being made in America", loving rust and hyping on twitter and mastodon.

Most of the "backlash" against GNOME comes from the a community that has more opinions than users or just straight up misinformation and spite.

COSMIC is very poorly designed, it might be written in the "memory-safe programming language" but it's clear that they don't have a design backbone. They basically created the caricature of GNOME's adwaita but now you can paint your windows in whatever barf-inducing color you want.

They built an entire new desktop from scratch rather than work with GNOME or KDE and in that amount of time, literally every issue that sparked that redesign was resolved upstream in both aforementioned desktops.

561
117
submitted 4 months ago by yogthos@lemmy.ml to c/linux@lemmy.ml
562
38
submitted 4 months ago* (last edited 4 months ago) by iturnedintoanewt@lemmy.world to c/linux@lemmy.ml

Hi guys! So...yeah. I have a Chuwi Minibook X N150 laptop that I'm testing around. Seems so far, so good regarding hardware support, with even the camera working on apps like the zoom flatpak. There's one thing that keeps irking me though, and that's the GRUB boot menu. It's all rotated to the left (90º counter-clockwise). This is probably because they're using some sort of tablet 1080p LCD screen. Once logged in, the acceleration sensors (took a couple of boots to get them working) take over, and determine what is up and down. At the SDDM login screen, I can handle it with a quick xrandr --output mydisplay --rotate right. But...GRUB? Seems grub ignores me.

I have tried by now things such as: GRUB_CMDLINE_LINUX="video=efifb fbcon=rotate:3", or GRUB_CMDLINE_LINUX="i915.fastboot=1 fbcon=rotate:3" or even: GRUB_FB_ROTATION=270

But so far, nothing sticks, and the screen remains locked at a 90 degree angle. Any ideas of what could I do to sort it out?

I have KDE Neon installed, which is an Ubuntu 24.04 so far.

Thanks!

563
0
... (pkgstats.archlinux.de)
submitted 4 months ago* (last edited 1 month ago) by PumpkinDrama@reddthat.com to c/linux@lemmy.ml

It's gone from 50% to 20% in a month.

564
33
submitted 4 months ago by doomsdayrs@lemmy.ml to c/linux@lemmy.ml

I utilize podman on my server for running my software.

Recently, I saw that my server ran out of space on its 8TB raid 10 array. Which immediately raised questions for me.

After using "duc" to analyze my drive. I found that podman had used 4 TB of storage space in "/var/tmp".

Anyone else have this happen to them?

565
17
Linux Mint (lemmy.world)
submitted 4 months ago by crismblog@lemmy.world to c/linux@lemmy.ml

As good and stable as Linux Mint is, it still needs a feature/application that automatically synchronizes multiple computers running Linux Mint.

#linuxmint #linux

566
230
submitted 4 months ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
567
21
submitted 4 months ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
568
345
submitted 4 months ago by guymontag@lemmy.ml to c/linux@lemmy.ml

I’m calling it 🙌

569
126
submitted 4 months ago by jokeyrhyme@lemmy.ml to c/linux@lemmy.ml

As part of their "Defective by Design" anti-DRM campaign, the FSF recently made the following claim:

Today, most of the major streaming media platforms utilize the TPM to decrypt media streams, forcefully placing the decryption out of the user's control (from here).

This is part of an overall argument that Microsoft's insistence that only hardware with a TPM can run Windows 11 is with the goal of aiding streaming companies in their attempt to ensure media can only be played in tightly constrained environments.

I'm going to be honest here and say that I don't know what Microsoft's actual motivation for requiring a TPM in Windows 11 is. I've been talking about TPM stuff for a long time. My job involves writing a lot of TPM code. I think having a TPM enables a number of worthwhile security features. Given the choice, I'd certainly pick a computer with a TPM. But in terms of whether it's of sufficient value to lock out Windows 11 on hardware with no TPM that would otherwise be able to run it? I'm not sure that's a worthwhile tradeoff.

What I can say is that the FSF's claim is just 100% wrong, and since this seems to be the sole basis of their overall claim about Microsoft's strategy here, the argument is pretty significantly undermined. I'm not aware of any streaming media platforms making use of TPMs in any way whatsoever. There is hardware DRM that the media companies use to restrict users, but it's not in the TPM - it's in the GPU.

570
15
submitted 4 months ago by yogthos@lemmy.ml to c/linux@lemmy.ml
571
12
submitted 4 months ago* (last edited 4 months ago) by biotin7@sopuli.xyz to c/linux@lemmy.ml

So I am running linuxmint on my ASUS vivobook, suddenly my apps flicker between normal, maximized & Fullscreen.

It happened spontaneously, are anyone going through this same issue ?? Or am I alone in this ?

UPDATE: it is suddenly okay again, I better pray to the machine spirit.

572
14
submitted 4 months ago by thingsiplay@beehaw.org to c/linux@lemmy.ml

Honestly I don't know if anyone needs this, as most stuff can be done with simple processing of standard text anyway. I had a bit fun finding out how to convert the output format. If there is an easier way to do this, so be it. At least this was an exercise for me. So here it is.

flatpak-list-json

#!/usr/bin/env bash

# Flatpak list output as JSON format

# Examples with jq:
#   flatpak-list-json | jq -r '.[].name'
#   flatpak-list-json | jq -r '.[0:2].[].application'
#   flatpak-list-json | jq '.[0:2]'
#   flatpak-list-json | jq '.[] | select(.description | contains("video"))'

columns='name,description,application,version,branch,branch,arch,runtime,origin,installation,ref,active,latest,size,options'

# Default show all flatpaks, use flatpak --app or --runtime option to limit type of package.
flatpak list --app --columns "${columns}" |
    column \
        --json \
        --table-name 'flatpak' \
        --table-columns "${columns}" \
        --separator $'\t' \
        --keep-empty-lines |
    jq '.flatpak[0:]'

It simply outputs the flatpak list as a JSON data. This can be used with other software that processes JSON. A few examples are given using the standalone jq app. The script itself uses following commands: flatpak column jq.

573
33
submitted 4 months ago by vortexal@lemmy.ml to c/linux@lemmy.ml

There's a game that, while I will admit that I don't really have an interest in playing, isn't working properly because it's trying to default to a GPU driver that isn't even loaded ( and possibly not even installed). The game is called Zbridge and it's standalone app is only distributed through Flathub. For some reason, it's trying to default to using "iris" even though the only GPU driver that's loaded is "i915". I have confirmed this with this:

j@j-Latitude-E7470:~$ lspci -k -s 2
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
	DeviceName:  Onboard IGD
	Subsystem: Dell Latitude E7470
	Kernel driver in use: i915
	Kernel modules: i915

But the game, on top of giving some other errors I've found to be trivial, still tries to load iris by default for some reason:

j@j-Latitude-E7470:~$ flatpak run club.zbridge.zbridge
[2:1229/172053.425891:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gtk-Message: 17:20:55.221: Failed to load module "xapp-gtk3-module"
[2:1229/172056.788306:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1229/172056.788423:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
MESA: error: Failed to query drm device.
glx: failed to create dri3 screen
failed to load driver: iris
[41:1229/172103.010356:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
MESA: error: Failed to query drm device.
[2:1229/172118.159439:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=512
MESA: error: Failed to query drm device.
[2:1229/172133.299896:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=512
MESA: error: Failed to query drm device.
[2:1229/172148.425964:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=512
MESA: error: Failed to query drm device.
[2:1229/172203.465700:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=512
MESA: error: Failed to query drm device.
[2:1229/172218.491001:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=512
MESA: error: Failed to query drm device.
[2:1229/172233.517237:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=512
[2:1229/172233.517295:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.

I have found a temporary solution by running export MESA_LOADER_DRIVER_OVERRIDE=i915 but as far as I can tell, I shouldn't have to do this because it should just be defaulting to the driver that's already loaded. If this is an issue with the app itself, I am going to submit a bug report but I want to make sure this issue isn't on my end before submitting one.

574
43
submitted 4 months ago by Vincent@feddit.nl to c/linux@lemmy.ml
575
71
Starting a LUG? (lemmy.world)
submitted 4 months ago by notreallyhere@lemmy.world to c/linux@lemmy.ml

I'm looking at starting a small local Linux Users Group (LUG).

What are good easy ways to get started?

Seems like meetup.com is kinda anti-foss.

Are there better alternatives?

view more: ‹ prev next ›

Linux

65052 readers
876 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 7 years ago
MODERATORS