Re: [gentoo-user] May GMN Tips and Tricks
Alan McKinnon writes: This month has been a treasure trove of such things here on gentoo-user. Oh my, an I have some 6500 unread e-mails... that's hard to catch up. But I'll have a look into this month then :) Wonko
Re: [gentoo-user] May GMN Tips and Tricks
On Wed, 21 May 2014 18:41:28 -0400 David Abbott dabb...@gentoo.org wrote: Hi Everyone, We are putting together this months GMN [1] Looking for some content to add to the Tip of the month section. Regards David [1] http://blogs.gentoo.org/news You can create a simple shell function like this: whymask() { find /usr/portage/profiles/ -name '*.mask' -exec \ awk -vRS= /${*/\//.}/ { print \ \ FILENAME \:\, \\n\ \\n\ \$0 \\n\ } {} + | less } You can do `whymask sys-kernel/gentoo-sources` to get reasons as to why a particular package is masked; very handy to quickly check something up, especially for USE flag masks which Portage doesn't explain. You can do `whymask Gnome 3.12` to get the entire GNOME 3.12 mask, piping it to `grep -v mask: /etc/portage/package.unmask/gnome3` then allows you to quickly update your GNOME 3.12 unmask; if you want this to happen on sync, you can put this line in /etc/portage/postsync.d/gnome3 and make it executable such that it'll be ran after every sync. The magic trick here is that awk -vRS= /.../ matches paragraphs; as the record separator is empty, it takes the blank lines. -- With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : tom...@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D signature.asc Description: PGP signature
[gentoo-user] May GMN Tips and Tricks
Hi Everyone, We are putting together this months GMN [1] Looking for some content to add to the Tip of the month section. Regards David [1] http://blogs.gentoo.org/news -- David Abbott (dabbott) Gentoo Foundation Secretary http://dev.gentoo.org/~dabbott/
Re: [gentoo-user] May GMN Tips and Tricks
On 22/05/2014 00:41, David Abbott wrote: Hi Everyone, We are putting together this months GMN [1] Looking for some content to add to the Tip of the month section. Regards David [1] http://blogs.gentoo.org/news This month has been a treasure trove of such things here on gentoo-user. If you have the time, trawl the systemd and grub2 threads for some amazing tips. The Fonts and bad eyes thread would also make a good insert - it covered a very interesting area of less than general scope (but that's what makes it so especially interesting - if you need to edit a console font, the answer is in there) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] May GMN Tips and Tricks
Alan McKinnon wrote: On 22/05/2014 00:41, David Abbott wrote: Hi Everyone, We are putting together this months GMN [1] Looking for some content to add to the Tip of the month section. Regards David [1] http://blogs.gentoo.org/news This month has been a treasure trove of such things here on gentoo-user. If you have the time, trawl the systemd and grub2 threads for some amazing tips. The Fonts and bad eyes thread would also make a good insert - it covered a very interesting area of less than general scope (but that's what makes it so especially interesting - if you need to edit a console font, the answer is in there) I had no idea there was as many folks with bad eyes when I started that thread. It's will take me a while to try all the things recommended. Some days my eyes are somewhat OK but some days, they just plain suck. Text is really hard to read but even pics have some challenge to them. I thought the newsletter died. When did it come back? One thing I used to like about them was warning of issues that were coming. That helps a lot. Upgrade xyz, make sure to update configs BEFORE rebooting else you get pieces. That sort of thing was very helpful. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!