/fglt/ - Friendly GNU/Linux Thread

Previously on 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 using VirtualBox or other software made for this puporse for safety purposes.
1) Use the Live ISO (if your distribution of choice has one) to boot directly into the GNU/Linux distribution without installing anything, that way, you can get to experience the GNU/Linux operating system without installing it.
2) Dual boot the GNU/Linux distribution of your choice along with Windows or macOS, this is recommended if you want to know more about the GNU/Linux operating system.
3) Go balls deep and replace everything with GNU/Linux.

Meet the /fglt/ team:

IRC: irc://chat.freenode.net:6667/flt (6697 for SSL)
If you don't have an IRC client, you can use a web client:
webchat.freenode.net/?channels=flt
kiwiirc.com/client/irc.freenode.net/flt
WEB: fglt.nl/

* Resources:
Your friendly neighborhood search engine (searx, ixquick, startpage, whatever.)
$ man
wiki.archlinux.org (Most troubleshoots work on all distros.)
wiki.gentoo.org (Please see comment above.)
wiki.installgentoo.com/index.php/Category:GNU/Linux
prism-break.org/en/categories/gnu-linux/
linuxcommand.org/tlcl.php
gnu.org

Other urls found in this thread:

superuser.com/questions/844004/creating-a-simple-vim-syntax-highlighting
aelog.org/checksums-made-easy
wiki.debian.org/motd
trisquel.info/en/wiki/compiling-gnu-linux-libre-kernel
kernelnewbies.org/FAQ
github.com/megous/megatools
twitter.com/NSFWRedditGif

Can you only have one auto define per file type in vim? I want to highlight tabs and trailing whitespace different colours in python.

Cheers

>SFTP server
done
>Firewall
done (picture related)
What next, /fglt/?

Here's what I am trying to do. Please help
highlight BadWhitespace ctermbg=red guibg=darkred
highlight Tabs ctermbg=blue guibg=darkblue
au BufRead,BufNewFile *.py,*.pyw,*.c,*.h:
\ match Tabs /^\s\+/
\ match BadWhiteSpace /\s\+$/

Very nice. Could you post your other guides?

Maybe this helps superuser.com/questions/844004/creating-a-simple-vim-syntax-highlighting ?

Not 100% linux related question but how do I add a motd for cygwin? Putting a motd file in the /etc/ folder doesnt work neither does it work if it put it in /etc/defaults/etc/

Sure

>cygwin
Actually close to 0% linux related.
did you try symlinking it?

according to OP, this is a Linux and GNU thread
cygwin isn't Linux related, but it is GNU related

GTKucks need not apply
aelog.org/checksums-made-easy

Ohohoho gtk cucks rekt

True, but GNU is not the same as Linux. Also people here don't go around and ask wine questions in windows threads do they?
i would like to help him but i don't have the ability to try doing what he tries in cygwin since i don't run windows. I would suggest asking cygwin users or reading their wiki.
Another thing i could recommend is reading wiki.debian.org/motd since they tell you how different GNU/Linux distros handle motd.

Shouldn't most shells do this by default? Why would you add this to a file manager? I think both qt and gtk suck btw. Which sucks less is a matter of personal preference and calling users of the other side names is really not the right way to improve it.

How difficult is it to change vanilla linux to linux-libre? Is there a guide I could read? My hardware doesn't need any nonfree drivers, so this shouldn't be a problem.

Also, what's a good place to read more about kernel hacking in general?

On which distro? On debian you can just remove nonfree and contrib and have a blobfree kernel, on buntu you can switch to trisquel sources, on arch switch to parabola (there should be a guide on the parabola website or the pkgbuild on the AUR). maybe reading trisquel.info/en/wiki/compiling-gnu-linux-libre-kernel helps.
or try kernelnewbies.org/FAQ

Why would someone look at that incoherent picture when I could just read the Ubuntu page about ufw and its documentation?
What's the obsession with your idiots for infographics and weak, incomplete information presented in form of a fancy picture?

Thank you very much buddy. Will read into these!

Fuck off, he's doing a good job and unlike you, contributes something useful.

Wiki is bloated. And the picture clearly is not a replacement of a wiki, brain dead retard

>having all the relevant information about something is bloated

It's funny to see someone claiming that calling other people brain-dead retards.

Do you even know how to read a whole fucking sentence?

downloaded virtualbox

which linux should i pick as a total beginner?

