/fglt/ - Friendly GNU/Linux Thread

Last 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:

twitter.com/WilliamShatner/status/942966660356435968
youtube.com/watch?v=umQL37AC_YM
twitter.com/SFWRedditVideos

is pop_os a gay meme?

And here we are with fedora, installed in under 20 minutes, works perfectly out of the box, dual screen, all my hardware is detected, nice default theme Launches a config tool at first boot so i can configure my system in a few minutes and can focus on installing software instead of fixing what should be working in the first place.

No wonder why mainstream distro are, you know, mainstream...

First for freedom.

It's Ubuntu, but with fewer packages installed.

>tfw can't install guixsd

Can someone help me with MPD and NCMPCPP?

I can't change the volume, it says "MPD: Problems setting volume"

I'm running Gentoo GNU/Linux and pulseaudio

>gnome

>implying gnome isn't the best DE out there
get out of this subreddit

Running: 17.10 Xubuntu on Lenovo T440s

I did a sudo apt-get update earlier. I've rebooted since then and my panels and whisker menu won't load ever. My xfce terminal is not listed in the software gui when I open it with alt+f4. When I log into root through the gui I get this error:

mesg: ttyname failed: inappropriate ioctl for device. As a result session will not be configured correctly. You should fix the problem as soon as feasible.

OK so Im new with all this linux stuff and I installed debian netinst amd I cant get this little shit to work ( pic related)
Neither the microphone nor the headphones are recognized

Shouldve sticked with windows desu I keep running across problems all the fucking time

Dont use usb, plug them straight in.
install pavucontrol
launch pavucontrol
check settings

Im using usb because I dont have a mic slot in my laptop
Can I not use usb in linux or what?

Depends on what device you got, if it isnt a popular device it most likely wont work because there is no incentive to work on drivers for something no one uses.

Try the headset one by its self and see if the system finds it as i mentioned before.

What do you mean "the headset one"?
Its a separate mic and headphones, like I said my laptop doesnt have a mic slot

>like I said my laptop doesnt have a
So plug in the headset...

Wait. Ive been planning on buying a DAC. Will linux recognize it or not?

The headphones are recognized by my system if I plug them in directly
I want to use my mic though

type "lsusb" and post the results here

...

Help

What really happens when you check that 'Proprietary drivers for WiFi, codecs(...)' box during installation?
It still detects my WiFi and it doesnt even activate the proprietary driver for the graphics card, it loads nouveau.

>install fedora kde on my laptop 3 weeks ago (been running Ubuntu on my desktop for months now)
>software center is buggy, won't install rpm files
>keeps overwriting my default browser (iridium) with the KDE browser every startup
>same thing with mpv
>installing software almost always ends up with me having to spend 15+ minutes compiling from source and searching for dependencies
>comes with all kinds of dumb shit pre-installed but doesn't even have gcc and some other essential stuff
Why is this supposed to be better than Ubuntu? I just want a nice looking Unix-like OS I can use to watch streams, compile/write my Java, C, and C++ code, and just use for school shit. Like it doesn't have to "just werk" but I don't really want to spend half an hour installing a program when in Ubuntu I can just write
sudo apt-get install mpv
What's the point of bleeding edge? I like Ubuntu and wanted to try out another distro, but this just seems needlessly complex and tedious.

Sry I forgot to add in the biggest thing is that I understand that it's not supposed to be as simple as Ubuntu, but I feel like for half the things I try to do, I have to research online for 10+ minutes for a solution. Almost everyday I get this. Maybe it's just my inexperience, but it really is getting old

Hey just wanna know what's the destop interface installed on Arch here
thx

The way you are setting the default applications must be wrong.
Check out the arch wiki about the topic to get the overview.
If you rely on a lot of software that isn't in the distribution, you are using a wrong distribution.
If you need specific versions of certain things, then compiling makes sense.
>doesn't come with a compiler.
Neither does ubuntu.
I talked to some representatives from canonical about that back in 2007 as I meant it was contradictory to have an "easy to use" distro and not include a compiler.
The response was that they aim to make easy through the packages they provide. Programming is a special use case and they do provide packages for that, but it is not common enough to be the default use case.
Programmers should know how to install the specific tools they need.

the first one is i3 and the second is probably dwm or bspwm

Post your linux distro journey, guys. I'll start:

Knoppix -> Tiny Core -> Ubuntu -> Debian Stable -> Arch -> Debian Unstable -> Fedora

mint, kubuntu, debian sabayon, gentoo, void.

Tell me you have RPMFusion enabled. Also you use flatpaks too. Fedora's repos are free software only and without patent encumbered software.
It works as well as Ubuntu for me, although I don't use software center and have XFCE instead.
If you don't have RPMFusion, do yourself a favor and add it, then do "dnf refresh" followed by "dnf search freeworld" to get non-crippled software. I recommend you at least install freetype-freeworld for both i386 (for Wine and games) and x86_64.

