Arch Linux

7739 readers
1 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
126
 
 

I'd like to keep XCFE for VERY occasional use, so when I'm not using it I'd like to quit it. Also I don't want it to start at boot. I've found a bunch of ways of uninstalling it but that's not what I'm after, I just want to make sure it is not running unless I start it.

127
 
 

Things did go smooth and we migrated all issues from flyspray to GitLab! 🥳

This implies the following changes:

  • Bugs for packages are now opened on the repo hosting the corresponding packaging sources, "Add a new Bug" on the package page will automatically direct you to the correct package.
  • A list of all issues can be found here. To filter for issues assigned to a specific package maintainer, use the filter input box. A link containing the filter can be bookmarked for convenience.
  • Merge Requests for packaging repos have been enabled
  • bugs.archlinux.org is readonly and will be replaced by a static clone of the site soon
  • Navbars on our major webpages have been updated to include a link to GitLab instead of flyspray
  • the flyspray-migration test group (referenced in previous mails in this thread) has been deleted
  • Arch Linux Package Maintainers that also want to be assigned to unconfirmed bug of their packages have to react with "🔍" to this issue
128
 
 

I recently got into Arch Linux via EndeavourOS. I'm trying to find a way to remember all the Pacman and Yay commands, but I'm not able to find a good approach to remembering most of the commands.

Does anybody have any mnemonics to help with this? For example, how did you remember that Yay -Yc was the command to remove all unneeded dependencies?

129
 
 

As mentioned in the titel the merge of this two packages prevents me from updating.

sudo pacman -Syu gives me the following output:

:: Package databases are synchronised ... core is up to date extra 8.3 MiB 22.2 MiB/s 00:00 [--------------------------------------------------------------------] 100% community is up to date multilib is up to date :: Complete system update is started ... :: replace analitza with extra/analitza5? [Y/n] :: replace appstream-qt with extra/appstream-qt5? [Y/n] :: replace kdsoap with extra/kdsoap-qt5? [Y/n] :: replace kquickimageeditor with extra/kquickimageeditor5? [Y/n] :: replace libkcddb with extra/libkcddb5? [Y/n] :: replace libkdcraw with extra/libkdcraw5? [Y/n] Dependencies are resolved ...

Conflicting packages are searched for ... Error: Unresolvable package conflicts found Error: Process could not be prepared (Conflicting dependencies) :: jdk-openjdk and jre-openjdk are in conflict with each other

pacman -Qi tells me the following:

Name : jre-openjdk Version : 21.u35-3 Description : OpenJDK Java 21 full runtime environment Architecture : x86_64 URL : https://openjdk.java.net/ Licences : custom Groups : Nothing Provides : java-runtime=21 java-runtime-openjdk=21 jre21-openjdk=21.u35-3 Depends on : jre21-openjdk-headless=21.u35-3 giflib libgif.so glibc gcc-libs libpng Optional dependencies : alsa-lib: for basic sound support [Installed] gtk2: for the Gtk+ 2 look and feel - desktop usage [Installed] gtk3: for the Gtk+ 3 look and feel - desktop usage [Installed] Required by : jdk-openjdk minecraft-launcher Optional for : libbluray libjpeg-turbo libjxl libreoffice-fresh In conflict with : Nothing Replaced : Nothing Install size : 589.86 KiB Packer : Frederik Schwan Created on : Thu 21 Sep 2023 21:15:27 CEST Installed on : Sun 01 Oct 2023 16:09:39 CEST Reason for installation : Installed as a dependency of another package Installation script : Yes Verified by : Signature

and

Name : jdk-openjdk Version : 21.u35-3 Description : OpenJDK Java 21 development kit architecture : x86_64 URL : https://openjdk.java.net/ Licenses : custom groups : Nichts provides : java-environment=21 java-environment-openjdk=21 jdk21-openjdk=21.u35-3 dependend from : jre21-openjdk=21.u35-3 java-environment-common=3 hicolor-icon-theme libelf glibc gcc-libs optional dependencies : Nichts needed from : netbeans optional for : libreoffice-fresh In Konflikt mit : Nichts replaces : Nichts Installation Size : 308,99 MiB Packer : Frederik Schwan created at : Do 21 Sep 2023 21:15:27 CEST date of installation : So 01 Okt 2023 16:09:40 CEST Installationreason : Installed as a dependency of another package Installation Script : Ja verified through : Signatur

