/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: just like in /sqt/ spend at least a minute to check a web search engine with your question.
*Search: qwant, searx, ixquick or startpage.
*Many free software have active mailing lists.
*Many free software has an active bugzilla where you can check and report errors

$ 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

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

Previous thread:

Attached: 1531803682302.jpg (525x295, 35K)

Other urls found in this thread:

linuxfoundation.org/membership/members/
github.com/doitsujin/dxvk
github.com/rg3/youtube-dl/blob/master/youtube_dl/update.py
rg3.github.io/youtube-dl/update/
github.com/void-linux/void-packages/issues/169.
gnu.org/software/zile/
twitter.com/AnonBabble

Attached: flube.gif (460x405, 98K)

Is there an easy way to mount google drive or something similar to your file system like a normal drive?

Situation: I've been booting a live usb daily after work and on days off and it's going well. The distro I'm using is damn near set up just how I like and I just log into firefox sync and install a quick list of packages and I'm good to go. All I'm missing is some sort of storage to keep some documents and images etc. Drive works fine but It would be sweet if I could mount it or something similar to some kind of cloud storage to the file system.

Attached: file.png (782x593, 320K)

Niggas iffy uhh

Can I play games (rust, gta v, wow etc.) on Linux and get the same FPS I get on Windows? If yes, which distribution?

>Is there an easy way to mount google drive or something similar to your file system like a normal drive?
>google drive or something similar
>google drive
>something similar

Attached: Richard+Stallman+(2)[1].jpg (300x360, 20K)

you do realize you can install linux normally onto your flash drive, right?
there's no need to set it up again every time you boot it
also, remote storage is easy, just do something like mount /home using sshfs from a vps or something

I know rust usually works fine on linux, but sometimes they fuck somthing and it become unplayable.

GTA V needs wine for linux but it sucks on wine.

I never played WOW so idk.

Linux is the desktop version of Android.

Attached: 1531806159197.png (558x614, 3K)

Linux is a kernel. It's used in both, Android and GNU systems.

now everything makes sense

Attached: 1531806398118.png (657x527, 225K)

Revolution OS is a great docu. Look it up.

>>I never played WOW so idk.
No native Linux version, but Wine tends to keep on top of it pretty well just because there's so many people that play it. That's a general rule, btw, the more popular a game is, the more likely Wine is to work well, though there are exceptions.

Not sure how to feel about this.
Are you a good or a bad poster?

>posting a fat black cock for no reason
>good poster
pick 1

I don't want to use Windows anymore but I guess I will install it again.

I want to go off the deep end and install arch

someone call me retard or something

Don't. It's malware.

linuxfoundation.org/membership/members/

defend this

>linux is the desktop version of the os that runs on the ISS

Are you fucking stupid? I want to mount some kind of cloud storage to my file system. I know it's possible because I've done it WITH google drive but the process to do it was elaborate and I can't be fucked to memorize it or follow a guide every day.

>install linux normally onto your flash drive
I've tried a few times unsuccessfully. Can't get grub to work properly.

>remote storage is easy, just do something like mount /home using sshfs from a vps or something
This doesn't sound simple.

Whatever this is just temporary. I'm in a tough financial spot and my 2 functioning PCs are in pawn for now. I'll get one out soon hopefully of buy a HDD for this Frankenstein I'm using now. Please feel free to post something actually helpful though.

Nah it's cool. I've been using for 7 years and I find it to be the most stable in many ways. It can handle lots of fuckery that other distributions can't without breaking.

Then I can't play some games for the whole summer.

>I've tried a few times unsuccessfully. Can't get grub to work properly.
To be clear. I can chroot into a functioning system on the drive but can't get it to boot. Can you tell me how to make it functional?

If the main reason you have a PC for is to play newer games then just use Windows. When you grow up you can have multiple PCs for different purposes.

Attached: file.png (380x349, 100K)

i can't tell you why you can't get grub working with this much information
installation on a flash drive is no different to any other local disk installation

>I want to mount some kind of cloud storage to my file system

Attached: 1454601538438[1].jpg (593x445, 27K)

Jow Forums was a mistake

How to exit i3 in such way so that Firefox won't complain about crashing?

close every running process

close firefox first

Already did. I was thinking maybe the nemo itself doesn't support webm thumbnail. I was googling around and found thunar might supports it. Will installing two different file manager harms my os? Or am I being too paranoid?

Attached: screenshot_2018-07-17_13:45:07.png (362x101, 8K)

That wouldn't surprise me. Even Wangblows doesn't natively support webm thumbnails.

