Previous thread >>58374689

Previous thread /**Experimental:
*Wire chat - add @helix to get started
*/

Welcome to /fglt/ - Friendly GNU/Linux Thread.
Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.

*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread. ***

Before asking for help, please check our list of resources[*].

If you would like to try out GNU/Linux you can do one of the following:
0) Install a GNU/Linux distribution of your choice in a Virtual Machine.
1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
2) Dual boot the GNU/Linux distribution of your choice along with Windows or Mac.
3) Go balls deep and replace everything with GNU/Linux.

* Resources:
$ man
$ info
$ help

Your friendly neighborhood search engine:
Try to use a search engine that respects your privacy such as qwant, searx, ixquick or startpage.

Check the Wikis (Most troubleshoots work for all distros.)
wiki.archlinux.org
wiki.gentoo.org

What distro should you choose?
wiki.installgentoo.com/index.php/Babbies_First_Linux

Break out of the botnet:
prism-break.org/en/categories/gnu-linux/

Learn more about Free Software:
gnu.org

Try GNU GuixSD:
gnu.org/software/guix/

/fglt/'s website:
fglt.nl/

/fglt/'s copypasta collection:
p.teknik.io/oJR7K

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

/t/'s GNU/Linux Training Videos:
/wg/'s GNU/Linux Wallpapers:
Part III: Part II: archive.nyafuu.org/wg/thread/6767536/
Part I: archive.nyafuu.org/wg/thread/6743571/

Other urls found in this thread:

pavelkogan.com/2014/05/23/luks-full-disk-encryption/
twitter.com/SFWRedditImages

anyone have tips for ricing openbox?

how can i use dirtyc0w to copy a hosts file to a unrooted android?

Just root your phone you cuck

Consider trying out one of these nice distibutions of GNU and/or the Linux kernel
> GuixSD
> NixOS
> Gentoo
> Funtoo
> Exherbo
> Slackware
> CRUX
> Void
> Devuan
> Debian GNU/kFreeBSD
or these fine Unices
> FreeBSD
> OpenBSD
> NetBSD
> DragonFlyBSD
> MINIX 3
> illumos (a fork of OpenSolaris)
and remember to keep an open mind.

I'm trying to compile ffmpeg-git from AUR and it's throwing this during configuration:
ERROR: libass not found using pkg-config

I tried reinstalling libass and replacing it with libass-git, it doesn't matter.

But running pkg-config gives me this:
$ pkg-config --libs libass
-lass
which means there's no errors. So the library is there, yet ffmpeg can't find it during building.
How do I fix this?

First for reminder to go full disk encrytion:

pavelkogan.com/2014/05/23/luks-full-disk-encryption/

Performance overhead

cp protection*

is there a noticable performance decrease if it's an HDD in question?

>title in the name slot
REEEEEEEEEEE
also
>not /fgut/

Friendly reminder that wicd and network manager are bloat when wpa_supplicant exists

>he doesn't watch legal CP on youtube

I think it should be
/fnt/ - Friendly *NIX Thread

Dunno. I don't use HDDs for any OS.
But even on my SSD the encryption process really takes quite a "long" time (5-10 seconds or shit)

what's the best distro for doing everything from the commandline without having to run x
I'm talking just using vim and w3m

see

Not in the past decade.
The only overhead I noticed is boot got a second longer. Oh well, 100% worth it.

pacman -Rsun ffmpeg-git
pacman -S ffmpeg

Fixed.

It gets shitty when you run VMs

yo mom runs VMs

yeah but yo mum don't

No, why would there be? Unless you have >5GB/s storage speeds you won't even notice encryption.

Like, encryption within guests has poor performance? Or running VMs on an encrypted host has poor performance?
I can sort of understand the former, but I also know that native AES instruction flag can be passed to guests, so that's fixable.

You didn't need to waste those 15 seconds typing that out.

True.
She runs Windows on Wine. She says this works way better for her than any VM

a lot of those come with DE's/WM's though?
I don't want the Xvirus on my system

How do I prevent pulseaudio sink numbers from changing?

I set up my audio controls the way I want them in my i3 config file, something like:
>pactl set-sink-mute 3 toggle
It works, but say I unplug my headphones and then plug them back in. Now the device isn't 3 anymore, it's a different number, so I have to go back into my config and change the number.

How can I make it so I don't have to keep editing my config files for this? Is there a way to speficy the sink name, or to force the sink to have a permanent number?
I actually want the controls to work on both my headphones and my speakers. Only one of them is ever used at a time.

Guys I need help, Im looking for solutions for the last 5 hours. I wanted to install Ubuntu but got a blackscreen, searched for a solution, I added a nomodeset in the boot menu, ding it worked.

Well I regularly Install Ubuntu, it restarts and I get blackscreen. Fuck my life. I searched for solutions on my phone and tried so much shit. Erasing all nvidia drivers and reinstalling them, didnt work.


Any ideas

i7 2600k
GTX 1060
Samsung SSD 128GB
ASrock z44 pro motherboard


I ran several Linux distros in this pc with my r9 270x but Nvidia is shitting itself.

Refer to them by their name like this:
pactl set-sink-volume alsa_output.pci-0000_07_02.0.analog-stereo 100%

You can see their names in pactl list sinks

Yeah I just saw how to do that, but the thing is if I set that for my headphones then my controls won't work with my speakers when I unplug my headphones.

Is there no way to tell pulseaudio to always set both of those devices to a specific index. Use that index for headphones when plugged in and then use that same index for speakers when headphones are unplugged?

No.
You can write a simple script that would decide volume of which device to change depending on what is plugged in. Assuming it returns the name of the sink, you can call it like:
pactl set-sink-volume $(~/myscript.sh) 100%

Also, this exists:
pactl set-sink-volume @DEFAULT_SINK@ 100%

That works, thanks

I want to create a live usb to be used for browsing internets and typing.
>Which distro you recommend?
dragora seems nice.
I want i3wm.

ubuntu

pepe linux

install gentoo

Do I have to reinstall if I want FDE?

>B-but I hate ubuntu!

are you fucking kidding me?
I don't know about GuixSD and NixOS, but the rest don't come with xorg preinstalled.

These threads lack pictures. Why? Post pictures, this is an imageboard.

it's because we have no thumbnails in our filepickers

KDE on Wayland when?

> Wire
> not mtrix/irc
> not even xmpp
> tfw you realize how deeply retarded this thread is

So, I have an external hard drive still back from when I used Windows which has two NTFS partitions.
Thing is, I don't want it to have NTFS any more.
So I think about shrinking the partitions, making two new partitions (one for each), put some stuff in it and continue shrinking until the old partitions are nonexistent.
Now, I thought about defragmenting before doing that so that I can minimize the data loss.
But is it even possible to do that correctly under GNU/Linux?
Looking around the internet just confirms that there's no tool for defragmenting but those sources are quite old.
Does anyone happen to know how to help me?
And no, I don't have enough space to just move the content of either partition to somewhere else (which is what I would've done initially if I could).

using dd for the first time to backup ~500gb to an external drive.
what block size should i input?
should i use sync with noerror? (what does sync do?)

How do you guys store little one liners and commands that you occasionally need and don't want to google for them again?

I have a txt file that I occasionally grep and find shit that way.

Is there a better way? Some kind of a specialized CLI app maybe? What do you use?

I just press ^R to find any command that I've used.
Since I save up to 10000 commands, chances are that I'll find it again.
If not, I'll just write it again.

>posting low quality, possibly googled pepe
>complaining about quality

>it's because we have no thumbnails in our filepickers
KDE has no such problems. SUSE even has custom patches for Firefox that allow thumbnails in a file picker.

yeah, I did that initially but you can't have comments in history. Problem is that sometimes I don't even remember what some cryptic command was so just ^R though history is pointless. that's why I went to a text file so I can easily search for shit.

Summary of progression of distros.

while(not_using_OSX)
switch(distro) {
case 'windows' :
distro = 'ubuntu';
break;
case 'ubuntu' :
break;
distro = 'mint';
case 'mint' :
distro = 'debian';
break;
case 'debian' :
distro = 'fedora';
break;
case 'fedora' :
distro = 'arch';
break;
case 'arch' :
distro = 'gentoo';
break;
case 'gentoo' :
distro = 'openBSD';
break;
};
while(using_OSX)
distro = OSX;

We do have thumbnails though

for me it was
>windows
>ubuntu
>debian
>arch
>freebsd

Is there a way to remove Yocto linux and install debian jessie onto an Intel Edison? Also wondering if it is possible to change CHIP's linux distro too.

Post these images though

If you're using the command more often, create a function and save it into your shell's rc file.

I wrote myself a small oneliner-manager for stuff I rarly use but don't want to forget, which is basically just a text file formatted like this:

# this command does something
command does something

and a function which greps for the keyword you're seaching for (grep -A1 greps a word and the line after, grep -B1 greps a word and the line before).

so, grep -A1 imagemagick file prints out all imagemagick related onliners

>case 'ubuntu' :
>break;
So you're still using ubuntu?

Why not just rsync

You just want to get your hands on my rare Yuru's

Folder filled with plenty of properly named .sh scripts in github repo.

unfamiliar :(
wasn't sure which one to use. newish to linux + cloning whole drives.

Don't use dd, use rsync. If you need to ask how to use dd you shouldn't be using it.

>grep -A1 greps a word and the line after, grep -B1
that's nice! didn't know that you can do that.

here's what I'm using:

f () {
grep -i --color=auto -i --color=always "$*" ~/.misc/commands.txt
}


I keep all my functions, aliases etc in my own file that my shell's rc script loads. but I keep lots of commands in a txt file because I can more easily grep those and don't really want to hunt for actual scripts.

now.. scripts vs. functions... that's another religious war.

I complain about bloat. At least my Pepe
> 9kb
isn't bloated.

I mean, you can clone a driver, but IMO it would probably be easier and safer to

>format new drive how you want
>plug in and mount them both on machine
>rsync all files from first to second drive

This is definitely the better choice if the issue is transferring files. Now, if you're transferring partitions or LVM, then yes you will need dd.

How about a script that fetches the command you pass as an arg and copies it to your clipboard for you?

2010 - Windows
2011 - OSX
2016 + Linux
I now have few MBPs (one from work, one mine) and a PC that only has Linux on it. I like both OSes and they share the same shell files and more or less the same userland.

> because I can more easily grep those
you can
ls -a | grep "dumb frogposter"
as well.

>parsing ls
bitch please, use find

was going to use dd if=/dev/sda of=/dev/sdb2 bs=8M conv=noerror,sync
pretty sure i get most of it. i think i was under the impression rsync was used more for remote transfer of files. would it still copy system files?

that won't search inside of files.

>shitposting a bit
>go to grab a bite
>ubuntu went into half suspend mode
>come back
>input pass like usual
>"Password invalid"
>wait what
>try a dozen times, each time making sure I was writing the pass correctly, like I used to do every time out of reflex
>"Password invalid :^)"

Well shit. Is there a way to re-enter my account without reinstalling ubuntu? I mean, outside of a couple of spreadsheets for my backlog and stuff, plus firefox's customization, I didn't had much there that couldn't be recovered in a night or two at worst, but still, I'd like to see if I can get it back first.

Linux is cuckold communist trash. BSD is not cucked and is pro white and not controlled by kikes

dd is a great single file copy tool but a terrible backup tool

Using SSD. Worth it? I heard encryption in ssd is weird...

It is used mostly for that, but locally it works like cp on steroids. I like it and would prefer it over dd because it shows extremely detailed progress etc.

Plus, I think your dd command might be wrong, it looks like you're copying an entire drive to a partition, which will fuck things up. Someone else should probably confirm though

I just used morituri to rip a CD. The summary states "rip NOT accurate" for every track, but each track also reports a rip quality of 100%.

How should I interpret these results? They seem contradictory. Is it possible the data it's being compared to is faulty because it's a somewhat rare CD?

>using cucked os
>s h i g gy

>now.. scripts vs. functions... that's another religious war.
What's the technical difference?

Also, I want to start the customization campaign, in a VM first. How do I keep track of everything I modify? Is there a standardized way of keeping records?

Also, what are some "relatively safe" files I can mess around with and see their effects? Is there a way to restore to defaults or do I need to manually keep backups?

this will:
grep -rnw . -e "pattern"

I had to rip some CDs over xmas, used abcde which is a nice wrapper around cdparanoia. Try that

yeah i partitioned a 3tb drive because the source drive is only 500gb, thought that was safe so please enlighten me

that guide is out of date. lots of really bad advice in there. do not follow it! read Wiki instead.

If you're only copying files what I would do, assuming:

>/dev/sda1 is source partition
>mounted on /mnt/source
>/dev/sdb2 is destination partition
>mounted on /mnt/dest

then try

rsync --archive --verbose --progress --human-readable /mnt/source/ /mnt/dest/

Of course, change locations depending on how you have them mounted.

What's the process for installing Linux on a new drive (ssd specifically)? I've only had experience with installing an OS on a new partition of a hard drive using bootable media, and also installing raspbian on a microsd card.

Depends heavily on distro. Pretty much the same though, bootable media, just format and partition the drive during the installation process

A bit better.

rsync -avh --progress --exclude {"/dev", "/lost+found", "/media", "/mnt", "/proc", "/run", "/sys", "/tmp"} / backup_folder


OR

rsync -avh -progress --exclude-from "exclude-list.txt" / backup_folder


You shouldn't be backing up anything in those folders anyway.

DESU it would probably be better to just only back up particular directories, e.g. /home

As long as you don't fall for the Arch meme, most of them come with an easy to use installer on a live disc.

Always encrypt everything unless you can come up with a reason that doesn't sound retarded if you apply the same logic to seat belts or condoms:

>I always watch where I'm driving so I don't need seatbelts
>the only craigslist guys I hook up with are curious straight guys, so I don't need to use a condom

Open to anyone.

Arch is definitely not that hard, at least not compared to gentoo or some others. Pic related

You're right but if you want EVERYTHING except the useless stuff that's what you should do.

A script is executed by whatever shell you want, functions are executed by your current shell.

>A bit better.
Except that's not valid syntax

>implying gentoo is hard

Gentoo is definitely not that hard. At least compared to windows or such.

Yes it is.

Harder than arch.

not really, not by much anyway