Install gentoo (and that's a non-meme answer) if you want to get into the shellstuff.

What exactly do you want to do with linux?

I usually recommend fedora or debian because of their community and policies. you need to be able to read for them though. If you aren't go for buntu.

Thank you based vim man. But one more q. The syntax overrides the default python highlighting. Any way to have both?

just checking it out

Babby's first linux is Ubuntu

>Wiki is bloated.
That's a whole sentence. The full stop at the end signifies it.

You sure picked the "brain dead" from the other sentence, don't even try

Checking it out for what? You shouldn't just install linux for no reason or you'll go through the installation process and be like "now what" at the end of it.

If anyone is still using datadog and didn't check your mail today yet, it appears that they got hacked

there's also firewalld that has firewall-config gooey configuration tool.

>Yandex DNS
I hope no one who actually lives in Russia uses this guide

What's that?
Russians can use OpenDNS :^)

Not him but i started just for trying it when i had 2 weeks of time. Now i am happy on sid.

Firewalld's main advantage isn't its GUI, but the fact that it supports profiles which integrate nicely with NetworkManager. It's useful for people on laptops which connect to different networks.

>What's that?
It's a monitoring SaaS, I used to run it on a VPS a while ago. It pulls third party software from their repositories and today they've asked everyone to reset their passwords and revoke API keys.

I read this in RMS's voice

If I try Debian live before formatting my hard drive will I be able to determine if it can use all my hardware or be able to download drivers for everything or whatever? Also you're suppose to suck the fluid out of my nose.

If a debian live usb works on your machine that means that your hardware works without proprietary software aand on old kernels. if a debian nonfree live usb works it means your hardware runs on old kernels. but you could just check out if your individual hardware needs nonfree drivers.

Probably not, device support often relies on kernel configuration. You might be able to install/load additional kernel modules after booting the livecd but it's not a trivial task if you don't know what you're doing.

So I guest I just dual boot into debian and see if I can get everything working before I get rid of windows?

That is one way. But you could also check out a detailed hardware list of your computer and searx for compatibility issues.
just installing it would work too.

What's an easy way to download from mega via cli?

Yeah, probably. On your current install you can mess with it, install drivers and change kernel, it's much harder on live media. If you mess it up you'll still have a backup system too. And if you're going to play a lot of videogames then you'll might want to keep Windows anyway.

maybe: github.com/megous/megatools

GTK is not responsible for this. Gnome would be responsible for implementing the UI for this function.

Guys. Sometimes I just want to drop GNOME/GTK and just bite into the sour KDE apple. This "removing features" mentality, no filepicker, etc trash makes me sick. Should I say "fuck it, 1,5 GB isn't that much" and switch?

KDE isn't 1.5GB.

In dolphin when you are in a directory with lots of subdirectories, if you go on to a subdirectory and then go back out you are dropped at the beginning of the list of subdirectories, not where you just were. Can this be changed? It's really annoying.

>run ubuntu 16.04
>everything works okay
>a few days later
>error popups right after startup
>random shit just breaks during the system use
>happened both when I ran it in a VM and when I installed it as a main system on a laptop

which non-shitty distro should I pick instead?

Sounds like you fucked it up, things don't magically go wrong for no reason.

I did nothing and it happened multiple times on different installations

I feel like after some of its updates it just breaks

KDE has a bunch of issues on it's own but GNOME/GTK is practically a sinking ship now that's afloat only because of Red Hat

whats so bad about unity?

I'm kinda enjoying it, only had problems on some older computers where it was laggy as fuck

Ok sure

Nothing if you like it

Why do GTK programs have such a hard time fitting their taskbar icons in KDE if the taskbar is fairly small?

I suppose that the GTK icons aren't designed to follow the "KDE standard", assuming this is even a thing.

Ignore both sides as much as possible and use dwm or i3wm.

Dont I need a framework for gui stuff? With i3 I'd end up with the same gtk stuff like currently on gnome.

Yes

I use a few gnome things, but at least you won't have to pick a side and shout at others. And you will have a better WM than both gnome and kde have.

Why did it die?

Because it was shit and pointless.

riceDB killed it.

We have a bunch of good people here in /fglt/, why not create something that doesn't suck?

There is literally no reason for it. Anything it was trying to do already exists.

Gentoo

How is i3 a better window manager than Kwin or Mutter? You don't even know about any of the advanced features they offer, but you're instead just parroting misinformation you saw on here. The only reason you put i3 on a pedestal is because you think that tiling window managers are hot shit. Guess what, Kwin can also tile.

