#Make helpful notes, for the helpful users

95 messages · Page 1 of 1 (latest)

fallow bridge
#

Its not really steered towards mods, but towards everyone, because everyone can make notes. Today ive noticed that many things need to be retyped constantly, often that is the install steps like editing sudoers, configuring systemd-boot or something else, I just think that for convenience some notes should be added, like it has been done with ... chroot.

(... chroot also needs to be edited to include a /boot partition. Currently, it just instructs to mount root and chroot right away, which I think is bad and the author should edit this)

bold mica
#

You can make your own notes

#

.help

wet hamletBOT
# bold mica .help
List of commands

.help - Shows a list of all available commands or displays help for a specific command
.echo - Echoes a string
.botrepo - Posts the URL of the bot's Git repo
.avatar - Posts the URL of a user's avatar
.invite - Sends a link to invite the bot to your server
.slowmode - Sets the slowmode delay for the current channel
.voicekick - Move a user to the AFK channel or given channel
.config - Sets various configuration options for the bot
.userconfig - Configure user settings that apply across servers
.query - Adds a query to the list of queries
.openqueries - Lists open queries
.closequery - Closes a query by ID
.color - Sets your user color role
.closestcolor - Gives you the closest color, by hex code
.listcolors - Lists colors available on the server
.randcolors - Randomizes colors for all users
.gencolors - Creates a set of color roles
.extracolorroles - Lists extra color roles
.addextracolorrole - Adds an existing role as an extra color role
.delextracolorrole - Removes an extra color role
.archwiki - Searches the Arch wiki
.packagesearch - Searches for a package in the Arch repositories
.package - Shows info for a given package
.snippets - Manages snippets
.listsnippets - Lists available snippets
.getsnippet - Finds a snippet by name, and posts its text
.figlet - Converts text into ASCII art
.xkcd - Gets an XKCD comic by ID or name
.poll - Sets up a poll in a channel
.nimi - Queries definitions for a toki pona word
.tpo - Queries usage data for a toki pona word from tokipona.org
.tpsources - Displays attribution information for toki pona data
.tio - Runs some code using the service Try It Online
.tiolangs - Lists all programming languages available on Try It Online
.bottom - Converts text in Unicode to the Bottom emoji encoding
.regress - Converts text in the Bottom emoji encoding to Unicode
.sp - Renders Toki Pona text in the sitelen pona alphabet
.sppreview - Renders some Toki Pona text in all available sitelen pona typefaces
.ipa - Converts phonetic transcriptions from X-SAMPA to IPA
.addnote - Adds a note by name
.note - Finds a note by name
.listnotes - Lists all notes for this server
.noteid - Finds a note by ID
.delnote - Deletes a note

bold mica
#

5th from the bottom

fallow bridge
flint estuary
fallow bridge
#

i never seen them used

flint estuary
wet hamletBOT
#

#17413 📣 ```js
cheat:pacman

tags: [ packaging ]

To search for a package:

pacman -Ss <package>...

To update the local package base and upgrade all out-of-date packages:

pacman -Suy

To install a package:

pacman -S <package>...

To uninstall a package:

pacman -R <package>...

To uninstall a package and its depedencies, removing all new orphans:

pacman -Rcs <package>...

To get information about package:

pacman -Si <package>...

To install a package from builded package file (.tar.xz):

pacman -U <file>

To list the commands provided by an installed package:

pacman -Ql <package>... | sed -n -e 's/.*/bin///p' | tail -n +2

To list explicitly installed packages:

pacman -Qe

To list the top-most recent explicitly installed packages (not in the base groups):

expac --timefmt='%Y-%m-%d %T' '%l\t%n' $(comm -23 <(pacman -Qeq|sort) <(pacman -Qqg base base-devel|sort)) | sort -r | head -20

To list orphan packages (installed as dependencies and not required anymore):

pacman -Qdt

To list installed packages sorted by size

pacman -Qi | awk '/^Name/ {name=$3} /^Installed Size/ {print name, $4 substr($5,1,1)}' | column -t | sort -rhk2 | cat -n | tac

You can't directly install packages from the Arch User Database (AUR) with

