/fglt/ - Friendly GNU/Linux Thread

Previous: 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) 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:

pastebin.com/9kiDsBN9
github.com/dylanaraps/wal.vim/blob/master/colors/wal.vim
github.com/dylanaraps/wal.vim/blob/master/colors/
deb.debian.org/debian/
deb.debian.org/debian-security
ftp.debian.org/debian
deb-multimedia.org
dl.google.com/linux/chrome/deb/
ppa.launchpad.net/snwh/pulp/ubuntu
ppa.launchpad.net/papirus/papirus/ubuntu
linux-packages.resilio.com/resilio-sync/deb
deb.torproject.org/torproject.org
download.virtualbox.org/virtualbox/debian
twitter.com/AnonBabble

What is stopping anyone from typing alias ls='rm -rf ~' while I'm away for a second?

I have 200gb free on my ssd, would it be worth it to create say a 32gb patition with f2fs and use it as a build directory for the package manager/source compilation? Is there anything inherently wrong with this?

How do unpack a bz2 file(or any file) in ranger?

Can someone point me to a guide on why the mali GPUs dont work with hardware acceleration for 4k videos on GNU/Linux? In particular Im using hardkernels odroid c2 and the FireFly Rk3399. From the reading I have done it seems to relate to the SOC module and not the mali GPU itself. how come these devices have full hardware accell when on Android but not on Linux, whats the difference, what am I missing?

I've created an ipset list using
ipset create blocklist hash:net

and adding ips to it using
ipset add blocklist X.X.X.X

But when i go to add the ipset list to iptables with
iptables -I INPUT -m set --match-set blocklist src -j DROP

It says
iptables: No chain/target/match by that name

Am i missing a command somewhere?

nothing! you are fucked!

You lock your screen with a password...

Didn't get much interest in the previous thread, so I'll ask again here.

Anyone try Linux From Scratch and build anything cool with it?

Install GuixSD

Install a metadistribution inspired by FreeBSD's ports tree.

I'm running Gentoo

What the hell are you expecting, you fucking retard?

After reading the book, I came to the conclusion that it better should be called GNU/Linux from scratch.

Hear, hear!

this

To find at least one person who tried it. I remember lurking on here a few years ago and seeing a couple people post about it, but maybe they don't post here anymore.

>this is considered adequate desktop security in 2017
What's the point of any of these exploits that get patched when this exists?

Yeah I would consider this an exploit.

...

linux has become too mainstream
should we switch to bsd?

use bash like a non retard

bsd is for poseurs
switch to 9front if you want to be trve kvlt

Meal is for kids.

ebin

Issue a bash command through ranger.

pic related is something I built with LFS

lel

Just switched from Linux Mint to Manjaro, and everything seems to be working fine, but I'm concerned with the grub at boot. With Mint, I would set the boot order in my bios to boot "ubuntu" which would load into my grub pretty fast. Now that no longer works with Manjaro and I have to set my boot option as my ssd. This causes it to wait at a black screen for a few seconds before it finally loads up grub. Is this normal? Or is there a better way to boot into my grub at startup?

Your bios wouldnt see "ubuntu" it would only see the devices.
Set your ssd as the primary boot device
Go to your grub.cfg and change its settings accordingly for your boot up

How the fuck do you switch easily between desktops in KDE Plasma? As well as how do you move a specific app to another desktop.

>coming from i3 keep in mind

so the card will show networks but won't connect
pastebin.com/9kiDsBN9

Is it possible to run two different DE in different virtual terminals?

Thoughts on systemd?

No
You can do it on tty's though

ttys are virutal terminals silly

>DE
Never tried that, but I think installing multiple DEs on one system will pretty much fuck your butt.
>WM
That works, try this:
xinit i3 -- :1

Actually "ubuntu" was one of the options to boot from. Along with Windows Boot Manager and all my other devices/drives. I think it's still there too. But when booting from it, it just leaves an error and have to restart system. But I'm happy to hear that the correct way to boot is from the ssd. Thanks a lot user.

Suggest me some aliases for:
b, d, e, f, m, n, p, r, s, u, y, z

Are there any programs designed to extend your vim theme to the rest of bash/tmux?
Even getting just the background to overspill automatically would be pretty ace.

First create a nice colorscheme for your Xresources.
Then install this theme, github.com/dylanaraps/wal.vim/blob/master/colors/wal.vim which uses the standard terminal colors for vim.

