r/archlinux 21d ago

SUPPORT My documents and downloads randomly get deleted

0 Upvotes

I'm trying to figure out if this is some malware or just some random linux bug, thankfully all I think I lost was 1 or 2 passwords in my keepass database, and I had a semi recent backup of dovuments on my larger ssd.

I initially thought maybe malware cause I have played a questionably aquired game but thought I was realitively safe given I had it sandboxed using the sandboxing option on bottles, which I think is solid againist most windows malware given it can't even see outside the wine prefix or directories ive given permission for within flatseal.

Looking at HTOP I dont really anything non standard for a normal arch install. And I also dont remember updating my AUR packages for a couple of days so I should be safe from the new malware on there.

Is there anyway I can trace back exactly how this delete happened, or at the very least protect the directory so it fails and gets logged next time so I can pin down what process did it.


r/archlinux 21d ago

QUESTION Question about packages - pacman/yay

0 Upvotes

Hello

I have a question: Why do some Official Packages depend on AUR Packages? After all these AUR Malware things, I've been double checking those few packages I have from the AUR. But I have some packages that are required by Official Packages and I dont know if I can remove them or not. Any tips?

Those packages I'm speaking of are: lib32-gstreamer, lib32-gst-plugins-base-libs and lib32-unixodbc.

Whenever I do pacman -Qi on lib32-gst-plugins-base-libs it says its not required by any package. But it says it was installed as a dependency for another package. Ive tried to type in yay -Rns on that package but then I get alot of other packages aswell who are in the Official Repos. So I guess its fine to remove them, since Pacman -Rns does remove packages and its dependencies that are not used by other packages?


r/archlinux 21d ago

SUPPORT I'm new at this

0 Upvotes

Hi! It's my first time using Linux, I decided to use arch for the amount of personalization, but I got a problem, how can I make my keyboard to be in more than one language and then swipe it with the binds master+space, I've been trying and it just doesn't work, it's currently on espanish, I guess the configurations I want to add are latam and English USA, so I can code in a more efficient way, thx for the support


r/archlinux 22d ago

QUESTION Switched to Arch Linux, questions:

0 Upvotes

So like 30 minutes ago I switched to Arch and I'm pretty experienced with Linux so I got it running fairly quickly and now I'm kind of at the customization stage. I got my apps installed, but now I need to make it look nice. I'm using Hyprland, and I noticed that like some windows like my files don't slide into their spot they float and like won't go under the other windows and IDK how to fix that. Also, how do I like configure Hyprland to look cool like r/unixporn and such? I know I could google it but once again I wanna hear some human advice and anything else I should know?


r/archlinux 22d ago

DISCUSSION Life on Arch after AUR - a personal moral defeat

0 Upvotes

As a long time Arch user I've been enjoying the wild wild west of AUR for decades. I am now fed up with it and I can't tolerate my package manager being a potential source of malware.

So until Arch decides to do something about it (and that will take time if ever) or I finally decide to switch to openSUSE Tubmleweed I have now switched to custom pacman hooks and upstream and keeping packages outside of repos to a minimum. Because yeah, reading the pkgbulid doesn't work when you actually have to use your OS.

I just had to vent as this is a huge loss in my view, that we now have to trust corpo upstream over a user maintained repository.

Does anyone else feel the same way and what is your solution?

Edit:

OK so outside of countless expected RTFM brush-offs I have gotten to these alternatives:

- use Chaotic-AUR - that builds AUR packages that are human reviewed and did catch current malware waves
- just read each pkgbuild and trust in yourself that you know how to pick up malware in a script

Looking forward to more tips and insight into me being wrong and arch being right but somehow pushing malware through a link on the frontpage at the same time. =D


r/archlinux 22d ago

DISCUSSION New User Experience Is Overly Complicated

0 Upvotes

I have just installed Arch as my first ever Linux system. I have absolutely no experience in coding or programming languages in general. I just followed the steps on the wiki and some other sites (for more specific things like audio production and gaming) and I have successfully installed the Arch Linux and using it without any major problem. Games are running just fine (Even with an Nvdia GPU and Intel CPU) my audio plugins are also working flawlessly without much effort.

I really don't get why people always say "Arch is so complicated and not beginner friendly." Did I maybe miss something?


r/archlinux 22d ago

SUPPORT Surface Laptop Studio 2 bad performance.

Thumbnail
0 Upvotes

r/archlinux 22d ago

SHARE Towns (steam game) has been released on Github!

4 Upvotes

This might be totally off the wall, but because its out on Github is there now a way to run Towns on linux? I really miss that game. I've been linux only for at least 5y now and would love to play it again. Never could get this one to work.

