/fglt/ - Friendly GNU/Linux Thread

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) 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%

Check the Wikis (most troubleshoots work for all distros):
wiki.archlinux.org
wiki.gentoo.org

Jow Forums's Wiki on GNU/Linux:
wiki.installgentoo.com/index.php/Category:GNU/Linux

>What distro should I choose?
wiki.installgentoo.com/index.php/Babbies_First_Linux
>What are some cool programs?
wiki.archlinux.org/index.php/list_of_applications
directory.fsf.org/wiki/Main_Page
>What are some cool terminal commands?
commandlinefu.com/
cheat.sh/
>Where can I learn the command line?
mywiki.wooledge.org/BashGuide
grymoire.com/Unix/
overthewire.org/wargames/bandit/
>Where can I learn more about Free Software?
gnu.org/philosophy/philosophy.html
>Which web browser performs best on GNU/Linux?
linuxreviews.org/firefox-vs-chromium

/fglt/'s website and copypasta collection:
fglt.nl && p.teknik.io/wJ9Zy

/t/'s GNU/Linux Games: Previous thread:

Attached: 1515205890900.gif (500x500, 2.07M)

Other urls found in this thread:

repology.org/repositories/graphs
youtube.com/zebedeeboss
twitter.com/NSFWRedditImage

go to hell

OpenBSD is trash.

I want to cum on Stallman’s tummy

I want to nakadashi Stallman until he makes the ahegao face

What distro has the absolute latest packages regardless of stability? Debian unstable? Fedora rawhide?

What is your favorite distro and why?

Attached: the big question.png (295x221, 93K)

repology.org/repositories/graphs

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

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?

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

Motif Window Manager
CDE
mlvwm

Openbox/Blackbox/Fluxbox
XFCE
TDE
TinyWM

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?

>anything more like it with maybe 2 or 3 more features?
mousepad (xfce leafpad fork)

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. (^:

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.

gedit

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

Attached: iptables-Flowchart.jpg (1000x555, 81K)

Oh, you're not talking about document editing like pdfs! I'm retarded.

Attached: Screenshot from 2019-07-11 21-00-28.png (146x148, 33K)

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.

I invoke ye great wizards, this plebeian requires your assistance with awk.

Consider this example, with r1f1 meaning "Record1Field1" and so on

echo "r1f1/r1f2/r1f3 r2f1/r2f2/r2f3 r3f1/r3f2/r3f3" | awk 'BEGIN {FS="/"; RS=" "; OFS=","; ORS="|"}; {print $NF}'

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.

Attached: 1534672044415.jpg (1207x1600, 427K)

I don't know why you want to switch, Leafpad is great for documents, school projects, normal editing, but not so great for coding.

Attached: Screenshot from 2019-07-11 21-07-23.png (364x317, 8K)

A very quick hack would be to use sed:
... | sed 's/.$//'

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?"

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.

OpenBSD is the best BSD imo. FreeBSD can be a pain and NetBSD+DragonflyBSD suck ass

how do I make conky display an image on startup?

Attached: tumblr_prvzuqQe8T1w9iexs_540.jpg (540x534, 76K)

its community consists of dickheads though.

EMACS

The one that doesn't have outdated dependency management ideas.

How can something so simple be so hard to do in awk? I don't understand.

Attached: 3cBvbKrh.jpg (954x1000, 125K)

nixpkgs

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.

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 }

*RS=" "
I'm not sure how that got disappeared.

install GuixSD

How do i migrate away from gtk on my entire system?

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

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 }'

So now the output of that is the last two fields of each record

r1f2-r1f3|r2f2-r2f3|r3f2-r3f3

Having to use a custom fuckyou variable instead of awk's ORS really threw me off. Why can we not have native ORS just behave like that?

Check this bullshit out btw ^

By the way, some more questions:
What the hell is the $sep variable anyway? is that pre-defined or am I retarded?

Attached: 1534771380807.jpg (236x236, 10K)

How do i get nnn to use sxiv instead of feh to open images?

Attached: 1550689088741.jpg (805x1024, 83K)

So just to clarify:

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

WAKE ME UP INSIDE

Attached: 1511954694907.jpg (750x692, 53K)

How do i force firefox to only use disk and not 90% of my memory? The disk is an ssd

Absolute retard here, can someone help me download and install Firefox 32 bit on Ubuntu? Danke

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.

you mean like a swapfile or swap partition?

What are some randomass packages I should install? I just discovered dstat and am looking for more

best distro where I type the least?

Attached: wrist.jpg (3264x1836, 1.39M)

mint

Openssh-server

>2) Do not dual boot the GNU/Linux distribution of your choice along with Windows or macOS.
Why not?

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

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

nnn uses xdg-open to open files. There is an article on Arch Wiki on how to configure xdg-open and xdg-mime.

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

ponysay

Attached: void philosophy.png (900x495, 42K)

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

>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....

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.

"my shit" isnt broken. Its EXCLUSIVELY firefox
If you cannot help, cease posting

Cease living since you're too stupid for it.

If you want a splashscreen thingy, just use display with timeout.

sudo apt install firefox

> my system is PERFECT
> except this one problem
> that nobody else is having
take youre meds schizo

leafpad has been removed from debian for being buggy and abandoned

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

Uhm... hi...? Can I just overwrite the windows booter right?

fdupes, fzf, jq, megatools, nmap, optipng, pass, pv, rsync, sox, stow, tor, torsocks, w3m

Hi. Please don't use Windows.

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

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?

Yes.

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)

Start using IceCat.

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.

Attached: 1561933491774.png (1255x471, 97K)

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.

I am not interested in a program that cares more about politics then it does the users who use it

Void because it's the distro for qt3.14's.

Attached: 1558894693484.jpg (2047x1535, 693K)

UUIDs aren't that identifying by the way, partitions gets a new one when formatted

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.

You have brain damage, because the politics is literally about the users.

lol you are very confused about things.
Typical anti-GNU fag who knows nothing about it

I already do since years

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?

fuck off troll

So you cant justify it? And now you shut down and use primal vulgar language because you cant express your self?
Nice

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

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

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?

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.

If you have systemd then you're already compromised.

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.

Your HDD is probably the limiting factor. Spinning rust is slow.

>Open Source
>Linux
thanks

Attached: 1556938822415.jpg (400x331, 28K)

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.

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.

>trust me, i'm a 4channel certificated IT specialist

So I'm right that this is a quite slow time huh? Nothing to do then?

>Level 3 Gentoo Installation Consultant

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.

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.

Tomorrow an old man is going to livestream his attempt at installing gentoo
youtube.com/zebedeeboss

Show him your love Jow Forums

Attached: 8a9.jpg (400x267, 19K)