/fglt/ - Friendly GNU/Linux Thread

Previously on: 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 using VirtualBox or other software made for this puporse for safety purposes.
1) Use the Live ISO (if your distribution of choice has one) to boot directly into the GNU/Linux distribution without installing anything, that way, you can get to experience the GNU/Linux operating system without installing it.
2) Dual boot the GNU/Linux distribution of your choice along with Windows or macOS, this is recommended if you want to know more about the GNU/Linux operating system.
3) Go balls deep and replace everything with GNU/Linux.

Meet the /fglt/ team:

IRC: irc://chat.freenode.net:6667/flt (6697 for SSL)
If you don't have an IRC client, you can use a web client:
webchat.freenode.net/?channels=flt
kiwiirc.com/client/irc.freenode.net/flt
WEB: fglt.nl/

* Resources:
Your friendly neighborhood search engine (searx, ixquick, startpage, whatever.)
$ man
wiki.archlinux.org (Most troubleshoots work on all distros.)
wiki.gentoo.org (Please see comment above.)
wiki.installgentoo.com/index.php/Category:GNU/Linux
prism-break.org/en/categories/gnu-linux/
linuxcommand.org/tlcl.php
gnu.org

Other urls found in this thread:

esr.ibiblio.org/?p=4521
vimeo.com/6661713
torrents.fedoraproject.org/
wiki.archlinux.org/index.php/USB_storage_devices
amazon.com/Nextbook-8-9-Inch-Detachable-Keyboard-Windows/dp/B0193YMHUO/ref=sr_1_1?s=pc&ie=UTF8&qid=1466512506&sr=1-1&keywords=laptop tablet
wiki.archlinux.org/index.php/Systemd/Timers#MAILTO
192.168.1.244:1234
192.168.1.244:55555
okomestudio.net/biboroku/?p=1834
twitter.com/SFWRedditGifs

I hope you posted an image of ESR ironically, because that guy is a true cunt.

Probably to show ESRs autism when talking about meeting ballmer.

first for fedoro

It's a screencap of the first minute from .

>I hope you posted an image of ESR
What the hell. He's pretty cool. What exactly did he do?

Ayy lmao who /bluetile/ here?

So I'm trying to get nvidia working.
Installed nvidia-settings. and it said to run "nvidia-xconfig" and after rebooting xorg won't start anymore.
can anyone help? From the log it looks like it was a no screens found

esr.ibiblio.org/?p=4521

Looks interesting.
vimeo.com/6661713
I guess newfriends would enjoy it.

I need some help with this command.
find . -mindepth 0 -iname "*hokudai*"/ -exec rsync -R --remove-source-files "{}" 0-Hokudai/ \;

This finds all files containing the word 'hokudai' in its name and moves them to the 0-Hokudai directory.

My question is, how do I make it to transfer also directories that contain the keyword.

The command would transfer hokudai01.txt hokudai02.pdf welcometohokudai.avi, but not the directory logsfromhokudaiandstuff/ .

How do I achieve that?

-type d

Anyone have functionally or visually cool scripts for i3-blocks/i3-blocks-gaps they'd like to share?

>-mindepth 0
Doesn't make sense to me. Try without.

Is anyone here using the latest 1.2.2 version of NetworkManager and its applet?
Does the applet sometimes fuck up for you? It says that there's no connection available and right clicking doesn't show any connections, but according to the right click I'm connected since there's a "disconnect" entry. The CLI version of NetworkManager shows the proper values and available connections. The connection is working fine.

I don't know if I'm doing something wrong or if it's a bug that should be reported.

WHEN
IS
FUCKING
F24
COMIGN
OUT

Are you running Arch

sugi pula

Yes.
The ncurses (nmtui) version is also working fine and connects without issues. I assume this is an nm-applet bug.

>tfw too lazy to report it and concerned to embarrass yourself when you report something that turns out to be an issue on your end

Does anyone else suffer from bug reporting anxiety?

