User:Ris/tmp

This is just a scratchpad, please ignore it.

= BPF =

txt
This wiki aims to present exhaustive documentation for the Gentoo operating system, the packages, commands, and concepts that comprise it or are important for it's use. Basic documentation will be provided for notable packages from the Gentoo repository, developing specific information for getting software running and configured on Gentoo - with some pointers on basic usage, tips, and troubleshooting - for convenience. Many software projects provide comprehensive documentation themselves, delivering this in different ways, and these will be referenced from the wiki where appropriate. For many packages, the man pages will contain the canonical documentation.

the way of doing things laid out in this wiki is not strictly canonical, it is often based on sane defaults, meant for illustration or to get up and running. if you* know better, do not be constrained by how things are presented !

masking
wiki//var/db/repos/gentoo/profiles/package.mask

 kyoran: well, the exact location depends on your repo location and when you installed your system  kyoran: use.mask is USE flags masked globally, package.use.mask is flags masked for specific packages. Older Gentoo builds may have the repository (and, subsequently, profiles directory) at /usr/portage, newer systems tend to have it at /var/db/repos/gentoo, any system can have it elsewhere. how do you unmask a use flag that has been masked by /usr/portage/profiles/base/package.use.mask? c> this is probably an easy question, but I haven't find the answer — how do you unmask a use flag that has been masked by /usr/portage/profiles/base/package.use.mask?  /etc/portage/profile/package.use.mask:foo/bar -flag  I'm pretty sure I already tried that, let me try again :-m  If it doesn't work, provide full command and output to a paste service and link.

 no, I hadn't tried that one  I had tried /etc/portage/profile/package.use.mask based on the logic that a /etc/portage/package.unmask file can unmask packages masked by /usr/portage/profiles/package.mask  isn't this confusing or is it just me?  USE masks are a bit different, yes it is confusing  there is no use.unmask file  You need to negate the mask that was put in place - if it's masked as "foo/bar flag", you need to "foo/bar -flag" in a similarly named file to override locally.  yes, sorry, that's what I mean, I wanted to say I tried /etc/portage/profile/package.use.unmask, I guess you got it although I said it wrong  yeah, using wraeth's advice worked, thanks The question was about unmasking a USE flag masked for a specific package - package.use.mask. well, the exact location depends on your repo location and when you installed your system  kyoran: use.mask is USE flags masked globally, package.use.mask is flags masked for specific packages. Older Gentoo builds may have the repository (and, subsequently, profiles directory) at /usr/portage, newer systems tend to have it at /var/db/repos/gentoo, any system can have it elsewhere.  I think the new default location for repos is /var/db/repos, but I have systems that are 10 years old when the main portage dir was going to /usr/portage w> Portage has a bit of a learning curve as far as the intricacies of masks, USE flags, per-package handling, and profiles, but it makes sense once you get your head around it. As I suggested, though, we're always open to improving documentation when it's lacking. :)

-

s> Can an ebuild's keyword list be influenced by a use flag? I.e., can a USE flag keyword mask/unmask a package if it set or unset?  hi sam_ <w> p: No. A package may have stable, ~arch, or no keywords, and a USE flag may be masked, either globally or for the package, for a given keyword, but the keywords for a package cannot be changed by the state of a USE flag. <sa> that said, you can mask USE flags on certain profiles <w> Yes, well, "keyword" and "profile" is vaguely interchangeable, as far as flags are concerned, there. It's a bit complicated. cesswatch> nvm, what I was thinking about doesn't make sense. I wanted and 'lts' flag to follow the latest lts version, but I guess that is kind of antithetical to 'long-term'. <j> p: LTS for what? dist-kernel, although the concept could apply to any package that supports it. <x> p: no, use flags are independent of keywords

periodic tasks
Profile_(Portage) update profile age in 1st §

xfce apps
whisker menu

work on
Upgrading_Gentoo

wiki/Xfce/Guide

wiki/Gentoo_Cheat_Sheet some outdated commands

ideas
rest wiki "propose changes" to protected articles

emerge --depclean needs explanation. must warn about removing needed sw, ie nano, kernel etc : virtual packages that get another slot filled...

wiki/Knowledge_Base:Accepting_a_keyword_for_a_single_package + autoun zz

Upgrading_Gentoo

app pages
Useful_Portage_tools

Qt_Desktop_applications

Qt_Desktop_applications

Recommended_tools

Category:Software

Bootloader

Terminal_emulator

IRC

Qt_Desktop_applications

Torrent

Chroot

archive tools list

Software_tools_list

system configuration pages
PPP

Partition

of interest
Bootloader wiki/Selected-packages_set_(Portage)#Emerge_a_package_without_adding_it_to_the_world_file

wiki/Gentoolkit#revdep-rebuild no longer needed, so sould not be recomended in Project:Portage/FAQ etc

ext
https://www.serra.me/en/2020/03/using-snap-packages-in-gentoo/

https://www.google.com/search?client=firefox-b-d&q=gentoo+snaps

glossary

questions
wiki/Cinnamon#Xorg how install X for DE ? dependency pull-in ? desktop profile ? use flag in m.c ?

how to format inline app or framework names