Manually updating/removing one of the two packages still gives me the Error that they are conflicting.

Does anyone knows how i can fix this problem?

130
11
submitted 2 years ago* (last edited 2 years ago) by bauve@jlai.lu to c/archlinux@lemmy.ml
 
 

I'm looking for a tool to make snapshots of the system with an ext4 system disk.

131
 
 

Title. Whats going on? aur, not bin

132
 
 

I've got a refurbed thinkpad yoga in the mail. It's a stylus oriented laptop so I need to change the software I use to be more clicky.

For years I've favoured stuff like netctl, xrandr, xbacklight etc etc over GUI alternatives and usually gone for very minimal WM setups (e.g. dwm).

For obvious reasons this would be actual hell with a stylus in tablet mode, but it's been around 15 years since I last had a clicky linux setup and I'm really lost as to how to set one up on arch. What do you folks recommend for laptops?

EDIT: update for wayward souls. Went with plasma, less works nicely out of the box but gnome hung occasionally on a 2019 yoga x1. There's a lot about plasma I would say is annoying but configuring it is vastly easier than gnome.

133
 
 

Please forgive the noobish question, but what's going on with a document converter that it gets such frequent updates (and by extension forces a ton of Haskell updates)?

134
 
 

I purchased a PCIe DAQ card from National Instruments (PCIe-6536B), and I have struggled trying to get their proprietary drivers installed so that I can interface with the card using the NI-DAQmx library in Python.

I am considering giving up on it. Has any of you worked (or tried to work) with these cards in Arch? If you can share how you managed I would appreciate it.

But, really, even knowing that someone has succeeded would be enough to motivate me to continue trying. And knowing that others have also struggled and failed would help me confirm that National Instruments is not the way to go.

135
 
 

Whether a fan of text adventures or not, Aaron delves not just into the history of these games, but also the development and impact. I was blown away by the degree of creativity and diversity. Games that pushed the boundaries of AI and social issues. I'll be returning to this book as I explore many of the adventures referred to therein. https://www.goodreads.com/book/show/178590015-50-years-of-text-games

136
137
 
 

So I just fixed my Arch KDE install this morning (I broke plasma after an update) and now I have an issue with sudo. It simply doesn't do anything when I use it manually in the terminal and when I use yay, it gives an exec format error for the sudo file. After checking on the file using both the file command and kate. Both say that the file is empty. Is that supposed to be the case? If not, how do I fix it?

138
24
submitted 2 years ago* (last edited 2 years ago) by andrew0@lemmy.dbzer0.com to c/archlinux@lemmy.ml
 
 

Hi! I am trying to automate my install process by creating a json file that can be used by archinstall (example). One of the example shows how you can run custom commands to get paru (yay, but written in Rust):

"custom-commands": [
        "cd /home/devel; git clone https://aur.archlinux.org/paru.git",
        "chown -R devel:devel /home/devel/paru",
    ]

However, their example doesn't provide any further information about installing packages with paru. I would like to install some stuff just for my user.

My idea was the following:

  • using archinstall, install everything according to the config
  • disregard the "custom-commands" option in the config and create a separate custom script
  • get all the users from the system and allow user to choose which one to chroot as
  • run all commands as the chosen user ( e.g., install Rust with curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh )

I need to install a few packages that are not in the official repository, as well as moving my dotfiles in /home/user/.config and making sure everything is accessible by that user. If there are any better approaches to this, I would be glad to hear them!

An example of the script I am planning to use after running archinstall:

spoiler

#!/bin/bash

# Find all users on the system
for user in $(ls /home); do
    if [ "$user" != "lost+found" ]; then
        users+=($user)
    fi
done

