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.
how can i use dirtyc0w to copy a hosts file to a unrooted android?
Charles Brown
Just root your phone you cuck
Joshua Brooks
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.
Kayden Garcia
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?
is there a noticable performance decrease if it's an HDD in question?
Kevin Butler
>title in the name slot REEEEEEEEEEE also >not /fgut/
Kayden White
Friendly reminder that wicd and network manager are bloat when wpa_supplicant exists
Thomas Fisher
>he doesn't watch legal CP on youtube
Asher Clark
I think it should be /fnt/ - Friendly *NIX Thread
David Morris
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)
Thomas Long
what's the best distro for doing everything from the commandline without having to run x I'm talking just using vim and w3m
Bentley Morgan
see
Luis Murphy
Not in the past decade. The only overhead I noticed is boot got a second longer. Oh well, 100% worth it.
Matthew Cruz
pacman -Rsun ffmpeg-git pacman -S ffmpeg
Fixed.
Ryan Foster
It gets shitty when you run VMs
Nathan Parker
yo mom runs VMs
Christopher Anderson
yeah but yo mum don't
Landon Ortiz
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.
David Price
True. She runs Windows on Wine. She says this works way better for her than any VM
Carter Allen
a lot of those come with DE's/WM's though? I don't want the Xvirus on my system
Jeremiah Allen
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.
Owen Fisher
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.
I ran several Linux distros in this pc with my r9 270x but Nvidia is shitting itself.
Austin Bell
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
Gavin Diaz
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?
Lucas Jenkins
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%
Oliver Nelson
Also, this exists: pactl set-sink-volume @DEFAULT_SINK@ 100%
Hudson Powell
That works, thanks
Jonathan Miller
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.
Cameron Ross
ubuntu
Ryan Ramirez
pepe linux
Joshua Martinez
install gentoo
Easton Garcia
Do I have to reinstall if I want FDE?
Carson Parker
>B-but I hate ubuntu!
Matthew Morales
are you fucking kidding me? I don't know about GuixSD and NixOS, but the rest don't come with xorg preinstalled.
Aiden Baker
These threads lack pictures. Why? Post pictures, this is an imageboard.
Carson Roberts
it's because we have no thumbnails in our filepickers
Ethan Campbell
KDE on Wayland when?
Jacob Gonzalez
> Wire > not mtrix/irc > not even xmpp > tfw you realize how deeply retarded this thread is
Bentley Bennett
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).
Charles Evans
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?)
Colton Scott
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?
Noah Davis
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.
Ryan Perry
>posting low quality, possibly googled pepe >complaining about quality
Brody Cox
>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.
John Moore
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.
Tyler Garcia
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;
Carter Fisher
We do have thumbnails though
Hudson Rivera
for me it was >windows >ubuntu >debian >arch >freebsd
Jace Peterson
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.
Parker Wood
Post these images though
Samuel Bailey
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
Xavier Campbell
>case 'ubuntu' : >break; So you're still using ubuntu?
Zachary Ortiz
Why not just rsync
Isaiah Ramirez
You just want to get your hands on my rare Yuru's
Easton Walker
Folder filled with plenty of properly named .sh scripts in github repo.
Austin Brooks
unfamiliar :( wasn't sure which one to use. newish to linux + cloning whole drives.
Dominic Scott
Don't use dd, use rsync. If you need to ask how to use dd you shouldn't be using it.
Brandon Collins
>grep -A1 greps a word and the line after, grep -B1 that's nice! didn't know that you can do that.
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.
Michael Wood
I complain about bloat. At least my Pepe > 9kb isn't bloated.
Jace Young
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.
Hudson King
How about a script that fetches the command you pass as an arg and copies it to your clipboard for you?
Luis Wright
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.
Wyatt Carter
> because I can more easily grep those you can ls -a | grep "dumb frogposter" as well.
Connor Parker
>parsing ls bitch please, use find
Luis Mitchell
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?
Jaxson Jones
that won't search inside of files.
Jack Hernandez
>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.
Tyler Adams
Linux is cuckold communist trash. BSD is not cucked and is pro white and not controlled by kikes
Henry Wilson
dd is a great single file copy tool but a terrible backup tool
Lucas Reyes
Using SSD. Worth it? I heard encryption in ssd is weird...
Tyler Gray
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
Gavin Hill
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?
Chase Adams
>using cucked os >s h i g gy
Daniel Rogers
>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?
Jose Ward
this will: grep -rnw . -e "pattern"
Jackson Cruz
I had to rip some CDs over xmas, used abcde which is a nice wrapper around cdparanoia. Try that
Justin Johnson
yeah i partitioned a 3tb drive because the source drive is only 500gb, thought that was safe so please enlighten me
Alexander Baker
that guide is out of date. lots of really bad advice in there. do not follow it! read Wiki instead.
Jaxon Cooper
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
Of course, change locations depending on how you have them mounted.
Joseph Evans
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.
Asher Thompson
Depends heavily on distro. Pretty much the same though, bootable media, just format and partition the drive during the installation process
You shouldn't be backing up anything in those folders anyway.
Jacob Wood
DESU it would probably be better to just only back up particular directories, e.g. /home
Jaxon Lopez
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.
Asher Walker
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
Joseph Hernandez
Open to anyone.
Nicholas Walker
Arch is definitely not that hard, at least not compared to gentoo or some others. Pic related
Nolan Powell
You're right but if you want EVERYTHING except the useless stuff that's what you should do.
Gavin Gonzalez
A script is executed by whatever shell you want, functions are executed by your current shell.
Gabriel Murphy
>A bit better. Except that's not valid syntax
Blake Bell
>implying gentoo is hard
Juan Scott
Gentoo is definitely not that hard. At least compared to windows or such.