Thank you based friend

Google your DAC+linux.

Xubuntu
Arch
Gentoo
Void
Debian

I keep tryong to unpack a ,deb file but it wont be recognized
Linux makes me want to die

That's good news. might install fedora whenever i give up on using mint.

>is pop_os a gay meme?
Judging from the screenshots on their site I see it comes with papirus icons, so I says it's a meme
Stay clear

Type
$ sudo dmesg -w

then plug it it. This way you may find if some error or warning from kernel comes the moment you plug it in.

But I think your issue is pulseaudio
>Install pavucontrol
>Start recording, let's say from audacity
>Launch pavucontrol
>Go to recording tab and for audacity select the proper recording input
>Stop the recording in audacity and start again
>Now it records from the correct source

>Why is this supposed to be better than Ubuntu?
Fedora better than anything? Who said that?
Granted Fedora looks polished out of the box but by using you are redhat's beta tester
>I just want a nice looking Unix-like OS
>I can use to watch streams
>compile/write my Java, C, and C++ code
>and just use for school shit.
>Like it doesn't have to "just werk" but I don't really want to spend half an hour installing a program
You just described Debian Stable
>when in Ubuntu I can just write
>sudo apt-get install mpv
Ubuntu is nice too but Debian Stable is much more low maintenance and just werks that any other OS out there
You configure it once and then it works the same for years without a single issue
>What's the point of bleeding edge?
There was never a point.
Use stable distros and compile what you need from source (or use backports)
>I like Ubuntu and wanted to try out another distro, but this just seems needlessly complex and tedious.
I suggest you try Debian once you get used more to Ubuntu and you feel you had enough with Ubuntu's choices that are pushed down upon you

Don't apologize, just don't fall for the bleeding edge meme
An OS should be predictable and stable
If it isn't it's a shit OS

$ mkdir foo
$ cd foo
$ ar -x ../foo.deb
$ tar -xf data.tar.xz

>dmesg has a follow option
Fuck. I should have read the man page of it about 10 years ago.

I installed Windows 8.1. I thought would be okay because I could use Linux vms in hyper-v. Not sure if I can use this as my main desktop though. Feels like shit in comparison. I'm just too used to being one keyboard shortcut to terminal emulator with my aliases and custom scripts to take care of my every want and need. I cant enjoy using my computer if I cant customize it little by little to make it more convenient and efficient.

While Windows is shit it isn't for the reason you mentioned
I remember that windows shortcuts properties allow you to specify a Ctrl+Alt+Shortcut for any program
Also if you pin a program to the taskbar you can launch it with Super+1, Super+2, etc where the number is the position of the program in the taskbar
Pretty neat feature but Windows is shit for other reasons

Another good option on dmesg is -H to have human readable timestamps
# dmesg -wH

post the pulseaudio output section of you're mpd.conf

You want status icons? I guess you have to decide if you are a GNOME app, an Ubuntu app, or an XFCE app unfortunately. I'm sorry that this is the case but it wasn't GNOME's fault that Ubuntu has started this fork. And I have no idea what XFCE is or does sorry.

It is my hope that you are a GNOME app...

Trying to do basic bash scripts

I created "test.sh" and whenever I write "test.sh blabla", it should write "hello blabla, testing testing!"

How do I create something like this?

go ask /r/bash

you need to take the arguments the script is run with and use that as a variable
look into ARGV

How?

#!/bin/bash

echo "hello blabla, testing testing!"


# chmod +x test.sh
# ./test.sh


You could have googled that in 10 seconds. Why even ask how to do hello world? Are you retarded?

i told you what to look into, it's up to you to learn how to do it
you need to use an ARGV in your script as a variable to print, work out the rest

read his post properly

I used $1 instead

Sorry didnt see arguments
#!/bin/bash

echo "hello $1, testing testing!"


You can use $@ if you want them all not just the first.

Hey, I have a HP 2540p and I want a Linux distro for it.

What do you recommend?

ubuntu

use posix shell and printf.

How do I find out what wlan module is on my card?
Trying to get my laptops wireless working on arch

dmesg|grep -i wlan
should be a good start

Lick Umi.

What do you want to do with it?

Can I set up and configure a Linux distro on a VM and then transfer it somewhere else via USB stick?
I'm waiting for my new laptop to be shipped but would like to set up a nice arch install so I can just move it over and won't have to fuck around for ages

twitter.com/WilliamShatner/status/942966660356435968