pacman. You need an AUR helper program such as yay or paru to do that.

But considering that all of those are themselves in the AUR, here is how to

do that manualy.

Installing a package from AUR is a relatively simple process:

- Make sure that you have the base-devel and git packages installed

- Retrieve the repository corresponding to the package from the AUR website

- Run makepkg in the cloned repository

- Use pacman to install the created package

Ensure that have base-devel and git:

pacman -S --needed base-devel git

Retrieve the repository:

git clone https://aur.archlinux.org/<package>.git
cd <package>

Build the package:

makepkg -s

Install:

sudo pacman -U <package (.pkg.tar.zst)>
$```

flint estuary
#

... tldrpacman

wet hamletBOT
#

#17414 📣 ``` tldr:pacman

pacman

Arch Linux package manager utility.

Some subcommands such as pacman sync have their own usage documentation.

For equivalent commands in other package managers, see https://wiki.archlinux.org/title/Pacman/Rosetta.

More information: https://man.archlinux.org/man/pacman.8.

Synchronize and update all packages:

sudo pacman -Syu

Install a new package:

sudo pacman -S package_name

Remove a package and its dependencies:

sudo pacman -Rs package_name

Search the package database for a regular expression or keyword:

pacman -Ss "search_pattern"

List installed packages and versions:

pacman -Q

List only the explicitly installed packages and versions:

pacman -Qe

List orphan packages (installed as dependencies but not actually required by any package):

pacman -Qtdq

Empty the entire pacman cache:

sudo pacman -Scc
$```

flint estuary
#

I even started adding

#

... linuxtips

wet hamletBOT
flint estuary
#

... linuxtips2

wet hamletBOT
flint estuary
#

And so on

#

And I would love contributions

bold mica
#

... isokeyring

wet hamletBOT
#

#18997 📣 If you are struggling to run archinstall or pacstrap, the first set of things to do is:

killall gpg-agent
rm -rf /etc/pacman.d/gnupg
pacman-key --init 
pacman-key --populate
pacman -Sy archlinux-keyring

And if that fails, do:

pacman -Sy archlinux-keyring```

If refresh keys takes more than a minute just hit ctrl + c and continue, it likely has still worked.

It is **not** recommended to do the following as you become at risk of installing malicious packages:

edit pacman.conf
and change the SigLevel to Never in pacman.conf


As per:
https://wiki.archlinux.org/title/Pacman/Package_signing#Configuring_pacman
If the commands of this note become out of date please replace note with an up to date version and delete original note explaining that. Please do not delete this note for no valid reason.
bold mica
#

useful for people in the iso who can't get archinstall to work (amongst other commands)

fallow bridge
flint estuary
#

You could make a meta note that lists all the other notes triggers

flint estuary
bold mica
fallow bridge
#

true

flint estuary
fallow bridge
#

there needs to be a meta list of these really good notes

#

and then this list needs to be published to #readme-support-access

flint estuary
#

That is, for another meta thread

fallow bridge
#

and an announcement to the HU's

flint estuary
fallow bridge
bold mica
fallow bridge
flint estuary
#

Most of mine are man or tldr, or similar, I may be forgetting some

#

Like

fallow bridge
#

also i have a small complaint, about qbot - i opened a pull request that would add commands called solve, drop and reopen. solve adds [SOLVED], drop [DROPPED] and reopen deletes SOLVED or DROPPED from the title

flint estuary
#

... archwikioffline

wet hamletBOT
#

#17441 📣 Is archwiki down? No worries, you can get an offline copy of it. open terminal, then run sudo pacman -S arch-wiki-docs. once done, open your browser and browse to file:///usr/share/doc/arch-wiki/html/en/. then, press ctrl+F to start searching on your offline copy of the wiki. the best part is, since it's a package, once you get back online, and you update Arch Linux, the offline wiki will update with the system, so you never have an outdated copy of it. Have a good reading!

wet hamletBOT
# bold mica .listnotes
All notes, page 1/168:

#7104 void by motan 🇺🇦#0405
#7637 neofetch by SpellignError#0001
#7638 nohelp by SpellignError#0001
#7639 no by SpellignError#0001
#7789 .-.. by Nomenklatura#2472
#8407 augh by Bored Videos#0900
#8413 keys by i0b#5004
#8495 downvoted by Bored Videos#0900
#8516 tomato? by thetoastyboio#2925
#8537 yourmom by ambient#1361
#8538 amogus by ambient#1361
#8539 rick by ambient#1361
#8553 wdn by fwuffyboi#1556
#8554 windows by NotApollyon#8780
#8555 no by Fluffy#8467
#8556 nvidia by NotApollyon#8780
#8560 sus by anstandig-kun#8008
#8580 nvidia by NotApollyon#8780
#8585 amog by anstandig-kun#8008
#8629 rich by dn-gian5x#9101

bold mica
#

.listnotes 2

wet hamletBOT
# bold mica .listnotes 2
All notes, page 2/168:

#8666 intel by fwuffyboi#1556
#8683 lobster by GermanBread#9077
#8684 open-source by Ashley~#0143
#8685 howabout by ECHO#7575
#8688 iaminalotofpainandagony by ECHO#7575
#8691 touhou by ECHO#7575
#8692 installation by ECHO#7575
#8728 . by arkhi#5040
#8743 spleen by Endercass#0001
#8745 manjaro by NotApollyon#8780
#8749 unbootable-grub-issue-fix by Lune#6584
#8750 grub-issue-fix by Lune#6584
#8780 grub-issue by Lune#6584
#8787 grub by Endercass#0001
#8790 foo by oldmate#9999
#8794 newbie by NotApollyon#8780
#8795 woo by Amiga#0001
#8796 note by Amiga#0001
#8797 newbie by NotApollyon#8780
#8834 tranada by fwuffyboi#1556

bold mica
#

enjoy the 168 pages of notes 😛

flint estuary
fallow bridge
bold mica
flint estuary
fallow bridge
#

like a week ago

bold mica
fallow bridge
#

asking about qbot and how to implement features #4406-bot-that-adds-the-solved-tag-in-a-post

bold mica
flint estuary
flint estuary
#

And I may help if I can

fallow bridge
#

I hope that she will have some time

#

the module is ready it just needs to be merged

flint estuary
fallow bridge
#

and added to the qbot

bold mica
#

fuck it

hallow perchBOT
#

Ticket #4453 opened in #1479847389488742482

fallow bridge
agile wyvern
#

.note mannano

#

.note mangnu

#

.note manapt

#

umm

flint estuary
#

For the missing notes, feel free to contribute

agile wyvern
#

alr

#

I have an idea

#

Can you make a note that lists the man notes

#

That exist

flint estuary
#

Man pages and tldr are desirable on qbot

agile wyvern
#

.note bingbong

wet hamletBOT
#

#18870 📣 "y-yeah, definitely!"

agile wyvern
flint estuary
#

Actually I would love man pages and tldr as a qbot feature

agile wyvern
#

I wonder what the probability is of that happening

#

.note percent

wet hamletBOT
#

#18908 📣 ⁨Drum roll... ||⁨⁨⁨⁨```ansi
Your percentage is ⁨65%!

agile wyvern
#

Ooo

#

I love qbot notes

worldly ingot
#

#quick-questions message

#

AND BTW

#

... arch-chroot

wet hamletBOT
#

#19121 📣 how to arch-chroot:

  1. Get your hands on a usb stick with the arch installation .iso burned on it, or a ventoy usb with the .iso file on it.
  2. Boot your PC into the ISO
  3. Run: bash lsblk -f
    -# This should show the available drives, partitions, their size and the FS on them.
    -# Use this to figure out what drive/partition your / is located on.
    -# Typically it should be the first ext4 or btrfs partition on disk, the second (if present) should be your /home
  4. Run:bash mount /dev/root_drive /mnt
    -# Replace /dev/root_drive with the path to your root partition you identified in step 3.
  5. Run:bash arch-chroot -S /mnt
    -# This will let you puppeteer your system without actually booting it.
  6. Run:bash mount -a
    -# This will try to mount everything configured in your systems fstab.
worldly ingot
#

Literally includes /boot (and everything else in the fstab) trough the last command....