Arch Linux

7737 readers
2 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
1
17
submitted 5 days ago* (last edited 5 days ago) by [email protected] to c/[email protected]
 
 

I've been using paru. Just wanted to know if aura is, in your opinion, better than paru and why.

2
 
 

When I pacman-Syu, it fluctuates between 200kb to 500kb

I checked my internet speed at fast.com and it says 490Mbps

Something isn’t right.

Reflector is doing its job. I checked /etc/pacman.d/mirrorlist and saw the last updated time is very recent (today).

3
 
 

I'm excited to introduce Keyshift, a performance-focused and easy-to-configure keyboard remapping software that I've been developing. I've been using it for some time, and I'm really happy with the results!

A layering software allows you to create your own Fn key equivalents. You can also have multiple of them.

With Keyshift, you can do the following and more:

  • Remap Keys: Use --config="A=B" to remap A to B, or --config="A=B;B=A" to swap keys.
  • Layer Keys: Try --config="CAPSLOCK+1=F1" to layer keys easily.
  • Layer Keys with Original Key Intact: For example, --config="CAPSLOCK+1=F1;CAPSLOCK+nothing=CAPSLOCK" keeps the original key functional.
  • Surround Keys: With --config="^LEFTSHIFT=^LEFTSHIFT;LEFTSHIFT+ESC=GRAVE;LEFTSHIFT+*=*", you can type "~" using Shift+Esc.

Full call example -

sudo keyshift --config "A=B;B=A" \
  --kbd /dev/input/by-id/usb-ITE_Tech._Inc._ITE_Device_8910_-event-kbd

You can also create a config-file with all mappings, which is the recommended way to use it. You can add this to your startup (or udev if you want) to make the mapping permanent.

The main difference from KMonad is Keyshift's focus on performance and a newer remapping syntax.

I invite you to give it a try and share your feedback!

AUR: https://aur.archlinux.org/packages/keyshift

4
26
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 
 

There is an AUR package that errors when I update it, and it has been like that for a while so I wondered if I could fix it myself?

The Package is here https://aur.archlinux.org/packages/filebrowser-bin

You can see my comment explaining the error under the username "mub".

5
 
 

it works on hyprland, sway or qtile and it uses swww to change the backgroud

aur: https://aur.archlinux.org/packages/lunawp

6
9
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 
 

cross-posted from: https://lemmy.ml/post/21673875

Cross posting so that the OP realizes this community is alive. I have no issues with qemu, which is installed on my system with no issues.

Posting here as there doesn't seem to be an active Arch Linux community.

I noticed while updating my system today that I have a bunch of qemu packages I don't recall installing. So I took a look at why they were there and found this:

Name            : qemu-base
Required By     : qemu-desktop
Install Reason  : Installed as a dependency for another package

Name            : qemu-desktop
Required By     : None
Optional For    : qemu-base
Install Reason  : Installed as a dependency for another package

It seems like qemu-desktop was a dependency for something I later removed and pulled in qemu-base. However, because of the dependency cycle, they aren't showing up as orphans and has just been hanging around in my system along with 150mb of other dependencies.

Correct?

Edit: Adding clarification on why this was cross posted, and no I'm not the OP.

7
 
 

I’m trying to make a custom iso with archiso, currently I just have the standard profile with plasma-meta, kitty, and xorg-xinit installed. When booting the iso the shell is zsh as expected, but when I launch kde with startx it changes the shell to bash.

I’m not sure if this is because I’m using the root account rather than a normal user, or if it’s something weird to do with using startx as I usually use SDDM on an actual install, I’m not having much luck with Google as I just keep getting results telling me how to automatically run startx when logging into bash/zsh.

The shell for root is listed as /usr/bin/zsh in /etc/passed so chsh makes no difference, but echo $SHELL returns /bin/bash

8
 
 

Running into an issue where I have no internet connection. I've put iwd so I cam use iwctl for the wifi, enabled iwd.service, syatemd.resolv service and not sure what else i need to do. Ethernet doesn't work either but i didnt change the settings to UP on it since i wasnt planning on using it. Did chroot from what I read in the manual and no errors that I saw during the base install. Just trying to find the best way to fix lack of internet connectivity so any guidance on the issue would be appreciated.

