/fglt/ - Friendly GNU/Linux Thread

old: 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 neighborhood search engine.

$ man %command%
$ info %command%
$ help %command%
$ %command% -h
$ %command% --help

Don't know what to look for?
$ apropos %something%

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

Sup 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/
bropages.org/
>Where can I learn the command line?
mywiki.wooledge.org/BashGuide
grymoire.com/Unix/
>Where can I learn more about Free Software?
gnu.org/philosophy/philosophy.html
>How to break out of the botnet?
prism-break.org/en/categories/gnu-linux

/t/'s GNU/Linux Games: →

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

Other urls found in this thread:

github.com/powerline/powerline
github.com/bhilburn/powerlevel9k
ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-087-practical-programming-in-c-january-iap-2010/lecture-notes/MIT6_087IAP10_lec01.pdf
twitter.com/NSFWRedditVideo

Gnu is for communists

Quick question before I switch to Linux. How many times does Linux have meltdowns like Stallman?

I see people having "arrow" things around portions of their terminal text. Is that zsh+oh-my-zsh+powerlevel9k? Is oh-my-zsh wanted/needed even?

>Is oh-my-zsh wanted/needed even?
Only if you're lazy and cant do it manually

systemd is a cia nigger backdoor

okay, I've only used bash so far and I've been wanting to try something else out. Thanks for the help!

If you're talking about powerline you don't need oh-my-zsh, you don't even need zsh it's available in bash too. It's just an over the top prompt.

WE NEED A /gnu/ BOARD

I'm talking about whatever the arrow blocks are in stuff this screenshot, in the lower right window

In 5 years of using Linux only I've had my entire system crash twice. One was due to hardware issues and the other some kind of issue in 3rd party code.

I've had my system break a couple of times after updates but most of the time it has been an easy fix.

is being root all the time a bad idea?

yes. it is a horrible idea.

Yes

Can confirm. Android is pretty stable.

Isn't that Emacs?

What partition scheme in Rufus should I use to make a USB install drive for Debian?
MBR Partition scheme for BIOS or UEFI
MBR for UEFI
or GPT for UEFI?

I'm not asking about the program itself, but about the arrow block things that are in the bottom. Here it is in neovim. The closest thing I've found based off of what the other user said and my own initial searches was either powerline
github.com/powerline/powerline
or powerlevel9k
github.com/bhilburn/powerlevel9k
and I'm trying to figure out what it is in general, since it's apparently in emacs, neovim, bash, zsh, etc.

Yeah that's powerline.

github.com/powerline/powerline

It's a riced status line or prompt available in many programs.

As for what it does, have you seen a desktop with conky or rainmeter displaying a bunch of information you don't actually need on your desktop like cpu/ram/disk usage? It's kind of like that for the terminal.

but why

gotcha. I thought it was interesting but if it's just extra info I might hold off on it. Thanks again for the help!

void for laptops, gentoo for desktops, alpine for routers, is this correct? what should I use for a network fileserver?

Whatever the fuck you want, it makes very little difference.

>is this correct
yes
>what should I use for a network fileserver?
free bsd

