/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) 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.
*Many free software projects have active mailing lists.

$ man %command%
$ info %command%
$ %command% --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/
>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

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

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

Attached: kirk-and-spock-needs-quote.png (733x519, 392K)

Other urls found in this thread:

wiki.artixlinux.org/Main/Migration
pornhd.com/pornstars/
pornhd.com/pornstars/sasha-grey
developer.nvidia.com/nsight-graphics
github.com/baldurk/renderdoc
pornhub.com/webmasters/search?page=2&search=sasha grey'
stackoverflow.com/questions/1521462/looping-through-the-content-of-a-file-in-bash
github.com/LiveSplit/LiveSplitOne
one.livesplit.org/
github.com/icasdri/simpletimer
stackoverflow.com/questions/8352851/how-to-call-shell-script-from-another-shell-script
twitter.com/SFWRedditImages

Is it possible to remove systemd from an existing Arch install? Finding replacements for the init system and other things that systemd manages

>And the other things
Such as?

I don't know, which is why I'm asking instead of already doing it

Occasionally, fa/g/lords will sperg out about which distro is truly superior—usually Arch due to its "minimalism", Debian due to its "stability", Ubuntu due to its "ease of use", et cetera. All more or less incorrect, of course; Arch's kernel has an allyesconfig which is unnecessary bloat and counterarguments its self-proclaimed DIY nature, Debian's main meme is being ancient as all hell, and Ubuntu's everything generally sucks—from apt and its ways of handling dependencies to the varied degrees of bloat you get upon a fresh install. Yes, that includes Server as well for the most part. In comparison, Fedora is about as fresh as a distro can get.

Attached: Fedora-logo.svg.png (2000x2000, 112K)

Install Gentoo.

Attached: gendooooooooo.png (400x420, 21K)

Systemd starts and manages daemons.
You can easily make your own if you just want to start things and forget about them.
What are you trying to accomplish?
Replacing the evil systemd or learning about linux?

Yes, ideally I want to get rid of systemd
>Systemd starts and manages daemons
Is this the only thing it does on a stock Arch install? Just a daemon init system? Because I've heard of its scope creep

I don't understand graphical ssh. I'm running a GUI program on my server. I can use ssh -X to launch it and run it from my client. But I can't seem to use ssh to just view it when it's already remotely running. If that makes sense. I can work around it by using a full blown remote desktop program (VNC) but I'd rather not. How do I just use ssh to view the GUI of a program already running on my host computer?

Attached: _Futurama.S03E11.480p.DVDRip.x264-Sticky83_00:02:12.278_01.png (640x480, 207K)

How does one disable USB controller entirely? I want to use it in my VM (pci passtrough) and VM only.
I tried adding it's id to vfio-pci.ids kernel parameter, I tried unbinding it's driver and doing some other things. Nothing fucking works. Come on, it can't be this hard, right?
I tried disabling first and last one from this list with no success. I'd rather not pass the USB3 one, because it's nice to have it on the host.
IOMMU Group 10 00:1d.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1 [8086:8ca6]
IOMMU Group 4 00:14.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB xHCI Controller [8086:8cb1]
IOMMU Group 6 00:1a.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2 [8086:8cad]

wiki.artixlinux.org/Main/Migration

How does GNU/Linux avoid DNS spoofing and MITM like windows is prone to?

How crazy careful do I have to been if I'm self-hosting?

I really just want to host radicale for calendars + contacts to get away from Jewgle, and probably a Syncthing service to keep my Music and Documents synced across my devices.

I share house with other people though, I would have no issues getting a port forwarded on my router, I'm just afraid I'd be making my internet less secure for my roommates, or worst case scenerio I do something retarded and someone gets root access to my desktop.

Made a thread on accident meant to post here first oopsie

Attached: logo.png (200x300, 7K)

Why can't I run CS 1.6 with steam-runtime?
>crypto.cpp (1879) : Assertion Failed: rsaKey.IsValid()
Is it proton's issue?

Attached: 15502452392020.jpg (1280x960, 1.28M)

I don't think those are avoidable just by using gahnoo slash loonix. But you are free to run a DNS server of your own or use opennic.

why are you running a native game with proton/wine again?

absolute state of zoomers

it worked fine before they introduced proton

It definitely has nothing to do with proton even if the problem surfaced after they introduced it.
cs 1.6 has a native gnu/linux port, it does not use proton.

Just do the usual security you'd do on any server. Ultra basic, ultra primitive shit like changing the port to something uncommon does wonders from random chinese looking for vulnerable servers.

Can someone explain what a start/stop script is and the importance of init.d for a brainlet please? In terms of tasks I might do

