Arch Linux

7763 readers
8 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
101
 
 

Arch wiki page on reflector states that:

Make sure the resulting /etc/pacman.d/mirrorlist does not contain entries that you consider untrustworthy before syncing or updating with pacman.

The question is, how should I know if a mirror is trustworthy or not?

102
 
 

I set up a server using an old laptop just for Nextcloud and Jellyfin. After installation I realized that Nextcloud Snap files are kept in the root directory and there is no way to move them to the Home.

The Arch Wiki says that Jellyfin cannot access your Home, and suggest creating /media directory for it.

Based on these, do I need to partition the whole disk into a single partition? If I do that, won't I lose all my data in case of changing distro?

I mean is it right to install without Home partition?

Edit:

  • Today I learned that I can allocate /var as a seperate partition.
  • It is possible to give Jellyfin permission to access /home.
  • @Bronco1676@lemmy.ml is right, using Nextcloud Snap on Arch Linux is not the preffered choice, it is better to use it on Xubuntu LTS. I am grateful to him.
  • I think partitioning like this, will be good:
/
/var
/home
103
104
 
 

Hi everyone,

ever since I switched to Arch a two months ago, most applications segfault multiple times a day. There doesn't seem to be any pattern for the crashes, sometimes it's even happening while idling (e.g. reading a news article).

Things I've tried without any luck so far:

  • Running Firefox in safe-mode without any extensions
  • Switching from regular to LTS kernel
  • Disable Hardware Acceleration in Firefox
  • Change RAM speed and timings
  • Run Memtest successfully
  • Replace entire RAM with a new certified kit
  • Use only a single RAM slot
  • Apply Ryzen fixes (iommu=soft, limit c-states)
  • Use only a single CPU core (maxcpus=1)
  • Downgrade Nvidia driver to 535xx
  • Use Nouveau instead of the nvidia driver
  • Use Openbox instead of KDE
  • Disable zswap and THP

Here's full journalctl from a day where both Spotify and Firefox crashed at the end, a few seconds after each other:

https://pastebin.com/BH0LMnD9

Some more info about my system:

  • Ryzen 5 3600X
  • MSI B450M PRO-VDH Max
  • 32GB RAM @ 3200MHz
  • Geforce RTX 2070 SUPER (using nvidia-dkms)
  • Plasma 5.27.10 on X11

I'm pretty sure that it's not hardware related, because I've booted up a Debian 12 live image where everything ran for several hours without a crash. But it seems to be Arch related, as I also booted up a fresh EndeavourOS live image (so basically Arch), where applications also randomly segfaulted. Any idea why everything works fine on Debian but not on Arch? Debian uses the 6.1 kernel, which I already tried, so that's not it.

Let me know if you need any more information that might help solve this issue. Thanks!

105
 
 

Hi everyone,

