Skip to content

u/_Hering_

In this archive from Aug 2019 to Jul 2022

3
posts
57
comments
0
media
173
score

pacman -U /var/cache/pacman/pkg/linux-5.14.2.arch1-2-x86_64.pkg.tar.zst

The version might differ on your system and you might have to downgrade linux-headers as well. Just check your pacman log which packages got upgraded and downgrade those.

1 points

To be honest the best and probably most common way to learn about it is by simply trying out and whenever you face a problem or want to do something you don't know yet just google "archlinux how to x" (eg. archlinux how to install packages) and you will find solutions and explanations, either on reddit, the forum or the wiki :)

​

Edit: And if you can't find anything just feel free to ask here or on the mailinglists. You willl usually find people helping you.

5 points

But I also noticed that the logging disappeared. As in I had enabled logging for specific packages and since these messages appear in journal I do not see such logging at all anymore (journalctl, dmesg). And now after downgrading they appear again. So it looks atleast suspicious to me.

Edit: Is there an actual way to see if it is running then if that behaviour is meant to be normal? Otherwise I will have to just run nmap or whatever from another machine to test it...

1 points

Don't forget to check with vdpauinfo in your terminal to see if its properly working :)

it should say something like:

display: :0 screen: 0

API version: 1

Information string: NVIDIA VDPAU Driver Shared Library 465.31 Thu May 13 22:13:16 UTC 2021

1 points

Did you follow the guide here: https://wiki.archlinux.org/title/Hardware_video_acceleration#NVIDIA?

​

I got mine up and running using the proprietary driver and setting the variables mentioned in the article above:

sudo pacman -S nvidia nvidia-utils libva libva-utils libva-vdpau-driver lib32-libva libvdpau-va-gl lib32-libvdpau libvdpau

Adding export LIBVA_DRIVER_NAME=vdpau and export VDPAU_DRIVER=nvidia to my ~/.zshrc

2 points

hmm doesnt it make more sense to enable the option at runtime? Otherwise you would not catch the case where the optional dependency was installed but removed later on again.

​

Actually thinking about it there are multiple solutions, for example if you have like an UI that optdepends on notify to display some fancy desktop notification you could check at runtime and grey out the checkbox to enable these notification if needed along with displaying a small warning.

But you could also use a module-based system where you have ur "base" application and some additional module package that during install pulls in the previous optdepends as a harddepend and activates the config.

1 points

Not sure what you mean but if your goal is that every user should only be able to access their own files unless explicitely authorized you can alter the umask in /etc/profile to something like 077 (or 007 to include groups). If it is just some specific file you can also run chmod g-rwx,o-rwx <file> to remove access for everyone but the file-owner.

2 points

Tbh mostly by trying. Its like on Windows (or MacOS or whatever you use right now), you dont know everything immediately but when you need something you just google it, find a solution and learn from it.

In general the Archwiki is definitely a good source if you look for something specific.

I started like that as well ages ago: I was used to Windows mainly for gaming then oneday started running Ubuntu in a VM to develop some web applications and it slowly became my main OS really. But after completely removing Windows and only using Ubuntu (Proton/Wine played a big role in my decision) I saw some driver issues (mainly with SAT boxes) so I decided to go all in and selected Archlinux. And it feels nice to accomplish a fully customized installation, maybe writing your own installer for it and understanding how the whole process works :)

2 points

How much space did you give it? And are you installing it to the disk or ISO that you booted from?

I kinda guess you booted the ISO image that you downloaded and run pacman -S .. there am I right?

Edit: Archlinux isn't particulary "easy" for someone using or installing linux for the first time so you might want to read here https://wiki.archlinux.org/title/Installation_guide first about the steps necessary.

2 points

No to become a maintainer/TU you will need to be approved and qualify in some sort of way (https://wiki.archlinux.org/title/Trusted_Users#How_do_I_become_a_TU?).

For the AUR anyone can just create an account and upload the PKGBUILD according the the rules (https://wiki.archlinux.org/title/Arch_User_Repository#What_kind_of_packages_are_permitted_on_the_AUR?)) (but there is no direct curation unless a report was handed it or a moderator stumbles upon something that does not belong there). Therefore the users are advised to check what a package does themself before installing.

7 points

hmm may you explore what is hard about:

pacman -S nvidia # Installing the driver

Adding MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) to /etc/mkinitcpio.conf

And creating the hook to automate the rebuild to pacman as described on the Wiki-Page (copy&paste) ?

(so far that was the most complicated driver install on Archlinux for me)

And most other things just consist of pacman -S drivername or yay -S drivername

2 points

Kali Linux is like a preconfigured Debian-based system that is meant to help with pen-testing, not as a daily entertainment OS ;)

And Archlinux got nothing to do with Ubuntu either. But if you want to check if a driver exist you can either search in the package list, the AUR or the wiki (eg. Nvidia).

But usually you can chose between proprietary or open source drivers, whatever you prefer.

(Hint: I had less driver problems on Archlinux than on Ubuntu (Creative Soundcard, USB SAT-Box etc.))

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.