init scripts are scripts that start services on your computer (network, clock sync, dbus, printing service, filesharing etc etc). They are usually located in /etc/init.d/. If your system runs systemd there are systemd .service files somewhere which do the same, in a bit different way. systemd can run init.d scripts too for the sake of compatibility.

start/stop are commands for those scrips like
/etc/init.d/proftpd start
starts the ftp server

This should be the official gentoo logo

Thanks - I'm reading about it and getting confused with the mishmash of init, systemd, upstart and sys V knowledge. It's easy to get carried away.

>install timeshift
>create a snapshot
>upgrade some packages
>snapshot disappears
The absolute state of free software

Best RSS feed reader for chromium?
This is just /sqt/ on Linux, isn't it?

How do I get girls to recognize the tastefulness of my rice?

Can anyone help me understand how to configure a kernel for installing Gentoo on my x201?
I failed two times and people will look at me if I use genkernel.

>heard of its
So you know nothing about it, you are a fucking retard who can't educate himself about things and who just wants instant edgy opinions so you can feel all smart about "technology"?
Fucking retard. Go post on /v/ or in the consumer electronic threads.

No, I'll stay here instead. You can go though

Take it easy Lennart, don't you have some issues to close?

It's what the thread title says.

i'd try it out it if it had a different name

I need your bash scripting powers. I'm unable to properly insert a function argument into a fragment of a command. Here's a minimum working example.

#!/usr/bin/env bash

# Save the script arguments.
model_name=$1
model_surname=$2


getModelLinks()
{

# These are the arguments
echo site_specific_url
echo $1
echo grep_filtering
echo $2
echo porn_site
echo $3

# Store the arguments.
site_specific_url=$1
grep_filtering=$2
porn_site=$3

model_url=$site_specific_url$model_name-$model_surname # Generate target url.

lynx_command="lynx -dump "
lynx_command+=$model_url
lynx_command+=$grep_filtering

echo "This is the lynx command"
echo lynx_command
echo $lynx_command


# Get video links.
# This is the problematic part.
lynx -dump "${model_url}" "${grep_filtering}" > playlist-raw-01.txt
# ERROR

# "${grep_filtering}" > playlist-raw-01.txt

# cat lynx-output-$model_name-$model_surname.txt "${grep_filtering}" > playlist-raw-01.txt


# lynx -dump '$model_url' '$grep_filtering' > playlist-raw-01.txt
# lynx -dump $model_url $grep_filtering > playlist-raw-01.txt
# Cleans up the list, removing the numbering, dots, spaces.
cut -d"." -f2- playlist-raw-01.txt > playlist-raw-02.txt
cut -d" " -f2- playlist-raw-02.txt > playlist-raw-03.txt
# Remove possible duplicate links and store it.
uniq playlist-raw-03.txt > $model_name-$model_surname-$porn_site.txt
rm playlist-raw-*.txt # Clean up buffer txt files.

}

# Calling the function"
getModelLinks "pornhd.com/pornstars/" " | grep videos | grep -v saved-videos " "pornhd"

use lsmod when youre on the live usb and make sure everything loaded is enabled in menuconfig/.config

And the output of the porn fetching function.

# OUTPUT
# [user@aus testing]$ ./mwe.sh sasha grey
# site_specific_url
# pornhd.com/pornstars/
# grep_filtering
# | grep videos | grep -v saved-videos
# porn_site
# pornhd
# This is the lynx command
# lynx_command
# lynx -dump pornhd.com/pornstars/sasha-grey | grep videos | grep -v saved-videos

# Looking up www.pornhd.com
# Making HTTPS connection to www.pornhd.com
# SSL callback:ok, preverify_ok=1, ssl_okay=0
# SSL callback:ok, preverify_ok=1, ssl_okay=0
# SSL callback:ok, preverify_ok=1, ssl_okay=0
# Verified connection to www.pornhd.com (cert=*.pornhd.com)
# Certificate issued by: /C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
# Secure 128-bit TLSv1.2 (ECDHE-RSA-AES128-GCM-SHA256) HTTP connection
# Sending HTTP request.
# HTTP request sent; waiting for response.
# HTTP/1.1 200 OK
# Data transfer complete
# Can't Access `file://localhost/media/Data/00/14-KoEC/00/mpv-handler-late-shows/porn/slutmaster-pornhd/test01/testing/|%20grep%20videos%20|%20grep%20-v%20saved-videos%20'
# Alert!: Unable to access document.

# lynx: Can't access startfile

lynx -dump "${model_url}" | grep "${grep_filtering}" > playlist-raw-01.txt
?

So you want a list of video links for a given model?

Here is an example for the final desired command.
lynx -dump pornhd.com/pornstars/sasha-grey | grep videos | grep -v saved-videos | grep -v '/category/' > playlist-raw-01.txt


