Untitled Posted on - Format: text


Simple Raw Download

/fglt/ copypasta, last modified: 2017-02-09, join us at https://boards.4chan.org/g/fglt

In order of archivement:

%

> Filepicker pasta (GTK2 only!):

Tippers:
https://copr.fedoraproject.org/coprs/jkisielewicz/gtk2-filepicker-iconview/

Amazuntu:
https://launchpad.net/~helkaluin/+archive/ubuntu/gtk2-filechooser-iconview

Arsch Linux:
https://aur.archlinux.org/packages/gtk2-patched-filechooser-icon-view/

Absolute Madmen:
https://gist.github.com/ahodesuka/01213036b58e510dc074
https://gist.github.com/ahodesuka/49c1d0eea4b64f24c4c7

%

> Font pasta:

General informations:
https://wiki.archlinux.org/index.php/Fonts

Huge list of font resources:
https://github.com/brabadu/awesome-fonts

List of monospaced fonts for programming:
https://github.com/chrissimpkins/codeface

List of monospaced bitmap fonts for programming:
https://github.com/Tecate/bitmap-fonts

You may also need to enable bitmap fonts and rebuild the font cache:
[code]
rm -v /etc/fonts/conf.d/70-no-bitmaps.conf
ln -s ../conf.avail/70-yes-bitmaps.conf .
fc-cache -v -f
[/code]

Fonts patched with shitloads of icon glyphs:
https://github.com/ryanoasis/nerd-fonts

The Ultimate Oldschool PC Font Pack:
http://int10h.org/oldschool-pc-fonts/

Premade fontconfigs:
https://wiki.archlinux.org/index.php/Infinality

Configure your own fontconfig:
https://wiki.archlinux.org/index.php/Font_configuration

Read the documentation:
file:///usr/share/doc/fontconfig/fontconfig-user.html

%

> Shell pasta:

The based GNU Bourne Again SHell:
https://www.gnu.org/software/bash/

The community driven BASH wiki:
http://wiki.bash-hackers.org/

The Grymoire - home for UNIX wizards:
http://www.grymoire.com/Unix/index.html

Greg's (also known as GreyCat's) wiki:
http://mywiki.wooledge.org/BashFAQ
http://mywiki.wooledge.org/BashGuide
http://mywiki.wooledge.org/BashPitfalls

SED and AWK; your new best friends:
http://www.pement.org/sed/sed1line.txt
http://www.pement.org/awk/awk1line.txt

Google's Shell Style Guide:
https://google.github.io/styleguide/shell.xml

Interesting, useful and dangerous one-liners:
http://www.commandlinefu.com/

Great online (and offline) linting tool:
http://www.shellcheck.net/

Know what you are doing:
http://explainshell.com/

%

> Tiling pasta:

/*
Tiling Window Managers:
*/

General informations:
https://wiki.archlinux.org/index.php/Window_manager

Awesome:
https://wiki.archlinux.org/index.php/Awesome

Awesome + Gaps:
https://github.com/copycat-killer/lain

i3:
https://wiki.archlinux.org/index.php/I3

i3 + Gaps:
https://github.com/Airblader/i3

bspwm:
https://wiki.archlinux.org/index.php/Bspwm

spectrwm:
https://wiki.archlinux.org/index.php/Spectrwm

dwm:
https://wiki.archlinux.org/index.php/Dwm

/*
Tiling scripts (these work DE/WM independent):
*/

Pytyle:
http://sourceforge.net/projects/pytyle/

Pytyle2:
https://code.google.com/p/pytyle/

Pytyle3:
https://github.com/BurntSushi/pytyle3/

Pytyle differences:
https://bbs.archlinux.org/viewtopic.php?pid=1058199#p1058199

Horsefuckers tiling BASH scripts:
http://twily.info/scripts/tiling/

%

> Screenshot pasta:

Option a) Use your DE's builtin screenshot program:

Gnome: gnome-screenshot
KDE: KSnapshot

Option b) Install a screenshot program:

https://github.com/dreamer/scrot
https://github.com/naelstrof/maim

Option c) Use Imagemagick:

# Desktop
import -quality 100 -window root +repage "~/scrots/scrot_$(date +%Y%m%d%H%M%S).png"

# Window (with window frame)
import -quality 100 -screen -frame +repage "~/scrots/scrot_$(date +%Y%m%d%H%M%S).png"

# Window (without window frame)
import -quality 100 -screen +repage "~/scrots/scrot_$(date +%Y%m%d%H%M%S).png"

# Select part of screen:
import -quality 100 +repage "~/scrots/scrot_$(date +%Y%m%d%H%M%S).png"

Option d) Use ffmpeg:
ffmpeg -f x11grab -i :0.0+0,0 -s wxga -f image2 -vframes 1 "~/scrots/scrot_$(date +%Y%m%d%H%M%S).png"

Notes:

If you find yourself with glitches (using scrot or imagemagick), try:
https://github.com/gvalkov/xrectsel
https://github.com/naelstrof/slop
Alternativly, kill your composite manager before taking a screenshot.
Example for compton: pkill compton && <screenshot command> && compton

%

> GNU/TV pasta:

>Alternative Freedom (2006)
https://www.youtube.com/watch?v=B-k7ftaUw2c

>Revolution OS (2001) http://www.imdb.com/title/tt0308808/
https://www.youtube.com/watch?v=Eluzi70O-P4

>The Code (2001) http://www.imdb.com/title/tt0315417/
https://www.youtube.com/watch?v=XMm0HsmOTFI