the deeper i go with configuring systemd and all the units the more anxious i get of having to do it all over again. why can't it just have a dotfile-like system? I just want to have a folder where I put all my own systemd units and and then it runs everything accordingly.

~/.config/systemd/user/yourunit.service

user units do go into a dotfile, namely ~/.local/share/systemd/user/
system unit modifications can be listed using systemd-delta

vidya on linux has been making huge strides thanks to github.com/doitsujin/dxvk which allows you to run many games with good framerates ... hell, it even worked with the BF5 closed alpha

I just started learning C.

What utils or simple programs would be good for me to check the source code of to help me understand the language better?

tinywm!

man-pages

dxvk is awesome, removing the blocker that was d3d11 games means there's not much left that /doesn't/ work well in wine

Attached: 2018-07-17-201925_1920x1080_scrot.jpg (1920x1080, 818K)

How does the youtube-dl update script work?
Just curl the new version and chmod +x it?

Attached: 1527480148814.jpg (842x1024, 60K)

Except games that use the mouse to look around, but can't because the mouse doesn't wrap around the window, or jitters while teleporting to the middle, which is most games?

tick the option 'capture mouse in fullscreen applications'

That has no effect on the issues described

How do I get rid of the "Recent" file tab on Nautilus in Debian?

I ask because there is a mind-bending amount of pornography on display in there, and it's not very discreet.

...Never mind, discovered the privacy settings.

i've had several games where the mouse doesn't warp to the centre when it should (causing mouse look to to 'stop' when rotated a certain amount), but setting mouse warp to 'enabled' or 'forced', depending on the game, has always solved this

Fuck. Turns out I was thinking of my android not showing webm thumbnails. Nemo shows webm thumbnail perfectly. Sorry about that.

I have a command
foo some-static-args BAR some-more-static-args BAZ
I would like to collect all of the variables at the beginning of the command. How do I run this IN A SINGLE LINE from a terminal? I've tried things like
echo "BAR BAZ" | xargs foo some-static-args $1 some-more-static-args $2
but that didn't work.

You mean the pip one? It uses python.

No, I mean when you update with youtube-dl -U

This is the code it uses

github.com/rg3/youtube-dl/blob/master/youtube_dl/update.py

Again, it's python.

I need help. A few weeks ago I bought a samsung 860 evo, and put void on it. I had these issues at first, but somehow managed to hack it into working. Then two days later it began again. AHCI/IDE mode, libata.force=noncq, bios updates, firmware updates, they don't do any fucking thing. It keeps giving the usual "queue failed command: WRITE FPDMA QUEUED" error more often than not. Most of the times though any DM will just crash on boot and leave me with a blank screen. At first with artifacts, some reboot later just a grey, blank screen with the pointer still working.

It does work flawlessy on two desktops, but on every laptop I've tried it gives the exact problem. The port is a SATA3, and the issue is unlikely to be hardware. Something fucked up between linux and the SSD firmware. Windows works fine on it, netbsd too.
What the fuck am I supposed to do? I don't feel like trying with another distro since I've wasted so much time on it already.

Try another distro.

Also, Xorg won't start three times out of four. In the logs it says all hardware was removed (power button, keyboard, stuff). The video driver (radeon) stalls continuously on ring 1.

bad sata cable?

install gentoo, seriously.

I think your laptop is fucked up then. Either way, try another distro.

BSD would throw me issues. Besides I've run the same exact distro on that cable for years. But might as well test if it works via USB.
I tried it on another laptop and it has the same issue. On the two desktops, though, it works.
Had gentoo on it for a few months. Shit cpu, can't compile for good.

I know that.
For some reason youtube-dl no longer update for me.
What does this rg3.github.io/youtube-dl/update/ return for you?

foonction(){
foo some-static-args "${1:?}" some-more-static-args "${2:?}"
}

foonction BAR BAZ

>Had gentoo on it for a few months. Shit cpu, can't compile for good.
you were still adding packages after a few months?

404, probably some jewhub fuckery.

Then try another distro

I had over 1500 packages on my last void install.

Yeah, I don't have any other choice. From USB it works fine, if it doesn't from another distro I'm just setting it on fire.

Attached: 1444132973277.png (1280x720, 473K)

try not being a distrohopper and maintain a stable system

builtin update is retarded when package manager exists
also this isn't windoze, learn to write a package on your distro

How is that one line, stupid?

Anyhow, I figured it out:
bash -c 'foo some-static-args "$0" some-more-static-args "$1"' 'BAR' 'BAZ'

>running bash is bash

That looks really ugly. The heck are you even trying to do?

