/fglt/ - Friendly GNU/Linux Thread

Previously 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 Mac.
3) Go balls deep and replace everything with GNU/Linux.

* Resources:
$ man
$ info
$ help

Your friendly neighborhood search engine:
Try to use a search engine that respects your privacy such as qwant, searx, ixquick or startpage.

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

What distro should you choose?
wiki.installgentoo.com/index.php/Babbies_First_Linux

Break out of the botnet:
prism-break.org/en/categories/gnu-linux/

Learn more about Free Software:
gnu.org

Try GNU GuixSD:
gnu.org/software/guix/

/fglt/'s website:
fglt.nl/

/fglt/'s copypasta collection:
p.teknik.io/oJR7K

Friends:
- /t/'s GNU/Linux Games
- /t/'s GNU/Linux Training Videos
- /wg/'s GNU/Linux Wallpapers (Part 2)
archive.nyafuu.org/wg/thread/6743571/ - /wg/'s GNU/Linux Wallpapers

Other urls found in this thread:

github.com/KittyKat/screenFetch.get
github.com/KittyKat/screenFetch.git
gnu.org/software/bash/
wiki.bash-hackers.org/
grymoire.com/Unix/index.html
mywiki.wooledge.org/BashFAQ
mywiki.wooledge.org/BashGuide
mywiki.wooledge.org/BashPitfalls
pement.org/sed/sed1line.txt
pement.org/awk/awk1line.txt
google.github.io/styleguide/shell.xml
linuxcommand.org/tlcl.php
commandlinefu.com/
shellcheck.net/
explainshell.com/
wiki.gentoo.org/wiki/Gentoo_Without_systemd
twitter.com/AnonBabble

Does anyone here run Nix OS? Does it take a lot of time to set it up and do simple tasks?

broadcom or atheros for best linux compatibility?

Broadcom is shit. Stay away. I can't speak for Atheros.

how can i fully encrypt my disk on a distro that doesn't give me that option on install?

VeraCrypt

Want to try my hand at gentoo. Is there absolutely any reason to use the hardened version? Does it make it significantly more complicated? should I first do a regular install and try hardened later on

Yo, i have to make a usb boot drive to go into my windows install and copy a lot of files to another hdd since my windows install has stopped working and nothing is working. What distro is best for this?

it really doesn't matter as long as it's easy to use. puppy linux probably because it won't take long to download.

atheros

Do a regular install first. Hardened doesn't have a desktop profile and you would have to fuck around with having an insanely long list of USE flags copied from a desktop profile.
You can also switch to hardened from a regular install but you'll have to recompile every single package on your system which will take ages if you have a shitty processor or have a lot of packages installed, shouldn't take that long though if you have a good one though.

>sudo yum install screenfetch
user is not a sudoer, this incident will be reported
log in as root
>echo 'user ALL=(ALL) ALL' >> /etc/sudoers
>sudo yum install screenfetch
no package screenfetch available
>git clone github.com/KittyKat/screenFetch.get
bash: git: command not found
holy fucking shit this is a fucking joke

>sudo yum install git
...
>>git clone github.com/KittyKat/screenFetch.git
fatal: HTTP request failed

E V E R Y D I S T R O I S S H I T A N D I T I S A L M O S T T W O T H O U S A N D A N D S E V E N T E E N

>page 5
nobody cares about gnu + linux ;_;

>yum
found your problem

I'm using handbrake, trying to rip an old dvd (bill bailey dandelion mind). When i select the dvd as source in handbrake it scans all the titles one by one and then does nothing as if ti failed. same for trying to play it in vlc, smplayer and mpv.

I read you cna install libdvd-pkg to make sure the encryption is being fucky so I did that, same problem. I can navigate to the dvd and look at the TS folders and such just fine, so the actual dvd hardware is working properly.

what do? this is in ubuntu.

allright I'm retarded, you need to install ubuntu restriced extras since you need a bunch of nonfree software to play dvds and whatnot.

I don't want to hear a smug word out of any of you fuken nerds either allright?

Anyone here creates/maintains Appimages? Where's the KDE Shill?

>Where's the KDE Shill
hopefully gone back to lebbit

Then you help me create an Appimage for KtechLab

