/fglt/ - Friendly GNU/Linux Thread

Old thread: /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: 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:

wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian
lkml.org/lkml/2013/7/13/132
debian.org/releases/sid/index.en.html
lists.freebsd.org/pipermail/freebsd-i386/2013-March/010437.html
twitter.com/SFWRedditVideos

Can i use Ubuntu ppas on Debian

No.

Why does void lack so much packages and ricing capabilities?

Why is Devuan so bloat?

should i simply embrace systemd and get Arch?

Somebody tell me how to open a .run file i've been stucking trying to install my drivers

merry new year or whatever, fglt
% date
Mon Jan 1 00:15:42 AEST 2018

chmod u+x filename.run
./filename.run
or for a graphical means, bring up the properties, go to wherever the permissions are, then tick/set "execute" for "owner"

can: yes
should: no
wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian

I'll pay you 1 (You) to fuck off.

Best thread.

What's the best taskbar Linux desktop?

Is anyone still using the N900 in 2017? How usable is it to this day?

Can Debian be installed when storage is set to RAID?
My laptop came with RAID on by default, and attempting to switch to AHCI warns that Windows might not be bootable.

>Can Debian be installed when storage is set to RAID?
Yes, I see no reason why it shouldn't be.

yea, it can
your bios will warn for any kind of storage standard change, raid, ide, ahci, whatever. since windows is really pissy about hardware changes

Every tutorial I find says you need to change it to AHCI but I booted Debian live with RAID on just fine.

If you want you use a pacman based distro but you don't want lennartd, you can have openrc on arch (with some scripts from the AUR), you could also migrate to artix or use parabola.

they'd probably recommend it, since there's really no point using bios raid over ahci + software raid
but if for some reason you need to use bios raid, linux will work with it

RAID is designed to be used if you connect more disks to the controller to be used in a RAID configuration. If you don't use disks in RAID plain AHCI makes more sense (this is why those tutorials recommend this). Linux will handle the controller just fine in this mode too.

That looks like a neat portable ssh machine.

It ran a Debian base OS and came with a terminal so yeah it would be.

Maybe, maybe not. Either way I don't recommend it. That's shitty motherboard fakeRAID to paper over Windows's lack of proper software RAID. Set to AHCI.

I have a plaintext playlist file for mpv. I want to feed only the first file in the playlist to mpv, how do I do it?

I tried stuff like this

head -1 mylist.txt > mpv --playlist=
head -1 mylist.txt | mpv --playlist=
mpv --playlist= < head -1 mylist.txt

but it doesn't work. This feels like it should be simple.

--playlist=- to read from stdin.

Also the first and third ones are not how you use redirections, you redirect input/output to files not processes.

Can somebody help me?

i'm trying to cd into my flash drive, it has my video drivers, i'm in the command line

how do i do it?

Mount it first.

Before I switch over to Linux, how often does Linux have Stallman like meltdowns?

Linus is always angry. He rarely has even angrier moments and even then he is tend to be right. See the perkeleen vitupää incident.

I just tried Antergos and damn it's good. It's not much different from Ubuntu when it comes to daily use, but the packet management is simply superb. What other distro has comparable job in that area (besides arch)?

Thanks. Is - generally to read from stdin? I've seen it in the manpages of some other programs.

Linus is always angry, all the time, but it's for the right reasons and directed at the right people. He's less assburgers about it than Stallman.

Yes. "-" as an argument by itself typically means stdin.

Will I still be able to use Windows, or will I have to reinstall it?
I get a warning when I try and change it.

>mount /dev/sdb1 /media/usbmount
>no valid argument
>despite that everything is correct

sometimes i contemplate whether to keep trying to setup alpine or kms

There is also Hyperbola, an offshoot of parabola.

try mounting again with that apparently wrong command
post the results of dmesg|tail
(you might need to run dmesg as root)

I installed void over winter holiday and I'm liking it but god damn if there aren't 50 billion more packages available for arch and gentoo

source?

yea, usually "-" in place of an input file means to read from stdin

lkml.org/lkml/2013/7/13/132

It given me a bunch of text
>my flash drive's name (SanDisk cruzer blade)
>sdb: sdb1
>USB mass storage device detected
>write protect is off
>write cache disabled read cache enabled: doesn't support DPO or FUA

