1
74
2
-3

I used archinstall to set up a new pc.

3
3

cross-posted from: https://programming.dev/post/59158613

ScreenGuard is an open-source, privacy-first desktop application built in Flutter for Linux. It brings active Android-style Digital Wellbeing, Daily App Limit Lockouts, and Focus Mode Pomodoro Session Blocking directly to the Linux desktop.

i am currently searching for volunteering contributors to help me expand support to othe Desktop environments

check README: https://github.com/adityakrishnan005-a11y/ScreenGuard

Check wiki: https://github.com/adityakrishnan005-a11y/ScreenGuard/wiki

Peek into new -UI undergoing testing and developmentSuggest any changes - v1.2.0-beta.1 if you want to test the newest UI try out v1.2.0-beta.1 here: https://github.com/adityakrishnan005-a11y/ScreenGuard/releases/tag/v1.2.0-beta.1

4
4
submitted 3 weeks ago by bhorolsky@lemmy.zip to c/archlinux@lemmy.ml

[GUIDE] Running CUDA 12.9 on NVIDIA Pascal (GTX 10xx) with Arch Linux

Tested on: X570DD_M570DD / GTX 1050 mobile / Arch Linux x86_64 / NVIDIA 580.178.04 driver / CUDA V12.9.86

What happened: As everyone knows, NVIDIA dropped the Pascal line in the 590.xxx.xx+ and CUDA 13.x+ driver line, and if you try to install the nvidia-open (now nvidia) or cuda package, you will encounter the fact that Pascal has been cut from the new versions.

Installing the NVIDIA 580xx Driver: To ensure you have the latest driver that supports Pascal, we'll need the AUR Helper to download the following packages via AUR. I'll be using yay:

yay -S lib32-nvidia-580xx-utils
yay -S nvidia-580xx-dkms
yay -S nvidia-580xx-settings
yay -S nvidia-prime
yay -S opencl-nvidia-580xx

Installing the GCC14: since CUDA 12.9 requires a compatible GCC version, we install GCC 14 for the toolkit. Since compiling GCC 14 manually takes a long time, we’ll simply download it from the Arch archives:

cd /tmp
wget https://archive.archlinux.org/packages/g/gcc14/gcc14-14.3.1+r416+g44d5743651c4-2-x86_64.pkg.tar.zst
wget https://archive.archlinux.org/packages/g/gcc14/gcc14-libs-14.3.1+r416+g44d5743651c4-2-x86_64.pkg.tar.zst
sudo pacman -U gcc14-*.pkg.tar.zst

Next, to verify that gcc14 has indeed been installed, you can run the following command:

gcc-14 --version
g++-14 --version
which gcc-14

Next, we need to exclude gcc14 and gcc14-libs from being updated by our AUR helper. Change the following lines in /etc/pacman.conf:

IgnorePkg = gcc14 gcc14-libs

Simply add gcc14 and gcc14-libs to your IgnorePkg

Installing the CUDA 12.9:
There's a great package called cuda-pascal, and we'll install it because it's designed specifically for our purpose:

yay -S cuda-pascal

Next, add CUDA to your PATH. This is a temporary command, you'll need to add CUDA to your shell's PATH!

export PATH=/opt/cuda/bin:$PATH

Now you can run a test on the NVCC compiler that we just installed:

nvcc --version
echo '#include <cstdio>
__global__ void hello() {
    printf("Hello from GPU!\n");
}
int main() {
    hello<<<1, 1>>>();
    cudaDeviceSynchronize();
}' > /tmp/hello.cu && nvcc /tmp/hello.cu -o /tmp/hello && /tmp/hello

If you see the message “Hello from GPU!”, congratulations! You've successfully installed CUDA!

Software configuration:

  1. Blender:
  2. To have Blender use our configured CUDA, we need to open Blender, press ‘Ctrl+,’, go to the ‘System’ section, select ‘CUDA’ in the Cycles rendering section, and choose GPU

Then restart Blender if necessary.

Now go to the ‘Render’ section in the sidebar and select Cycles and GPU Compute.

Set Viewport Shading to Rendered.

When you launch Blender for the first time, you should see “Loading render kernels” appear in the top-left corner.

Wait a moment, and your image should render using your Pascal GPU via CUDA in Cycles!