torrents.fedoraproject.org/

????

ESR was one of those people who, post 911, just never really bounced back. Whatever political leanings he had became much more pronounced, and nowadays most things he talks about are either borderline tinfoil hat or full-blown schizophrenia.

If you think the usual brand of morons that hang out on this website are bothered by "social justice" and the people who perpetuate it, you ain't met ESR yet. The same goes for governmental coverups/conspiracy theories, ladder theory, gun rights, and whatever happens to be bothering him this month.

Not saying he isn't a talented guy, it's just that he took a dive off the deep end a number of years ago and never resurfaced. Nawmean?

I need help with lemonbar.

I've configured it to display a lot of informations, but some of the scripts are slow, which results in lemonbar updating slow also.

Currently I'm using it like this:
while true; do
echo "$(function1) $(function2)..."
done | lemonbar


How can I make it so lemonbar doesn't wait for all functions to finish before it displays the echo line?

I've never really known much about him except for the stuff he's done, but just looking at his wiki entry,

>Raymond describes himself as neo-pagan.

...He literally puts on his robe and wizard hat.

Where exactly do I put that?

Looks in all directories with depth higher than 0. i.e. All directories.

How do I write the contents of a command to a text file in linux?

Like a log file or the output of sudo pacman -Qs nvidia?

Added it to rsync. It's working. I'll post results.

command > file
command >> file to append

Nope.

when I put in a usb in arch where is the folder? at command line so don't know where to find it

want to export some error logs to a usb and I can't find the usb.

try just typing in 'mount' or 'less /etc/mtab'

It'll probably be the one under /media/ or /mnt/

I have two large problems with a recent Ubuntu 16.04 installation on a HP Probook 6475b. Based on my limited knowledge they are probably both related to Unity, but I could be wrong:

>1
Oftentimes when I turn my computer on it displays the screen that shows before the OS loads, ie the screen that you could press esc on and then get into the BIOS. However after this the screen often goes completely black, and remains that way. It takes no input, and I cant get any way. Sometimes it works after a while, and the login screen shows, only it takes very long (15 - 30 min), but other times it stays that way. Longest I have seen was 45 minutes. I have tried using ctrl + alt + t, and ctrl+alt + f1 to get into terminal but this hasn't worked. I thought I found a workaround, namely to shut the lid on my laptop when in this state, and wait for it to go to sleep mode, then open the lid again, press the on button once. This has actually worked a few times, but not always.
>2
If my computer manages to get into the login screen I often (but not always) meet a second problem. After entering my credentials, the login "box" diseappears and the background on my computer is the only thing that shows, no taskbar, no launcher, not even the cursor. Sometimes it works after a while, from seconds to minutes, but other times it just stays that way. After my computer remaining in this state for 15 minutes I tried to open a terminal with ctrl+alt+t and ctrl+alt+f1, this didn't work. I also tried the REISUB method of restarting the computer but this didn't work either. I eventually had to just use a hard shutdown. Sometimes this problem appear after using the occasionally working work-around in 1), and sometimes it appears on a boot without any other problems.

Anyone know the soulution to this / these problem(s), or know any troubleshooting tips?

Thanks so much.

Where the fuck do I download WPS Office's .tar.xz?

systemd-analyze --blame would come to mind.
Which DM do you use?

What distros have the best out-of-the-box Cinnamon setup besides Mint?

manjaro

Debian newfag here
Is there any program to replace Flash?

HTML5.

wiki.archlinux.org/index.php/USB_storage_devices

mount device_node /mnt/usbstick
how do I find out device_node. I've tried lsblk -f but none of the details there work.

Tinkering with the command.
find . -mindepth 0 -iname "*hokudai*" -exec rsync -R -type d "{}" 0-Hokudai/ \;

The find command lists all right directories named 'hokudai', but rsync skips them. It only gets them if they contain a matching file, and only the files that match.

How do I make rsync to transfer the directories?