Just moving from Win > macOS > Arch (in the form of endeavour, it's amazing, I love it so far!!)

Addressed to those who love making music, what is your favorite / most functional DAW for music creation and production? Thank you so much for your time and contributions.

106
 
 

I have my firewall configured pretty restrictively. I am attempting to configure AppArmor but it seems to complicated.

How do you secure your desktop?

107
 
 

Whenever I click a server invite link in my browser for example, I get the xdg-open popup window which in turn opens my browser with a link in the following format:

discord:///invite-proxy/some numbers

I'm relatively familiar with xdg-mime commands, but I'm not sure what the "filetype" I should be associating with my discord.desktop file should be. Anyone that can help?

Thanks

108
 
 

I have a 5,5 myself, but not installed arch yet (I will because of Nvidia 🤪btw) and I have the same problem. The solution is to boot with the stick unplugged and holding alt until you get into the boot choosing thingy. While on that screen, plug in the usb you want to boot from. It should magically appear. I have no clue why it doesn’t appear directly, it even reads from the USB (blinking lights in the stick), but it even works, if it is plugged in while initial boot, just plug out plug in and ding it appears.

109
 
 

might be helpful cross-posted from: https://lemmy.ml/post/9547307

so since I digged pretty hard to find what is a ucm profile and how to seperate headphones from speakers in pipewire and alsa so yeah heres a guide first of all these are my sources:

https://github.com/luisbocanegra/linux-guide-split-audio-ports https://www.reactivated.net/writing_udev_rules.html https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3556 https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3552

you need a custom ucm profile use this command since its helpful lspci -nn -vvv

SUBSYSTEM!="sound", GOTO="pipewire_end"
ACTION!="change", GOTO="pipewire_end"
KERNEL!="card*", GOTO="pipewire_end"

ATTRS{subsystem_vendor}=="0x103c", ATTRS{subsystem_device}=="0x8742", ENV{ACP_PROFILE_SET}="custom.conf"

LABEL="pipewire_end"

and than create a file in /usr/share/alsa-card-profile/mixer/profile-sets/custom.conf and yeah I guess

https://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/Profiles/

and this especially

https://github.com/luisbocanegra/linux-guide-split-audio-ports

they helped a lot

[General]
auto-profiles = yes

[Mapping headphones]
device-strings= hw:0,2
channel-map = left,right
paths-output = behe-headphones
paths-input = analog-input-headphone-mic analog-input-headset-mic
priority = 20

[Mapping speaker]
device-strings= hw:0,0
channel-map = left,right
paths-output = behe-speaker
paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line analog-input-headphone-mic analog-input-headset-mic
priority = 18

[Profile help]
input-mappings = speaker headphones
output-mappings = speaker headphones
description = both_both_is_good
skip-probe = yes
priority = 100

.include 9999-custom.conf

and yes that was my custom.conf and yes just reboot now and you are set btw no need to touch hdajackretask and that idor 0,2 and 0,0 I just switched profile to proaudio and than ran pactl list sinks short and took the ids from there I am basically following the guides and mimicking /usr/share/alsa-card-profile/mixer/profile-sets/default.conf to be completely honest yes thats all

110
9
submitted 11 months ago* (last edited 11 months ago) by prettydarknwild@lemmy.world to c/archlinux@lemmy.ml
 
 

I was looking for the mips-linux-gcc package, but i cant find it anywhere, even in the aur, the closest thing i can find is the mips-elf-gcc package

111
-1
[Itch] Cursed Silence: Christmas (snowhorse-entertainment.itch.io)
submitted 11 months ago by Cynthia to c/archlinux@lemmy.ml
112
 
 

Hey, sometimes when I do pacman -Syu, I see some weird package being installed and I am curious which explicitly installed package is installing/updating it.

How do I so with pacman?

I know we can easily find out why an installed package is being installed, but what about before the package is being installed?

113
 
 

The first OS on laptop was Windows 10. After that, I have added Manjaro. Manjaro has added a Grub menu, with entry's for Manjaro and Windows. Now I want to switch to Arch. I have installed Arch on a separate partition. Arch has not added a entry in this grub menu, but this was expected. I have used update-grub from Manjaro, what added Arch to the menu.

But for some reason I can't edit the menu from within Arch.

I have tried to understand Arch Wiki what I have to do, to edit this menu from Arch. Can someone please help me to get this to work? I have tried to add my EFI partition /dev/sda1 via fstab to /boot/efi like in Manjaro, but this doesn't help to find the same menu with grub-customizer.

Any idea's?

114
 
 

complete beginner here. i read the wiki article on installing secure boot, and it seems straightforward enough, but i'm wondering if it would work any different on a flash drive? like would it mess with the boot certificates on other computers or something?

115
5
submitted 11 months ago* (last edited 11 months ago) by roo@lemmy.one to c/archlinux@lemmy.ml
 
 

Is there a way to allow background services for the app that Portals pop-up said was doing something in the background? Apparently it was just running, and now it's not.

I've looked in the conf files, but it didn't amend the app there. Does anyone know where app background action is set to deny/allow?

116
 
 

I have this very weird glitch with Gnome, running on Xorg. I can move my mouse off the right hand edge of the screen, and the entire gnome UI starts to scroll over the the left, giving me a glitchy mess on the right hand side of the screen. The screenshot doesn't really do it justice, because it just became transparent instead, but the transparent region where the terminal is should be off screen.

Hope I have explained that well, has anyone else hit that? I wonder if its due to multiple monitors, or non-aligned monitors?

117
 
 

I'm talking about

I read some time ago that there were doubts from package maintainers regarding the -march RFC because of lacking tooling. Does anyone know if there has been any progress on solving those problems?

And what about the other two RFCs?

Is there any way the community can help?

118
 
 

I'm pretty new to arch Linux.

Some apps, as well as the file manager, system app and taskbar all have this weird jittery font.

I also noticed that even when I type the same letters, they have inconsistent appearances. Is this normal?

Thanks in advance.

119
 
 
120
19
submitted 11 months ago* (last edited 11 months ago) by good_girl@lemmy.blahaj.zone to c/archlinux@lemmy.ml
 
 

I'm trying to install arch for the first time and I'm using an old laptop i had lying around.

I've come to the conclusion that this laptop's dgpu is dead as i get video output up until the OS initializes. (With arch I can't get past choosing the installation medium, with windows I don't get any output when the os should start loading the login screen) The screen goes black but doesn't turn off and in windows the keyboard's rgb lights respond to fn presses (though this doesn't happen in arch)

I've been searching for a way to prioritize the igpu as a way to circumvent the hardware failure, though I'm starting to think this may not be possible in the kernel parameters.

Edit: managed to get through posting windows by turning off turbo boost. gonna try and disable the dgpu once i get arch set up as i think it's a power issue

121
11
submitted 11 months ago* (last edited 10 months ago) by RAM@discuss.tchncs.de to c/archlinux@lemmy.ml
 
 

Hey :))