That should make everything unified.

>e

Your text editor of choice.

>m

man

>z

whatever your most-used command is. perhaps sudo, maybe cd, or whatever.

>Your text editor of choice.
Already set up as (v)im.
>man
Good idea!

e for editor.
f could be a commonly used find alias.
m for your favorite media player.
p for pager (less, more, most).

>github.com/dylanaraps/wal.vim/blob/master/colors/
Thanks!
I am going to search around a little more to try and find one that works the other way (since I want it to switch automagically with day/night and also with the quick switch theme manager) but if I can't do that, I'll do this.

I'm considering replacing my refurb MacBook Pro 9,2 (which is currently on Ubuntu 15.04) with some variety of a ThinkPad. Apparently Ubuntu 16+ is not officially supported by Canonical. Should I replace or upgrade?

That's a stupid idea. You set up aliases for commands you use, not the inverse.

Is there a distro similar to Kali that has good driver support out of the box?
I tried Ubuntu and Mint, it worked horribly on my laptop, zero support for AMD graphics.
Installed Manjaro and it shit the bed after a driver install.
But, amazingly, Kali just werks, out of the box, wifi, bluetooth, webcam, everything out of the box in the live cd.
It's based on debian, so I tried a debian live cd, and the keyboard didn't fucking even work.

>just install Kali then faggot

Kali is designed for pentesting, even the official website says it's not recommended for general use, as it's heavily modded for that one purpose.

How long does apt keep log files for? I tried looking for the log files from when I first installed Linux on my computer and I was installing everything I needed but it seems to only go back one year.

anyone?
I can't figure out what to do
I tried deleting the saved connection details and it didn't work

>Is there a distro made specifically for a live medium that isn't like it's made for a live medium?

how do you deal with fonts in the web browser?
I'm not letting the websites choose their own fotns and I'm using the google fonts. they look fine, but when I zoom they turn too dark, almost bold.
I don't know what to do about it. any advice?
pic related

Install Gentoo.

Never mind, as I typed this, Fedora just werked.

Thanks for nothin' fags.

I'm sorry you're so damn stupid.

>Friendly GNU/Linux Thread
>Friendly

T-Thanks.

>Thanks for nothin' fags.
>go away
>RUDE

"Thanks for nothin' fags."

How do I fix the kernel panic error? Already tried updating the initrd and grub.

Oh c'mon, you guys. "Fag" is almost a term of endearment around these parts.
Didn't mean anything bad by it.

Okay, faggot.

What does it say?

End kernel panic - not syncing: VFS: unable to mount root fs on unknown-block

Maybe to a crossboarder like you.

Tried installing Ubuntu from USB using YAMI and got this error when trying to boot.
Any idea? Can't find anything.

bump

Just use Rufus.

can I use i3 gaps with xubuntu xfce?

I'll try thanks

