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 macOS. 3) Go balls deep and replace everything with GNU/Linux.
Resources: Your friendly neighborhood search engine.
$ man %command% $ info %command% $ help %command% $ %command% -h $ %command% --help
Don't know what to look for? $ apropos %something%
>tried to come back to GNU/Linux >tried to run Matlab >full of random errors and weird stuff going on >tried to install Ansys Eletromagnetics Suit >it doesn't work I still dream on the day that I'll actually be able to work on GNU/Linux, but I fear it will never come.
Lincoln Turner
Yes this is some bullshit that I also had on matlab. You have to delete two libraries from matlab folder and link some system libraries to replace them.
>install rhel 7 >try to install prereqs to compile mpv >install centos repos >get a conflict >uninstall a package >it uninstalls like 600 other packages and breaks everything Well it’s been a while since I’ve done anything in Linux My last distro watch crunchbang, should I just install Debian or arch
Landon Martinez
/k/ fag here, Linux Mint 18.3 or Ubuntu 17.10? >Inb4 install gentoo
Benjamin Gonzalez
I have a AMD cpu, my linux is not affected like intel right?
Try both with a live usb. They're the same under the hood anyway.
Elijah Ortiz
So I did some benchmarks before/after the KPTI fix, these were my results:
Before: avg 2.477021s to read 250x2.0mb files avg 2.515864s to read 1x500.0mb file avg 0.670239s to create 100000 sockets that each send 1000 bytes
After: avg 2.498508s to read 250x2.0mb files avg 2.536580s to read 1x500.0mb file avg 0.726333s to create 100000 sockets that each send 1000 bytes
Seems pretty negligable. I dunno if I even tested the right things but whatever, it was fun. I ran each test 500 times and averaged the results to get the above.
Charles Reed
i accidentally shut off my host when i had my vm running and my host has been acting odd ever since when i shut down my linux host after shutting down the vm, it will show a cli i cant interact with then hang indefinitely. It does this inconsistently even though my routine with the computer is the same every day. it shuts down successfully about 20% of the time. Any idea how to make it shut down normally?
Zachary Mitchell
>TFW got my USB WiFi and can finally use GNU Linux-libre and be free
Hudson Cox
pacman -Q xorg-server mesa xorg-server 1.19.6-2 mesa 17.3.1-2 firefox 57.0.4 >openbox >no compton >no radeon configs >smooth scroll is on >no tearing what is this sorcery
>proprietary nvidia driver breaks yet again with linux kernel security patch is this ever going to be addressed
Adrian Edwards
>it uninstalls like 600 other packages and breaks everything
Why do RPM based distros do this? I haven't seen this happen on others.
Jason Davis
I went through the font copypasta and enabled bitmap fonts, but I still can't get terminus or tewi to work. Can I get a retards guide to getting them to appear in fc-match?
Joseph Edwards
>dont have jewtel so i dont have to update my kernel and break all my shit feels superior, man
Bentley Gomez
What programs can I use to test how well a hard drive I have is working?
Daniel Watson
Is it possible to install Firefox 52 ESR on Linux in place of that garbage Firefox Quantum without breaking something?
Can't I just uninstall Firefox Quantum? And replace it with the ESR version?
Owen Evans
Why would you think it works any other way but that way?
Bentley Evans
well I once read something about avoiding messing with default programs in linux distros cuz if you mess around and uninstall stuff, you might break things. something about dependency, I can't remember
Nathaniel Ortiz
How do I get scrot selection to work with XFCE keyboard shortcuts?
Josiah Sanchez
Click the box, press your combo
Chase Martinez
if you use your package manager to uninstall it then you probably wont fuck something up
Tyler Ortiz
Doesn't work, look at the picture. Just scrot works fine, but scrot -s does nothing
Andrew Butler
# gnome disk or whatever the name was
# duno looks fine to me desu >ls .config/fontconfig/conf.d/ ix.io/DKi
grep termi .config/fontconfig/conf.d/* .config/fontconfig/conf.d/45-latin-misc.conf:397: Terminus (TTF)
there's more terminus in conf.avail all from bohoomil's github
Can you guys give me a round up to cross compilation? I want to port a distro an SBC and need some steps to build and test it in QEMU.
Jonathan Cruz
I'm trying to get better/more efficient at installing Arch, how do you rate my notes?
Carson Gomez
Does anyone know some way to change the border color on vanilla i3? (Not i3-gaps)
Gavin Carter
Stallman shouldn't be mad, it's GPLv3+
Bentley Jones
Looking good, for what I remember of Arch installation. Have you tried write it on markdown and upload it to some git repository? I did that with one guide and looks pretty.
Levi Thompson
useless caps/10
Austin Richardson
:-(
Grayson Harris
no actually, what would i gain by doing this?
Luis Bailey
>no dmcrypt >swap partition instead of swap file >manual partitioning instead of lvm >installing for bios instead of efi uefi
Nathaniel Fisher
Uefi is literal cancer
Jackson Allen
If you ever want to extend by adding stuff like links, pictures or just pretty printing is gonna be handy. Ignore if you just want a list of commands for your personal script you won't share anyway.
Nicholas Harris
Serious question here, please no memeing.
I have been using linux for quite some time already and i guess i am somewhat proficient with it. My current setup is Debian with i3 with quite a lot of custom system scripts. Terminal is my new home and i use it a lot. Should i go up and try Gentoo for better linux zen? How well will it go in a long run? Is it worth spending the time?
Leo Russell
Coreboot supports UEFI now.
Jacob Clark
Trump could support uefi and it still would be cancer.
Thomas Taylor
If you have some free time to spend, try it out on a VM, it can't hurt you. If it turns out you like it after a week or so, you can consider switching to Gentoo completely, otherwise stay with Debian. In the end, it will be worth spending time with it regardless: if you like it, you will have found a better distribution for you, otherwise, you will simply realize that extreme autism is just not your taste and stop wondering. Try it out and decide for yourself, user.
Luis Carter
ah right, cheers!
William Bailey
Is it possible to switch from apt to pacman on Debian?
Any wikipedian with enough rep here who wants to tackle this? I'm still reading through the old discussions, but so far it's been mostly shit from both sides. I'm positive I can come up with way better arguments for the move. Alas, I don't even have a Wikipedia account and my dynamic IP address would carry zero weight on this discussion.
Jacob Edwards
Should it redirect to the GNU page then? I vote for a disambiguation page.
Cameron Reed
It's been a while since I used Arch but can't you use pacstrap instead of pacman to install those packages?
Anthony Williams
here's your efficiency. For the partitioning at least. umask 077 PATH=/bin:/sbin:/usr/bin:/usr/sbin
reset_changes () { if [[ -n $(pvdisplay) ]]; then if [[ -n $(vgdisplay) ]]; then vgremove "$VGNAME" --force fi pvremove --force "$PVOL" fi cat /dev/null
timedatectl set-ntp 1
sed -e 's/\s*\([\+0-9a-zA-Z]*\).*/\1/' /dev/null o # dos disk label n # new part p # primary part 1 # 1 of 4 # default start +100M # ends 100M from start a # set boot on 1 n # new part p # primary 2 # 2 of 4 # default starts where 1 ends # default ends 100% t # change partition type 2 # on part 2 8e # to 'Linux LVM' w # write and quit EOF
lvcreate --size 8G --name 'root' "$VGNAME" -y blkpath="/dev/mapper/${VGNAME}-root" mkfs.ext4 "$blkpath" mount "$blkpath" /mnt for blkname in 'tmp' 'opt' 'home' 'boot'; do if [[ $blkname = 'boot' ]]; then blkpath=dev/sda1 mkfs.ext2 "$blkpath" mkdir -p "/mnt/${blkname}" mount "$blkpath" "/mnt/${blkname}" else lvcreate --size 1G --name "$blkname" "$VGNAME" -y blkpath="/dev/mapper/${VGNAME}-${blkname}" mkfs.ext4 "$blkpath" mkdir -p "/mnt/${blkname}" mount "$blkpath" "/mnt/${blkname}" done } &> ./logfile
lsblk
Isaac Morales
This is trash layout
Benjamin Davis
BIOS is old as dicks nigga.. What kinda backwards ass reality do you live in where you wouldn't want to be able to sign your own kernels to use with secure boot?
Colton Russell
how so?
Colton Martinez
I've been messing with different distros in a virtual machine. Is there a benefit to installing them on an actual computer versus in a virtual machine? I've got an old laptop with no os laying around I could experiment with.
gonna re-post my question from last thread: I'm sort of at a crossways between installing Gentoo or Denuvian. I want a non-systd distro that is stable, and whilst I hear that Gentoo is stable, I get the impression it's high maintainance.
Brody Lee
>Denuvian
Hudson Howard
Also, that's not a question.
Jonathan Clark
I wrote this like 2 years ago with a very specific lvm scheme in mind.
Landon Gonzalez
>very specific lvm scheme in mind It's trash
Zachary Perez
for just fucking around with distros? no, not really
can't please everybody
Ryan Long
So I've been trying to install arch on my laptop with Windows 10 off of a bootable usb stick and every time I boot the installer it just puts my computer into some sleep mode instantly.
I've successfully installed it on VMs on 2 different computers, including the one I'm trying to dual boot on now, but every time I boot off the usb stick I get the initial options ("Arch Linux archiso x86_64 UEFI CD", "UEFI Shell x86_64 v1", etc) but selecting the 1st one only brings up 3 small lines of code in the top left that flash for a second before the sleep mode. I previously fixed an error it would display before the sleep mode by turning TPM off, but I'm really at a loss of what's causing this. Any suggestions?
Jordan Russell
What's the simplest way to encrypt your hard drive on an existing Arch installation?
Christian Rodriguez
wtf. why not use sfdisk? wtf are you doing? also
also you're missing the fi to terminate your if. if you insist on using fdisk wrong , at least use cut to remove your comments or even awk -- '{ print $1 }'
Sebastian Brown
oh yeah, well what I meant to say, is like, is that true, and is the maintainace really worth it?
Joshua Watson
None
Luis Anderson
sudo dd if=/dev/random of=/dev/sda
Jose Scott
you use cryptsetup. if you mean in-place, rip. It's trivial to add to /etc/crypttab (and your systemd will generate your device unit files for it) and you could even use keyfiles if you have multiple devices you need to setup.
Daniel Powell
>> using fdisk wrong what do you mean? all other criticisms refer to
Levi Hill
sfdisk is intended for scripted use. but i guess it really doesn't matter.
Elijah Wright
I hope your /dev/random is actually just a urandom character device because wtf.
Xavier Price
actually didn't know that. probably would be a bit more readable than a heredoc
Nicholas Peterson
Thanks, I meant
sudo dd if=/dev/urandom of=/dev/sda
Christopher Stewart
kek
Mason Stewart
>USB WiFi What did he mean by this?
Christian Perry
Anyone? I'm about ready to behead my computer from this shit
Henry Rodriguez
Perhaps you have to disable secure boot, have you tried that?
Henry Kelly
Both secure and fast boot were disabled before I started trying. I also tried reenabling secure boot but it just gave me an error when I booted up the arch usb
Adrian Foster
Is anyone here a deadbeef wizard, or know shell scfipting? I name my music files in the format
artist - title
and often download lots of stuff from soundcloud since the artists aren't big enough to be found on soulseek. So the files have no tags. In FB2k I used to be able to batch tag using a simple command that read my filenames, no luck in deadbeef. Am I missing something or is there a way to batch tag like this in deadbeef? There's an option to use custom shell commands but I don't know anything about shell scripting.
Matthew Cook
USB WiFi adapter, I guess.
Ian Davis
easytag
Robert Reyes
Hmm.. If you can't figure it out maybe post on /r/archlinux or something.
Samuel Flores
install gentoo
Use ubuntu btw, be sure to upgrade to 18.04 in May so you don't have to worry about upgrading again for 4 years.
Camden Peterson
Looking for a new distribution. I've been using Ubuntu for 3 years and need something better + less cucked. Recommendations?
Levi Ramirez
-devuan is outdated, as it's based on debian jessie but has all the pros of debian -gentoo is a pain to set up (you have to do it once) and upgrading packages can take some time depending on which package is updated (shit like fonts and perl extras are done within seconds, a new qt metapackage can take an hour). If you are willing to sacrifice this time, you will get one of the best distros.
You might want to check out AntiX: it's another memed-less Debian fork (not based on Devuan).
Kayden Scott
GuixSD
Jayden Hall
lol I've tricked so many people into using this too :o)
Kevin Wilson
Does Artix LXQt provide FDE in the installer? I've installed the base ISO of ArtiX but the documentation is not that great
Julian Hernandez
Not the guy who you originally replied to, but thanks for bringing up AntiX. As someone who has been sitting on Debian, wanting to move away from systemd, but with Devuan being as outdated as it is I've been hesitant to make the move from my familiar Debian workflow, AntiX looks like everything I could've ever wanted. Will definitely be giving it a try soon.
Gavin Taylor
The only problem that I've with it is that it doesn't not have an option for FDE or for /home encryption
Charles Ramirez
Can't you just do home encryption after install?
John Gomez
Yes, I was mostly just nitpicking. I like both antiX and MX Linux projects, as solid distros with OpenRC.
Ryan Rogers
How do you make Hulu work in chrome? I find it so fucking hard to fully install javascript on chrome, it never works fully.
Michael Reyes
how do i disable the click both left and right mouse buttons on mint even though the option to disable it isnt in the settings?
Oliver Russell
I tried to install KDE neon on a separate HDD from my Windows 7, and for some reason it won't boot! It only gives some error message about some grub thing when I set the second HDD as the first one in the BIOS. When I switch back to normal, Windows 7 boots normally.
So..... now what?
Grayson Morgan
1. download supergrub2 2. make a bootable usb drive using it 3. boot from that USB 4. boot kde neon using supergrup, it should auto detect your installation if it is fine otherwise 5. from KDE neon open a terminal and reinstall and regenerate grub grub-isntall /dev/sdX grub-mkconfig -o /boot/grub.cfg
replace sdX with the drive you want to install grub on
Thomas Roberts
Reminder: >pacman is fast but not safe, it tends to break shit and config protection is implemented in a terrible way >there is no official process to verify that a package is stable within the distro, in other distros a lot of packages are in a testing repo despite that specific package's developer claiming it to be stable on its own, because it might not be stable within the environment of a specific distro >(arch v gentoo related) arch users complain about 'muh compile time' when it comes to gentoo, while in fact they compile a lot of AUR packages themselves, namely the *- git packages that pull the source from a git repo >but it gets even better: they only compile a handful of packages, and those not being libraries mostly, the self-compiled packages get linked against precompiled libraries from a different setup (e.g. different optimization levels), which can then cause even more instability because it's a clusterfuck of unequal shit >arch uses (((systemd))) and switching to something else is hard >the vim package on arch pulls in X, so if you want to have a fancy terminal text editor on a headless server, you need to install a shitton of GUI stuff which you'll never need nor use >arch users pride themselves in installing arch and learning so much about how linux works under the hood, yet the install is literally copypasting a bunch of commands, usually without proper explanation >e.g. to chroot into the new install, you use arch-chroot, which automatically bind-mounts procfs, devfs and sysfs, but nowhere on the guide does it say that that's a very important step, so should archfags ever need to fix their system via chrooting from a livecd that doesn't have arch-chroot, they'd be fucked >the kernel is auto-configured in a just werks way (basically make allyesconfig), which is unnecessary bloat and for such a diy distro, configuring the kernel yourself should be the official way of doing it >arch cannot boot without an initramfs per default
Ryder Sanchez
Thank you!
Parker Clark
What games you guys play on your machine?
I play: battlerite, tabletop sim, league, hots.
Curious on what you nig/g/ers played as well, since I can't find myself playing more than 1 hour a day due to work and my constant fear that if I don't practice common system admin/programming things I would be out of the looperoo.