/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[*].

Previous thread: 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.

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

>What's the alternative for x?
alternativeto.net
linuxalt.com
Search for software by category:
linuxlinks.com/Software
directory.fsf.org/wiki/Main_Page

News:
phoronix.com
webupd8.org
linuxjournal.com
lwn.net
Gaming news:
gamingonlinux.com
linuxgameconsortium.com

/t/'s GNU/Linux Games: /t/'s GNU/Linux Training Videos: * Resources:
Your friendly neighborhood search engine
(try to use a search engine that respects your privacy such as qwant, searx, ixquick or startpage)
$ man
$ info
$ --help
Don't know what to look for?
$ apropos

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

Learn the command line:
linuxcommand.org/tlcl.php

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

Learn more about Free Software:
gnu.org

Sup Forums's Wiki on GNU/Linux:
wiki.installgentoo.com/index.php/Category:GNU/Linux

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

Other urls found in this thread:

sparkylinux.org/lumina-desktop/
opensource.googleblog.com/2017/03/python-fire-command-line.html
gnulinux.org/
rcn-ee.net/
gnu.org/software/shepherd/
github.com/RobertCNelson/stable-kernel
twitter.com/AnonBabble

I like your drawing

2nd for I like your drawing.

I have made the stupidest mistake I probably ever will, so hopefully someone here will extend a hand for a retarded user.

I'm using KDE, and was just messing around in the settings, hoping to make the title bars transparent somehow. I was in
> System settings -> Window Management -> Window Rules

was making a new behaviour, and the only thing I was changing was in the tab "Appearance & Fixes". I had checked
"Active opacity" - "Force" - 50%.

I applied and saw that this made the entire window partially transparent, which I definitely didn't want, so I deleted the rule and applied again. However, that did not revert the transparency. Deleting caused no change.

So I made a new rule, checking the same box and stuff, but this time I had a brain fart and set the opacity percentage to **0%** instead. I applied, and the windows I had open started disappearing.

How do I fix this? I can still log in to a guest account I set up, and it is obviously not affected by this rule that I set up in my main account. Is there some file I can edit as super user? Where is it, and what should I change?

Ian got what he deserved, we need more good officers like that they did to Ian. Don't act like a nigger and police won't have to use force.

Also, I agree, breddy gewd drawing

Never mind, I also asked on reddit, and some wizard already helped me out.

some fag asked in the prev thread why can't he view the manpage of gcc in debian.

answer: the documentation of gcc is under a license which doesn't comply with the DFSG (debian free software guidelines), so the documentation is under the non-free section of the debian package management and non-free needs to be enabled manually.

...

Hey Sup Forums, what's the best lightweight and user-friendly distro for daily use?

Ian is a nigger, glad he's dead. A cuck just like his SJW distribution.

Sparky with Lumina!

sparkylinux.org/lumina-desktop/

Devuan Project could have saved him, I think.

Junior SysAd here.
>boss using RHEL
>wants to remove sudo when he type administrative commands
>change uid and gid to 0
>gets mad because it's root but it's his account
Fucking why? i did my fucking job.

>le olde edgy sjw hate meeeeeem
Please stop already. If you're trying to be funny, it's not working. If you're not being ironic and really like social injustice so much, then just kill yourself.

>implying there is any social injustice in 1st world countries

if anything mens rights are worse than womens

You should have stayed in school.

>3rd world countries dont give access to education
surprise

I am looking to switch and do the GPU passthrough thing so that I can still use my games. Couple of questions

1. Should I get another inexpensive GPU to use with linux, or is it ok to just use my integrated graphics for that?

2. Is there a way I can get both of my monitors to work with linux, then only switch one to linux? I see a lot of people with a dedicated windows monitor, but I do not have enough monitors to do that.

No such thing as police brutality, cuck. Ian killed himself like a pussy.

wew, thanks google?

>Today we are pleased to announce the open-sourcing of Python Fire. Python Fire generates command line interfaces (CLIs) from any Python code. Simply call the Fire function in any Python program to automatically turn that program into a CLI. The library is available from pypi via `pip install fire`, and the source is available on GitHub.
opensource.googleblog.com/2017/03/python-fire-command-line.html

that gnu looks so smug. love it.

1. If your integrated "card" is good enough (so you can get dank graphic acceleration and hw assisted video playback) then using that for linux is completely fine
2. if you use the same connection for both of your cards: get a switch, there are plenty of hdmi/vga/dvi switches to choose from. If you use completely different connectors (like VGA from integrated, HDMI from dedicated) you can just use the input switch button on your monitor.

It's a 6600k. Is the integrated enough for 2 monitors?

If it is enough now, it will be enough then.

wew

lol gnulinux.org/

I don't use it now, I use my RX480 for all my windows stuff. I want to switch to the GPU Passthrough so that the 480 is used for my windows VM and my integrated handles linux

You should try it then and do some tests how well it performs (since you won't play from gahnoo slash loonix, it should do well). The only concern is that does the integrated card has enough outputs, or if you have two digital input monitors, does it have to digital outputs (two hdmi or hdmi+dvi so you won't have to resort to VGA in year of the lord 2017)

ps. checked