You can verify this using nvidia-smi or ps aux | grep blender

  1. Ollama:
    The Ollama packages from the Arch repositories and AUR did not work correctly on my GTX 1050, so I used the official installation script instead:

    curl -fsSL https://ollama.com/install.sh | sh

Once you've installed ollama, you can run the phi4-mini test model (lightweight and smart):

ollama run phi4-mini --verbose

In another terminal, run `ollama ps`

and you should see the line “100% GPU” in the “PROCESSOR” column. If so, congratulations - you've successfully run ollama on your Pascal graphics card!

5
-6
Can I update now? (lemmy.today)
submitted 4 weeks ago by gpstarman@lemmy.today to c/archlinux@lemmy.ml

System SpecificationsOperating System: CachyOS Linux

KDE Plasma Version: 6.8.0

KDE Frameworks Version: 6.31.0

Qt Version: 6.12.0

Kernel Version: 7.2.11-1-cachyos (64-bit)

Graphics Platform: Wayland

Processors: 12 × 12th Gen Intel® Core™ i5-12450H

Memory: 8 GiB of RAM (7.5 GiB usable)

Graphics Processor 1: Intel® Graphics

Graphics Processor 2: NVIDIA GeForce RTX 3050 Laptop GPU

Several days ago, I tried to update my CachyOS system. And seen the below warning from Pacman itself

Update notice: Kernel 7.3.0-2 has issues with amdgpu particularly causing black screen on AMD dGPUs

At first, I was like gonna do the update, because I don't have an AMD CPU/GPU. Then I went to check on the internet and found lots of issues with both Kernel 7.3 and KDE Plasma 6.8.1. Even affecting NVIDIA GPU.

Some of the examplesLinux 7.3 - GPU idle increased from 10 W to 60. Anyone else?

Partial upgrade for ca-certificates-mozilla

Plasma 6.8.1 update: fullscreen games choppy (fine in windowed), desktop animations laggy - fixed by downgrading to 6.8.0

Choppy frame pacing in CS2 and Deadlock (300–500 FPS) after 2026-10-22 update (linux 7.3.0, linux-firmware-amdgpu 20261019, Plasma 6.8.1) – RX 6600 XT, Wayland – fixed by snapshot rollback

Steam games broken after updating from kernel 7.2.11-1 -> 7.3.0-2 (not fixed by 7.3.0-3)

linux-cachyos 7.3.0-4: amdgpu “Fence fallback timer expired” causes game crashes (RX 6600 XT) (Monster Hunter Wilds)

Cachyos kernel upgrade to 7.3.0 - fails on AMD

After latest update to cachyos-rate-mirrors the speeds are horible

GPU and CPU Fans Running at Double Speed under 7.3.1

Cachy kernel version 7.3.1 breaks the dual display (DisplayLink device) (KDE Plasma) (Kwin)

Cannot login after the latest update from kernel 7.2.10-1 -> 7.3.0-2 (presented with a frozen screen)

Nvidia-open 615.78.08: dGPU runtime D3 “Not supported” on linux-cachyos 7.3.0-4, works on LTS 6.18.55-2

Steam games broken after updating from kernel 7.2.11-1 -> 7.3.0-2 (not fixed by 7.3.0-3)

Is there a reason that the BORE kernel is stale (7.2.10 vs. 7.3.0)?

After Recent Update, Shut Down Takes Over 1 Minute - User Manager Issue?

Behringer UMC404HD - fail with Kernel 7.3.0

LACT power cap write fails with “Operation not supported (os error 95)” on 7.3.0-3-cachyos

Plasma 6.8.1: immediate screen tearing / flickering shadows / black areas on GTX 1650 Ti (HP Pavilion Gaming 15-dk1xxx) - 6.8.0 is fine

Updating to 7.3.0-3-cachyos causes UMC204HD Audio Interface to be unusable

Issue with AdaptiveSync kernel 7.3+

Keyboard Backlight Not Working With 7.3 Kernel

Kernal 7.3.0-3 - AMD / NVIDEA

Should i stay at linux-cachyos 7.2.11-1?

After update audio is is wery crapy and not loud

Audio echo in FAudio/Proton games on launch — regression starting linux-cachyos 7.3