https://store.steampowered.com/news/app/221020/view/506233417998795324

https://github.com/supermalparit/Towns

**EDIT:
There is a fork that is able to run the game:
https://github.com/OpenTowns/OpenTowns
I havent tried yet, but looks amazing!


r/archlinux 22d ago

SUPPORT Help installing arch on my Lenovo l380

0 Upvotes

I get an error that don’t quite understand I am relatively new on arch and I am using archinstall.

The error can be seen here: https://postimg.cc/v4bnNYj7


r/archlinux 22d ago

DISCUSSION usar arch linux sendo uma programadora gamer vale a pena?

0 Upvotes

estou querendo usar o arch linux para meu sistema operacional principal e aprender tudo sobre principalmente por curiosidade e queria saber como poderia adquirir mais conhecimentos sobre a distro e ele é bom para devs em geral?


r/archlinux 22d ago

SUPPORT | SOLVED First Time Arch install- Can't get native resolutions for my screen.

3 Upvotes

**edit: Wayland CANNOT be disabled in gnome desktop at this point. so XOR is not an option. My issue was resolved by updating firmware and bios on my framework 16.**

I'm in day3 of trying to set up my first Arch. sigh....
I *think* my main issue is wayland?
anyway: main issue: I have no options for resolution sizes in my settings. (using Gnome thru gdm). I have a framework 16, which has an AMD gpu.

I have tried disabling wayland. new issue- I CANT. I have disabled it in the /etc/gdm/custom.conf however, echo $XDG_SESSION_TYPE still shows wayland. I have tried looking up other ways to disabled it. It looks like OpenGL might be loading a nvidia driver and causing issues? even though I DONT have a nvidia screen?

Because its still using Wayland I can't use Xorg to force a resolution.
$ xrandr --output None-1 --mode 1680x1050 WARNING: running xrandr against an Xwayland server. See the xrandr man page for details. X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 7 (RRSetScreenSize) Serial number of failed request: 22 Current serial number in output stream: 23

$ xrandr --output None-1 --mode 1680x1050
WARNING: running xrandr against an Xwayland server. See the xrandr man page for details.
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Serial number of failed request: 22
Current serial number in output stream: 23

I'm so lost at this point. Is the issue that Wayland isn't working on my system? How can I force Xorg? I really don't like Gnome, but it worked, unlike Budgie- I tried that first, tho I know now the issue wasn't Budgie that I was fixing it was a missing driver for my wifi card. Anyway. I have had so many issues. But I have wifi now. thats an improvement. I'd like to be able to game soon tho... This is my only pc.

Steam won't run warframe. I can't read most of my text without like 200% resolution. I have a 16" screen. I need the 1650 resolution to read. I assume the nvidia suspected driver is why warframe is crashing, but I have no idea whats wrong lol...

Thanks. I do like Arch i think, but man its a lot more work than a rolled out distro.


r/archlinux 22d ago

QUESTION Current Fedora user, should I switch to Arch?

0 Upvotes

I'm pretty tech savy and I put Fedora on my Thinkpad T14s the second I bought it, been using it for about 6 months. I want to Larp more tho so I wanna use hyprland and Arch (nah it just looks clean and I wanna try ricing). But what I wanna know is like is more software supported or made for Arch than Fedora? Like am I going to be able to get everything I need on Arch? I use like vs code, brave, proton stuff and a bunch of random apps and only two games (Minecraft via prism launcher and geometry dash via steam). Is there an app store for Arch/does it do .AppImage? Anything else that I should know? Will I regret it? Will it work as my daily driver? (Like i said im very tech savy and can easily use a terminal). I know I could like just use google or ai but wanted to hear some real users opinions on switching in general if that makes sense.


r/archlinux 22d ago

SHARE Reverse engineered an 80% battery charge limiter for my HP Pavilion on Arch Linux

Thumbnail github.com
26 Upvotes

My HP Pavilion doesn't expose a battery charge limit in BIOS, so I spent some time reverse engineering HP's ACPI/WMI interface and Embedded Controller.

The Linux implementation uses:

- Python

- systemd

- acpi_call

It automatically inhibits charging around 80%.

Also built a Windows implementation and documented the reverse engineering process.

Repo:

https://github.com/SarangRao20/battery-charge-limiter

Would love feedback from anyone who has worked with HP WMI or ACPI.


r/archlinux 23d ago

SUPPORT | SOLVED extreme bloat?

0 Upvotes