How does it work in practice? At some point the code executes an instance of the Python interpreter and the rest of the program halts? For debugging?

My motherboard has 1 VGA, 1HDMI, and one DVI. Question though, whats wrong with VGA? It can handle 1080/60, no?

VGA was not designed for digital monitors. Minor problems with your VGA cable can result in blur image/random horizontal lines on your screen etc.

But since you have two digital outputs (dvi and hdmi) you should be fine.

oh interesting.

thanks for all your help user

I need a distro for school computer and for my desktop. I'm considering Fedora, Debian, or Arch/Antegross. What would you guys recommend? Maybe something else?

Is there a way to make top vanish after using it like htop?

Sorta
>top;clear

tput smcup; top -c; tput rmcup

smcup saves the screen
rmcup restores the screen

fedora tbqh famalad

ty
neat

i just finished backing up my school computer and am ready to switch

please help

why?

There is literally no reason to use top over htop.

just werks

Nice meme, OP.

Ok. MATE, Xfce, or KDE?

just pick whatever looks and feels good to you

Protip: tput in scripts is pretty slow, you can also send the escape sequences directly like this:

printf '\e[?47h'; top -c; printf '\e[?47l'

In a single run, you woun't feel a difference, but:

$ time for i in {0..100}; { printf '\e[?47h'; printf 'foo\n'; printf '\e[?47l'; }
real:0m0.027s
user:0m0.008s
sys:0m0.000s

$ time for i in {0..100}; { tput smcup; printf 'foo\n'; tput rmcup; }
real:0m0.759s
user:0m0.012s
sys:0m0.064s


Except when you don't want to install an additional program?

i dont know

ive only ever used GNOME and Unity

I didn't like Unity

(checked)

Hey guys, look at this function I just came up with to kill some process:

#!/bin/sh

functon kill_it {
if [ -n "${1}" ]; then
ps -A | grep -Fi "${1}" | sed -e 's/^ \?\([[:digit:]]\+\).*$/\1/g' | xargs kill
else
echo 'Usage: '"${0}"' process'
fi;
}


What do you think about it?

A little mistake in the regexp: it should be
's/^ *\([[:digit:]]\+\).*$/' # etc. (notice the * instead of \?)

so why not stick with gnome? if you think it's bloated then just use gnome shell and build around that instead of full on gnome

man pkill

>all those so-called "first world" countries below the OECD average
Yeah, keep pretending there's no social injustice in the so-called "first world".

Added bonus: notice how most countries at the top are socialist.

What is a commandline program that you have used in an unconventional or unintended way?

I recently found out that curl understands file://, which makes it possible to curl local files around - tl;dr cp with progressbar:

ccp() { -# "file://$1" -o "$2"; }

ccp() { curl -# "file://$1" -o "$2"; }

*

we had in the last thread some self-made cli epub/pdf viewers, have a look

cat file | grep stuff

:^)

>not grep stuff file

i guess everyone did it in the beginning
the question is why

>i want to print file to stdout (cat), but only want specific stuff (grep)
>brain: ok, $ cat file | grep specific stuff

are you a rm -rf guy or a rm -fr guy?

dont you have a rally to go to

Arch Linux is just a stepping stone.

rm -fr

· Characters must be in alphanumeric order
· Uppercase first, then lowercase
· If $program provides a long option, but no short option, the long option comes first
· If $program provides long options and short options, only long options are allowed in scripts, only short options when interactive

for what

Let's discuss systemd.

for gentoo, then on to lfs

Source Mage GNU/Linux.

reposting old question:
Does anyone know what is this kernel patch?
rcn-ee.net/
I've seen it applied on some arm distributions for SBCs like the raspberry pi.

That's a funny way to spell "installfest".

There's nothing to discuss, it's a hot steaming pile of garbage. Use GNU Shepherd.

gnu.org/software/shepherd/

hey Sup Forums, what's the best lightweight and userfrienldy init for daily use?

the goatreich

valhalla

Whats the difference between KDE and Astronomy KDE?

systemd

systemd

OpenRC

upstart

launchd

What's so bad about systemd?

You can send notifications with xclock like this:

xclock -d -strftime 'Ur a huge fagget.'

Works for all programs that accept date/time formatting like date.

date +'Ur a fagget.'

runit

What's so bad about systemd?

What's so bad about systemd?

What's so bad about systemd?

What's so bad about systemd?

what's wrong with systemd?

you tell me

looks like a kernel optimized for ARM devices which are not in mainline.

github.com/RobertCNelson/stable-kernel

nothing I suppose

why are people so anal about running the latest kernel when lts kernels run just good?

something I suppose

>not awk '/regex/' file

If you're gonna escape that much, why not just use -r?

the latest kernel usually have support for brand new hardware (even if it's just in staging) or improved support for relatively new, but not the absolutely latest hardware.
Simple example: it adds support for gtx 1080 and improves power management and adds extra 3D acceleration support for 970

newer kernels often fix bugs or security flaws

What's good about systemd?

doesn't matter when the kernel runs with the current hardware just fine
older kernels get patches
less work

Just switched back from awesome to i3.
Is there a better dmenu alternative?

dmenu2 is the best so far while keeping things simple, the next step would be using rofi