Installing the Arch way and is new for me and this is the farthest I've gotten. I used to use the archinstall in the past but I'm not using that anymore.

9
 
 

I've been running Arch for about a year on my pretty old Acer laptop with an I7 8750h and a GTX 1060. Got a pretty good deal on a used Asus Tuf A16 with a Ryzen 7 7735hs and an RX 7700s.

Getting Arch going with my Nvidia card was a bit of a pain. Still have the random game that thinks it needs to use the Intel GPU (which I eventually solved).

So is there anything I need to do for this new laptop or since it's all AMD should everything just work?

10
6
submitted 1 month ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
 
 

I installed CachyOS with BTRFS, LUKS2 , REFIND.

After successful installation I'm not seeing any prompt for password nor the linux boot entry on refind.

Note: I didn't do any lvm or raid.

What should I do?

Solved

I just forgot to create a boot partition 😮‍💨

11
 
 

Let's say i made 10 snapshots on top of the base.

Now can i delete snap no. 5? Will the snaps after 5 will be affected?

Solved

Yes, one can delete consecutive snapshots. The data won't be deleted unless all snaps ( reference points ) get deleted.

Note: If you delete the original file and delete all the snapshots made when the file is still there, the file will get deleted permanently.

12
13
 
 

I am on EndeavourOS and was running the core/linux kernel and used yay to update my kernel to probably 6.11.1arch along with some programs and Nvidia driver updates. After rebooting it went to the login screen but when hitting login it stayed at a black screen till it fell back to terminal without gui. In the grub submenu I tried fallback which had the same problem. Fortunately I had LTS installed, and it worked.

So now what do i do? I am sure there are many solutions to fixing it. But do they work all the same? I could delete core/linux in AKM and reinstall it, right?

I am a beginner in Linux and would like to learn from this.

14
15
 
 

Hey guys. I recently installed cachyos on my PC. It’s showing the nvidia drivers installed but gives me no output if I plug hdmi into the card. Only my motherboard port is giving video output. Any idea how I can resolve this?

16
 
 
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) deepin-icon-theme-2024.06.21-1

