Previous 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: Your friendly neighborhood search engine.
$ man %command% $ info %command% $ help %command% $ %command% -h $ %command% --help
Don't know what to look for? $ apropos %something%
Hey guys - looking to start getting comfortable in a Linux environment. Any particular starting distro you recommend along with the most friendly hardware? Thanks in advance.
Joseph Turner
>most friendly hardware? They all use the same kernel.
Jaxon Anderson
...
Christian Mitchell
Free Pasta: >YouTube without pulseaudio ix.io/xoM >Better fonts thanks to bohoomil ix.io/w6A >Arch without systemd ix.io/yqr
>Enlightenment is buggy as fuck (fact) >using a shit distro (fact)
Nicholas Johnson
Rick Astley is such an old meme
Nathan Powell
I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called "Linux", and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.
There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.
Jackson Moore
Idk man, this car looks fucking sexy to be quiet honest, family.
Those sorts of options needs to go AFTER the input file.
Matthew Walker
Ahhhh, that makes sense. Thanks.
Grayson Morgan
So i was looking at this website called gnu.moe, and i found some pretty disturbing stuff. blog.gnu.moe/love/index.html not going to greentext this shit because it would break rule 1. this is some real what the fuck shit. Turns out this guy is a finnish pedo and writes his stories out on this site. i just wanted good ncurses programs :(
Kayden Brooks
When does fedora 26 drop? today?
Levi Kelly
Yes. Not sure when exactly but today. Personally looking forward to python 3.6, go 1.8 and libreoffice 5.3 in f26.
Leo Allen
>this is your brain on free software Really makes you think.
Nathan Hall
what is that even, how do you even manage to write boring cp stories
Dominic Long
How do i open luks encrypted volumes on windows? all i can find is outdated apps
Jeremiah Rivera
Am I actually retarded for not being able to install Arch?
Evan Gonzalez
By using a linux VM?
Not for certain, it is just one piece of evidence. If you are not already familiar with the intricacies of installing linux distros I imagine it can be confusing.
Bentley Hill
Really not getting on well with bash.
upower -i $(upower -e | grep BAT) | grep percentage | grep -Po '\d*' works fine in the command line and prints the battery percentage.
But when it comes to using it in a script, nothing seems to work. I can't echo it or use it in a comparison. I've tried placing it in $(), "$()" but it still doesn't return anything.
Is there something I'm not getting?
Joshua Nguyen
Fedora 26 is live
Justin Perry
Through dnf system-upgrade?
Aiden Collins
has anyone here used unshield before? im trying to use it on a file and im using
unshield -d extracted/ /home/jon/Downloads/rct2 DATA2.CAB but that tells me Unknown action '/' on command line. im basing it off what ive been told to do with it unshield -d extracted/ x data2.cab
Parker Martin
The lone 'x' in the example you followed is telling unshield what action to take, eXtract. You replaced that with a path for some reason. It should be unshield -d muh/output/folder x muh/input/file.cab Replace paths as appropriate and put double qoutes around paths with spaces in.
Blake Brown
thanks. i though the x was for the file path
Isaiah Peterson
How do I get out of the mindset of running everything as root? I only ever run things as user if it's explicitly stated to be run as user
Typing sudo then having to grab my password out of Keepass is such a pain
Christian Cox
You can maybe get sudo to not ask for a password, or change your password to something more memorable.
Daniel Brooks
On a desktop that wouldn't be a problem but I mostly work with servers; and I don't want someone bruteforcing their way in
Jose Rogers
Newfag here, installing ubuntu gnome to dualboot with w10. what am i in for
Blake Johnson
What's the best software for ripping CDs to flac on GNU/Linux? Is there any that's as accurate as EAC on windows?
Colton Smith
stop using keepass and just dont use su or sudo if you dont have to ?
Jaxson Jenkins
regret
Adrian Wood
Yeah, there is a library that does accurip or whatever it's called the same as eac does, cdrdao or something, a bunch of programs use it. I use morituri
Colton Lopez
If i install ubuntu on a flask stick how slow will it be compared to an HDD?
Ian Hall
i need to change the "owner" of a lot of files and folders. I can do it slowly with sudo nemo but thats only one folder or file at a time. Is there a faster way?
Jeremiah Williams
sudo chown -R thenewusername thefiles You should probably skim over the man page for chown too.
Jeremiah Morales
hard to say HOW slower, but it will be NOTICEABLY slower because of slower random reads/writes and same-disk read-write operations. You can speed it up by putting some caches in tmpfs or forcing high level of disk caching but at the end it will be still slower than a hard disk or SSD.
chmod with the -R (recursive) flag. Note the capital R, -r means "remove read privilege".
Bentley Hughes
Files named 'os' and 'sys' keep popping up in various folders. What is this?
Jose Hill
How safe if the following? Kex Algorithms: [email protected] ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 diffie-hellman-group-exchange-sha256 diffie-hellman-group14-sha1
Server Host Key Algorithms: ssh-rsa rsa-sha2-512 rsa-sha2-256 ecdsa-sha2-nistp256 ssh-ed25519
Can this be collapsed into one so you don't have to type the password for rsync twice?
Noah Diaz
You could set up proper ssh keys on your machines so you never have to type it, ever.
Ethan Perry
...
Julian Taylor
Is there a way to tell i3 to open a window in floating mode from the command line? Like if I want to open a video and have it float automatically instead of changing my tile layout and manually hitting shift+alt+space.
Joseph Martinez
I use ssh key in putty to avoid password, but where do i put the private keyfile if i want to connect from linux machine to another linux machine? the public ones go into .ssh/autorized_keys
Blake Rivera
If you're using mpv, you could use "for_window [class="mpv"] floating enable" in your config file to automatically float all mpv windows. Replace mpv with the name of your media player according to xprop if you're using something else.
William Bailey
To connect from host "client" to host "server" without a password: user@client:~/.ssh $ ssh-keygen # don't enter a password here user@client:~/.ssh $ scp id_rsa.pub server:/tmp # enter password user@client:~/.ssh $ ssh server # enter password user@server:~ $ cat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys
Eli Gomez
I've got a really annoying issue with Debian 9 running on my Server
After running bash scripts text becomes invisable and I have to type reset to be able to see my text again
Is this a known issue? Anybody know how to fix it? Online solutions all seem to just suggest typing "reset"
Dominic Thompson
who /dnf system-upgrade/ here?
Adrian Perez
Excellent, thanks.
Camden Cook
What does the $ do?
Thomas Brooks
Hi, /fglt/ I put my own systemd unit file (.service) in ~/.conf/systemd/user, but when I try to start it or see its status (with systemctl --user status foo.service), I get "Unit foo.service could not be found." Do I have to restart my computer?
According to the manual page (sytstemd.unit(5)), it should be able to find it.
Michael Jones
If I forgot to install wireless network managers during Arch install, am I fucked and have to reinstall again?
Matthew Jones
Look what I've done: ptpb.pw/lkfi.sh/sh It may be retarded, but it works.
I'm sure there are other ways, check the wiki, you're not fucked.
Asher Sanchez
You were connected to the internet while you installed it, right? You should be fine. Just use wifi-menu and netctl, which are already included to connect, and then install and enable networkmanager or whatever else you plan to use.
Table 2. Load path when running in user mode (--user). ┌────────────────────────────────┬────────────────────────────┐ │Path │ Description │ ├────────────────────────────────┼────────────────────────────┤ │$XDG_CONFIG_HOME/systemd/user │ User configuration (only │ │ │ used when $XDG_CONFIG_HOME │ │ │ is set) │ ├────────────────────────────────┼────────────────────────────┤ │$HOME/.config/systemd/user │ User configuration (only │ │ │ used when $XDG_CONFIG_HOME │ │ │ is not set) │ ├────────────────────────────────┼─
. . . is $XDG_CONFIG_HOME set on your system? are you running in user mode?
Jeremiah Ramirez
No. I checked. And even if it was, it would be $HOME/.config
Jackson Miller
can you post the content of your service file?
Caleb Gonzalez
ALL ALL=NOPASSWD: /path/to/script
to /etc/sudoers
Christian Campbell
meant for
Jayden Morgan
it clearly seperates the username from the command
When you see user@client:~/.ssh $ ssh-keygen that means type ssh-keygen in your terminal
Anthony Howard
I rebooted, and it's working now.
You should setup ssh keys like user said, and you can also use this: rsync -r [email protected]:~/folder{A,B} .
Gavin Allen
It's shell prompt, you don't actually type it or anything before it.
Ryder Foster
Or just: Cmnd_Alias NO_PASSWORD_FOR_SCRIPT = PASSWD: ALL, NOPASSWD: /path/to/script
user ALL = NO_PASSWORD_FOR_SCRIPT
James Lewis
How usable is Linux without DE?
Cameron Lewis
you mean with only a window manager? pretty usable, but expect to lose a LOT of convenience you never realised went into a DE, but you can get most of it back
Dominic Harris
Nope, only shell environment.
Connor Martin
I don't even have X installed on my laptop and I get a shitload of use out of it. Switching TTYs is cumbersome, though.
Henry Baker
I just installed Arch on my laptop and plan to mainly use it for learning bash, C and maybe Python and use VIM for those activities. I assume desktop environemt is completely unnecessary?
Ryder Baker
A DE is unnecessary, but I'd still recommend a window manager like i3. Standalone WM's are so light there's almost no reason not to have one installed.
Nicholas Collins
wow i sure am fucking sick and tired of those god damn pedos ruining every borderline niche hobby. its faggots like this that makes gnu/linux synonymous with terrorist pedophile
atleast we have stickers to identify him with, shoutouts to my boys over at FBI
Basically Linux running as a userspace program, letting windows do a big part of the work such ass filesystem access etc. But while UML and coLinux as ports of the Linux kernel, the core of Ubuntu on Windows is a Linux-emulating subsystem developed by Microsoft using clean room engineering with zero code from Linux.
Jack King
So if all I care about is shitting out scripts in Vim then compiling from terminal, and watching cartoons in MPV this is good enough? I used to dual boot but I got tired of switching back and forth, and I dislike the performance drop I had with a VM. Would this be a comfy middle ground or does it run like ass?
Dylan Long
look at the most recent one
Connor Peterson
I want to repartition my (mechanical) hard disk and reinstall Arch. What file system should I use? I've tried F2FS on a USB stick, and it does wonders. Is there any file system that would work better on a mechanical hard drive than EXT4?
Thomas Murphy
>gnu.moe I recently discovered that GNU Moe is actually a thing that exists, it's a text editor: >gnu.org/software/moe/moe.html
Adrian Butler
>not going to greentext this shit because it would break rule 1. You mean this rule? >You will not upload, post, discuss, request, or link to anything that violates local or United States law.
John Turner
I mean it's all creepy and shit since I have no clue how old is this guy and what is his job but "not getting hit with a stick", "telling a child they're too small to ride an adult bike" and "talking about school" doesn't seem like a crime
Michael Thomas
Nobody?
Zachary Stewart
>just get a window manager bro, i3 >he then gets a taskbar, a wallpaper setter, a file manager, a notification daemon, utility software
Totally not a desktop environment.
Ian Gomez
Your scripts are at fault, they most likely mess with some escape characters and don't reset it properly.
Xavier Lewis
Even though the same scripts work on 16.04 without issue?
Jackson Gutierrez
Post the scripts. Are you using the same terminal emulator and shell on both?