If you mean copying the VM image itself, if you're using virtualbox the vdi is kept somewhere. If you mean installing arch to a VM and then moving that installation to a physical system, why not just install arch on your host machine and move that eventually? All you need to do is copy all the data in the root partition and set up your bootloader properly. Polite sage

GNU/Linux*

Punch Umi

he might possibly install Alpine instead, which is not GNU. polite sage

user in the last thread asked for a gentoo version of this. i actually made this several months ago, so here you go.

>Help out a friend or family member to install a GNU/Linux distro on their machine
>Given them the usual friendly lecture on why it's better than using Windows or Mac, muh security, muh freedoms, muh privacy, muh FOSS, muh volunteers, etc.
>It all sounds amazing to them, they're curious and eager to try it out
>Install and setting up everything goes off without a hitch, they're happy as can be
>A couple days later, as soon as they have a slight problem or don't know how to do something, they get all aggressive and AS YOU'RE HELPING THEM get frustrated and say "ugh I should've just stuck with Windows" seconds before you show them how to solve the problem and it turns out it was very simple
>"O-oh, thanks user"

How triggered does this make you?
It makes me scream internally, tell ya hwat.

Why do they always come off as making a threat? Like that's the first thing they go for. "I should just go back to Windows!"

Been there done that, and I can confidently say that people who can't install it themselves are not going to enjoy it no matter what.

youtube.com/watch?v=umQL37AC_YM

interesting

I have a .tgz and I can't unzip it with tar -xvf folder.tgz

It's giving me child returned status 1, pls help

I've given up on normalfags. I don't recommend or install GNU+Linux for anyone, they can rot with their non-updated, bloatware ridden win7 installs for all I care.
I only install GNU/Linux when people ask me to install it, there have been a few cases.

Try it without the -
tar xvf folder.tgz

Arch user here, but after talking to someone here yesterday about a couple of Gentoo's features, I've been considering messing around with it.

go for it. if you installed arch the "proper way" then you obviously know how to read, which is all that's required for gentoo. good luck

please do
remeber to be patient

I am, same error

try unpacking it with gunzip, see what error it displays. Remember to use use the "keep source file" parameter.

Be careful. I'm not talking about how hard it is to install gentoo (it's just a meme, honestly), talking about how it becomes a downward spiral from there.

how?

gunzip -k folder.tgz

You should get a .tar file.

>What do you want to do with it?
Latex, Matlab, Internet

At the moment I use Sumatra as a PDF reader a lot, is there a lightweight PDF reader for Linux?

Yeah, I'm not afraid of an os that doesn't hold my hand. Does it retain make configuration after installation so that I don't have to reconfigure packages on update?

invalid option -- 'k'

it's not for everyone. it requires a DIY mentality, and a lot of people just don't have patience. but those that do will be rewarded with freedom and customization.

Neither is it Linux. Linux is just a kernel.

i don't understand what you mean

maybe only gzip accepts that, run it without the parameter.

in what way?

for img in *jpg; do convert "$img" -gravity SouthWest -pointsize 200 \
-fill red -annotate +30+30 %[exif:DateTimeOriginal] "time_""$img";
done

Trying to add date/timestamps to some photos, this is creating a timestamp with the format YYYY:MM:DD, but I want YYYY/MM/DD, can that be done or does it just do it this weird way?

On some of the photos I'm also getting this error, but they all should have working exif data?

convert: unknown image property "%[exif:DateTimeOriginal]" @ warning/property.c/InterpretImageProperties/3678.

I mean when I compile a package for installation and it goes through the ncurses interface, does it save whatever configuration file that creates so that I don't have to go through the ncurses interfaces again and can just let it run in the background?

nothing happens

i think i get it, but if i'm saying the wrong thing do correct me -
that's not how the package manager works in gentoo - you set a group of USE flags, which is similar to 'make config', but you keep it in /etc/make.conf instead. you never need to use ncurses to configure packages, other than the kernel if you want to customise it.
the USE flags define what support to add or remove, and is consistant across all the packages you install via the package manager, removing the need for the ncurses interface

So, gentoo's package manager, portage, handles compiling for you. It has two places to look for configuration files:
>Global USE flags: System-wide configuration that you want all of your packages to be set to
>Package-specific USE flags: You edit these in a folder called "package.use" really not as tedious as it sounds though.

OH alright lol. I just woke up, and I was messing with FreeBSD yesterday, so I don't mean to sound like an idiot. I don't know if you've ever used it, but it uses ncurses interfaces for configuring most of its packages.

Damn, why do we even call things the way they are

Not him but, what really is the point of using Gentoo on a desktop? Isn't the performance benefit from customizing packages to your hardware really negligible?

use make config-recursive for doing them all at once on freebsd

yeah, it only benefits you if you enjoy that kind of thing. I do, but it's not for everyone.

>negligible
More like borderline placebo.