OpenDNS is garbage.
You should be running your own DNS and going straight to the IANA root. There is no reason to rely on third party services, especially ones as disgustingly privacy invading as OpenDNS. At the very least you should suggest OpenNIC.

What's the root of this meme?

XFCE is surely the superior DE I will use once my USB is finished being formatted?

Will you?

Yea, supposedly it's lightweight and is just as easy to navigate in then any other DEs.

Im currently using a first gen i3 laptop with 4gb of ram as my primary machine. I didn't have a swap partition cus lazy so the system would often just freeze up. I've since swapon like 4gb. Is there anything I should do to further optimize performance? I'm running cinnamon on a ubuntu 14.04 lts minimal install.

So what was your question?

I don't use i3. I use dwm and for me tiling as default with grouping into master and stack makes sense. I3 users often like that they can specify where it tiles exactly. Another good thing specifically about dwm is how fast it is, everyting reacts without any noticable delay. This can not be said about kwin and usually not about mutter either.
The floating layout of dwm has very strong window snapping in the default configuration which makes using it feel fast and efficient. Floating windows are also above tiling onesby default which makes it useful for video/music players or anything else you wouls like to use. Monocle view is also nice for some things like gimp or blender.
And the quick overview with mod1+0 makes more sense then the ones in gnome or kde imo.
Not that I dislike kde or gnome, I just think they kinda suck for me.

/s4s/

If you want you could use a more lightweight DE/WM and add a swap file or partition. Since it is a laptop you might want something like tlp. Which gpu is in there?
Why are you using 14.04 on a personal machine?

>based on arch
>zsh by default
>i3 by default instead of a choice of different WMs
>no choice between rolling and stable
There are a few reason. The logo and name were nice though.

It is a laptop but it's being used as a desktop effectively. External monitors, kb/mouse, always on AC. My RAM usage on boot is under 200, the only issue is chrome devouring my memory. I just prefer it to FF a lot, and all the "lite" browsers I have tried end up having a major flaw that requires me to have a back up browser anyway.
I'm using 14.04 because I already have it all configured. I've tried switching to pure debian but can't get easytether to work.
I have a swap now, it's 3.7gb which is the same as my real ram. I've never had a system that needed a swap so I'm just not sure if there is anything further I should do to optimize it. Can I like set a priority on what gets sent to the swap once my ram is consumed?

>This can not be said about kwin and usually not about mutter either.
[citation of objective, scientifically measured data needed]

Oh and what do I have to gain by switching to a more recent release? Everything is running very well but I am open to upgrading if it's warranted.

Depending on your hardware the drivers got better, more features, some things may be faster on newer versions. The LTS branch is really only useful for servers imo. But it's your machine, just make sure to follow the security mailinglist.

Hello

Does someone know how to fix this border issue ? (since Plasma 5.7, on Slackware -current)

I'll resize my /home and try xenial on it. I finally have everything exactly the way I want it on this and just don't want to risk having to re-do everything. There are so many little things that you end up doing to tweak your system over time. Not to mention how big of a pain in the ass it was to get EasyTether to work.

Well, there's a update, hopefully it will fix it.

Unfortunately the amount of benchmarks regarding specific window managers on GNU/Linux is not very high. The only thing you will find are memory comparisons. And while they could prove my point, we both know how inaccurate memory usage comparisons are in regard to responsiveness in window managers.
But I can say from my experience on both high end and low end systems that dwm is more responsive than both mutter and kwin. If you don't trust my subjective perception try it yourself.

What settings do you guys use for KDE? I love all the eyecandy and customization but holy shit this is unstable.

>mfw I crash my my entire DE just by moving a panel icon

Just move on to greener pastures mang

You can't be doin with this

plasma 5?
I'm still on kde4 but it's pretty solid with fairly minimal effects enabled.

What should I use if not KDE?

LXDE is nice, light, stable, and customizable, and being updated unlike XFCE

You could use a stand-alone window manager like i3wm as well

Or just resign and use GNOME 3, which isn't that bad but it's sometimes a bit frustrating

Same shit, don't change anything.

Nothing, KDE is by far the best DE (and the only good one).

oh and Cinammon is also nice, I hear, but it's a fork of GNOME 3 so

>only good DE
>posts here because he has issues with it
wew lad, talk about brand loyality.

>BEHEAD THOSE WHO INSULT KDE

Xfce is still alive. A lot of updates doesn't mean it's a sane project. And, honestly, it's nice to know your shit won't change during the current year.

I'm using the latest release, not the stables one, so it's to be expected. You won't have an issue with KDE 4 (or even Plasma 5.6.5)