type d should be used with find

DM, what is that?
Dont know what that is, I'm on the standard Ubuntu 16.04 installation.
Do you think the two problems have a common cause in the systemd-analyze?

If you still want to use flash, Chrome has a third-party flash player called PepperFlash. You can either install it bundled with Chrome, or install it separately and use it with Chromium or something.

>unironically using chrome

This is a friendly thread, no bullying allowed!

Ok, but that doesn't solve my question.

I think it's /dev/sdb? from but when I put that in I get wrong fs tupe, bad option , bad superblock.

do I need to format my usb?

I have been using Xubuntu for 2 months now, everything just werks but I need to wipe my laptop soon. I also want to set up a home server with Debian stable. Should I just change to Debian XFCE on my laptop?

you should be able to install cinnamon on most distribution. And the configuration of it is pretty easy since there is a lot of GUI to configure it as you want.

I know I can. I do. But that's not what I asked.

If you uninstall flash you'll see that most websites provide a html5 player. If they do not, you can use mpv that will stream the content for a lot of websites.
There is also pluggins to replace the flash players with a html5 player on firefox.

I don't understand why Mint's security gets memed so hard here while distros like Arch/Manjaro have been guilty security transgressions as bad or worse and no one ever brings those up.

What's a faster transfer protocol than SFTP? My NFS sucks at speed

Manjaro does get bashed by security oriented people.

As for Arch, I don't know. You can see complaints about security here and there from security experts, but most people here don't complain about their security. Might be bias, I'm not sure.

finally got it working. learned alot lol.

I want to buy this thing. Will Mint work well with this? I'll really just be using it for books and shit. Since it has Windows 8, I"m assuming it will bother me with the Windows 10 shit.

amazon.com/Nextbook-8-9-Inch-Detachable-Keyboard-Windows/dp/B0193YMHUO/ref=sr_1_1?s=pc&ie=UTF8&qid=1466512506&sr=1-1&keywords=laptop tablet

Can you send emails from the CLI? Want to know if I can send error logs when things fail.
wiki.archlinux.org/index.php/Systemd/Timers#MAILTO

What do you want to use flash for?

Be careful; a lot of those cheap Atom tablet things have 32-bit UEFI which no one really supports properly (as of the last time I looked into it).

I cracked the case!
This one works.
I needed the -a flag!
find . -mindepth 0 -iname "*hokudai*" -exec rsync -Ra "{}" 0-Hoku/ \;

It needed the -a flag (archive). The reason I wasn't using it is because I have rsync aliased to 'rsync -avzP', but when doing the -exec rsync, it doesn't pick the alias, but the original command.

I'm off to sort my ancient files.

How can I use mpv to stream for sites? I usually download beforehand.

from sites*

What does that actually do?

They should have named the Flash alternative as Quicksilver.

mpv supports youtube-dl ootb, just have youtube-dl installed

It just makes it a pain in the ass because it's a goofy, non-standard setup that no one provides installation media for. It's possible things have improved in the year or so it's been since I looked into it, but expect lots of fiddling around by hand trying to get things to work, and not a lot of information available to help you.

Word of advice if someone wants to add this to his/her bashrc. Use instead.

find . -mindepth 0 -iname "*hokudai*" -exec rsync -a "{}" /media/absolute/path/0-Hoku/ \;


Otherwise is finds itself over and over again and fills the hard drive ad infinitum. Make sure that the destination directory doesn't match the regex or the same shit will happen!

I have it. I thought it was something more complicated. Just start downloading the video and open it with mpv even before the download ends, right?

open the URL with mpv

Nope, you just use mpv directly

mpv youtube.com/videoblahblah

Thinking of dual booting linucks on my laptop. Tried using ubuntu in a vm but it was running too slow so I'm just gonna dual boot it. Totally new to linux. What distro should I use?

architect

You had the right idea with Ubuntu. Try the standard (Unity) version and Ubuntu MATE live CDs and see which one you prefer. You can try Linux Mint (Cinnamon version), too.