# If there is more than one user, ask which user to install for
if [ ${#users[@]} -gt 1 ]; then
    echo "Multiple users found on system. Please select a user to install for:"
    select user in "${users[@]}"; do
        if [[ " ${users[@]} " =~ " ${user} " ]]; then
            break
        else
            echo "Invalid selection"
        fi
    done
else
    user=${users[0]}
fi

echo "Installing for user $user"

# chroot as the user
arch-chroot -u $user /mnt/archinstall # This only opens bash, but I am working on it :D 
cd /home/$user

# Install paru
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

# Install stuff with paru
paru -S tlrc --noconfirm

139
14
submitted 2 years ago* (last edited 2 years ago) by Flaky@iusearchlinux.fyi to c/archlinux@lemmy.ml
 
 

This isn't so much an Arch issue (For what it's worth, this also happened on Nobara) but rather a Pipewire issue but I wonder if anyone's had this issue as well as me...

Running Arch on linux-zen (to fulfill Waydroid's binder requirement), on a Ryzen 7950X, motherboard has a Realtek ALC4080, connected via USB (yes it's still an internal sound chip).

Basically, after any prolonged use, I would get a lot of stuttering. It got particularly bad when I was running MusicBrainz Picard while listening to something in VLC, but it will happen often, and constantly.

I've tried setting my default output to the headphones, no dice. Also tried some workarounds from the Arch Wiki, specifically disabling suspend. Still happens. Adding headroom errored out Wireplumber.

Anyone had this and if so, have they been able to fix it?

Edit: I'll probably have to check if it's a kernel thing. I've just done some intensive tasks (i.e. installing Gentoo in a virtual machine) and the cutoffs come back. I remember Arch having something on the Wiki about that.

140
 
 

Hi everyone!

I've recently migrated from Manjaro KDE to Endeavour KDE, keeping my home folder thanks to a separate partition.

On Manjaro, I used to plug my Canon camera on USB, and it would be mounted and show up in dolphin automatically, where I could browse it as any USB drive. Since I migrated, my camera isn't recognised anymore. I installed libgphoto2, and the camera triggered a popup when I plugged it, but the 'browse' button opens dolphin, and nothing happens, I end up in my home folder as if I had opened up dolphin normally and the camera is nowhere to be seen.

With gphoto2, I'm able to see and read the content of the camera, same with digikam. My guess is somewhere some kind of link is missing between dolphin and libgphoto2.

I've also installed kio-extras, nothing changed.

Could anyone help me find out how to get my camera to show up in dolphin as it used to do?

Thanks for your help!

141
 
 

First time arch installer here. I just installed arch with grub on a uefi laptop. Everything seemed fine until I rebooted and ended up in uefi settings instead of grub. The grub entry shows up in the boot options but the computer doesn't seem to care. What could be wrong?

I dont know what information is useful to narrow the problem down so just tell me what logs are necessary an I'll post them.

Edit: I tried installing using the archinstall script in case I misunderstood the install instructions, but still not booting. Tried both grub and systemd-boot. The laptop is an Asus vivobook S 14 model K3402Z and even though I have been running fedora on it for the last year I believe the issues have something to do with the laptop hardware.

Edit 2: The issue has been resolved. Turns out the step that ruined the install was when I formatted the NVME drive according to this section of the wiki it messed something up, so reverting that fixed everything.

142
 
 
143
 
 

We are introducing a change in JDK/JRE packages of our distro. This is triggered from the way a JRE is build in modern versions of Java (>9). We are introducing this change in Java 21.

To sum it up instead of having JDK and JRE packages coexist in the same system we will be making them conflict. The JDK variant package includes the runtime environment to execute Java applications so if one needs compilation and runtime of Java they need only the JDK package in the future. If, on the other hand, they need just runtime of Java then JRE (or jre-headless) will work.

This will (potentially) require a manual user action during upgrade:

  • If you have both JDK and JRE installed you can manually install the JDK with pacman -Syu jdk-openjdk and this removes the JRE related packages.
  • If you have both JRE and JRE-headless you will need to choose one of them and install it manually since they would conflict each other now.
  • If you only have one of the JDK/JRE/JRE-headless pacman should resolve dependencies normally and no action is needed.

At the moment this is only valid for the upcoming JDK 21 release.

144
10
submitted 2 years ago* (last edited 2 years ago) by bomgar@feddit.de to c/archlinux@lemmy.ml
 
 

Hi,

I currently use NetworkManager for everything (wi-fi, ethernet, VPN) and it manages my resolv.conf.

Some colleagues use ubuntu and had some trouble with DNS. The fix was easy (and is not relevant here). It makes me wonder: Ubuntu uses NetworkManager but the resolv.conf is managed by systemd-resolvd. Apparently this change is quite recent.

I'm actually happy with my setup and NetworkManager works fine. My question is: Is there anything I'm missing out on. Are there advantages?

145
 
 

Hey everyone! I currently have an antenna which is a realtek chipset (yuck) that I had to load the drivers myself. Even though I loaded the drivers from this github repo and keep them updated, I'm still getting issues like constant common disconnects, slow speeds (even though on my mobile connected to the same network I may get 6 times the speed), etc... I think I'm ready to pay up and get an antenna that has proper support in Linux, and I found this one after a little bit of searching online: official alfa link.

My question is if this is actually well supported, or even if there is something better I could get (without making me even poorer). What do you guys think, and what are your experiences?

Thanks!

Edit: came back here after a while to edit in case someone comes upon this in the future. I ended up ordering this one: AWUS036NHA fron Alfa. It has the ath9k chipset which is included in the kernel, so it seems like a good choice. Will try to remember to come back after I get it and try it put to give my comments.

146
 
 

Hyprland opacity rule not working for Thorium

I'm trying to change the opacity of the Thorium web browser in Hyprland by adding

windowrulev2 = opacity 0.80 0.80,class:^(thorium-browser)$

to the configuration file, but it's not working. This same rule works for Thunderbird, so I'm not sure what's wrong.

Any tips on what I might be missing? Is it possible that Thorium simply doesn't support transparency, or am I doing something wrong? I'm not sure what to do next, and I'd appreciate any help you can offer. Thanks!

147
 
 

I got this error when I run pacman -Syu this morning:

resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing kio5 (5.111.0-1) breaks dependency 'kio' required by kipi-plugins
:: installing kxmlgui5 (5.111.0-1) breaks dependency 'kxmlgui' required by libkipi
:: installing kservice5 (5.111.0-1) breaks dependency 'kservice' required by libkipi
:: installing kcoreaddons5 (5.111.0-1) breaks dependency 'kcoreaddons' required by libmediawiki-git

I think it's not my fault. Should I wait or find a solution myself?

148
 
 

I'm using gamescope-session from AUR. I think I install all the necessary packages. It runs fine afterall, better than trying to game on my DE. However, I need to insert password for about 4-5 times before the session starts. It's minor annoyance, but when I just want to game at the end of the day..., I'd rather not dealing with this.

Any advice?

149
 
 

Since updating to GNOME 45 the calendar and world clocks and weather panel is weird. Does anybody else experience this?

150
 
 

In Arch Linux, to check what updates are available, you can use the checkupdates command, but this command does not apply to the AUR package. To check what AUR package updates are available, use the yay -Qua command. Both commands will display a list of packages that have the latest version, but both commands also display packages that are installed as dependencies. Here, I only care about the list of packages that I installed myself (Explicitly installed). Therefore, I created a cli tool called axu (Arch eXplicit Updates).

axu is similar to the checkupdates and yay -Qua commands, except that it only displays a list of explicitly installed packages (not dependencies). axu also provides better output than checkupdates and yay -Qua because axu separates each update into 5 categories, namely:

  • Major
  • Minor
  • Patch
  • Build
  • Git

Determining the type of update is by following the semantic versioning (SemVer) rules.

For those of you who want to try it, this package is already available on AUR:

yay -S axu-bin

This program was originally written in TypeScript, but then I ported it to Rust.

view more: ‹ prev next ›