hah, nice
i assumed those words were a name, not a finnish swear phrase

Never mind, fixed it, no problem

>uncompressing NVIDIA accelerated graphics driver for linux
>Extraction failed
Signal caught cleaning up

Fucking shit hell, millionth error today i got when setting up alpine

help

I dont understand why you're having so many problems.It took me maybe 20 minutes to get a working system + xorg + openbox setup on alpine

what gpu are you using?

i have to use a propertiary Nvidia driver, or get forced with the shitty VESA default

1050ti using blob drivers

can you just unpack it with the -x parmeter?

explain?

I assumed you downloaded the driver from nvidia.com and tried to run that .run file.

Yes, that's what i did
do i just ./(filename) -x ?

yes, it has a bunch of options use
./filename.run --help
to list them.

How can one prove, beyond any reasonable doubt, that the linux nvidia proprietary driver isn't actually spyware? It's a kernel module, so it can do literally anything.

reverse engineer it

Thank you for your valued opinion.

Does nouveau still see any 'real' development or has Nvidia's hostility become too much to bother with?

Nope, still shit

> falling for the alpine meme

Right, so, /cyb/ is down, this isn't a question for /sqt/, and /csg/ = bandwidth that probably isn't supported in my country (in terms of communication standards).

Do any of you have a recommended "pocket router"? Sup Forums approved?
I just want a portable router where I can manage my devices easily. Preferably OpenWRT flash support.

Sorry for posting in the 'wrong' thread, but this seems to be the most 'suitable' thread as it's not particularly a 'stupid question.'

Disclaimer: I searched the Sup Forums wiki for router recommendations and I dislike all of them. They're not good form factor.

If you are OK with 1 ethernet port then you can get any of dem ARM mini-pcs then buy a case and a wifi dongle for it. You can put any distro on it.

>Tfw just installed kubuntu as babbies first linux
Where do I go from here?

just use it. break it, then fix it without reinstalling from scratch.
slowly but surely you'll get the hang of it.
would recommend keeping a file with some of the commands you might use so you don't forget them. read man pages, and search for how tos on some software you want to start using yourself.

start using it
set up your browser, media player etc
try customize it
do things, that's the only way

Follow the Arch wiki's "General Recommendations".Ignore arch specifics

You want to search for "gnu/Linux distros that use pacman as a package manager" on your favourite search engine.

hello is posible to freeze a debian sid install at some point and only get the security update ?

No. sid doesn't have a security team or security-only repo.

i read that the opposite on debian site

No, you didn't.

debian.org/releases/sid/index.en.html
>Please note that security updates for "unstable" distribution are not managed by the security team. Hence, "unstable" does not get security updates in a timely manner.

>Does sid have security updates?

>Not in the same sense that stable does. If the maintainer of a package fixes a security bug and uploads the package, it'll go into sid by the normal means. If the maintainer doesn't do that, then it won't. The security team only covers stable (and possibly testing... there's a pending issue for that case).

nvm I'm wrong, can I do it with testing ?

Does anyone else exlerience debian to be less stable then say arch?

I switched both my desktop and my thinkpad from arch to debian 9 and I started experiencing random freezes, logouts, hard reboots during regular things like watching videos.

What is strange is that its both computers and it's problems that I never had before on any os.
Anyone else who had this problem with debian?

maybe u need newer kernel, and maybe thats why arch worked better, stable doesnt mean mor support

So I've been running Chakra on my laptops for a couple of years now and just recently decided to skip Windows on my desktop. Thing is I use a Logitech G600 mouse on there and the profile saved on it worked fine on linux but all of a sudden it won't do some binds (like CTRL+T just prints "t", CTRL+C/V works just fine though). It's not a broken mouse, I've tried it with another even and it still work fine on Windows.. Xbindkeys shows the correct input so I have no idea what to look for. If anyone would have any advice I'm all ears.

Happy new year, /fglt/

good one

I want to have run a server at home with my music collection and be able to stream from anywhere (something like Spotify) - looking for software suggetsions.