Total Installed Size:  138.93 MiB
Net Upgrade Size:        5.96 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                     [########################] 100%
(1/1) checking package integrity                   [########################] 100%
(1/1) loading package files                        [########################] 100%
(1/1) checking for file conflicts                  [########################] 100%
error: failed to commit transaction (conflicting files)
deepin-icon-theme: /usr/share/icons/bloom/icon-theme.cache exists in filesystem
Errors occurred, no packages were upgraded.

Running a search for the error I didn't find one for deepin-icon-theme, but the same error for other packages in arch updates show up and the other ones I saw laid the blame on improper packaging. Given that this is the one from the arch repositories and not some AUR package, I'm nowhere near confident enough in myself to jump to the conclusion that this is someone else's fault, so I'm asking here.

17
 
 

Is there a standard or well-known, de-facto uitility for this?


Arch Linux, EndeavourOS

18
7
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 
 

Hi everyone, hope you guys have a nice day! Long story short. I hop from opensuse tumbleweed to arch recently. I want to setup snapper so it work like on opensuse just to be safe. Even on opensuse the rolling release did kill my system few time. I run into this part on the arch wiki.

Note: If you are using the suggested Btrfs partition layout from archinstall then the @.snapshots subvolume will already be mounted to /.snapshots, and the snapper create-config command will fail [1]. To use the @.snapshots subvolume for Snapper backups, do the following:

Unmount the @.snapshots subvolume and delete the existing mountpoint.
Create the Snapper config.
Delete the subvolume created by Snapper.
Re-create the /.snapshots mount point and re-mount the @.snapshots subvolume.

I did installed arch via archinstall but I am not really experience with the btrfs files system nor mount or unmount stuff so as I expected I killed my system. I reinstalled arch and not sure how to setup snapper without pull my hair out again. Any help would be appreciate thank!

19
 
 

Downloading packages as an unprivileged user is a pretty neat update for people who want to do that.

20
 
 
#!/usr/bin/env bash
echo -e '\nReading the news...\n'
        yay -Pw
echo -e '\nUpdating...\n'
        sudo pacman -Syu
echo -e '\nLooking for orphaned packages...\n'
        yay -Qtd
echo -e '\nLooking for obsolete packages...\n'
        url='https://aur.archlinux.org/rpc?v=5&'
        pacman -Qmq | sort >| /tmp/pkgs
        curl -s "${url}type=info$(printf '&arg[]=%s' $(cat /tmp/pkgs))" \
                | jq -r '.results[]|.Name' | sort | comm -13 - /tmp/pkgs
echo -e '\nLooking for changed config files...\n'
        sudo find /etc -name *.pac*
echo -e '\nDone.\n'
21
7
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 
 

Can I change the location of BTRFS snapshots. I installed CachyOS, and it automatically setup BTRFS subvols.

This is the layout 👇

ID gen parent top level path
258 1773 5 5 @root
259 1601 5 5 @srv
260 1789 5 5 @cache
261 1785 5 5 @tmp
262 1797 5 5 @log
263 26 377 377 var/lib/portables
264 26 377 377 var/lib/machines
265 1791 377 377 .snapshots
266 1427 378 378 @home/.snapshots
377 1797 5 5 @
378 1797 5 5 @home

According to Arch wiki https://wiki.archlinux.org/title/Snapper#Creating_a_new_configuration

Create a subvolume at /path/to/subvolume/.snapshots where future snapshots for this configuration will be stored. A snapshot's path is /path/to/subvolume/.snapshots/#/snapshot, where # is the snapshot number.

From which I understand that if I created a snap of /home (@home), it will save in /home/.snapshots (@home/.snapshots).

So, CachyOS configured to save snaps to separate subvol.

But, what I want to do is, Instead of just saving it in separate subvol, i want snaps to be saved on different btrfs partition. Maybe @home/.snapshots but on different partition.

Is that possible ?

22
 
 

Hi all,

I have reason to believe a package I use (python-polib) was moved from the aur to the official extra repo. I'm now having trouble getting it installed.

The old page gives a 404: https://aur.archlinux.org/packages/python-polib This now seems to be the right source for this package: https://archlinux.org/packages/extra/any/python-polib/

However, I do a # pacman -Syyu python-polib and pacman can't find the target. Do I need to do something here that I'm missing?

My pacman.conf includes the "extra" repo and it updates during the Syyu command.

23
17
submitted 2 months ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 
 

How to install ProtonVPN in Arch Linux (CachyOS) ?

Should I follow https://wiki.archlinux.org/title/ProtonVPN ?

OR

from flathub https://flathub.org/apps/com.protonvpn.www ?

This flatpak has Unverified tag, but according to this, this flatpak is safe.

Which one should I follow ?

Asking this because I'm because I'm a bit lazy to configure OpenVPN and all that stuff. (pls don't kill me :)

Also do you think using VPN from flatpak is a good idea?

24
 
 

I'm using IPV6-able mirrors

is it possible to force pacman to use IPV6 only, other than disabling IPV4 in the whole system?

25
 
 

My config for reflector is currently set as follows:

# Set the output path where the mirrorlist will be saved.
--save /etc/pacman.d/mirrorlist

# Select the transfer protocol.
--protocol https

# Use only the most recently synchronized mirrors.
--latest 200

# Sort the mirrors by synchronization time.
--sort rate

# Return, at most, the following number of mirrors.
--number 20

# Print extra info.
--verbose

I have Reflector set to run as a Systemd service, so it will run when my computer boots.

The "issue" is that I update my system as soon as I boot. Since Reflector is sorting mirrors by their measured download rate, I wonder if downloading updates, or simply doing any action that downloads data, would interfere with those measurements and cause Reflector to choose mirrors that may not be the fastest. I could simply wait for Reflector to finish before using the computer, but it takes quite a while to sort through 200 mirrors.

Is this concern justified? If so, are there ways to mitigate it that don't require me to wait for Reflector to finish? I've thought about setting it as a Pacman hook so that it runs after updating, but, then, that relies on me to perform an update for the mirrorlist to be refreshed, and that still leaves the concern of other actions eating up network bandwidth, thus skewing the measurements.

view more: next ›