>Richard Stallman at The Linux Action Show
https://www.youtube.com/watch?v=radmjL5OIaA

>Richard Stallman: What Stands in the Way of Digital Freedom? (SIGEF, 2014, Geneva, Switzerland)
https://www.youtube.com/watch?v=U8mOIAY_Jmw

>Richard Stallman: Snowden leak a chance for privacy, time to fight Big Brother
https://img.rt.com/files/episode/1f/c2/d0/00/sophieco_1507.mp4

>Richard Stallman: Liberating Software, 2012-08-18, Spotlight Interview, RT
https://www.youtube.com/watch?v=uFMMXRoSxnA

>Richard Stallman, Speech for Curitiba Event 2003
https://audio-video.gnu.org/video/richard_stallman-speech-for-curitiba-event-2003_theora_video.ogg

>Richard Stallman: Welcome to Software Freedom Day (2011) - A short (8 minutes) introdution to Free Software
https://audio-video.gnu.org/video/stallman-software-freedom-day.ogv

>Richard Stallman: A Free Digital Society (Karlsruhe, Germany, Jul 10, 2015)
https://audio-video.gnu.org/video/2015-07-10--rms--a-free-digital-society--720p.webm

>Richard Stallman announcing the release of the GPLv3 and giving an overview of the major changes at the FSF's Boston office on June 29, 2007
http://gplv3.fsf.org/static/release/rms_gplv3_launch_high_quality.ogg

>Richard Stallman, interviewed by Matthias Schüssler, in Zurich on February, 9th, of 2016
https://b2aeaa58a57a200320db-8b65b95250e902c437b256b5abf3eac7.ssl.cf5.rackcdn.com/media_entries/7910/Richard_Stallman_in_Zurich_Full-HD-Version-fkkDvKGcNSo.webm

>Richard Stallman: Software for Development: Is Free/Open Source Software the Answer?, WSIS, Tunis, 2005
https://audio-video.gnu.org/video/2005-11-18--rms--tunis--wsis.webm

>Richard Stallman: Welcome to Software Freedom Day (FSF office, Boston, Iran event), 2012
https://audio-video.gnu.org/video/stallman-software-freedom-day.ogv

>Richard Stallman: Free Software in Your Computer and in the Net (Hamburg, Germany), 2014
https://audio-video.gnu.org/video/2014-12-29--rms--freedom-in-your-computer-and-in-the-net.webm

%

> Debian SSD/HDD Setup Pasta:

Copypasta meant for SSD/HDD setup with Debian, but can be adapted to only one SSD or one HDD if that's what you have. Just pay attention to the "SSD" portion and ignore they bit about the symlinks. It should work with any other Linux distro that offers LVM support out of the box, I only have experience with Debian though.

If you want to dualboot with Windows 10, then skip the step of making an EFI System Partition because Windows already made it for you. Your Linux is going to share it. Don't make /boot either.

During install, choose to manually partition your drive
(DON'T DO THIS IF DUALBOOTING) Clear the partition tables of any disks you want to clear by selecting and pressing enter 

Make these partitions:
On your SSD
-(DON'T DO THIS IF DUALBOOTING) 100 MB EFI System Partition (if you're on UEFI)
-(DON'T DO THIS IF DUALBOOTING) 100 MB /boot partition with ext2 file system
-The rest of the free space on the SSD is assigned to an LVM physical volume**

**(if you want to encrypt your system, it just takes one extra step. Mark your free space in the SSD as crypto, not as LVM, configure LVM on LUKS, and also encrypt your HDD if you want)

On your HDD
-Literally all of the free space on a single ext4 partition, which you can mount in a directory called /data or in /media/whatever, your choice

Proceed to configure LVM

-Create a volume group based on your LVM physical volume that you chose earlier. Name it myVG or whatever
-Create three logical volumes in said volume group
-30 GB volume for / (root) (name it myRoot or whatever)
-4GB or 8GB volume for swap (depends on how much RAM you have. some people prefer to not have a swap partition at all and just make it a file, that's fine too) (name it mySwap or whatever)
-the rest of free GB goes to /home (again, myHome or whatever)

Finish configuration of LVM

-When back on the partition screen, mark your myRoot Logical Volume as / (root) and ext4 file system
-mark your mySwap LV as swap
-mark your myHome LV as /home and ext4 filesystem

Continue with installation
When it's done, make "Documents", "Downloads", "Pictures", "Videos", etc folders in your /data (HDD) partition and symbolic link them to your /home ones, so stuff in those gets saved to your HDD and not your SSD.

Ta-da

%

> Awesome lists pasta:

https://github.com/aleksandar-todorovic/awesome-linux
https://github.com/awesome-lists/awesome-bash
https://github.com/alebcay/awesome-shell

%

> Auto-rice pasta (generate colors/themes based on image source):

https://github.com/deviantfero/wpgtk
https://github.com/metakirby5/zenbu/
https://github.com/everett1992/wp
https://github.com/s-ol/themer

%

> Friends pasta:

/t/'s GNU/Linux Training Videos:
http://archive.loveisover.me/t/thread/713097/

/t/'s GNU/Linux Games:
Part II: http://archive.loveisover.me/t/thread/749768/
Part I: http://archive.loveisover.me/t/thread/707928/

/wg/'s GNU/Linux Wallpapers:
Part IV: https://archive.nyafuu.org/wg/thread/6828207/
Part III: https://archive.nyafuu.org/wg/thread/6785580/
Part II: https://archive.nyafuu.org/wg/thread/6767536/
Part I: https://archive.nyafuu.org/wg/thread/6743571/