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) Do not 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.
$ man %command% $ info %command% $ %command% -h/--help $ help %builtin/keyword%
Don't know what to look for? $ apropos %something%
can anybody with a pi 4 confirm it supports hardware decoding of hevc 1080p 10-bit, or software without skipping a beat? 8-bit HW is a given, but with the former I can skip a transcode
Christopher Bailey
How do I make a custom .bdf/.pcf font? Kinda like Siji. I want to draw a few custom bitmap icons for my status bar, just for fun. Are there any good tutorials?
Robert Evans
New to linux and have been usuing vanilla ubuntu for awhile; just tried i3 and so far have liked what its been offering. What other DE’s should I try
Aaron Campbell
Motif Window Manager CDE mlvwm
Christopher Clark
Openbox/Blackbox/Fluxbox XFCE TDE TinyWM
Benjamin Perez
What is a light normal text editor? i don't do any coding just normal text editing, i'm using leafpad currently, anything more like it with maybe 2 or 3 more features?
Ryan Taylor
>anything more like it with maybe 2 or 3 more features? mousepad (xfce leafpad fork)
John Thompson
Libre Office, Vim(groff/troff, latex), TeXstudio, Rstudio(R markdown). It's nothing fancy and you don't need to worry about remembering LaTeX or groff/troff, you learn them in 3 days. If you want tutorials, you can watch a pretty autistic channel called "Luke Smith". This isn't coding, it's scripting. (^:
Nicholas Rodriguez
Emacs in graphics mode. Works just like a normal text editor, sane defaults, available special features, but more advanced features available if you eventually want them.
Easton Richardson
gedit
Adrian Cook
This will block everything right? What else should I add? #!/bin/bash iptables -F iptables -t nat -F iptables -t mangle -F iptables -t raw -F iptables -t security -F iptables -X iptables -t nat -X iptables -t mangle -X iptables -t raw -X iptables -t security -X iptables -Z iptables -t nat -Z iptables -t mangle -Z iptables -t raw -Z iptables -t security -Z iptables -t nat -P PREROUTING DROP iptables -t mangle -P PREROUTING DROP iptables -t raw -P PREROUTING DROP iptables -P INPUT DROP iptables -t mangle -P INPUT DROP iptables -t security -P INPUT DROP iptables -P FORWARD DROP iptables -t mangle -P FORWARD DROP iptables -t security -P FORWARD DROP iptables -P OUTPUT DROP iptables -t nat -P OUTPUT DROP iptables -t mangle -P OUTPUT DROP iptables -t raw -P OUTPUT DROP iptables -t security -P OUTPUT DROP iptables -t nat -P POSTROUTING DROP iptables -t mangle -P POSTROUTING DROP
I like Slackware. Some laugh because of the lack of dependency management, but it isn't really true nor has been a problem anyway. I used to prefer Gentoo but then got fucked when trying to do a routine system upgrade nuked my install I decided the very clever compile and dependency system of portage wasn't scoring enough points in my book.
Wyatt Rogers
I invoke ye great wizards, this plebeian requires your assistance with awk.
Consider this example, with r1f1 meaning "Record1Field1" and so on
gives the following output, only the last fields of each record
r1f3|r2f3|r3f3 |
How the blazes do I get rid of the last output record delimeter | that annoyingly manifests after r3f3? If you also want to suggest other solutions with sed, grep, tr or other tools for educational purposes, feel free, too.
A very quick hack would be to use sed: ... | sed 's/.$//'
Jayden Adams
I agree it can be chopped off immediately after, but I guess what I meant to ask is -- "how can I tell awk not to add the trailing delimeter after the last record in the first place?"
Brayden Ortiz
Oh I'm sorry, I didn't realize you wanted the awk-specific solution. The way I handle in other code is to print the delimiter first, but to skip the first one being printed.
A quick look through the awk manpages and some search results gives no immediate answer.
Jaxson Jackson
OpenBSD is the best BSD imo. FreeBSD can be a pain and NetBSD+DragonflyBSD suck ass
I don't know man. I even found a post on unix.com where two guys went back and forth trying to construct solutions. They didn't get it but the intermediate results were very contrived. Probably best to use a final line in the pipe to do it.
Cooper Ortiz
Just have to reinvent the wheel a little is all BEGIN {FS="/"; RS= "; ORS=""; a=0}; {if (a == 0) { a=1; print $NF } else print "|"$NF }
Jason Gray
*RS=" " I'm not sure how that got disappeared.
Brandon Collins
install GuixSD
Colton Miller
How do i migrate away from gtk on my entire system?
Joshua Richardson
My god dude, thank you.
So I fiddled with it some more, just to check that it works, and this is what the final result looks like
The "proper" way to do it is this echo "r1f1/r1f2/r1f3 r2f1/r2f2/r2f3 r3f1/r3f2/r3f3" | awk 'BEGIN {FS="/"; RS=" "; OFS="-"; ORS="|"}; {print $(NF-1),$NF}' which gives this r1f2-r1f3|r2f2-r2f3|r3f2-r3f3 |
the weird way of doing it with a custom variable is echo "r1f1/r1f2/r1f3 r2f1/r2f2/r2f3 r3f1/r3f2/r3f3" | awk 'BEGIN {FS="/"; RS=" "; OFS="-"; ORS=""; fuckyou="|"; a=0}; {if (a == 0) { a=1; print $(NF-1),$NF } else print fuckyou$(NF-1),$NF }' which yields r1f2-r1f3|r2f2-r2f3|r3f2-r3f3
How do i force firefox to only use disk and not 90% of my memory? The disk is an ssd
Thomas Clark
Absolute retard here, can someone help me download and install Firefox 32 bit on Ubuntu? Danke
Mason Cox
Gentoo because of portage, USE flags and most importantly the name. I used to work in conservation and I did a rescue project for some gentoos, which gives me a big soft spot for them.
Nathaniel Howard
you mean like a swapfile or swap partition?
Leo White
What are some randomass packages I should install? I just discovered dstat and am looking for more
>2) Do not dual boot the GNU/Linux distribution of your choice along with Windows or macOS. Why not?
Ryder Hughes
No, i dont want anything but the firefox binary to be put in to memory. I want everything else to be put on disk Not just the cache, but ANYTHING firefox wants to put in memory,i want to put it on the ssd. I cannot use the rest of my system if firefox is allowed to run for more then 15 minutes. It LITERALLY takes all of my ram and other programs cannot be started and they get oomkilled even though firefox is the one taking all the ram, it never gets killed
Jeremiah Rodriguez
Friends I am dual booting Win10 (mainly broken and slow, internet turns off after I press the windows key or click on any windows notification window) and Manjaro but I want to re-install a clean Win10LTSC because my uni is forcing me to use VS and it gets really slow on wine. Can I just create a partition and install Win10 in there without repercussions? I'm way too invested in Manjaro i3 and I am scared of not being able to boot it again
Easton Price
nnn uses xdg-open to open files. There is an article on Arch Wiki on how to configure xdg-open and xdg-mime.
Josiah Myers
void has a good ""philosophy"" (whatever that is) and it's easy to contribute if you're dissatisfied with anything everything is on github/irc and it's run by sane individuals instead of a megacorporation that makes you sign a CLA to fix a typo it also uses software like dash/musl/runit/xbps that's often simpler than the alternatives found on other distros
second on my list is gentoo but it's more heavyweight than void and you also need to give out your real name to contribute
Do you only have 1 gb RAM or something? Shits cheap, just upgrade it.
OR block scripts and shit, sometimes certain sites can cause memory problems, Hulu was doing that to me for a bit
Thomas Perry
>shits cheap My mobo only supports 16gb and its ddr3 so if i want to "shits cheap" i am looking at a brand new system,literally every part will have to be updated. No other program on my system acts the way firefox does. It is exclusively a firefox issue Its not my issue it is a firefox issue and this dosent fall on my shoulders to spend $$$$ just so firefox can take 90% of the 128gb of ram the new system would have....
Joshua Phillips
lol, fix ur shit nigger. Firefox should only use like 2GB of RAM at most. It's actually been going down the last couple of releases.
Luke Morris
"my shit" isnt broken. Its EXCLUSIVELY firefox If you cannot help, cease posting
Caleb Gray
Cease living since you're too stupid for it.
Julian Morris
If you want a splashscreen thingy, just use display with timeout.
Tyler Jackson
sudo apt install firefox
Michael Price
> my system is PERFECT > except this one problem > that nobody else is having take youre meds schizo
Ian Williams
leafpad has been removed from debian for being buggy and abandoned
Dylan Butler
So explain why ONLY FIREFOX takes 90% of my ram and causes oom's? Why can i close firefox and no other program uses 90% of my ram and causes ooms? It is ONLY firefox
Logan Gonzalez
Uhm... hi...? Can I just overwrite the windows booter right?
I don't like using it but I have to since my third world teachers want me to use VS Enterprise, I'll only give it like 30Gb of space don't worry, but I'm frightened it could give me problems to boot to my main GNU/Linux partitions which I use for everything
Gabriel Miller
You can try just restricting its memory usage. But I don't know what happens when it uses it all. Maybe it starts using swap instead? Maybe it crashes? I don't know, but it's an idea.
Or just try a different browser, like ungoogled-chromium or something. How much ram do you have total anyway, and what are you doing in FF that might be causing it to use so much?
Noah Hernandez
Yes.
Andrew Foster
Using those programs cause kills firefox, when it reaches that limit, which serves no real purpose because then the session is lost at a random time when doing things in firefox.
I have 16gb of ram and a swapfile that is 16gb(on an ssd)(which firefox eats up too) I dont have any videos running it is only text and images loading in firefox. I have many 20 tabs open on various websites and around 4-5 pinned so the extension dosent discard the tab.If any tab isnt used for 15 minutes it is discarded from memory and the tab is switched off(auto tab discard)
Luke Sanchez
Start using IceCat.
Tyler Rogers
I'm getting random freezes (anywhere from a fraction of a second to like 20 or 30s) and it seems like they're caused by I/O. Any ideas why is that? Both drives (/ and /mnt/media) are SSDs. It becomes the most noticeable when I download bigger files (>100MiB) or when I finish downloading torrents. I use KDE, which shouldn't really matter but I already learned that it's file search daemon can be pain in the pass (freezes up to 1 minute) so I have it disabled.
Does anyone else have trouble with spotify on arch? Every time I try to use it the song I go to play sometimes freezes and the functionality just completely stops. When I close the program, I have to use killall to get it to stop playing audio.
Jack Wood
I am not interested in a program that cares more about politics then it does the users who use it
UUIDs aren't that identifying by the way, partitions gets a new one when formatted
Robert Taylor
Forgot to mention: Everything is encrypted with luks, I bet on defaults but honestly can't remember if that's the case. I didn't go crazy on it, that's for sure. AES-128 or 256 and probably both drives support those "natively". I believe it's an Samsung 850 PRO and a Crucial MX500 or something like that.
True, but I don't intend to re-format my media partition anytime soon and the less possibly identifying bits floating on the internet, the better. I'm pretty sure you can read those with like 90% accuracy though, I only blurred them a little.
Asher Baker
You have brain damage, because the politics is literally about the users.
Brayden Torres
lol you are very confused about things. Typical anti-GNU fag who knows nothing about it
Liam Martin
I already do since years
Ayden Carter
Why spend millions and 40 years to force your name on a program? How does this serve the users in anyway other then one mans ego?
Liam Ross
fuck off troll
Angel White
So you cant justify it? And now you shut down and use primal vulgar language because you cant express your self? Nice
Jeremiah Miller
I just did a fresh Arch install. The systemd-analyze time tells me that my system boots up in 11.2 secs (4 secs kernel, rest is userspace) Isnt that a bit too high? Is a shitty Sony Vaio old laptop, with 4gb of RAM and an Intel i3
Jason Morales
does ubuntu spy on you? I'm using xubuntu but it's pretty much ubuntu, should I be worried also is snap bad? I used it multiple times
Jayden Sanders
So I was a big brainlet and when installing telegram I would just keep adding new PPA's and now I have multiple installations of the same program.
What's the best way to clean this up?
Blake Cook
Why isn't pirated firmware a thing?
Couldn't someone in the industry just leak the source code? Or leak it six months after they'd been reassigned elsewhere? In this day and age it's nearly untraceable.
David Phillips
If you have systemd then you're already compromised.
Michael Wood
The nature of open source software is that it's in broad daylight at all times, unless the source code is really bloated and unreadable by humans. There's nothing in Ubuntu to worry about as such, except maybe reports that you agree to, or third party spying through your use of the Amazon or Google links they encourage you to use. Firefox is also starting to become spyware. Any Linux distro is a Frankenstein's monster of different programs developed independently, so you should be looking more at those than at the distro level. In particular, anything that requires network access or that has non-readable source code (e.g. Intel ME.) 99% of your spying concerns should be directed at your browser and the websites you visit.
Samuel Allen
Your HDD is probably the limiting factor. Spinning rust is slow.
Current Ubuntu doesn't spy on you (if you have unchecked the telemetry checkbox), but it isn't privacy friendly either. I wouldn't trust it. It has a bad reputation because previous spying and the company behind Ubuntu, Canonical, is BBF with Microsoft.
Joseph Barnes
Could be borked profile, leaky extension, misbehaving website, sketchy shared library interaction (try your distro's build, Mozilla's build, or the unofficial flatpak). Maybe a video driver problem, esp if webrender is involved.
James Phillips
>trust me, i'm a 4channel certificated IT specialist
Jason Reyes
So I'm right that this is a quite slow time huh? Nothing to do then?
Jaxon Thompson
>Level 3 Gentoo Installation Consultant
Austin Rivera
I'm thinking of installing Kubuntu. Does it come with bloat? When i mean bloat, i mean other applications.
I just want a barebones Ubuntu+KDE desktop. I'll install software later on.
Carson Collins
Grub isn't detecting my flash drive when I boot up. Running Gentoo btw. I'm just trying to boot into the liveCD again because I need to fix something.
Gavin Howard
Tomorrow an old man is going to livestream his attempt at installing gentoo youtube.com/zebedeeboss