heh, i just found out all the consoles run this game locked at 30fps
wine > ps4 pro/xbone, apparently

I just updated ublock origin. Did you?

Attached: CopyQ.nS2296.png (125x124, 2K)

how do i get just flash for fiorefox without installing a bunch of botnet things outside of firefox

Do you all know if this is currently a decent time to build a new machine? I don't want to do it when major changes are right around the corner which could effect prices and quality of hardware.
I've been putting it off for a while since vulkan's so new to give the vendors a bit more time to adjust, but now I guess Intel is even going to start making normal (non-integrated) video cards so should I wait and see how that goes first? Are there other reasons to wait?
I'm not very hardware savvy.

In case anyone will ever experience part of the issues I had, xf86-video-ati-18.0.1_2 is bugged, as referenced here: github.com/void-linux/void-packages/issues/169. This fucks up the login and xorg.
Tried downgrading but now not even the ttys show up, probably because of the other problem Farewell, void, you had served me well for this year and an half.

gnu.org/software/zile/

this mentions zz, and I've read elsewhere that it's a layer over zile that allows you to use lua rather than lisp
but where do I find the source? it's not linked, doesn't turn up in repo searches...

You guys are cool. Thanks.

I was thinking about using voice commands to use some skills on a game I'm playing instead of the number keys. How can I do that?

>Ubuntu 18.04
>unhappy with the limitations of Audacity
>hear that Ardour is much better
>install
>run
>cant figure out how anything works
>try to find YT tutorial
>YT wont play for like ten minutes
>relog, try again
>same error
>decide to listen to some music via Clementine
>wont play either
>try a video file on my PC
>wont play either
>realize that Ardour is somehow fucking with media playback
>close Ardour
>instantly works

WHAT?
HOW?
WHY?

Attached: Angriest Bunny.gif (224x126, 1.63M)

seems like you use alsa exclusive mode for your applications.

Linux sound is shit? Who'd have thought?

How about one of those usb "cloud" drives that plug into you're router?

Attached: rms.png (253x320, 93K)

Sirs I want to plug some big data deep learning AI cloud into the modem I got from the ISP. Please kindly advise.

what

how do I get the man page for [[

What do you mean?

flube is true neutral

thats a bash builtin, use help for builtins
$ help [[

Guys, I've tried Linux Mint and it seems that my laptop cannot handle it, it's kinda laggy.
So, Ubuntu MATE or Lubuntu? Or is there a third OS that I can put on my ancient laptop?

Also, is there a Linux-based multiboot software which will allow me to create a bootable Windows 7?

Do i need to rename the font file of a OFL font when i'm including it in my project without modifications?

Also is Public Domain better than GNU? I'm mainly using PD license when giving people my source code, but it seems like people are not in favor of PD over GNU or Open Source licenses and i don't understand why,

Also can barely post with these captchas so don't expect a reply from me

If you can find an application that will recognize your speech and then allow you to run arbitrary commands based on what it recognizes, then you can just set those commands to run "xdotool" to simulate keyboard input.

You're probably on your own for finding voice recognition software. I have no knowledge of that.

$ type [[
[[ is a shell keyword

Attached: 1506879657888.gif (300x266, 3.43M)

Hi frens. I'm not very advanced into Linux. I have it on my older machine as a trial. How do I into gaymes?

>Is there an easy way to mount google drive or something similar to your file system like a normal drive?
Actually yes. Gnome has that feature built in.

Attached: praise ahura mazda.png (267x294, 12K)

REEEEE

I used to reeee at gnome too. But then I upgraded my RAM and it's been smooth sailing ever since.

it's a built-in keyword :^)

but yeah I guess it's important to note that using [[ is part of bash syntax and changes treatment of the following tokens (for example no variable expansion)
$ man bash |less -p '\[\[ expression \]\]'

>Return a status of 0 or 1 depending on the evaluation of the conditional expression expression. Expressions are composed of the primaries described below under CONDITIONAL EXPRESSIONS. Word splitting and pathname expansion are not performed on the words between the [[ and ]]; tilde expansion, parameter and variable expansion, arithmetic expansion, command substitution, process substitution, and quote removal are performed. Conditional operators such as -f must be unquoted to be recognized as primaries.

what could be the problem, what when im in fullscreen mode in a firefox with bspwm, i can't put my cursor up top for tabs bar to go down?
Screen flickers a bit and cursor immediately goes to the middle of the screen.

also is there a way to make firefox go fullscreen but not like fullscreen as in take whole laptop screen space, but become fullscreen and take up all of the tiled window space?