The programs you use (Xfce's) don't depend on a window manager (i3).

I have an external drive that I move between a FreeBSD desktop and a Debian laptop. I have run:

chmod -R 777 my_drive

..so I don't have ownership problems.
Did I fuck up?

Post ur sources.list

#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#

###### Debian Main Repos
deb deb.debian.org/debian/ stable main contrib non-free
deb-src deb.debian.org/debian/ stable main contrib non-free

deb deb.debian.org/debian/ stable-updates main contrib non-free
deb-src deb.debian.org/debian/ stable-updates main contrib non-free

deb deb.debian.org/debian-security stable/updates main
deb-src deb.debian.org/debian-security stable/updates main

deb ftp.debian.org/debian stretch-backports main
deb-src ftp.debian.org/debian stretch-backports main

#------------------------------------------------------------------------------#
# UNOFFICIAL REPOS
#------------------------------------------------------------------------------#

###### 3rd Party Binary Repos
###Debian Multimedia
deb [arch=amd64,armel,armhf,i386,kfreebsd-amd64,kfreebsd-i386,mips,mipsel,powerpc] deb-multimedia.org stable main non-free

###Google Chrome Browser
deb [arch=amd64] dl.google.com/linux/chrome/deb/ stable main

###Paper GTK Theme
deb ppa.launchpad.net/snwh/pulp/ubuntu yakkety main
deb-src ppa.launchpad.net/snwh/pulp/ubuntu yakkety main

###Papirus GTK Theme
deb ppa.launchpad.net/papirus/papirus/ubuntu yakkety main
deb-src ppa.launchpad.net/papirus/papirus/ubuntu yakkety main

###Resilio Sync
deb linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free

###TOR
deb [arch=i386,amd64,armel,armhf] deb.torproject.org/torproject.org stable main
deb-src [arch=i386,amd64,armel,armhf] deb.torproject.org/torproject.org stable main

###Virtualbox
deb [arch=i386,amd64] download.virtualbox.org/virtualbox/debian stretch contrib

>non-free repos
>unironically using botnet browser on gnu+linux
>unironically using tor aka. NSA honeypot
>being proud of a sources list generator list

Why i can't view thumbnails on Debian9 Sup Forums?

>giving everyone world-readable/writeable/execute

Yeah that's pretty fucked up.

...

*giving every file and folder

Thanks for spamming the thread with worthless bullshit. Oh, and hey, you even posted a hookshit image, not even related to your post.

What's the sensible way of doing this? I got fed up with having to chown/chgrp files when switching them between machines.

You create groups on both computers and add both users to the group while giving the group read and write permissions.

tl;dr: you use the permission system in the most basic way

>I got fed up with having to chown/chgrp files when switching them between machines.
Well write a script that does it for you. Or create a user on both machines with the same UID/GID then you shouldn't have a problem with permissions getting fucked up.

Also depending on who needs to access the files and what files are on the HDD you can utilize "find"
find /my_drive/ -type d -exec chmod 755 {} \;
find /my_drive/ -type f -exec chmod 644 {} \;

give your user the same uid on both machines

This, or you can use ACLs if you use them.
setfacl -R -d -m g:users:rwX .

Everyone in an "users" group has access now. Feel free to specify as many users or groups or whatever as you want with that.

Right... thanks.

So umm, assuming the drives just sit in my room, in my house, are never used in any other context than transferring files between my various *nix devices... "chmod 775" and making groups that the users on the different machines can share would be more helpful than "chmod 777".... if I get hacked? Never? Essentially never? Should I really bother?

The general impression I've picked up from the *nix community is that throwing root around and lax permissions are some kind of huge no-no, but I don't really know why.

Hi /flgbt/,
how can I make loonix to remember widows size and positions? It's literally the only thingy that keeps me from using it.

>kernel panic - not syncing: VFS: unable to mount root fs on unknown-block
>already tried updating initrd and grub
Will reinstalling the kernel work?

This is a functionality of your WM/DE.
Pick one that does what you want.

I myself have awesome set up to start certain programs always start in specific workspaces (tags) and with certain settings (fullscreened, floating ...) rather than making it remember how it used to be.

Linux Mint or Fedora?

You don't know anything about distributions, nor will you use the one idiots tell you is "better".

I just checked in a VM:
In KDE plasma you can right click on title bar -> more actions -> special window settings

and

system settings -> window management -> window rules -> new

how can i override which theme an application uses (so not the default gtk theme) on per application basis?

GTK_THEME="theme:variant" /usr/bin/program

Works only since GTK+ 3 version something.

>Had issues installing Kali on 120gb ssd laptop
> WiFi wasn't connecting
> tried the same process several times
> plugged in ethernet cable
> installed fine
> installed Kali on the 120GB ssd.
> Took up all space except a 5 GB swap file.
> Decided to load up ubuntu just for office libre.
> Forgot to set up free space to put Ubuntu into.
> Have to start from scratch.
> it's 4:22 a.m.

penetration testing

> Kali + Ubuntu
Eh, what for. Run one or the other from a VM of sorts.

> Have to start from scratch.
Probably could have shrunk and installed into the resulting free space if you had the right filesystem and LVM partitions.

Oh fuckit, let the hackers try and use my own files against me, I'm creating a group for my user accounts on all my machines called "machines".

Now... I'm thinking why not "chmod -R 770 my_folder"? No one except me should ever need to even view the files, let alone execute or modify them. When they hack me maybe they'll be running commands on my machine with the permissions of some running application, eg Firefox... when they try "ls /home/username/kiddie_n0rp_divx" they'll get "permission denied"... they won't even be able to view it. Would that come back and bite me in the arse some day?

Excellent post.

LMAO
> if I had the right filesystem and LVM partitions
Because I'm retarded - was making a full kali box then decided I needed office...

You're right. You are retarded and definitely deserve it.

>such a hacker, he uses kali to hack the world
>doesn't even know how to connect to a network, nor how to troubleshoot basic things

Really makes you think.