I'm trying to get smooth scrolling to work with Vi bindings in Zathura. It works out of the box with "" and "". I found a solution on the internet saying you could map j and k to "" and "", which I've done by writing the following in zathurarc:

map j feedkeys "<C-Down>"
map k feedkeys "<C-Up>"

And it works :))

the only problem is - every time I press either j or k, it writes the following error to the terminal:

(org.pwmt.zathura:112248): Gdk-WARNING **: 08:53:50.919: Event with type 8 not holding a GdkDevice. It is most likely synthesized outside Gdk/GTK+

Is there a better way to get smooth scrolling with vi bindings in zathura ? ^^

// This post has been a hell with formatting, sorry

122
4
submitted 11 months ago* (last edited 11 months ago) by Samueru@lemmy.ml to c/archlinux@lemmy.ml
 
 

I have this command on my i3wm configuration, which extends the 3 displays that I have into a single one for games.

bindsym $mod+Shift+k exec "xrandr --setmonitor extended auto DP-1,DP-2,DP-3"

The only issue that I have is, once I'm done, how do I revert back to having the displays individually? This has been driving me crazy.

Searching on internet all that I've managed to find is using xrandr -s 0, which actually just turns off my other displays.

And what is worse is that if I then manually turn the displays back on, THEY ARE STILL EXTENDED "xrandr -s 0" does not even reset that lol.

So far what I have to do to revert the changes is to log out of my current session.

SOLUTION: THE COMMAND IS: xrandr --delmonitor extended

123
 
 

I'm trying to migrate from lightdm to just using startx to start my i3 session.

First I had issues with kdeconnect working which were fixed by replacing exec i3 with exec dbus-launch --exit-with-session i3 in the xinitrc.

Now even though the apps works it is not following the system theme, I checked qt5ct and it is telling me that QT_QPA_PLATFORMTHEME is not set to qt5ct.

But I do have export QT_QPA_PLATFORMTHEME=qt5ct on my ~/.profile it seems the file is not being read but I have no idea on how to fix it.

124
 
 

I installed Arch Linux without turning off the WPBT bloatware in my BIOS. While this is a Windows feature is there a chance manufacturers could use this feature to install Linux bloatware that users don't want?

125
view more: ‹ prev next ›