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: Please spend at least a minute to check a web search engine with your question. *Many free software projects have active mailing lists.
$ man %command% $ info %command% $ %command% --help $ help %builtin/keyword%
Don't know what to look for? $ apropos %something%
How do i prevent firefox from using hwaccel for the gui elements but still allow it to use hwaccel for video playback?
Kayden Lopez
Has anyone ever written a script to make canned edits to config files? How'd you do it?
Like, yeah, I could bang something out in sed, but I want to make sure that its resilient to other changes in the file its modifying, and I'm curious if there's a better way I'm overlooking.
Ryder Walker
hey, it could also be /sqg/ I have a work pc, prebuilt from HP. It has an SSD and an HDD. SSD runs windows 10. on the HDD i successfully installed Debian few months ago, but now I want to try Manjaro. The computer is HP and it has HP UEFI >pic related I installed the Manjaro successfully, i chose full disk (the hdd so its /dev/sda/) and i chose the Master Boot Record there on /dev/sda during the install. However, computer still boots into windows. Not sure how to configure the legacy/secure boot setup, if this "fast boot" also plays a role etc etc. However I changed and however it appears in HPs uefis boot menu, it doesnt boot and switches onto next bootable thing from the ordered list, hence windows.
However, when my colleague lended me his usb with some grub test tool, it showed the manjaro in its interface as a bootable system and when i clicked on it (while live booted into this test program) it showed some error in some file called "grubenv" but after that, it booted into installed manjaro.
I tried update-grub and no result. PLS i really dont want to use windows disk anymore
Faggot tranny with your programming socks. You will never pass as a woman.
Adrian Cox
fuck me,running void linux headphones decided to not work. speakers work fine, when I plug in headphones they are not detected or something. pavucontrol only shows me speakers as an option. This happened after booting into windows partition. I'm at a loss. no common google answer has worked. uninstalled, and re installed pulseaudio to see what would happen. headphones worked like a charm on install, but now I only get laptop speakers. what bullshit.
Carter Roberts
ran shutown instead of reboot... fixed.
Isaiah Green
guise I want a sound effect to play every time I delete a file, how can i do this on kde?
Just loop the sound effect 24/7 so whenever you delete a file it's guaranteed to play
Jacob Hill
BASED
David Edwards
#!/bin/sh
inotifywait -r -m -e delete --format %w ~ | while read -r file; do # Or something else which will play audio paplay some-file done Depending on how many files you have under ~, it may take a while for the command to start listening.
Gabriel Reyes
>--format %w Actually, you don't need that bit. I just had that there to test the script.
Carter Cruz
wait, it's that easy to use inotify in scripts? i'm sure i can think of a bunch of things i could do with that...
>69769138 >Could someone please help me out? >It's probably a simple fix, but I need to install a driver for my wireless dongle, I'm running fedora(which I'm unfamiliar with) It's a DWA182C >I just want to get my network connection working so I can upgrade and move on with my day. >It's a fresh install >at least it looks pretty, so far.
If you can point me in the right direction that's cool too, but I'm pretty amateur to this stuff. I've used ubuntu, but that's about the extent of my linux experience.
Dylan Sanders
first result in google. Get the fuck out.
Nicholas Cooper
Why are you so hostile, you pbitch fuck?
Caleb Davis
that doesn't get old
Lincoln Jackson
Right having the package is one thing, but knowing how to use it is another, and I'm unfamiliar with how to use fedora. Before I can Google "how to use fedora" I need my wireless to work. Is that so unreasonable?
Robert Russell
what is the safest, most emergency way of starting up damaged gpu? it can display windows in recovery mode in low resolution , and grub in fullHD for some reason
Jason Davis
>h-hey user, I... >get out of my face and give the botnet some data pretty npc
Jace Rivera
Check out minifree.
Lincoln Ramirez
Occasionally, fa/g/lords will sperg out about which distro is truly superior—usually Arch due to its "minimalism", Debian due to its "stability", Ubuntu due to its "ease of use", et cetera. All more or less incorrect, of course; Arch's kernel has an allyesconfig which is unnecessary bloat and counterarguments its self-proclaimed DIY nature, Debian's main meme is being ancient as all hell, and Ubuntu's everything generally sucks—from apt and its ways of handling dependencies to the varied degrees of bloat you get upon a fresh install. Yes, that includes Server as well for the most part.
In comparison, Fedora is about as fresh as a distro can get. While there is certainly a good amount of pros in comparison to other distros and by itself, these are only a few that are considered integral to its out-of-the-box, comfortable enterprise experience. >Just werks out of the box >Systemd is implemented nicely you it doesn't bother me that much like other distros do >Same for GNOME because GNOME is tied with systemd >Same for SELinux which is known for making things don't work. Never had this problem on Fedora. >Very fluid workflow >It is intended to above-medium users(like sysadmins, programmers, powerusers etc.) and not linux newbies(doesn't mean it is hard to use) so it focuses more on polishing the distro and development tools rather than focusing making it "easier to use". >The userland is 100% free software which is good, the main repo has strict licensing rules so only free software gets there, which is good, but it still has non-free firmware which is also good because not everyone has a libre computer. >If you have a libre computer you can use Freed-ora which is a rpm package that replaces linux with linux-libre and removes any additional nonfree software. >Packages are compiled with hardening options like position-independend-executable which makes Fedora very secure >Base installation is not too bloat but not too unusable. Comes with the minimal amountnof right tools. >Developers are actually either Redhat developers or profesional/advanced community developers and not careless basement autists or retarded SJW trannies that remove packages just because they have the word "boob" in it. >Includes the latest technologies (like wayland) and implements them correctly which means you get a modern and stable distro. >Packages in the repo are not ancient >Has an installer like every binary distro should >dnf is pretty good >uses RPM which is a widely-use package manager both in free-software culture and industrial world
Anthony Long
It's easy for SELinux to make things not just werk on Fedora. The default configuration is indeed well tested but as soon as you change things (or just fail to know the magic location with the magic invisible SELinux labels to put a certain thing) then things die mysteriously. Back when I used it setenforce 0 was the very first thing I did on a new install.
Also you say "fresh" and up-to-date, I say too much pointless churn.
Josiah Cook
I think SSL 1.0 is perfectly good, no need to update openssl.
Hudson Hall
>>dnf is pretty good does it still sync the repositories annoyingly often when using the cli
Gabriel Powell
don't do partial upgrades on arch especially when it'll break pacman by updating wget
Joseph Russell
no, it uses a short lived cache
Asher Myers
if you have backported security fixes for it then yes, it's perfectly fine to bother with major-version upgrades only once every several years or so. Debian, which you deride above, does that, as does Ubuntu LTS and the RHEL/CentOS releases that you're being a beta-tester for. Using a fast-moving distro, and I would definitely say that Fedora is one, is just going to extra trouble to see the numbers in your package manager go up faster.
Aaron Murphy
Let's say there is a software that uses a library. This library adds a new feature which is far more flexible, quicker to use and less prone to bugs than an old api doing something similar. So the developer of the software decides to throw out all his old code using the old api and re-implements it in a clean, maintainable extensible way using the new feature.
Thanks to Debian, developers are not incentivized to do this and consequently we are stuck with software that is worse than on Windows/OSX/Andoid.
Isaac Long
I installed it, and the 2 qt apps I use have font scaling problems.
>work out of the box Work out of my ass.
Christopher Powell
which apps?
Levi White
qbittorent and krita.
Nicholas Morales
Or the developer is just distracted by the latest hot meme, and hyperactively searches for something, anything to do, since he'll be bored unless he's ripping out pieces of the software and changing them somehow.
Maybe the people using his library think its quite good enough thank you and don't see his new changes as being worth the trouble he's causing them, in forcing them to change their software to use his new API, when they'd rather be working on something else. Or when they'd rather be doing nothing at all and enjoying having working software. (The GTK2 -> GTK3 transition was a good example of this problem)
And of course all this so far has been from the developer's perspective. I as the user don't give half a rats ass about the internal implementation details of, oh, at least 98% of the packages on my system. For me its probably better if the dev either left well enough alone, or if he really wants the change badly enough, to not just throw shit out and start over, but add the new way, wait a substantial amount of time, deprecate the old way, wait another substantial amount of time, and only then throw it out. Fast changes not only cause problems for other devs, they can and do break things for me, the user. It's a feature, not a bug, that Debian maintainers insulate users from dealing with whatever crap upstream broke this week.
I don't know why you think that software in the Windows and Mac world is worth emulating, most of it is garbage, and hyperactive devs trying to chase it is a bad, not a good thing.
Jackson Butler
just installed krita, looks perfectly normal to me, by default. how are you trying to scale exactly?
Asher Gomez
Mind explaining the GTK transition to me?
Isaiah Parker
What do? Selecting fix broken on the menu does nothing
They basically rewrote large parts of the toolkit in a completely backwards-incompatible way. There were significant API changes, the whole theming engine got thrown out and replaced (ask the ricing crowd and they'll bitch about it to this day), and in general they just told authors of other applications "Yeah, it'll be a lot of work to move to GTK3, deal with it". This is the reason a lot of projects didn't for a long time, especially since (I believe) most of the benefits of doing this weren't to the applications, but to the GTK devs.
as long as I'm on a soapbox there was a recent example of "upstream breaks shit" too. In kernel 4.19 they completely changed the internals of the block I/O layer (multiqueue), which the devs much liked since it was a much more flexible implementation and all. And it had a bug that corrupted some people's filesystems. Its intermittency meant it wasn't fixed until 4.19.8, nearly at 4.20. I didn't have to care since I was sitting on 4.9 LTS.
Eli Baker
Japanese fonts seem to no longer work. This is weird because it was working just the other day. Anyone might know a fix?
So the gtk thing actually went pretty well for large API changes, because they are stil released security updates for the gtk2 branch and anyone who didn't care about the new gtk3 features would just not use gtk3?
I mean, there are still gtk2 packages in most distributions.
Hunter Robinson
You can try running these commands in order Check for package updates while ignoring broken packages sudo apt-get update –fix-missing
Configure any packages that have been downloaded but not been configured yet sudo dpkg –configure -a
Try to fix broken dependencies by installing and/or removing packages. sudo apt-get install -f
If you still get errors then somethings messed up that requires a manual solution to solve.
Kayden Cox
kind of a non-answer, but you should probably watch videos in mpv instead of your browser anyway. better performance, more features, works with pretty much any video URLs you'll find, including tweets. Being able to take scrots of youtube videos really easily is super nice.
Jace Brooks
So this is my network
ISP DHCP
Caleb Stewart
Generally in my experience I just need a japanese font installed, and then anything that supports fallback fonts will just work. The main font you have set will cover the latin characters, and then for anything missing (e.g. japanese characters) it tries other fonts until something works, so it's usually enough to just have one installed. The only thing I know of that does not support fallback fonts is suckless terminal (st).
Landon Perry
Can you disable the router function of your modem and just let your own router handle that part? I think you use PPPoE for this. Maybe I'm misunderstanding what you mean by ISP DHCP, but to me I'm imagining your ISP-supplied modem is attached to your personal router and some things like DHCP are being handled twice unnecessarily.
Parker Green
I can't do that. Basically i live in an apartment building and when the internet came to town the ISP guy knocked on my door and was like "Heres your ethernet cable, good luck son" And that was it, i have no idea what is on the other end of that cable.
Isaiah Scott
This is so retarded, why in gods name a router lets a DHCPDISCOVER go through from the LAN side to the WAN side. Check if you can get an updated firmware or 3rd party firmware (dd-wrt/librewrt) for the router.
Brody Turner
Hi guys, so I have about 1500 wav files in a folder. I want to create a way to listen to each wav and then press a number to send it to one of 10 folders. Is this something I could do with a bash script?
Alexander Reyes
yes
Dominic Ramirez
here's an example for i in *; do mpv "$i"; read -n 1 folder; echo mv "$i" $folder/; done (for each file in the current dir, it will open it with mpv, then wait for one character, it will move the file to a folder with that name, so pressing "5" will move the file just played to the folder "5/", it doesn't create the folders, add mkdir if you want it to before the mv part)
Gabriel Cruz
I feel the need to distro hop to Devuan from Ubuntu on my main rig because of systemd locking up the system at idle times. Is it any good?
Ayden Watson
-- might want to change "*" to "*.wav", actually, unless you have the line make the folders, just realized making them ahead of time means the * will match them
David Cruz
ive been building systems with linux for 10 years making baller assmoney and i can't install archlinux onto a usb stick. can't do it, man. game over
but the procedure is literally the same as installing arch onto an internal hdd/ssd and i really do mean literally, as in, instead of working on say, "sda", if it's your internal drive, you work on like, "sdb" or whatever your usb drive is... that's it, that's the only difference
Cameron Phillips
To add to the above comment, instead of using a device name in the fstab use the UUID, you get it by typoing lsblk -f with superuser permissions
Joseph Smith
yea and boy its tough. pacstrap fails for every conceivable reason, and can't be resumed because it leaves files and there's no pacstrap /mnt base --overwrite
im in a second world developing country right on a state-owned 4G network. one of the mirrors isn't too bad but the others have to cross a submarine cable
it fails when downloading packages sometimes, fails when installing them sometimes, and it seems that the usb stick becomes unresponsive or something sometimes(?)
you might want to uncomment a few mirrors... pacman will try a failed download with another mirror automatically, which is as close to a resume as you can get afaik with pacstrap alternatively, you can download the bootstrap rootfs and extract that into /mnt, which is basically a snapshot of what "pacstrap /mnt base" puts there this way, you can chroot in, and have access to pacman itself, which you can retry as much as you like
Ayden Miller
interesting idea
looks like its favorite place to hang right now is on installing linux-firmware
to be clear, the bootstrap rootfs is a tar archive which you can find alongside downloads for the live iso you can download it while in the live environment either directly using wget, or with a text browser
pacstrap can save a bit of time, since it downloads and installs the latest versions directly a bootstrap image might be slightly out of date, meaning you'll need to update a few things after using it, so you end up downloading more the main use for the bootstrap archive is that you can use it to install arch from a linux environment besides the arch livecd
Owen Johnson
Dumb docker question- Is updating an image as simple as just pulling the image again and restarting the container?
something is wrong with sda i can't vouch for the reliability of usb drives attached to virtualbox i've used physical drives with vbox before, but only via vmdk files, not over usb, and they've only been reliable in linux for me. haven't tried with a macos host, but it does weird shit in windows hosts, and i don't trust it at all there anymore
Hunter Allen
I'm a tinfoiltard but only a bit, is me_cleaner enough or should I also go for coreboot?
Michael Thompson
What's the best lightweight browser if I want to keep a bunch of websites open in the background and I don't want it to start chugging ram? No multimedia stuff just some js at most.
How do I make firefox fonts look better (on fedora)? I have firefox, opera and tor bundle (so a firefox flavor) and on firefox, fonts look disgusting. Any idea?
Logan Sanchez
I'll reply to my own question It looks like setting a minimal font size in firefox makes shitty rendering of some fonts, particularly remote fonts.
Adam Foster
>He doesn't have an RSS feed combined with youtube-dl to automatically fetch the most recent big clive video
Aaron Ross
>can't even install kali properly Just use a *buntu or fedora and read on the cli
Michael Sullivan
What's the best Lean Eggs for me if I've been using Ubuntu for like 5 years and want to move away from it, but also not waste my time on learning the system for too long?
Anyone using Zathura? If so, how can you read the notes in pdfs sent by other people(that are using windows mostly likely)? I searched around and found nothing, in fact even evince, although it could it read the notes/annotations, the format and layout was all messed up. Only qpdfview worked well
Nicholas Clark
How do I set up for a program to be run in a specific language every time it is opened? Basically I've got documents and such which are encoded with Windows' cp1251 Cyrillic encoding and I'd like to be able to view them. For example if I open the Mint text editor like this it works just fine bg_BG.cp1251 I would rather not change system locales because I've had gnome-terminal fail to open, WPS office crashing as soon as it opens etc. It's probably less error prone to just change the setting for the text editor if that's possible.
Jaxson Phillips
Oops didn't paste the whole command LANG=bg_BG.cp1251 xed
Gabriel Sullivan
You should’ve installed it through uefi.
Isaiah Bell
Try to avoid insert mode for a while. That teaches you the keys. And run vimtutor again and again till it actually bores you.
Alexander Hernandez
Surf.
Isaiah Collins
I sometimes get the systemd message "A stop job from UID 1000 is running [...] 2min" and then I have to wait the full 2 minutes. It doesn't tell me what unit/service is waiting for a stop. How can I find out?