Previous: 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 macOS. 3) Go balls deep and replace everything with GNU/Linux.
Resources: Your friendly search engine, mailing lists... >b-but what search engines respect my privacy and freedom of speech? Try qwant, searx, ixquick or startpage. >b-but what e-mail providers respect my privacy and freedom of speech? Try disroot, autistici or aktivix
$ man %command% $ info %command% $ help %command% $ %command% -h $ %command% --help
Don't know what to look for? $ apropos %something%
I wanna watch the 1080p movies I have on my desktop on my $100 laptop. It doesn't support 10-bit video at all, so I want a easy way to transcode it on the fly so I can watch it easily with mpv. Any ideas?
Yes, ext4 is the jack-of-all-trades of Linux filesystems.
Jordan Edwards
This is a normal mechanical drive that I would just fill and file to a cabinet.
Oliver Morris
one of the trades jackext4 is good at
Gabriel Bell
>storage Use xfs
Nicholas Anderson
What do you use as a / instead of a login manager? LightDM is buggy as shit.
Lincoln Hughes
slim
Leo Price
Dropbox won't work on my Ubuntu 17.10 :(
Brody Scott
1. open terminal 2. try to start the dropbox client (it's in ~/.dropbox-dist//dropbox ) 3. watch and post the error messages
Jack Hall
Should I libreboot or coreboot my T410?
Nicholas Martin
I advise against corebooting/librebooting a laptop "just for the hell of it".
If you have any legit reason to do it and you have confidence that you can do it without bricking your laptop AND coreboot/libreboot supports your laptop well then yes, install it.
Asher Young
Thank you. Out of curiosity does having full disc encryption fuck with the boot?(The demos I have seen always just take the user to login)
Dylan Thomas
Broke my debian install trying to reinstall libc6 because wine told me to and I have urgent projects to complete tomorrow. What do?
Josiah Anderson
Boot up any live system (such as debian installers recovery mode, debian live etc), chroot into your system and try to reinstall the original libc.
Sebastian Anderson
Most of my shit (that doesn't work on libc) still works, but I can't install anything new because it says >dpkg: warning: 'ldconfig' not found in PATH or not executable >dpkg: error: 1 expected program not found in PATH or not executable >Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin >E: Sub-process /usr/bin/dpkg returned an error code (2) I already tried adding it to my path, doesn't work. Sometimes it tells me to check my LANG, LC_ALL and LANGUAGE variables, but they are all what they should be.
Juan Flores
Don't know if this would be the appropriate place to ask, but I'm having issues with capturing audio from my mic on Debian.
I recently installed Debian 9 on my laptop. For audio interface I use a Behringer UMC404HD, as I am into recording music, plus I'm just an audiofag. I have an analog condenser mic hooked up to it and a pair of headphones.
I can hear sound just fine through the headphones running through the interface, however, the mic will not pic up any audio. The computer recognizes that there is a line for sound input and i can select the line as my main sound input, but it does not actually record. In short: It can detect that there is a mic, but can not actually record sound.
Wondering if any fellow debian/audiofags can help me out with this dilemma, or at least push me in the appropriate troubleshooting directions.
>Opening terminal and using Neofetch CPU soft lockup >Pressing Screenshot hotkey on the keyboard CPU soft lockup >Moving the Mouse (touchpad) too early after I have started the laptop (XPS 9560) CPU soft lockup
This is microcode for 7700HQ i7 I have. I will try and see if updating this will improve situation
Jacob Gomez
microcode.dat is in a traditional text format. It is still used in some Linux distributions. It can be updated to the system through the old microcode update interface which is available in the kernel with CONFIG_MICROCODE_OLD_INTERFACE=y.
To update the microcode.dat to the system, one need: 1. Ensure the existence of /dev/cpu/microcode 2. Write microcode.dat to the file, e.g. dd if=microcode.dat of=/dev/cpu/microcode bs=1M
intel-ucode directory contains binary microcode files named in family-model-stepping pattern. The file is supported in most modern Linux distributions. It's generally located in the /lib/firmware directory, and can be updated through the microcode reload interface.
To update the intel-ucode package to the system, one need: 1. Ensure the existence of /sys/devices/system/cpu/microcode/reload 2. Copy intel-ucode directory to /lib/firmware, overwrite the files in /lib/firmware/intel-ucode/ 3. Write the reload interface to 1 to reload the microcode files, e.g. echo 1 > /sys/devices/system/cpu/microcode/reload
I'm going to fucking break my laptop lmao
Eli Thomas
ldconfig is in the libc-bin package.
Download the relevant libc-bin for your release and unpack it to your root, from a live system. If you boot up a live system with dpkg you can unpack deb files dpkg -x package.dev target_dir like dpkg -x libc-bin_2.24-11+deb9u3_amd64.deb /mnt/oldroot/
Chase Hall
pls help How do I fix this?
Henry Myers
OK, it was already newest so I didn't have chanse to break my laptop . but CPU lockup and ACPI failures agalore
Angel Taylor
I used this guide to compile MPV. Do I need to run it every time I want to update my MPV?
Do repositories adjust to their own version? Let's say I'm on Ubuntu 32 bit and I want to install postgreSQL through apt-get and there's only postgreSQL 9.x in the repo without _x6 or _x64. If I install it, am I guaranteed to get the x86 version?
hHoly cock fucking shit even typing neofetch causes cpu soft lockup
Noah Rodriguez
unless you changed your repository to x86_64 you'll get the right one
Josiah Wilson
yes
Robert Brown
Thanks fren.
Oliver Parker
I fucking love you man. No idea why I didn't try to install the packages from .deb files, just assumed it wouldn't work. I didn't even have to do it from a different live system. But I did some stupid things while libc was giving me pain, so I'm stuck on Unstable, and apparently Debian doesn't let you safely downgrade to Stable. But whatever, I was planning to reinstall anyway.
Easton Stewart
Debian is unironically the nastiest distribution to install.
Adrian Miller
Alright, thank you.
Noah Bailey
What's the current state of ganoo plus loonycs on convertible Winshit 10 tablets? I just bought a Lenovo Miix 310 and it sounds like stuff will mostly work, but little is said about how it's actually like to use. In general for this class of devices: Does multi-touch work? If I swipe around the browser/file explorer, does it know I want to scroll? What happens if I have something plugged into a USB port on the keyboard, then detach the screen? Is it just like I unplugged it, or does it explode? What's power consumption like on these recent devices compared to Win 10?
Maybe a dumb question, but is there a way to easily transfer "non-essential" changes made in a vm over to a real system? Changes which aren't directly dependent on specific hardware of course.
For example, maybe I've been working on a highly customized vim config or firefox sandbox environment for the past few weeks and wanted to do it in a vm because I know that I'll be installing many different packages and don't want to bother with dependency optimization, but I'm really particular about which dependencies are on my real OS and will decide how I'll optimize the dependencies after I get the vm-version of the project working the way I want it to.
Is there a way to quickly bring those changes (after doing the optimization in the vm) over or do I have to do it by hand? Obviously, the vm I'd be using for testing would more or less be the same as my real system, just different "essential" system setting, such ram, cpu, kernel settings, ect.
Alexander Cooper
Do it by hand.
Easton Bailey
Well shit. Guess I'll continue with my habit of documenting everything...
Blake Wood
Still waiting for it to arrive and I was hoping for some kind user to give me the secret sauce for it to work flawlessly from the get-go
well I have the Acer Aspire Switch 11 SW5-171 and the (bluetooth?) keyboard did not work initially but after about a year or so the kernels supported it out of the box, thereafter I only ran it without DE so never used touchscreen outside of browsers but there it worked out of the box
Adam Price
After years of distro hopping, anyone else came to the same conclusion to settle at Debian because it's just the golden cut?
Been getting this error in boot for the pat few days. I suspect that it's got something to do with the crap that I installed to quickly get a printer to work. Is there a quick and easy fix? I'd be happy to just uninstall the shit that I've got (if I even knew how), but this feel like a common issue.
How do I backup my Debian system so that I can just put it on a new hard drive if I ever have to replace the one in my laptop? Any imaging tools or rsync?
Sebastian Cooper
Is Ubuntu for phone/tablets dead, or is there a way I can use a smartphone or tablet without fucking iOS or Android?
Oliver Cruz
Ubuntu is dead. Install lineage os.
Colton Cook
Male a partition or backup you home directory and write a script for installing your favorite programs.
Isaac Rogers
just backup ur home, that's where are all the configs
Asher Rogers
dd disc to backup dd backup to disc
Angel Lopez
Glad I asked, never heard of Lineage OS but it looks exactly like what I want. Thanks!
David Robinson
LineageOS is literally a android fork user
Adrian Harris
Why is it that the only nice _original_ retro looking icon themes you can find are all for KDE? GTK only has web-2.0/"flat" and the ten thousand or so "remakes" of windows/mac icon themes are the closest you can get, but they're not original.
and btw, I'm not interested in old icon themes to actually have a "retro" desktop or anything edgy like that. I just love how they look. For example opendesktop.org/p/1226130/ opendesktop.org/p/1002417/ They have so much more character to them than the modern uniform and sterile looking shit everyone makes now which just feel so plain and lifeless.
Cooper Harris
These for if you just want to back up your files and program config
This if you want to image the entire system so you can restore it verbatim onto a new hard drive
Blake Gomez
This isn't Windows; you can just image your virtual hard drive onto your real computer and it will just detect the change in hardware just fine. I think there's a vboxmanage command to convert from vdi to a raw image. Then you can just dd it onto your physical drive and expand to fill later.
Alternatively, just tar up your ~ and extract it on your real install.
Ryan Cruz
Long story short I tried a few one-liners from stackoverflow to upgrade all python packages with pip at once and now the permissions on the packages have some kind of problem since some were normal packages installed with apt and some explicitly installed with pip. pip install doesn't include the --user flag anymore and tries to install packages into /usr/local instead of ~/.local. I have to add --user manually. Can anyone tell me how I might be able to fix this?
Trying to install virtualbox on Ubuntu 17.10, and I keep getting an error with vboxdrv.sh failing to build kernel modules. Here is a copy of the end of vbox-install.log file with some errors at the end. Can any user help a brainlet out? justpaste DOT it/1jepc
Actually I guess you can use KDE themes, but just have to modify the index.theme a bit. Setting "Type=Scalable\nMinSize=16\nMaxSize=" on each of the directories.
Robert Richardson
Yeah, first remove everything you installed with pip. Then reinstall all the python packages your distro has marked installed, because you fucked all those up. Next time use virtualenv if you want to pull in newer packages with pip for certain programs.
Kevin Mitchell
>Ubuntu 17.10 >KDE Plasma >Only a black monitor with mouse appears ?
Daniel Wood
> so I installed linux mint, now what? Uninstall and install Debian
Easton Price
What version of vbox? Try >=5.2.0
Christian Williams
5.1.14/18 Those are the versions listed as compatible with the box I am building with packer and vagrant Installing a the latest version results in a successful install but a failed build when bringing the vagrant box up This is for building metasploitable3 btw
No, but if you're going to be hacking on metasploitable you better know damn well how to read a patch.
This patch applies to all versions >=4.12.0
Jaxon Kelly
Not him, but I use Arch linux.
Michael Gray
>Not him, but I use Arch linux. designated
Parker Rogers
You're lucky, I'm on Arch as well.
Camden Brooks
what's the difference between arch linux and normal linux?
Jacob Bennett
I've been having trouble installing debian, it fucks up at the select and install software section every time and makes me try again It just failed again at the very end when trying to prepare pic related what should I do and can I fix this? It won't let me install the grub boot loader either
So, I'm on Debian trying to configure i3status to show my CPU temp. The default path "/sys/devices/platform/coretemp.0/temp1_input" doesn't work. How do I get it to show me the temp through lm-sensors or anything else? /etc/modules didn't work. What do I need to put in path? Looking around in search engines didn't help, at best they said to write a external script outside i3status to make it use lm-sensors.
Blake Jenkins
maybe your mobo isn't supported. did you try sensors-detect?
Aaron Campbell
>did you try sensors-detect? Yes, lm-sensors works flawlessly, I just want to get that info to display on my i3bar.
Owen Johnson
Really just write your own script. You'd be done already instead of fighting with search engines. Here's the completely shitty one I use. #!/usr/bin/pypy3 -OO
from subprocess import check_output txt = check_output(('sensors','radeon-pci-0100','coretemp-isa-0000'), universal_newlines=True)
# Slice exactly instead of finding the text since this gets called often cpu = txt[150:156] rad = txt[52:58] print(cpu,rad)
Jackson Martin
Wouldn't your life be easier with kvm/qemu?
Mason Hall
I guess I will. Thank you for that. Thing is, I've never used a script before nor have any idea of what to do with that block of text. Which is why I didn't consider a script a solution. Where do I put it? How do I run it? How do it tell i3status.conf about it? Can you explain step by step what do I do with that code to achieve my goal please?
Create a text file with that in it. Probably change "pypy" to "python" to save yourself a headache. Change the radeon and coretemp arguments to match your hardware, and adjust the slice numbers to match your system's output. chmod +x [the file]. Either add the folder the file is in to $PATH, or ln -s the file into a folder that is already in $PATH. Tell i3 to call the file by its name.
Owen Allen
>A graphical activity monitor for the command line. Written in node.js. lol
I knew, that screenshot was yesterday though, I don't know if only ncmpcpp has the problem so I tried installing other programs, I only found vtop. Don't worry I always use htop. $ locale -a C en_US en_US.iso88591 en_US.utf8 POSIX
Am I doing something wrong?
Isaiah Ramirez
Try this command: sudo modprobe vboxdrv
Jacob Ross
echo $LANG?
Christopher Hall
...
Hudson Foster
en_US.UTF-8
I think it's actually a missing font, what is that then?
Logan Cox
Okay, I just installed bdf-creep and added xft:creep:size=12 to my fonts. Thank you for helping me deduct the problem.