I want to learn how to make basic scripts. I just switched over to Linux yesterday.

On windows there was a lot of pick up and go easy to use software that made making basic keystroke macros quite easy. But I can't find much on linux for it.

Should I just try and get autohotkey working with wine or what? I don't need to do anything more than hitting a key and having it type a sentence or two.

Python is a good scripting language

I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called "Linux", and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.

There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.

xdotool

The based GNU Bourne Again SHell:
gnu.org/software/bash/

The community driven BASH wiki:
wiki.bash-hackers.org/

The Grymoire - home for UNIX wizards:
grymoire.com/Unix/index.html

Greg's (also known as GreyCat's) wiki:
mywiki.wooledge.org/BashFAQ
mywiki.wooledge.org/BashGuide
mywiki.wooledge.org/BashPitfalls

SED and AWK; your new best friends:
pement.org/sed/sed1line.txt
pement.org/awk/awk1line.txt

Google's Shell Style Guide:
google.github.io/styleguide/shell.xml

The Linux Command Line - A Book By William Shotts:
linuxcommand.org/tlcl.php

Interesting, useful and dangerous one-liners:
commandlinefu.com/

Great online (and offline) linting tool:
shellcheck.net/

Know what you are doing:
explainshell.com/

The Grymoire and Greg's wiki is actually something everyone should read. Top content.

I have to read all of that to macro a sentence to a keystroke?

$ xdotool type "No, faggot. Install xdotool. Why don't you listen?"

>I want to learn how to make basic scripts
so I dropped the pasta, if you don't like it, gtfo fagget

how would I assign that to a specific key?

the same way you set other keyboard shortcuts in your WM/DE

Use whatever your DE ships or use xbindkeys.

oh fuck, thanks

this shit is going to be so useful for shit-posting

>he doesn't already have an interjection-hotkey

I'd recommend to use a individual program for personal hotkeys. Comfy when you're going to switch DEs or switch to a WM later, so you can keep your shit without reconfiguring everything. Makes ofc only sense when you have lots of hotkeys.

I'm trying to set up a fresh VPS on a new provider. The problem is that dhcpcd in Arch doesn't want to connect to the internet at all, but the prebuilt Ubuntu image has a working network configuration.
Can I copy it over somehow?

I have saved the /etc/network/interfaces file from Ubuntu, btw.

>Arch doesn't want to connect to the internet at all
That's normal.

I'm running into a problem where the hotkey won't work unless I press it multiple times, and even then sometimes it doesn't register the entire word/sentence.

Just using linux mint's keyboard shortcut system.

Try giving it a short sleep.


sh -c 'sleep 0.5 && xdotool "faggot"'
If it works, lower the sleep.

+type

Try using a non NSA provider.

that works, thanks

What's the best way to learn more about how Linux works? Installing Arch or is that just a meme?

Mainly want to learn more about command line and useful stuff like crontab and log files.

Installing Arch definately teaches you to get comfy with the terminal

nice meme
don't fall for arch

Hi team, complete linux noob here.
Recently swapped from ubuntu to fedora, because fuck ubuntu. After having installed fedora yesterday i decided to go for a celebratory wank, but to my surprise the videos wouldnt play, ive tried installing a few codecs to no avail. Any ideas on how i could get my online porn to work?

gentoo

Ur mum is a meme

why do you think using fedora deserves a "celebratory wank"?

>Freetard distros
Everytime kek

Install Korora

I don't need to justify my celebratory wanks to you, you're not my mum.

Let me explain.

The meme people are falling for:
>Arch Linux - A simple and lightweight Linux distribution

The reality:
Kernel bloated with literally all modules available, packages twice as huge as on other distros, the only lightweight thing on Arch is the non-existant installer.

Fedora isn't a freetard distro, pleb.

>Kernel bloated with literally all modules available,
Oh you again. Proves how boring your life is for actively springing on a specefic distro.

The kernel parameters can be set according to your autism spectrum before installation. Not that you would know because you never really installed Arch.

Employed people use a kernel that works.

>packages twice as huge as on other distros,