Yes. I can type the command, but I don't know how to put the pieces together to build that lynx command and make it run properly.

Attached: 1541150547576.png (644x800, 15K)

No one talks about firewalls on gnu/linux

someone asks about it once in a while then gets told to use ufw.

Is ufw good? What is even the point

Why is i3bar using 11% of my RAM?
Am i using too many i3block 1 second refresh scripts?

OS: Arch
Program: enum4linux

So i keep receiving the following error message when enum4linux is run:

`WARNING: polenum.py is not in your path. Check that package is installed and your PATH is sane.`

The package `polenum` is definitely installed and yet I am still having this issue.
HELP!

ufw and its gui frontend gufw are the easy way to manage and configure a firewall
iptables is considered to be very advanced compared to ufw which is why most people suggest ufw over iptables.

You just gotta embrace the meme.

Just use firewalld and manage it from cockpit desu senpai

Got the answer. Hats off to /dpt/.
Fedora is great. You're missing out.

I don't really care that much about this but I'm curious: how come people only recently decided that yaourt is bad and insecure when it was the most used thing for years and years without anyone saying anything bad about it? seems weird nobody noticed beforehand if that was the case.

What's the goto now? pakku?

Read your error message, as you didnt do it the first time

ufw is a frontend for iptables.

ever wonder how people like him find this board?

'yay' seems to be the big one these days. I've used it myself in the past and it works really well.

pffsh...hahahah... heh kiddo, alright.. you've had you fun, now SCRAM!

Stop lowercase posting. This isn't Facebook.

It was shit the day it was published.It introduced errors that ONLY youart had,introducing a fuck ton of garbage for program developers that wasn't relevant to their program at all since yaourt fucked it up

what are those programs called that can take "snapshots" of opengl/directx contexts and allow you to inspect the matrices and framebuffers and such in the vram? Is there a good one for GNU?

If device drivers are part of the kernel, how does the kernel contain the ability to potentially support thousands of different devices?

developer.nvidia.com/nsight-graphics
here's an example to help better explain
I dont want to use proprietary software, but i will if i have to

Are there any graphic designers ITT? Which software do you use?

I really wanted to like Inkscape but it doesn't have the most intuitive interface. At least when I tried it last year.

Is there a good Adobe Illustrator/Affinity Designer alternative for linux?

Drivers can be excluded from the kernel or built as modules. Modules are only loaded on demand and can be unloaded per user request.
Also, one module may support hardware like the amdgpu module supports a lot of new radeon cards.

A lot of the drivers are generic rather than specialized for a device

How do you even undervolt/overclock a GPU on Linux? Just got a Vega 56 and would like to tweak that here. I could just boot into a Windows drive and try there if it's too much of a hassle.

After a bit of google myself, I found this
github.com/baldurk/renderdoc
will report back with results

Apparently passing the xHCI controller does the trick, but every single port goes to VM. So, I guess what I want is not possible on my motherboard?

Just use pornhub's API.
curl -ssL 'pornhub.com/webmasters/search?page=2&search=sasha grey' | jq -r '.videos[] .url'

I have another problem.
The function takes two arguments (name, surname).
I know how to iterate over the lines of a file*, but it doesn't seem to work. I tried cat with xargs as well, but it only gets the first line.

How can I run...
./the_script.sh aya addams
./the_script.sh bree daniels
./the_script.sh zoe voss

Given a txt file containing the names?
aya addams
bree daniels
zoe voss


This! Someone posted this ages ago, but I had misplaced the script.
Thanks a ton!

* Forgot the related question.
stackoverflow.com/questions/1521462/looping-through-the-content-of-a-file-in-bash

for those following the free movement as well, do you use a phone? And if so, which one? why that one?
I have a xiaomi (I know...) that just broke last week and during my time having it, i kind of strated liking the whole gnu, fsf philosophy, deleted windows, started using debian at home and at the office, but what about the phone?
I read about Replicant, but it has a small support of devices. Other ROMs i dont really know if they can be trusted.
But the idea of buying a new phone with all-google everywhere really scares me.
Im glad I convinced my closest friends to start using Signal app at least.
>/spg/
i could have posted it in smartphone thread, but they usually care only about specs and consumer choices, not ideologies.

How can i make the most bloatfree and optimal fedora install.

Alt how hard is it to install gentoo on a physical machine if ive never done it

What would you recommend for a simple stopwatch program that I can easily hook up to OBS for streams?

I want to get into speedrunning games on Linux, but the available options seem rather limited. There's LiveSplitOne, which is a rewrite of LiveSplit for Windows, but that one only works on the browser and thus can't be controlled through global hotkeys

github.com/LiveSplit/LiveSplitOne
one.livesplit.org/