terminal noob here. Suppose I want to make a small install script. And I want to do some commands that need sudo privileges. Can I just sudo the whole script or do I need to put sudo before commands in script. Ie.

script.sh:
apt-get -y install autism-dev-lib
sudo -u postgres createuser $USER


And then just do "sudo ./script.sh"?
Also, how do I deal with "sudo -u " use case? Just to leave it like that?

What are you up to in this GNU/Year's Eve, /fglt/?

trying to finally setup mutt, but not feeling like i'll get it done this year.
i don't even really get many emails now that i started unsubscribing from mailing lists i got myself into.

Use sudo within the script

Use xev to get the keycode
Use xmodmap to map them
Use xbindkeys to bind them

Do you want them to be the home row,keypad, or other keys?

thanks, and happy new year user

Oh, xev tells me (in the case of ctrl+t) it's actually t+ctrl..

I'm just using them for lazy Firefox browsing.. I've now tried it on two laptops running the same updated distro and it worked on one of them..

I'll keep trying, thank you, I'm a noob and didn't know about xev.. I guess you guys are kinda friendly after all

Happy new year!

Happy GNU year central EU

Happy gnu year to you too!

happy new year faglets
2018 is the year i will install gentoo (maybe)

Welp, i'm done with linux.
I let you asshats trick me into thinking it's good si i put it on my htpc and that thing is constant trouble, not only is getting any hardware to work a massive trouble (on windows my scanner and printer worked out of the box where on linux i has to spend two hours googling fucking console commands and packages to get it to work)
Then there are things that stop working all the time for no good reason, like my scanner, it was working fine for a month and then suddenly stopped reacting even though nobody touched the hptc, but when connected to a windows pc it works fine.
I guess linux is fine as a toy system or on things like the raspberry pi, but to use it as a main driver on a computer causes me to constantly have to waste time by fixing problems that don't even exist on windows. On windows i literally installed it and never had to touch it once for YEARS i had the linux for 3 months now and i had tons of various medium or small problems that i had to fix
It's a good system but simply not mature enough.
Please stop tricking people like me into taking linux seriously, that is a lot of time wasted i'm not getting ever back.

bye

no shit, people here are linux hobbyists only, nobody here uses it for anything important obviously (except for some clueless neckbeards of course)
for an htpc you should definitely be using windows 7

>no shit, people here are linux hobbyists only, nobody here uses it for anything important obviously (except for some clueless neckbeards of course)
>for an htpc you should definitely be using windows 7

Happy new year fellow Gnus and Penguins!

Happy GNU/Year

I hope you're all having a better time I am at the moment

*than I am
can't even post right, damn.

Reposting this from /wsr/.

How can I move a protective MBR to another partition using fdisk on Linux? I'm trying to replicate a procedure that uses commands exclusive to FreeBSD's version of fdisk, which is incompatible with my version of fdisk (from linux-utils).

From here: lists.freebsd.org/pipermail/freebsd-i386/2013-March/010437.html

Well, it is primarily intended for use in servers.

>tfw starting to use emacs (spacemacs but same diff)
feels gnu man

Have this hedgehog.

thank you user

How would one track network use locally? Not bandwidth, but processes

Which distro should i try next in 2018, debian xubuntu or someother? started using linux this year with ubuntu

i'm curious about arch but i'm afraid i'll spaghetti it all

i'm wondering if the issue is that you have a hybrid MBR
a protective MBR is a standard feature of any GPT disk, while i've never used EFI myself, it makes no sense to me that any EFI machine would refuse to boot a disk with a protective MBR, as that's something all GPT disks have by default

if you don't know, a protective MBR is simply a standard MBR with a false partition in it, in place to prevent legacy MBR-only software from touching the disk, the protective MBR makes the disk look "full". without it, legacy software may think the disk is blank or damaged, and so may write new data to it
a hybrid MBR instead adds real partition data to the protective MBR space, to match the GPT partitions, such that legacy software can access the data on the disk. though this can trick some software into believing the disk is an MBR disk (which is kind of the point, but is a problem if the software also supports GPT)

you can create a new protective MBR using gdisk (gptfdisk)
gdisk /dev/sdz
x (expert)
n (create new protective MBR)
w (write changes)
note: this will not affect your GPT partitions or data