Severe display artifacts and flickering on NVIDIA HDMI output after today’s first upgrade (2026/10/22)

Update causing KDE Plasma crash or blackscreen at boot

After KDE 6.8 update, Desktop Animations lag and Games run on 48fps

7.3.0-2 on RX 9070 XT: no black screen, but a DCN401 MCM LUT warning on HDR enable (Plasma 6.8.0)

After update lost fps

Not every link I shared is completely relevant to me, but the amount of issues on Kernel 7.3 and KDE Plasma 6.8.1. Even affecting NVIDIA GPU made me hesitant.

Because of this hesitation, I also didn't update Firefox CA-Certificates security update.

Should I update now?

6
8

I can't seem to figure it out. When it plays a MIDI file, it references Timidity++ in the output:

  Metadata:
    name            : Piano
    instrument      : Timidity GM patches
    sample          : Piano
                    : 0:
                    : 1:
                    : 2:
                    : 3:
                    : 4:
                    : 5:
                    : 6:
                    : 7:
                    : 8:
                    : 9:
                    : 10:
    extra info      : 51 patterns, 26 channels, 1/11 instrument, 12/12 samples
  Duration: 00:03:06.00, bitrate: 1 kb/s
  Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s

Playing the file with Timidity++ results in nothing, as Timidity++ apparently isn't a soundfont, and searching "Timidity GM patches" brings up nothing.

7
3
PKGBUILD question (lemmy.blahaj.zone)

I'm trying to add a program that uses Python to the AUR. The app has no build script, and the main program uses files from other places in the repo directory. Should I just copy the repo files verbatim to the install directory and create a desktop file that runs the Python file?

If it helps, I'm trying to port the Mynah XMPP client.

8
4
Can't undervolt on laptop (lemmy.blahaj.zone)
submitted 1 month ago* (last edited 1 month ago) by thesupertechie@lemmy.blahaj.zone to c/archlinux@lemmy.ml

I have an HP ENVY Laptop 16-h1055cl. I was trying to use intel-undervolt to undervolt my laptop, but whenever I start the service, it fails with:

Oct 22 15:10:50 aurorabook systemd[1]: Starting Intel Undervolt Service...
Oct 22 15:10:50 aurorabook intel-undervolt[1773]: CPU (0): Values do not equal
Oct 22 15:10:50 aurorabook intel-undervolt[1773]: GPU (1): -0.00 mV
Oct 22 15:10:50 aurorabook intel-undervolt[1773]: CPU Cache (2): Values do not equal
Oct 22 15:10:50 aurorabook intel-undervolt[1773]: System Agent (3): -0.00 mV
Oct 22 15:10:50 aurorabook intel-undervolt[1773]: Analog I/O (4): -0.00 mV
Oct 22 15:10:50 aurorabook systemd[1]: intel-undervolt.service: Main process exited, code=exited, status=1>
Oct 22 15:10:50 aurorabook systemd[1]: intel-undervolt.service: Failed with result 'exit-code'.
Oct 22 15:10:50 aurorabook systemd[1]: Failed to start Intel Undervolt Service.

The values that "do not equal" is -100 mV. I've even reset my UEFI settings to no avail. Am I doing something wrong?

The whole reason I started this research on undervolting is because battery life has become far worse recently. With the NVIDIA GPU switched off using envycontrol, I get 8-10 W browsing and near 22 when watching a YouTube video using mpv.

9
1
submitted 1 month ago by ogarcia@lemmy.world to c/archlinux@lemmy.ml

El 20 de octubre de 2026 se reveló que varios certificados de la autoridad de certificación intermedia eMudhra se habían visto comprometidos.

Los certificados comprometidos se han eliminado o invalidado con ca-certificates-mozilla ≥ 3.131.1-1.

Sin una actualización de este paquete central de certificados, los sistemas son vulnerables a ataques de tipo «man-in-the-middle». Por ello, instamos a todos a actualizar sus sistemas de inmediato.

10
6
submitted 1 month ago by danielquinn@lemmy.ca to c/archlinux@lemmy.ml

I'm not sure where I should report this, whether it's an Arch issue or a GNOME one, but I just did my usual pacman -Syu and rebooted only to find that my mouse stopped working.