I looked around, but I couldn't seem to find better options. The simpler, the better, honestly. As long as it is easy to edit time splits, have it use global hotkeys, and it's easy to hook up to OBS, I'll be sold.

Pls respond, wizard friends.

Attached: 1536792066752.jpg (921x640, 100K)

github.com/icasdri/simpletimer

Oh shit, you guys exist.
I gave up and went to Windows after seeing the absolute state of the OBS package on Debian Sid. Tried building it too and even after no errors pop up during compilation, it refuses to start up.

You should be able to just replace the echo in that example with your script. I think you might get the names as a single arg with a space instead of two args. But I think you should fix your script anyway, because some people might only use a single name.

Vulkan logic dictates "it works on my system"

Weird you mention that, I'm on Debian Sid and use the obs-studio package just fine, haven't had any problems with it so far. What issues did you have?

I've set the ldc filter do default, but I still have color fringing.
Is there anything that can be done about this? It's driving me insane.

>Occasionally, fa/g/lords will sperg out about which distro is truly superior—usually Arch due to its "minimalism", Debian due to its "stability", Ubuntu due to its "ease of use", et cetera. All more or less incorrect, of course; Arch's kernel has an allyesconfig which is unnecessary bloat and counterarguments its self-proclaimed DIY nature, Debian's main meme is being ancient as all hell, and Ubuntu's everything generally sucks—from apt and its ways of handling dependencies to the varied degrees of bloat you get upon a fresh install. Yes, that includes Server as well for the most part. In comparison, Fedora is about as fresh as a distro can get.

I use fedora pretty much for everything other than my database server (Debian).

I have a problem with my Lenovo y510p laptop. My input audio is crap. I don't think my mic hardware is bad. I just have tons of static. I think some configuration somewhere is wrong. What do you think it is?

Also, how often do I need to reboot a fedora server? Every time there is a kernel update?

Attached: 29yyvefr1ne21.jpg (1200x1800, 242K)

I can stream on it just fine. The problem is missing hardware encoders and basic shit like browser integration unless I'm missing something and I can incorporate the latter without building from scratch.

Yes, I would be missing stoya, yihvi, etc. But I don't want to do it all in one sitting.
There's no echo in that script. There's no script in the last post. Just me running each line one by one.
Maybe I can simply concatenate every line of the file with "./the_script " and eval it? I will continue tomorrow.

Wait. I misunderstood you. No, it doesn't work simply replacing it. But anyway, I will work on it tomorrow. Feel free to reply if you already have an answer. I feel a bit silly for not figuring it out.

I have browser integration on my OBS without building it from scratch, just the normal debian sid package

Attached: 2019-02-15-163158_1920x1080_scrot.png (336x91, 12K)

Like all smart-things, smartphones are botnet by design, because of the baseband and the preinstalled spyware. The minimum you can do is limiting the spying by using a firewall (netguard or afwall), not using gapps, using fdroid, aurora store or yalp to get apps.

There's a privacy focussed phone running a real GNU/Linux system made by purism, but it isn't ready yet. It looks really promising, tho.

>hardware encoders
You have to install a recent version of cuda, i dont know how restricted you are on debian in regards to cuda but you need it and nvdec nvenc.
If you cant use it from the main package , get on a non cucked distro that dosent limit you from doing things that you want on your own fucking computer.

Cuda works fine on debian

I was referring to the answer in the stack overflow you linked, but you seem to have figured that out.
Maybe see if anything here helps stackoverflow.com/questions/8352851/how-to-call-shell-script-from-another-shell-script

while read -r slut; do
myscript "$slut'
done < sluts.txt

s/'/"

Doesn't seem to offer global hotkeys or split support

>was an Ubuntu and Mint user for the longest time
>after Mint install got fucked because of missing dependencies for drivers I tried to install (???), said fuck it
>I'm gonna try Debian
>everything just works, sable as fuck
>everything is faster, laptop is more power efficient
>missing dependencies much less often
>everything just works

What's the point of Ubuntu and Ububtu-based distros again?

Nonfree software handholding.

Then you could have x264 hwaccel options in obs :)

Attached: 1.png (679x38, 1K)

Then I don't know what the fuck is happening here. My sources don't include a browser option.

You have to use THE LATEST to get those features bro. Not some 5 year outdated piece of shit that debian pimps in their shitty repo's

Have you been following the string of replies? We're both on Debian Sid using the obs package from the repos. That is, unless user is on some experimental shit.

All i can tell you is that browser support in obs in linux is a very recent addition, and unless you have the latest version of obs, you will be lacking these features.
I dont run debian so i dont have ot deal with their religious bullshit in my system repo's, but alas you do and im telling youu

Yes and that's OK. I build things from time to time when the maintainers are slacking.