Well, first off, you're going to need to adjust your computer's BIOS/UEFI anyway so that it'll prioritize booting from the USB drive over the hard drive. (When you first turn your computer on, it'll say something like "Press F2 to enter setup mode"; that's how you edit boot priority.)
Once you know whether your computer has BIOS or UEFI, you can move forward from there. (BIOS only supports MBR, and if you have UEFI you'll probably want to use GPT.)

i've noticed that depending on the distro, vim has different settings enabled. i had to disable some settings in slackware and thought maybe there was a global vimrc that i could just delete. is it just compiled with certain options?

What is that random image at the end of Comments?
What font do I need to install to fix it?

ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-087-practical-programming-in-c-january-iap-2010/lecture-notes/MIT6_087IAP10_lec01.pdf

probably some kind of whitespace character

On a fresh install of no-DE Debian, I accidentally installed i3 before xinit, will that cause any problems?

i3 should have pulled in X as a dependency

It might be compiled with different features enabled, you can view it with vim --version.

Also yeah there is usually a system wide vimrc in /etc. Although I don't think package maintainers would do any global configuration that would break stuff. If you absolutely need to set something=..., it's probably best to do it in your personal vimrc so that /etc/vimrc has no influence on it.

Did you open it up in chrome, or in firefox?

evince

E000 in unicode is the start of the private use range. I think your website was supposed to supply a font that has glyph that maps to that.

Maybe you have browser setting/extension that blocked it.

Or in the case of evince, it might not even support loading a third party font.

The problem is occuring for me in Firefox. In everything else it loads properly. I reported the problem to mozilla.

on the subject of pdf viewers. Evince vs Okular?

mupdf

newer used okular but i like evince

qpdfview. Literally great-tier, fairly featured, yet not as heavy in dependencies or size.

Principle of least privilege.

Programs take your permission, so if you're root, they can do anything/everything they want.

Consider, at the most minimal, a problem with vim: unless you do some configuring, the moment you do "sudo vim" successfully, you can run any program you want through vim.

How do I deGNUify my GNU/Linux?

sudo rm -rf --no-preserve-root /$GNU
Then install busybox and you're fine.

I just fresh installed emacs with aptitude, and attempted to open the i3 config file with it. Upon doing so, I got an error that stated
(emacs:1291): GConf-WARNING **: Client failed to connect to the D-Bus daemon:
/usr/bin/dbus-launch terminated abnormally without any error message
that repeated 6 times.
Did I miss something in the install? This is my first time using emacs.

>tabbed pdfs
Nice, installed.
I like it too. It has a nice clean aesthetic
Not for me.

never it just werks until it melts that's why servers run it

powerline but it's slow

because root has rw to all

i thought the same for ubuntu and it did in vbox but on the real thing it didn't

>page 7
GNU/Bump

I prefer okukar.
I really like that it can open most documents.
I started to use it with LaTeX. Running pdflatex means the file gets updated and okular just show the new version in the same position as you were before.
Sometimes I store images in a program and using okular, they all get updated without me having to do anything.

whats the state of playing games via a windows VM? i want to switch to linux but still want to be able to play games occasionally (single player stuff 99% of the time)

also i have a 2600k, apparently vt-d is disabled for k processors, does this fuck me?

*GNU/Linux

You can run games without big graphic deps (most notably ancient non-unicode games) inside windows VMs.
For more demanding games you need a native port, good wine support or PCI-e passthrou which your computer doesn't support. Basic Intel-V already makes your virtual machines run at almost native speeds, the only problem is graphics. Virutalbox offers 3D acceleration for certain windows guests.

Install Buster directly from netinstall or use the stable netinstall and upgrade after?

buster directly from its netinstall, it should work without problems for testing.

why is arch not regarded as just werks? You can install easily using user scripts, then you download whatever you want from the AUR.
In Ubuntu, I found myself needing to add the PPA keys to certain programs.

Can I get an You for testing purposes?

...

@63970007
no

What are THE ultimate flags?

So far I have have these C(XX)flags for performance
>-Ofast -march=native -ffunction-sections -fdata-sections -fno-plt -fomit-frame-pointer -fgcse-sm -fgcse-las -fgcse-after-reload -fsched-pressure -fsched-spec-load -fmodulo-sched -fmodulo-sched-allow-regmoves -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -fivopts -ftree-parallelize-loops=12 -fopenmp -D_GLIBCXX_PARALLEL -flto=12

LDFLAGS
>-Wl,-z,relro,-z,now,-z,combreloc,--sort-common,--as-needed,--gc-sections,-O1,--hash-style=gnu,-fuse-ld=gold,-flto

For hardening I add
>-D_FORTIFY_SOURCE=2 -fstack-protector-all -fstack-check
to C(XX)FLAGS and
>-z,noexecstack
to LDFLAGS

And yeah obviously if something doesn't work I downgrade or remove it.

Have I reached max autism already or is there more to be done?

>tfw not using anything besides "-O2 -pipe -march=native"

Am I missing out?

No idea. I should probably learn how to use some profiling tool so I can measure the performance impact.

I know right. I wish I didn't wipe my 32bit install. If I only knew what a deb/untu shit show I was in for.
>never use netiso never
>always test in live cd

Discord is using way too much CPU time. Apparently it keeps polling for pulseaudio or something. How do I keep it in line, ideally without installing anything new? I was hoping there would already be tools on this machine for the task.
Adjusting nice values won't work, as the machine doesn't have any other running processes that will reserve the CPU time.
I am using a fairly new gentoo install.

distcc can't into -march=native so expanding it out is required, other than that i.e funroll-loops sillyness makes no sense globally and on a case to case basis (can be set up via package.env) you really need to decide is the time benchmarking and tweaking the CFLAGS worth the possible performance increase.

next step: profile-guided optimization

Mhmmmm.

How i can make backup of my gnome config?

I'm having trouble launching some programs because my locale is set to Japanese. It says I require a UTF-8 locale, yet I get this
$env | grep "^LANG="
LANG=ja_JP.UTF-8

Does this mean I cannot use anything other than English as my language?

add en us utf-8 too?

Why aren't you using the web version, wasn't the client spyware?

A gsettings command?

Installing Debian in a dual boot with Windows on two separate drives, they're both currently using NTFS. Do I need to format the Debian drive with ext4 before starting the installation or will it do that automatically?

>add en us utf-8 too?
How? I was under the impression you could only have one language

Why not O3?

Should be able to format as ext4 in the installer.

how long does ext4lazyinit take to setup a 3TB LUKS drive

IS it ok to start writing huge amounts of data to it before it finishes?

>ext4lazyinit
The fuck is this?

Aight thanks

it's a 'lazy' initilization of an ext4 partition because it slowly initilizes something (can be seen on iotop at maybe up to 12 or 16mb/sec) instead of making you wait until it finishes to use it

This might sound stupid, but is there a resource to learn IRC?

Optimus on Linux when?

>tfw trying to do a minimalistic xfce4 debian install and failing horribly
I don't know if I'm autistic enough for this, I just don't understand all this xorg shit. Though at the same time I'm autistic enough to care about not having GPU drivers of every possibly vendor installed when I just have a radeon card in my system, or installing a bunch of default applications I will never use.

lmao just install xubongo minimal

Probably will, though that will only get rid of a lot of default applications.

I heard even barely noticeable/borderline meme.

yes, bash "how to irc" in any search engine and check the first few links.

nvidia? is is

What's the best graphic card for linux when using open source drivers?

Just switched to Linux because I've had enough of Windows 10's shit.

keepassx or keepassxc?

...

What does the C stand for in KeePassXC? Cuck?

amd has the best open source drivers and the best card they have right now is the vega 56
64 is only marginally better for $100 more. 56 can reach 64 performance if you overclock it.

Keepassx is not maintained anymore I think, which in turn spawned KeepassXC. I'd use the latter.

Just use pass

If you have a file on tmpfs, say on /run/shm/, will calling $ mv /run/shm/file file copy it to disk, or will it remain in tmpfs?

Thanks, does it use any binary-blobs?

>man mv

move moves the file for real.

Community, ya Sup Forumsboy.

Not if it's the same filesystem. $ mv file1 file2 won't copy anything, just rename file1 in the filesystem while still pointing to the same data on disk. I don't know how tmpfs is viewed though which is why I'm asking

Why do you think it would be any different?

Is there any distro that doesn't run like trash on a Pentium D? Windows 7 runs just fine at 5% CPU usage on idle even with Aero enabled.

I don't know, just paranoia. I guess it's not possible to point a hardlink to another filesystem, so it should copy

Install Gentoo