comma ? "Lightweight, tiling, minimalist, window manager"

how to reference links in edit summary

Common reasons for masking include pre-release (unstable) versions of a certain package, there is no more upstream development, and there are known security issues in the package.

why clolor map artcile desctiption not come through ? wiki.gentoo.org/wiki/Portage#See_also

why does doc use flag not work - or rather why cant it be fixed ?

XEmacs dead ?

how to file a bug against handbook, ie : typo : wiki.gentoo.org/wiki/Handbook:X86/Portage/Branches#Testing_particular_versions

how autounmask work on new install. should it be said to be best solution for novice ? wiki.gentoo.org/wiki/Knowledge_Base:Accepting_a_keyword_for_a_single_package#Using_--autounmask-write_emerge_command_option

is the games group still used ? wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Finalizing

"Error: This action has been automatically identified as harmful, and therefore disallowed. If you believe your action was constructive, please inform an administrator of what you were trying to do. A brief description of the abuse rule which your action matched is: Disable writing internal wiki links " ie when adding certain plain text http links - explain this somewhere in the wiki docs.

how ofen should gentoo be updated at the most - specify this somewhere.

who when how why close discussions ? Help_talk:Talk_pages

wiki/Handbook:AMD64/Installation/Media#What_are_stages_then.3F should mention what stage tarball to chose, but that comes later: wiki/Handbook:AMD64/Installation/Stage#Choosing_a_stage_tarball also this should be made explicit how it relates to profile selection

profile selection should be better explained

what happens if use changes suggested and applied by emerge... then redo emerge w/o dispatch conf ? problem with double change or not ?

Handbook:AMD64/Working/Portage#Updating_the_Gentoo_repository whould it say webrsync can be faster for new installs ?

ebuilds ?
https://joplinapp.org/

cherrytree

tldr

new pages
Gentoo_Wiki:Requested_Articles

clipboards

circular dependencies

how do you unmask a use flag that has been masked by /usr/portage/profiles/base/package.use.mask?

move gentoo fron one partition to another, one pc to another

move from dos to gpt, bios to uefi

what is on my system ? page : equery belongs, whereis info, system set, world...

compling software on gentoo : NEVER sudo make install !!! maybe prefix to ~ or just make; ./exe, but should ebuild in local overlay use wiki.gentoo.org/wiki/Custom_ebuild_repository www.reddit.com/r/Gentoo/comments/lt3369/best_way_to_install_custom_compiled_software/ forums.gentoo.org/viewtopic-t-1072328-start-0.html

doc : explain docs : man, info, web, -h --help, fish hep, f1, yelp, kde help, pydoc, sphynx, rest, *doc use flag*

essential sw, cf wiki/Troubleshooting#Programs

coreutils

kitty

files : where is what does it do

suggestions
hb: ls /sys/firmware/efi/efivars to check uefi ?

script to show handbook, from web ? local handbook in installation iso

make tools like genfstab arch-chroot from arch

say to use guide as installation method - no other, there are no shortcuts.

replace doc use flag with : userdoc, apidoc, mangen etc

+dont o3, dont lto pgo, EMERGE_DEFAULT_OPTS no -jx, dont use ~arch=lots of rebuilds.

"dependency calculation is difficult problem. build tools are legacy heavy, config is dependent on system state. sometimes this can cause emerge pbs 4 which jumping 2 rest of emerge + coming back, or emerging select packages --oneshot in advance, can help."

info on compile times. nb. compiles can be quick on modern high end, save a few, such as browsers. 1st install will be longest.

gentoo automates software build and installation, and it does it a level above other pms, ie maints dont have to manually...

please read and make sure the handbook was followed correctly before asking for help

move
Android/Terminal_Emulators_(Tips-and-tricks)

RECCOMENDED APPS TO CONSIDER FOR SECONDARY LIST
packages.gentoo.org/packages/dev-libs/input-pad xpad standardnotes.org

++
Feh

Ethernet

PPP

GTK_themes_in_Qt_applications

Knowledge_Base:Accepting_a_keyword_for_all_packages

Knowledge_Base:Unmasking_a_package

Knowledge_Base:Autounmask-write

Knowledge_Base:Unmasking_a_package

Knowledge_Base:Accepting_a_keyword_for_a_single_package

Portage

Hwinfo

Screen

Tmux

Init_system

Localization

Profile_(Portage)

Upgrading_Gentoo

Kakoune

Portage

Dispatch-conf

PulseAudio

Emacs

MATE

GNOME

Alacritty

LibreOffice

Quassel_Core

Skype

Signal_Desktop

Chromium

GIMP

Mpv

VLC

Audacious

Samba

Systemd

Pciutils

GNOME/GDM

Desktop_environment

FAQ

Terminal_emulator

Bash

Dash

KDE

Display_manager

Qtile

Window_manager

File_managers

Shell

Desktop_environment

Recommended_applications

Info

Python

Django

Zsh

Xfce

GNU_Emacs

Man_page

PipeWire

Vim

Runit

Distributions_based_on_Gentoo

Mdev

OpenRC/Users

OpenRC

Fish

OpenRC/openrc-init

Prefix

OpenRC/supervise-daemon

Recommended_tools

make.conf