Skip to content

u/CyberShadow

In this archive from Jul 2011 to May 2023

4
posts
48
comments
2
media
685
score

Is there a package available for Ubuntu?

No, but please ask your distribution to package any softtware you're missing, though!

I tried running the executable directly and not much info was shown.

Make sure you try using the arrow keys to navigate.

1 points

I tried avoiding using btdu, I find it tedious to compile random github projects

Please file a packaging request with your distribution! (The same applies to all software you find useful and think would benefit from being packaged.)

1 points

So therefore it replaces them

This is accomplished through the conflicts declaration. The prompt displayed by pacman is:

:: pipewire-pulse and pulseaudio are in conflict. Remove pulseaudio? [y/N] 

Also, if you were to try installing pulseaudio with pipewire-pulse installed, you would get a similar prompt - so, there is no "A succeeds/supplants B" relationship here, as "replaces" would imply.

So, I feel like using this term in this context is misleading, especially considering that it has a specific meaning which does not apply in this circumstance. Unfortunately this caused some confusion to proliferate (as I wrote in my linked comment), and I've been trying to trace it as part of straightening it out.

1 points

I'm not sure what the OP meant by "replaces". In terms of Arch Linux packages, this word does carry a specific meaning: https://wiki.archlinux.org/index.php/PKGBUILD#replaces

However, this is not the case here. The Arch Linux package does not and has never used the replaces relationship:

~/work/extern/arch/abs/packages/pipewire/trunk » git log --patch . | grep replaces | wc -l              
0

This confusion actually ended up in the Wikipedia article about PipeWire.

1 points

Personally, I would add host-specific configuration (including ignore rules) in the configuration, and making it conditional to the host:

if [[ "$HOSTNAME" == "home.example.com" ]]
then
	AddPackage nvidia
	AddPackage nvidia-utils
	# ... more packages only for the home system ...
fi

Of course, this means that the hostname must be configured manually before rebuilding a system from its configuration.

I think it makes sense to place the ignore rules together with the rest of the rules pertaining to their subject, i.e. when ignoring log files created by some package, place that near the AddPackage line.

More info here: https://github.com/CyberShadow/aconfmgr#managing-multiple-systems

3 points

File-wise, I assume the same is true, i.e. ignore everything that doesn't need to be/shouldn't be consistent across every system I configure?

That sounds like a good rule.

Is there any good way to tell which files I've actually modified and which I haven't, other than just looking at the file?

aconfmgr save will only add files which have been modified from their original packaged version (or don't belong to any package at all), so that part is taken care of.

2 points

If you would like to keep the base meta-package installed on your system, then keep it in your aconfmgr configuration. Do not ignore it.

(Note that you do not actually need the base package, as it is a meta-package which does not itself provide any functionality.)

Ignoring packages is telling aconfmgr that it should not care if a package is installed or not installed. This is suitable for packages which you install / uninstall often as part of your workflow. In other instances, packages should be specified in the configuration.

Note that you do not need to explicitly specify packages which are dependencies (whether direct or transient) of other explicitly specified packages. So, if you decide to keep base in your configuration, you won't need to also list the packages that base pulls in (just keep in mind that that list may change over time).

4 points

You could do that, but I wouldn't recommend it. A big benefit of aconfmgr is not just recording that you've installed a package, but also recording why you installed it, so that you can make an informed decision for when it's no longer needed and remove it from your system.

I recommend running aconfmgr periodically as part of regular system maintenance, e.g. before running pacman -Syu, to identify any new packages and decide if you want to keep them or let aconfmgr uninstall them for you.

1 points

I installed plasma-desktop instead of full featured plasma thinking I could install what I wanted to install and not be too bloated. The only problem is, there is no terminal that I can find. I search through all applications, there is no terminal. I used the search function; no terminal.

plasma-desktop is just the GUI. To get the KDE applications, including Konsole, install kde-applications or kde-applications-meta.

1 points

It will pick up new .pacnew files, and you will notice that they will have been added to your configuration, but there is currently no support for merging them automatically. If you inline the file edits, you can simply reapply your existing configuration, which would apply your edits on top of the package's latest original configuration files, and delete the .pacnew files. You could also use aconfmgr in combination with pacmarge.

I might add an option to instruct aconfmgr save to register some file edits as diffs, instead of copying the entire file.

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.