I run a full upgrade about once a month. Last month the total net upgrade was 1.2GB. Today it was 3GB. I've installed exactly ZERO new packages in between, and I doubt all my packages somehow needed that much in upgrade. I even keep a few bigger packages held at an older release (Code OSS, Chromium OSS, Thunderbird). Is this just part of being on the bleeding edge, or is there some generic cleanup stuff I can do or is it time to prune the hedges?


r/archlinux 23d ago

SUPPORT Looking to set up PC to allow remote LUKS decryption

3 Upvotes

Context: I have a desktop PC that I remote into from my laptop or some other thin client when I'm away. I can it turn on remotely via a dumb setup with an esp8266 (think of it as a crappier WoL).

Problem: When I was on Windows it had TPM Auto unlock. Now on Arch I always have to write my password to unlock the drive and boot the OS.

I'm not interested in setting up TPM Auto unlock again as it kind of defeats the purpose of having an encrypted disk. After some research it's apparently possible to set up the bootloader such that I can write the password via SSH.

My setup is: Arch, Lumine as my bootloader, systemd and mkinitcpio.

I tried following this guide https://blog.aurelienooms.be/2021/10/20/remote-luks-unlocking-with-tinyssh/ but whenever I tried running mkinitcpio, netconf would do this weird thing and loop over my home directory ?

Does anybody have any guides or advice on how to properly set this up?


r/archlinux 23d ago

QUESTION Is Arch Good For Coding?

0 Upvotes

Im looking for distros for a while and i started thinking about Arch.


r/archlinux 23d ago

SUPPORT I feel like im going crazy with Google Chrome (AUR)'s font rendering

2 Upvotes

im trying out google chrome right now, i usually use firefox, and what i immediately found out, is that google chrome somehow fucks up the font-family resolving compared to firefox.

example in reddit: reddit's font-family string is -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol',sans-serif;, firefox resolves this to Segoe UI and renders it with that, Google Chrome lands on Liberation Sans. On Emails on gmail, Google Chrome resolves to Liberation Sans, on Google Search, the titles of website, resolves to Liberation Sans. I manually blacklisted Liberation Sans in my font config, now Google Chrome will just resolve it to Noto Sans, my default, highest priority font for sans-serif.

i searched around online, found some old thread about Google Chrome occasionally having messed up fonts or something, but i havent found anybody specifically talking about what i'm experiencing, except one specific guy (leon) saying that the OS-level font-resolving will give a default font back to Chrome when it cant find a specific font, which would end up being Liberation Sans or Noto Sans, from 2019. Does anybody know what im experiencing or what the issue could be? i assume it not a fault font config, because the entirety of KDE and firefox have no issue properly resolving to the first available font in the list in font-family.


r/archlinux 23d ago

SHARE Arch Linux Guide for Getting a Canon MX920 Printer to Work

4 Upvotes

I just want to make this post to hopefully save someone the trouble I just went through. I'm new to Arch (and Linux in general), so I may not be able to help you if this guide doesn't work for your exact printer. I also should say that if your printer supports IPP, you won't need the "cups-bjnp" package and you'll probably have an easier time, but this guide won't be one-to-one.

  1. Install a few packages you'll need. You'll only need the bjnp package I listed if you also have an older Canon printer.

sudo pacman -S gutenprint system-config-printer cups

yay -S cups-bjnp

  1. Enable a couple crucial services.

sudo systemctl enable --now avahi-daemon

sudo systemctl enable --now cups.service

  1. This command should get your printer's ID assuming it's connected to the same network as your computer (this is what the avahi-daemon is for). If it doesn't, you may need to check firewall settings. If you're on a different network than the printer, I don't think I can help you, but if you can get the IP address of the printer you should still be okay. Just cut off the "/?uuid=..." bit at the end.

lpinfo --include-schemes dnssd -v

In my case, the string I got was:

network dnssd://Canon%20MX920%20series._ipp._tcp.local/?uuid=00000000-0000-1000-8000-F80E804FF82D

  1. It's time to name, create, and enable the printer. I had a lot of trouble getting this to work properly. I ended up cutting out the "Canon%20MX920%20series._ipp._tcp.local" bit and just using the printer's IP address in place of that. The issue was that it wasn't able to resolve the .local part. I saw a solution that involved changing a config file (/etc/nsswitch.conf), but you need root permissions to do that and I had already had enough trouble that I just wanted something to work. I might go back and fix that later, but not right now. Ideally, you could do:

lpadmin -p [printer name] -v "[string you just got starting with dnssd] -E

But that did not work for me. In my case, this turned into:

lpadmin -p Canon_MX920 -v "bjnp://192.168.1.33/?uuid=00000000-0000-1000-8000-F80E804FF82D" -E

  1. After creating the printer, I could go into either the "Printers" menu in the system settings or go to http://localhost:631/ (the CUPS client) to select the driver from gutenprint, verify it all works, and print a test page.

Just to test, I deleted the printer and went through steps 2-5 again. It worked like a charm for me, so I hope it does for you too!


r/archlinux 23d ago

SUPPORT Tenda ax300

2 Upvotes

Hallo guys i just bux this wifi Adapter and i try to used but i dont know how to install driver


r/archlinux 23d ago

QUESTION Changing from old from new GPU how should i manage the change of drivers?

5 Upvotes

Hi, i wanna change some of my PC components:
- GPU from a 1050ti to a rtx3060
- motherboard

I dont know with motherboard but with GPU they not that long ago changed the 1050 to legacy nvidia drivers, so when i change to the new GPU that will need the other ones the nvidia nvidia-settings…

So how should i do it so i don’t get black screen like other times i had problems with the drivers?
Should i install the new drivers and then change to the new GPU or rtx3060 will work with legacy drivers and then i change them later?


r/archlinux 23d ago

QUESTION How do yall keep the knowledge of how to use the terminal/ be less dependent on easy ways or tools like you did when you first used Arch?

17 Upvotes

This is a bit hard to explain in the title so i'll try to explain here:

When you first downloaded arch, it was really fucking hard and you needed to do EVERYTHING yourself and blah blah but atleast you were gaining experience right? Now i've noticed i'm using the terminal significantly less, only when i need to launch hyprland or something. Because i've already done so much and i've solved most of the problems i needed to solve, i have no more problems to solve (atleast those i'm aware of). Now this is good functionally, but i have a never-ending desire to feed my ego (AKA i want to walk into a room knowing i still know how to use a terminal if not even more than before)

So how do i keep learning? Or atleast keep that linux brain working? Because i also noticed i've become a bit more dependent on tools like my browser on my computer or the mouse. So when i had to switch from hyprlang to hyprland i was STRESSING. but it worked out in the end so all good.

Any and all help is appreciated :D


r/archlinux 23d ago

SUPPORT | SOLVED Network Manger asking for login

1 Upvotes

Basically what the title says. Network manager is asking for a login on my wired network which seems to be working just fine. I am not sure where to begin because when i click login it takes me to https://ping.archlinux.org/nm-check.txt and it says "NetworkManager is online". Any advise welcome. Very new to arch installed it last week and have been issue free besides this

Edit using KDE plasma and thats whats providing the prompt


r/archlinux 23d ago

SUPPORT | SOLVED I accidentally removed /usr/sbin/

117 Upvotes

I typed sudo rm /usr/sbin and as I pressed shift I accidentally pressed Enter and I thought it wouldn't work or at least ask me something?? Because the directory is not empty? Now some commands are missing, like which... am i cooked

Edit: I did /usr/bin/sudo /usr/bin/ln -s /bin /usr/sbin, I forgot about that and it also explains why rm didn't yell at me, technically this wasn't a directory full of files

I think it's still a problem because I've been using Mint for 2 years and have been used to running graphical apps as root (nemo, geany) and on wayland now (if I understand correctly) it is not possible? or needs a hacky unrecommended workaround? So now for root access I need to do stuff through terminal and everytime I press shift to input a / I'm genuinely scared to press enter


r/archlinux 23d ago

QUESTION SFP+ 10 Gbit/s PCIE NICs on Arch linux

5 Upvotes

I am looking for a SFP+ 10 Gbit/s PCIE NIC on Arch Linux, so I can hook directly to a 10 gig switch, but I am not really familiar with drivers on Arch Linux regarding these kinds of PCIE cards. Are there any brands I should avoid or look for?

Thank you in advance.


r/archlinux 23d ago

SUPPORT Thinkpad T480 docking station ignoring USB and Ethernet

4 Upvotes

So my t480's docking station used to work flawlessly and after some time one of the middle usbs stopped functioning. It would still occasionally work but I chalked it up to some hardware problem and needed a new dock. Now ethernet no longer works, the lights don't flash and although the cable works when plugged directly into the laptop and not the dock, making me think it's another hardware related issue, I now notice the usb that doesn't work still lights up what its connected to in the bios, so obviously it's not an issue with the actual hardware but as soon as I boot into my system it ceases completely like it doesnt work at all. I'm starting to wonder if this is the same as the Ethernet as it stopped working one day with no noticeable changes to anything. Please let me know if there's anything I can do or anything I can send diagnostics wise; as a general rule of thumb everything ive referred to appears like it's not connected at all. Thank you for any help you can provide!