Wrong. I always give you a simple example: install screenfetch. It's just a bash script. However, debian decides to install scrot as a dependency. The repo of debian is bloated no matter what you do with your package manger, it's not going to change anything on debian repo servers.


>the only lightweight thing on Arch is the non-existant installer.
If you need an installer there is architect, arch anywhere and antergos.

Text installers are objectively far more flexible

It's one of those half assed freetard wannabe distros like debian that allow you to go non free

anyone ever use kali linux for anything? thoughts?

You don't know what you're talking about. You can install whatever you want on freetard distros; they don't "disallow" anything.

yum install git ;-3

delet this

how do I string together multiple commands in a single line with xdotool?

I'm trying to get it to send a key stroke after typing something, then start typing again

You will never know unless you tried it yourself.

Im using a cable to connect my internal ssd of a windows pc to my laptop running xubuntu (sata to usb) but its not showing up? What do i need to do

you guys are quite the jokesters

That wasn't a joke. Using an EU provider can cause this issue.

Nah, man. That was definitely a joke.

I ran lsubs and its showing up there, but not under file manager

But it wasn't. It's a known NSA bug

I'm using debian jessie.

I want to update to strecth, so I changes all instances of "jessie" sources.list to "stretch".

then

apt-get update
apt-get upgrade
apt-get dist-upgrade


Nothing happens. Nothing.

It marks a couple hundred packages as "obsolete" and basically does nothing.

I just need to route things correctly and write IPs properly, there's no bug involved.
Next time stick to "yo momma" jokes.

I have an AspireOne netbook. It has 4GB of RAM and 1.00ghz in processing power.

Should I put Lubuntu on it?
Ubuntu?

I can't decide what will work best for it.
>inb4 gentoo

Is Solus good?

No.

nvm, I did it myself.


Installing from unstable

Let's assume that we're running testing and we want to try enlightenment from unstable. There are basically two methods for installing:

# apt-get install enlightenment/unstable
# apt-get -t unstable install enlightenment

The first will not attempt to upgrade any packages on your system, so if specific dependencies are not met, the install will fail. The second method will attempt to install/upgrade any dependencies. Of course, given the above example, 'apt-get' will ask you before proceeding.


It's a meme, you dip.

xfce+devuan

Hey can anyone tell me how to make a keybind stick around?

If I run bind -x '"\eW":"/home/joaquim/Desktop/SSH"'
The shortcut Alt+Shift+W works during that terminal session but as soon as I close and reopen it I have to bind it again. This is just so I don't have to memorize a IP address desu. Anyone has a clue?

remove the -x and save the line into your bashrc

Thanks!

Install PCLinuxOS.

Not to mention they use systemd.

Into the trash they go.

kde neon or maui?
does anyone actually use either?

...

What good distros don't use systemd?
No seriously, I would love to switch

I'm currently on Arch, if it matters

Trisquel I think?

wiki.gentoo.org/wiki/Gentoo_Without_systemd

Devuan

PCLinuxOS

what package manager does this use

The fact that you're asking this question shows that you don't even know what systemd is or what it does. You just want to get rid of systemd because it's cool. Kill yourself.

APT with RPM

it's the init software the doesn't follow unix philosophy and is super fucking complex and involved with everything
something something red hat's biggest customer is the government something something backdoor
fucking kill yourself you stupid nigger

Stop trying, Lennart. You're not convincing anyone.

this

sometimes I think people just parrot what they read somewhere else in order to look tech literate

for example, this faggot right here:

>it's the init software the doesn't follow unix philosophy
how is this relevant? are you a mactard?

Lennart pls, you're not fooling anybody.

>install Mint to get away from Windows 10
>decide to try new DEs that's different from Windows layout
>end up just using Cinnamon

why can't i want to learn new things

because most des are shit

All those floating window managers are exactly the same essentially, differing only on accidents.

Learn to use a tiling window manager.

So basically

>Erlang applications store pipes in /tmp
>System-fucking-d deletes these files when they get to a certain age and my app dies
>I found I can edit a file in /usr/lib/tmpfiles.d and exclude /tmp/erl_pipes from getting fucked up
>Occasionally, an update resets this file and I'm fucked

How do I properly exclude this directory permanently?

>falling for le functional maymay XDDDD
Stop.