Search

Installing Linux distro without breaking Windows install
Solution: When I formatted all my drives to install Linux on one and Windows on the other, I kept both connected and they share EFI boot partition as a result. Every time I reinstall Linux it formats the drive and therefore deletes the Windows's EFI Boot as well. One way is to fix this is to reinstall Windows while disconnecting the drive you have Linux on. Or you can move the boot files if you don't want to do that.
I used this guide: https://forums.tomshardware.com/threads/changing-windows-boot-manager-drive.3571420/post-21561626
Also remember to delete the Microsoft folder in the boot folder on Linux after you’ve checked that the new boot loader is working.
OP:
Currently dual booting as I need Windows for a few tasks and ganes Linux just won’t do. Since setting everything up I’ve reinstalled Linux twice, both times I’ve lost the ability to boot into windows and have needed to reinstall it.
Disk doesn’t show at all in Grub, tried al

How can I turn off "Reply from $user" emails
How can I turn off "Reply from $user" emails from [email protected]?
They can get annoying when a post gets popular and receives a lot of replies.

Power Profile not working on Arch with KDE. Tried everything.


My laptop does support this feature since it was working on Fedora KDE. But jumping over to arch, it seems not to work at all.
1. power-profiles-daemon.service
is enabled and running.
undefined
● power-profiles-daemon.service - Power Profiles daemon Loaded: loaded (/usr/lib/systemd/system/power-profiles-daemon.service; enabled; preset: disabled) Active: active (running) since <time>; 12min ago Invocation: 4f20b3d144584a759b4a6c5ea14aa739 Main PID: 608 (power-profiles-) Tasks: 4 (limit: 6850) Memory: 1.6M (peak: 2.8M) CPU: 81ms CGroup: /system.slice/power-profiles-daemon.service └─608 /usr/lib/power-profiles-daemon Apr 18 11:14:52 berserk-arch systemd[1]: Starting Power Profiles daemon... Apr 18 11:14:52 berserk-arch systemd[1]: Started Power Profiles daemon.
2. plasma-powerdevil.service
is static and running.
undefined
● plasma-powerdevil.service - Powerdevil Loaded: loaded (/usr/lib/systemd/user/plasma-powerdevil.se

Booted into Fedora 41 KDE Plasma and now have no networking/internet
Hello everyone.
I started my PC for the day and cannot access my LAN and have no internet using the internal NIC on my Asus B550-F motherboard and a separate PCI NIC as well. Booted into a Fedora LiveCD and do have internet on Firefox. The PC was working perfectly last night when I shut it down.
My GL-MT6000 router sees the PC as a wired client and issued its static IP, but I cannot ping the PC from any other computer on the same network.
I'm pretty new to Linux, so I'm not sure what info to supply, but I'm hoping someone can offer a useful suggestion.
Thanks very much!

What ports do I need to open for mDNS?
EDIT: The bad solution is to unblock UDP port 5353 but the port has to be source port, not destination port. (--sport
flag) See the now modified rules. The issue is that this is very insecure (see this stackexchange question and comments) but obviously better than no firewall at all because at least I'm blocking TCP traffic.
The proper solution (other than using glibc and installing nss-mdns
package) is to open a port with netcat (nc
) in the background (using &
) and then listen with dig
on that port using the -b
flag.
bash
port="42069" nc -l -p "$port" > /dev/null || exit 1 & dig somehostname.local @224.0.0.241 -p 5353 -b "0.0.0.0#${port}"
Then we need to remember to kill the background process. The DNS reply will now be sent to port 42069, so we can just open it with this iptables rule:
undefined
-A INPUT -p udp -m udp --dport 42069 -j ACCEPT
---->END OF EDI

Trackmania / Ubisoft instant-script fails
****Hey! My gf wanted to try out Trackmania since I've been getting into it. However we can't get it to run on her steam deck at all.
For reference here's how I did it on my deck: Install trackmania from the store. On first launch it briefly says "running instant script: ubisoft connect" or similar. Then Ubi starts, i logged in, done. Now anytime I launch TM, ubi pops up briefly, takes care of things and runs the game.
However, on her deck, the instant script runs, then she's greeted with an old-school windows error box from TM informing her that it needs Ubi connect.
We've tried all kinds of trickey like installing Ubi as a non steam app, changing proton versions, changing the proton context, reinstalling, deleting compat data for a clean slate...
Most guides online are old enough to not mention the instant script.
If anyone has an idea of what might be going on, I'd greatly appreciate any pointers.

How to forward real IP from Caddy server?
Hello,
I have hosted azuracast in my minipc and I want to forward the IP of the song requester, right now it's only taking one IP the "podman container ip" so basically Azuracast thinks that every request is coming from the IP address 10.89.1.1 which is the IP of interface created by podman.
undefined
57: podman3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 0e:fa:6d:33:b9:39 brd ff:ff:ff:ff:ff:ff inet 10.89.1.1/24 brd 10.89.1.255 scope global podman3 valid_lft forever preferred_lft forever inet6 fe80::b876:abff:fede:c3ef/64 scope link valid_lft forever preferred_lft forever
also I am explicitly forwarding the IP using X-Forwarded-Host.
undefined
reverse_proxy http://localhost:4000/ { header_up X-Forwarded-Host {host} }
I don't know how to resolve it, any help would be appreciated :)
Edit: I didn't had to so any of this stuff, what I should have done is just enabling "reverse proxy" option in Azuraca

What just happened to 4 million posts?


Stats from here: https://lemmy.fediverse.observer/dailystats
Like, has an instance gone down and if so, why hasn't there been a comparable drop in users and comments?
Edit: Thanks to @[email protected] here for pointing to zerobytes.monster becoming more aggressive against bots as the likely culprit.

How to install a go program?
System: Linux Mint 22.1 Xfce, with the following golang files installed.
I'd like to install meme
- https://www.linuxlinks.com/linux-candy-meme-fun-tool-create-memes/
- https://github.com/nomad-software/meme
But when I try the installation instruction from the GitHub page, I get
go
$ go get -u -v github.com/nomad-software/meme go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.
When I replace get
with install
, I get:
go
$ go install -u -v github.com/nomad-so

API error in the GUi
Cannot claim an instance because of API error both with or without mastodon
Edit solution: allowlist gui.fediseer.com

Ace Online (AirRivals)
Spaceship Multiplayer (COOP/MMO) similar to Elite Dangerous or Everspace
Platform(s): PC
Genre: Spaceship Online Multiplayer (coop, maybe MMO)
Estimated year of release: ~2005
Graphics/art style: No special artstyle, just latest graphics at the time, like Everspace or Elite Dangerous now
Notable characters: -
Notable gameplay mechanics: I think the idea was to do missions or gather resources (in coop) to then level up your ship. The ship would upgrade in terms of specs and looks according to some pre-defined design/levels (not customizable). You could choose one of two or three starter ships and you could preview how they'd look once upgraded. One starter was red and more sleek/fast looking and another one was green and more beefy/chunky (i.e. tank-style) looking, each with their own strengths/weaknesses. You were on-planet during missions and iirc the upgrading was done on some space station.
My search so far was of no success, so happy to take any hint i can get, no

Help! I pressed a key on my keyboard and the Freecad interface went all weird and flashy transparent.


I think opened a debug console or something.

Games running through Steam crash on start
Hello,
I have happily playing games on Bluefin and recently rebased to Bazzite DX in order to take advantage of non-Flatpak Steam and Sunshine. Everything worked well for a day or two, until it did not.
Both of my currently installed Steam games (Half-Life RTX and Split Fiction) just crashes as they start. I did a sanity check by verifying the game files integrity as well as reinstalling, but it did not fix the issue. I also installed a third game that I knew runs on my machine (LEGO Builder's Journey) and it did not work either.
I ran the games with the PROTON_LOG=1 %command%
launch options to produce logs but as they are 4K, 25K and 54K lines long I don't know what to look for. (The logs if you want to take a look)
Ah yes, when launching Split Fiction I have some Unreal Engine-specific error dialog named "Wine C++ Runtine Library" that reads
undefined
Assertion failed! Program: Z:\var\home\axel\.steam\steam\steama

Can't get a singe game to run on Mint or POP
PROBLEM IS FIXED:
Games now run when installed from within Linux through Steam and the EA App. Everything so far have worked flawlessly. Here's a good mix of what I've tried so far. Hitman 3, 9-Bit Armies, Divine Divinity, Metro 2033 Redux, C&C Tiberian Sun, C&C Red Alert 2
Solution: Pop!_OS and Linux Mint doesn't have a kernel new enough to support the Mesa 25 drivers needed for my 9070XT. These commands in the terminal was the fix for this:
undefined
sudo add-apt-repository ppa:kisak/kisak-mesa sudo apt update sudo apt upgrade
Original Post here:
Hi guys, it’s me again.
My issues is that no windows game on Steam will run. With any launch option or proton version (tried about 10). Most just doesn’t open at all. (Click play, nothing happens)
Tried for hours last night and resorted to just throw shit at the wall to see if something would stick for the last hour or so. Exhausted dozens of fixes found on ProtonDB and forums.(I want to try some again after another fresh install th

Looking for assistance figuring out how to fix this connector.


I have an inspection scope camera that I'm attempting to repair. It's one with a camera on the end of a flexible rod to see into tight spaces. The pins that lead to the camera came out of the connector. I tried looking for teardowns or even replacement parts, but found nothing.
Two pins are still inserted, but I'm not confident they are in the right places. I want to get it working without the risk of frying everything. I've done my best to find where each pin goes, but there's not enough info for me figure it out on my own. The camera rod also includes an LED for light.
Here's a photo of the connector as it is:

And here is the socket with it's pins labeled (the labels correspond to the testing pads and not to the socket pins):

Here's a zoomed out pic if it's of any use:

I'm having audio issues with Linux and while I have a temporary solution, I'd like to have a permanent solution if possible.
Final update (hopefully): It seems that I have been able to fix the issue. I'm not sure what exactly caused the problem but either removing fluidsynth or installing the wireplumber ppa fixed the issue and I have working audio again. I've also removed pulseaudio and undid my edit to the modprobe blacklist, as they were only done as a temporary solution and they are no longer necessary.
For the past three days, I've been having this issue where my computer starts with no audio and the only sound device listed is a "dummy output" device. I've tried looking online for solution but the only solution I found has to be redone manually every time I start/restart my computer. It also seems like this issue is common with and possibly specific to the sound card my computer has, which is an "Intel Sunrise Point-LP HD Audio".
The solution that worked for me was to add blacklist snd_soc_avs
to the modprobe blacklist and then run the two commands sudo alsa force-reload
and pulseaudio
. Adding

Amarok: how to recover statistics database lost in transition 2.9 -> 3.x
Some time ago (I think january) Amarok, was updated in Debian, from 2.9.x to 3.x (now it is 3.2.2). After the upgrade Amarok no longer showed the things from the database (lyrics, listen counts, etc).
I would like to restore the statistics database but I did not find the steps. Could you point me to the right instructions, or provide some advice about how to work on this?

Help. Need help with adding Area2D to groups dynamically


I have instances of this area2d object that spawns and is added to a group dynamically. when they collide I want them to say their name and the group they are in. right now they report their name but not their group and I can't figure out why, when they instantiate they report the group they are in so it looks like they're in their group but when they collide the group is missing.
var type_groups = [ "pluto", "moon", "mercury", "mars", "venus", "earth", "neptune", "uranus", "saturn", "jupiter", "sun" ]
func set_type(t): type = t
undefined
# Adjust for paths or hierarchy var shape = get_node_or_null("CollisionShape2D") if shape: shape.scale = Vector2(type_sizes[t] * 5.5, type_sizes[t] * 5.5) var detect = get_node_or_null("Area2D/CollisionDetection") if detect: detect.scale = Vector2(type_sizes[t] * 5.7, type_sizes[t] * 5.7) detect.add_to_group(type_groups[t]) print("added to group: ", type_groups[t]) var sprite = get_node_or_null("Sprite2D") if sprite: sprite

How can I run a command without being logged in as a user?
XY: I installed bazzite and goofed up. The username is wrong and my home is /home/bazzite
instead of /home/ludrol
I am trying to run usermod -l ludrol bazzite
in tty3 with sudo su -
but the bazzite user is logged.
Solution:
Added password to root with passwd
Logged in as root
Ran required usermod
commands
Disabled root with passwd -l

Using markdown library to convert to html pages isn't formatting how I would like it to
Hello if anyone knows of a way to get python-markdown to behave in the way I'd like, or of an alternative way to do it, I'd love some help! My use case is I'm converting .md files made with Obsidian into html files. Obsidian has tags that are a pound sign followed by the tag (so like "#TagName"). When the tag is the first item on a line the pound sign is confused for a heading, even though there is no space after it.
Is there a way that I can avoid this so it only reads it as a heading if there is a space between the pound and the next word? I'm even considering some kind of find/replace logic so I can swap it out with like a link to a page that lists all the pages with that tag or something that gets run before the markdown to html conversion.
Edit:
The solution I'm going for is a regex find/replace. Currently the string pattern looks like "#[^\s#][^\s" + string.punctuation + "#]*"
which can find tags but ignores headers. Since the ultimate goal is to have the tags link to a tag p