No internet connection, can't get to router. Living in a hotel for 20 days. Is internet connection required?

when installing it, yes

I think i'll probably go with mint. Thanks.

I'm trying to set up MPD to stream over http, but it doesn't work (no audio)

This is the audio_output I have in my config

audio_output {
type "httpd"
name "My HTTP Stream"
encoder "lame" # optional, vorbis or lame
port "55555"
# quality "5.0" # do not define if bitrate is defined
bitrate "128" # do not define if quality is defined
format "44100:16:1"
always_on "yes" # prevent MPD from disconnecting all listeners when playback is stopped.
tags "yes" # httpd supports sending tags to listening streams.
}

Then I do mpc add 192.168.1.244:1234 and disable the pulse audio output so it looks like this
~ $ mpc disable 1
Output 1 (pulse) is disabled
Output 2 (My HTTP Stream) is enabled


But no audio

pls halp

Shit, I mean
mpc add 192.168.1.244:55555

To expand, I also tried via MPDroid on my phone
I set up the IP and the port and select Streaming from the menu, but also no sound

I don't get why the FGLT website in the OP omits arch linux and says it has NOTHING special. I don't use arch. But the AUR and the wiki were fantastic when I used it.

Actually fuck it even has funtoo there, funtoo is literally gentoo. Every time I've asked why I should use funtoo instead of gentoo I never got a good reason.

It's fun instead of gen

I started with Ubuntu and Mint and moved to Arch after about two months.

just configured mine, this is what i did
kill all mpd
edit mpd.conf

port "6600"
music_directory "path/to/dir"
playlist_directory "path/to/dir"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
pid_file "~/.mpd/mpd.pid"
state_file "~/.mpd/mpdstate"
audio_buffer_size "4096"
mixer_type "software"
bind_to_address "your ip" #ifconfig will tell you
samplerate_converter "0"

audio_output {
type "alsa"
name "equal"
format "44100:16:1"
options "dev=dmixer"
device "plug:plugequal"
}

audio_output {
type "httpd"
name "My HTTP Stream"
port "8000"
encoder "lame"
quality "5.0"
#bitrate "128"
path "/tmp/mpd.fifo"
format "44100:16:1"
max_clients "0"
}


audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:1"
}

restart mpd
bind mpdroid to your ip and port
works for me, along with alsaequal and fifo for visualizer

Do any arch users have bumblebee working on their computer?

>tfw have to use FLGRX driver for OpenSUSE
>tfw AMDGPU for Ubuntu 16.04 gave me screen tearing issues in multi-monitors

I guess I will keep being proprietary cuck

How long til wayland becomes good enough to use fulltime?

>tfw not enough penguin reaction images.
I never asked for this.

>Install Debian on new x220
>Works fine
>4gb ram gets here, install it
>Endless boot loop
>Take ram out
>It works
>Install Fedora
>Same issue
>Install Windows 7
>it just werks
If I boot with apci=off, it boots into a weird resolution, but actually boots. What exactly am I doing wrong here?

And to add to this, I've tried using known good memory. Same results.

Which distro should I install in order to learn some intro C programming? I don't really give a shit about linux as a whole, it just seems to me like unix etc. would be the best environment to work with pure C in, and we used ubuntu in my intro college OS course.

Should I just stick with memebuntu again? I've installed it myself before a long time ago so I'm not a complete stranger.

literally any distro

trying to boot it just doesn't't go further than this

>he fell for the ArchLinux meme

Try Ctrl+Alt+F2, then execute startx.
Tell me what it says.

What are some good Japanese IMEs? (kana input)

The very best I've used is mozc and Anthy; it isn't fun to configure, but once you've got it going, it's very good. I used this guide because I'm stupid: okomestudio.net/biboroku/?p=1834

...

When more then 5 programs use it. And when it dosent rely on hooking in to X11 for everything