Skip to content

u/danielkraj

In this archive from Mar 2023 to May 2024

17
posts
66
comments
0
media
118
score
1 saved before deletion

Top posts

Can you apply patches to packages via PKGBUILD files? Do customization survive package updates?

I'm wondering if it's "safe" to apply patches to the prepare() function in PKGBUILD files. I can't find any information whether you can customize packages on the source level without forking the entire repo. Some packages won't let you change their behaviour in any other way than directly in the sou...

7 points8 comments
Open on Reddit

Run on Intel Integrated Graphics?

Hyprland no worky on integrated graphics??? Sorry, has anyone managed to run hyprland on Intel instead of the Nvidia GPU? On a laptop with hybrid graphics I'm trying to tell it to ignore Nvidia completely and only use Intel. EndeavourOS. I've installed hyprland package and removed usr/share/X11/xorg...

5 points3 comments
Open on Reddit

Top comments

Thank you, sorry I should have found it sooner. Do you remember by any chance what security implications of enabling this option are? There are a lot of mentions of some risks when this option is enabled, but I can't find or think of any specific way in which paru could become more malicious with sudo timeout extended until the end of the update process.

UPDATE: I found an interesting explanation here (at the bottom):

This is a really bad idea, as sudo credentials are cached by the TTY and if you walk away from the computer while yay is running, another personcan come by, CTRL+C the running program, and gain access to a sudo session.

Then again... you wouldn't normally move away from your computer without locking it first? If you (or anyone here) knew another "attack vector" please let me know.

3 points

Cool, thank you for confirming. I also have penchant for "stateless" solutions (even if this particular solution might stop working in the future).

It literally takes like 2 minutes to do a full system install

Beauty of Arch, it could apparently get close to a minute ;)

spin up LXD VM, run scripts, output ZFS dataset

CoW filesystems are great, sorry for going on tangents here, but have you considered btrfs?

I've only worked with Qemu/KVM and I haven't seen anyone using LXDs for a while. AWS runs on Xen, Vultr on Hyper-V, njal.la on lxc (which I assume means docker) and exoscale on kvm. Have you seen any advantages or is it just something chosen long time ago?

2 points

Subreddits

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.