Digging into it from the console, I found a bunch of complaints about corrupted ACL packet in my logs, and navigating GNOME Control Centre with the keyboard showed that my bluetooth was in some sort of crash loop.

I looked at my installation logs with:

$ grep 2026-10-13 /var/log/pacman.log | grep upgraded

and went over each package one by one looking for a culprit. The only thing that even remotely stood out was:

upgraded gnome-control-center (51.0-1 -> 51.1-1)

So I added gnome-control-center to IgnorePkg in /etc/pacman.conf and installed 50.0-1 manually from the cache:

# pacman -U /var/cache/pacman/pkg/gnome-control-center-50.0-1-x86_64.pkg.tar.zst

rebooted, and voíla, my mouse was back.

So I'm posting this here in case someone has the same problem and to ask if this is something I should report, and if so, to which project, Arch or GNOME?

11
23
12
10
submitted 2 months ago by thingsiplay@lemmy.ml to c/archlinux@lemmy.ml

I want to create and upload an AUR package. For context, I did that years ago for specific releases, but now I want to create a new package that focuses on upstream Git without specific releases.

What do I write to the pkgver= value? Do I just take the latest version there? Because it is downloading with git clone the version number will not change and the PKGBUILD script will compare pkgver() instead. So what is the purpose of pkgver= for when downloading and building from Git directly? Looking at examples from other existing packages, they all have a number there. But its mostly outdated, so I don't get it.

pkgname=thename-git
_pkgname="$(pkgname%-git}"
pkgver=???

pkgver() {
    cd "${_pkgname}"
    git describe --long | sed 's/\([^-]*-g\)/r\1/'
}

I am reading and researching, but need some assistance for this question. Currently reading the Archwiki:

13
126
submitted 2 months ago by jeena@piefed.jeena.net to c/archlinux@lemmy.ml

Protest against the Omarchy/Omacom Foundation and the tech companies and executives funding far-right open source.

14
30
15
29
16
14
submitted 4 months ago by halm@leminal.space to c/archlinux@lemmy.ml

I haven't heard a peep about the security status of AUR since the headlines about malware injections into thousands of packages. I've ensured that none of my installed software is affected by the attack (to the best of my ability), but I've held off on my regular yay -Syu since then. What has you all done to keep your machine updated but clean?

And is there any update from AUR maintainers that the situation is under control? Most of my installed AUR packages simply don't exist in the official Arch repos, so if not I'd have to look for other sources.

17
19
submitted 4 months ago* (last edited 4 months ago) by steam_lover@sh.itjust.works to c/archlinux@lemmy.ml
18
30
submitted 4 months ago by zippy@lemmy.zip to c/archlinux@lemmy.ml

You can use --sudoloop option with your normal update command and paru/yay will ensure the terminal session remains authenticated until the command has ended. For example:

paru -Syu --sudoloop

This way, after long builds, paru/yay won't have to wait for you to enter the sudo pass, or timeout and thus fail to install the built packages. This was something that really annoyed me as someone new to Linux/Arch.

19
19
submitted 5 months ago* (last edited 5 months ago) by steam_lover@sh.itjust.works to c/archlinux@lemmy.ml
20
14
submitted 5 months ago* (last edited 5 months ago) by HaraldvonBlauzahn@feddit.org to c/archlinux@lemmy.ml

cross-posted from: https://feddit.org/post/23120439

Some people might look for alternatives to using AUR for common packages, for example because they don't have the competence to review PKDBUILD scripts for malicious code, or maybe because they simply do not have the time. The Guix package manager might be an alternative for these, as it now supports 31000 packages - significantly more than the Arch distribution. So, for popular packages, chances are good that your package is covered by Guix.

