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: just like in /sqt/ spend at least a minute to check a web search engine with your question. *Search: qwant, searx, ixquick or startpage. *Many free software have active mailing lists. *Many free software has an active bugzilla where you can check and report errors
$ man %command% $ info %command% $ help %command% $ %command% -h $ %command% --help
Don't know what to look for? $ apropos %something%
more specifically wiki.archlinux.org/index.php/Resizing_LVM-on-LUKS#Enlarge_LVM_on_LUKS cryptsetup open /dev/sda5 CryptDisk pvresize /dev/mapper/CryptDisk lvresize -l 100%FREE #assuming this works idk resize2fs -p /dev/CryptVolumeGroup/Home $size also, don't use DD use cp or cat to copy your disk. dd is too dumb
Luke Nguyen
I'm relapsing back into an arch ricing phase again
>How to reinstall boot loader from localhost? which bootloader? gpt/efi or mbr? what is localhost? you mean current machine? how can you boot the current machine if the bootloader doesn't work? do you need to mount it with a live environment and run the commands?
Jayden Reed
Laptop won't recognize or boot into USBs. Good luck with this one
Andrew Rodriguez
you need to go into boot settings of your device's firmware or BIOS to change boot order or select which device to boot from. you may need to disable features like secure boot
Jackson Ortiz
Manjaro. Manjaro is better than Arch itself.
Aaron Kelly
im writing a linux kernel module for an undocumented USB device. problem is, the usbhid(hid-generic) keeps claiming the device for me before my kernel module gets to register it.
even when i edit udev rules to stop it, hid-generic keeps claiming it.
how do i write my kernel module in such a way to stop usbhid from claiming or how do i stop it from claiming this particular device's vendor:device id
Cameron Torres
use a kernel parameter to assign your module to it
Josiah Robinson
I have only USB selected and it says "No bootable devices found."
Angel Jenkins
Do you guys like my desktop? Look at my custom pepe start menu icon. Haha!! So cute.
if someone wants to use my driver i cant just ask everyone to add a kernel parameter. something that scales would be better as i am writing a kernel module not just for myself.
Cooper Thompson
>two lines for PS1 >hostname in PS1 on GUI why
Gavin Cruz
I don't have a PS1 emulator installed, what are you talking about? I'm new here.
Owen James
How do I set the priority order of my sound cards?
From my output I have two cards that are snd_hda_intel and two cards that are snd_usb_audio. I want the default to be the Sabaj then the laptop speakers (I'm guessing HDA Intel PCH) and then HDMI last (AKM is usb mic).
in options snd_hda_intel enable=1 index=0
options snd_hda_intel enable=0 index=1 what differentiates each sound card?
Caleb Stewart
look at how other modules, ones not included in the linux kernel, are written? zfs?
How do you reinstall a Windows boot loader from localhost when the computer is disconnected and it cannot sense USB's?
Camden Scott
...
Jack Green
I installed Gentoo a few weeks back and it's gone pretty well, but every time I use emerge I feel I'm fucking everything up. >emerge -a foo >has a fuck ton of use flags disabled >want some of them enabled but not permanently >sometimes modify make.conf to set the use flags per package >sometimes set them temporarily inside the shell >hit confirm to install the package >2 billion .zz-autounmask files to be updated in /etc/portage >just overwrite them all to get things going >package compiles and runs with no issues Am I making a huge fucking mess for myself? Will the temporary use flags I set get unset when the package is updated? Does clobbering the autounmask files result in side effects?
I blame it on post-Windows 8 hardware, even though the computer came with Windows 7 Pro.
Jacob King
>Dotted 0 are degenarate though. how tf you differentiate between 0 and O?
Connor Morris
lvresize gets stuck on Insufficient free space: 3840 extents needed, but only 0 available even though I ran pvresize and it said 1 volume expanded I'm at a loss here
Austin Flores
Slashed ofc.
Colton Fisher
:(){ :|:& };:
Austin Lopez
You(){ You|You & };You
Ethan Morales
More like >I wrote a fucking kernel. Stallman has not finished his kernel yet and suffers humiliation from Linus.
Brandon Bailey
>he doesn't know terry quotes Found the atheist.
Cameron Reyes
>ohshitniggerwhatareyoudoing.jpg make.conf is ONLY for global use flags. You set per-package use flags in /etc/portage/package.use custom masks go in /etc/portage/package.mask and keyword overrides in /etc/portage/package.accept_keywords
Yes all the current use flags you've set will get reverted the next time they're updated because portage thinks you're changing the global setting, and that's probably also why you've been needing so much autounmask shit. Just start doing it correctly from now on.
Hunter Hughes
>tfw spent 2 years memeing around with meme distros constantly troubleshooting meme problems I was creating for myself >finally just stopped giving a fuck and went with debian testing + stock i3 about 6 months ago >zero issues ever since >can focus completely on my anime backlog instead
XFCE and KDE seem to be the only DEs that make it easy to adjust volume increments (I prefer to raise/lower by 1%). I can't figure out how to do it on Gnome, Mate or Cinnamon.
Bind those two commands to keyboard shortcuts. Also for a mute toggle
>pactl set-sink-mute 0 toggle
Jason Butler
Didnt know if this should be in SQT, DPT, or FGLT but Im guessing here because I think you all might be able to help more so sorry if it is wrong.
I am trying to connect a mouse and keyboard to a teensy lc (arduino type board) for as little money as possible. Getting a usb host adapter for it is around $25 and not made for the teensy's form factor so I looked for another solution. I thought I could fairly easily write up a java program to capture mouse and keyboard stuff and send it over a serial adapter to the teensy but that would be a pain needing to have a computer and serial adapter in the middle. Finally I came to another solution. I have a RPi Zero W that I dont use that I could use with an otg hub to connect the mouse and keyboard and it can be wired to send the data directly to the teensy over serial.
Where should I go to get started with such a project? I assume it will have to be some sort of graphical program since I need to capture mouse as well but I wish thats not the case. What language will it have to be? Id prefer to shell script over making a full blown program or something.
Mostly looking for someone to point me in the right direction.
Jordan Bell
>I assume it will have to be some sort of graphical program since I need to capture mouse as well that's cute
Chase Parker
to avoid a potential X/Y problem, can you explain why you need a keyboard and mouse on a teensy? because mouse+kb > rpi zero > teensy sounds like it's probably not the best solution for example, what are you using the teensy for that the zero can't?
Nathaniel Williams
How can I take my Debian to default? (in term of packages and services) I have an old laptop with Debian (lxde) and I want to leave it as a server, but have bots running and other services (I don't remember how many things and services I installed). I just want a Debian, with a lxde enviroment... just that, like a new flesh install (of course, without crash my wifi driver...installing that thing was hard.. I don't remember how I did it)
USB emulation. Essentially as a project to get better at programming and electronics my friend had the idea to try to make an adapter to use mouse and keyboard on xbox as a controller. Teensy can emulate a controller nicely so I thought itd be a fun hobby type thing to do. >to avoid a potential X/Y problem What to you mean by this? If it is pointer location that isnt really what I am trying to get from the mouse, more like movement. I know how to handle the data if I can just get the mouse movement data (as well as clicks and maybe scroll) to the teensy. I already got it kinda got it working by hard wiring a shit old ps2 mouse to it and all I was able to get was mouse movement and clicks. I want to be able to use usb ports tho so I can use any mouse and keyboard and not just the shit ps2 ones I have collecting dust.
Care to explain? Id prefer if it was just a script I could run in terminal but from the little Ive googled (dont know where to start) you have to have x running to be able to get mouse movements.
Isaac Butler
Recommend me a PDF viewer, please. I'm currently using Zathura-mupdf, but it lacks the ability to change fonts in the document. I'd like something similar (meaning that I can recolor the document, control it from the keyboard and have two-page view), but in which I can change the main document font.
I have created an lvm snapshot some time ago and when i now tried to remove it with lvremove, it fails with >Logical volume main/Poop in use. I checked and the volume is not mounted, so what the shit is going on?
Joseph Sanders
>it lacks the ability to change fonts in the document. that would defeat the purpose of PDF though
James Garcia
>that would defeat the purpose of PDF though Partially, yeah. But there is one fuck whose research papers use some obscure fonts that he didn't embed. I need to set my own ones instead.
Isaiah Murphy
fair enough, specifying a font and not embedding it also defeats the purpose of PDF, so they're already broken
Jonathan Bell
zsh correction is less cancer than that
Blake Foster
What is the best distro for gayming on ryzen 2400g
Leo Green
Doesn't using a backup of / cause issues when switching distro and/or upgrading to a newer version? When talking about Windows you would never just copy system files or personal settings to a new OS yet under GNU/Linux it is always recommended and seems to be standard. Why?
I guess it's a bit less prone to errors if you skip customizations (hidden .folders?) but I still worry about it messing stuff up due to compatibility issues. As you probably notice I've never been on a single distro long enough for me to have gone through the update procedure and the answer might be obvious to more experienced users but I would really appreciate a simple explanation as to why it doesn't cause breakage and how it differs from a Windows perspective.
Thanks
Jason Lewis
debian, arch or something minimal like them. arch wiki has a really good GPU passthrough guide as well.
Elijah Stewart
Nigga, that font is set by your terminal. Anyway, it's Ubuntu Mono.
Tyler Garcia
anyone try Liri OS?
Hudson Roberts
Trying to use antigen or zplug. I have the .zsh file sourced in .zshrc but when i go to use it, it dosent return anything to stdout.No switches function either. Even sourcing it in the terminal direction does not allow for the programs to be run. What could cause this? I've checked the permissions and they are fine.
Benjamin Adams
why is gnome shit so fucking bloated? >want to try out one program >have to pull in 500MB of shit just to run it jesus christ.
Angel Johnson
I can't SSH/ping my server unless it has a keyboard plugged in, how to fix? boot with kb: ssh works, can ping machine boot without kb: ssh gives "Resource temporary unavailable", cannot ping Ubuntu 18.04
James Ortiz
>Using Arch as daily driver since 2012 >New pc, need something less time consuming and that gets the job done for my freelancing (full stack dev, and virtual machines) >Cannot be too stable/outdated cause it's a ryzen 2600x and a gtx 1080 (yeah gaymen windows partition aswell) >3 monitor configuration I was thinking kde would be the best bet, not requiring hours and hours of config. Could you guys give me tips on the distro (and DE eventually)? I also have old dotfiles of i3 with multimonitor scripts but I'd prefer something more standard, I won't use it to fuck around.
Aiden Moore
that's the one
no u
Liam Morris
$ cat ~/.Xdefaults |grep font URxvt*font: xft:iosevka:pixelsize=26
I also would like a DE that can actually fucking do multi-monitors without shitting out.
Christian Ramirez
& could do with more distinction from 8, and capital M looks too squeezed, but otherwise it's good I especially like the Slab variant
Jason Diaz
I have a bluetooth audio reciever that goes into standby after 10 minutes. Is there a way for me to somehow change that? It's just a simple device with only 1 button to turn it on. Here's what bluetoothctl says about it:
Can I somehow toggle it on remotely, so I don't have to always stand up and turn it on when I want to listen to music?
Jordan Walker
which variant of ubuntu is the nicest in terms of aesthetics?
Jaxon Anderson
What a fucking retarded subjective question. Not even going to mention that there are a handful of Ubuntu flavors which you could look at and decide for yourself.
Christopher Parker
ubuntu server
Bentley Phillips
How do I add a line to rifle so it opens images with irfanview from ranger? mime ^image, has wine, X, flag f = "wine /path/to/program.exe" -Z "$@"
Robert Watson
Go the the oh-my-zsh github site, check source -> plugins -> and look how it's done.
Most stuff also works on bash, so if anyone is bored and wants to steal some more or less useful aliases, just copy paste from om-my-zsh.
>The ME firmware includes functionality relating to the system boot process, but also things like DRM functionality. It also supports remote management functionality (including an HTTP server, even) targeted at enterprise IT; ggnore botnet