But what is Guix? Here, a summary of key features and decisions of Guix:

  1. Guix includes a package manager that can run on top of Linux distributions like Debian or Arch (I use it successfully for both) or other POSIX systems, like cargo, pip, conda or Conan. In difference to the pip and cargo package managers, it is language-agnostic, supports many different build systems and languages.
  2. Guix allows to define a fully reproducible system. This works by using a declarative language for immutable version-controlled package descriptions, and by deriving any software from package definitions and a fixed version (commit hash) of the source code. In that, it is similar but much stricter than Nix and NixOS. The key point is that any software built, and all its dependencies, go back to unambigously, immutable versions of source code and build recipes - and all inputs to the system are open source and can be reviewed. This gives also some important protection against malware: An altered cached, binary package would not match the hash of the package's source code, its package definition, and the recursive hash of its dependencies.
  3. Important for programming, this can also define isolated build and development environments, like Python's venv, but also Docker containers. This means that Guix can be used to develop, build, package, and deploy software, very much like Snap packages. And that's independent from the distribution you work in, very much like pip or cargo are independent from the system you work in. (And yes, it supports Rust!).
  4. This allows it, and also makes it technically possible, that any software package can be re-built and run years later. To make this legally possible, the official distribution of Guix also demands all components to be open source (FOSS). This is also a key difference to NixOS and non-free forks of Guix, which allow non-free binary packages, but sacrifice reproducibility. (To illustrate: If you have a binary, proprietary scanner driver in NixOS, and the owning company practices planned obselescence and decides that you should buy their new hardware, and pulls that driver, you are out of luck. In Guix, this can't happen.) (Note that as your own private conponents, you can define any package you like, you can also distribute your definitions as a complement to GNU Guix. Non-free packages for Guix do exist, in the same way as you can buy and run Steam Games software for Linux. Such non-free software just can't become part of the official Guix distribution, just like Amazon or Apple can't sell their non-free software via Debian or the Linux kernel project (or, for that matter, Apple has no obligation to market and distribute, say, Oracle products).
  5. All inputs being open source also means that any software component can be reviewed, that mis-features such as privacy-invasive behaviour can be removed, and that it is hardly possible to hide malware in the system. Because this also applies recursively to all compilers and build tools, this solves also Thompson's "Trusting Trust" problem. In fact, the whole system can be build from a 512 byte binary root (called MER). (Interestingly, that level of user control gets a lot of hate online -- certain companies don't seem to like it).
  6. Because it would take too long to build every user package from source every time, the produced packages are normally cached (while their correct binary content can be easily verified).
  7. The declarative description language for the packages is a well-defined, established, minimalist language called Scheme. This is a member of the Lisp family of languages. That Lisp is very well suited for declaratively building and configuring large systems has been proven with GNU Emacs, whose software, but more importantly, whole user configuration, is written in Emacs Lisp.
  8. The Scheme implementation used is called Guile. It has especially good support for the POSIX environment and has also much better-than-average interactive debugging capabilities compared to other Scheme implementations.
  9. Also worth noting is that the Guix project has superb online documentation. This is a practical advantage compared to Nix.

As example: you quickly want to try a recent version of a modern Scheme, say Guile 2 or Guile 3, or kawa (which runs on the JVM, like Clojure, see https://www.gnu.org/software/kawa/). Or of the interesting vis editor, a spin-off of Rob Pike's sam (https://github.com/martanne/vis). But you can't use the AUR packages, since AUR only supports Guile 1.8, and / or you don't have time to review the PKGBUILD and all its dependencies, and vis is simply not in AUR. Here, Guix helps out! Just type

guix install guile
guix install kawa
guix install vis

and bang you have it!

Disadvantages

  • Guix generates packages from source. This means the package definition and a hash of the source code is hashed, and compared against cached packages. If it is available as a compiled package, it is retrieved. In other cases, Guix might need to compile the package and its dependencies. This is slower than using pacman. But if you only use it for the few packages you can't find in Arch, this should not bother you much. The advantage is that it is fully automated.
  • Guix is not a good choice for installing proprietary binary drivers. This is due to its primary design choices. In this case, Nix might be a better alternative. (Or, you just get good Linux-compatible hardware, which can definitely avoid a lot of grief and head-scratching!)

How it works:

https://codeberg.org/guix/guix#headline-4

Manual:

https://guix.gnu.org/manual/en/html_node/Installation.html

For using Guix as a package manager under Arch, see:

https://wiki.archlinux.org/title/Guix

21
13
22
48

Ouch.

23
78
24
57
submitted 5 months ago* (last edited 5 months ago) by steam_lover@sh.itjust.works to c/archlinux@lemmy.ml
25
10
Woof, btw. (lemmy.nz)
submitted 5 months ago by rcbrk@lemmy.ml to c/archlinux@lemmy.ml
view more: next ›

Arch Linux

10065 readers
1 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS