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%
It's explained in the last 2 comments. How is it dangerous? You need root privileges to start system services. If someone is in a position to start or edit those files for you, there is no need to "exploit" this. It's also explained what happens when the username is non existent and when it's "invalid".
John Taylor
I downloaded a Windows iso, used dd to burn it to a usb drive, but it won't launch, even when the bios recognises there's a usb drive in.
I have Linux installed, could it be because of that? Should I format the drive first?
I wanted to have Windows and Linux but installed Linux first.
Anthony Taylor
...
Henry Flores
> don't expect the service to execute as root > it executes as root You have no idea of the variety of jobs that init is tasked to handle. If you honestly can't imagine that being exploited you need to learn more security. You need to be defensive, always.
Ryan Wright
> 3.426 User Name
> A string that is used to identify a user; see also User Database. To be portable across systems conforming to IEEE Std 1003.1-2001, the value is composed of characters from the portable filename character set. The hyphen should not be used as the first character of a portable user name.
> 3.276 Portable Filename Character Set
> The set of characters from which portable filenames are constructed.
> A B C D E F G H I J K L M N O P Q R S T U V W X Y > Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 > 4 5 6 7 8 9 . _ -
> The last three characters are the period, underscore, and hyphen characters, respectively.
Ryder Russell
why shouldn't i install ubuntu?
Tyler Nelson
they put ads in the motd.
Logan Sullivan
why cant i set execute bit for files with umask?
Gabriel Jenkins
>tfw fell for a windows meme because pajeets keep forcing "muh just werks" fug, even gentoo "just werked" better
Xavier Cox
You can. Also, files don't have umask. Your shell does as the default perms for new files.
Nicholas Reed
But if umask only applies to terminal how do i set umask for dekstop? I am tired of having to chmod 700 my torrented porn files manually all the time
Luke Rivera
Not sure, it might inherit for process groups or something, but you should search the web of no-one else here pops up.
Nolan Torres
How do i create a proper snapshot in lvm? Normaly a snapshot only saves incremental changes, so if i delete the system partition i won't be able to restore shit from the snapshot. I would like to take a full snapshot of the root so that a year later when i delete the / partition i will be able to easily restore it to the state it was right when i took the snapshot
Angel Brooks
What are some cool terminal commands?
Jayden Sanders
cat
Jeremiah Kelly
Apart from gentoo, why should I bother switching to Linux now that systemd has ruined everything?
Ian Jones
Getting a new laptop and I'm already depressed af about all the configuration problems. Wonder what windows feels like after all these years.
Connor Davis
cat is for concatenating files. Concating a file with nothing is wasting a process.
Jack Wright
What is systemd?
Mason Campbell
mpv --vo=fbdev:fb_path=/dev/fb0 /path/to/video
Ryan Russell
You set up dotfiles once and carry them with you. An alternative to diversity and flexibility. mpv avdevice://lavfi:life=s=683x384:mold=10:r=60:ratio=0.1:death_color=#330033:life_color=#990033,scale=1366x768:flags=16 --fullscreen
Cameron Evans
So I rebooted a while ago and noticed my sound stopped working in firefox, still works everywhere else on my system just not firefox. I'm on firefox 54.
I did some googling and apparently Mozilla dropped support for Alsa in 52 which is what I use, not pulse.
Is this really what's causing my sound to drop, I just find it unlikely that I would not have noticed until now on version 54?
Chase Rodriguez
But what does it do that makes you think it's the Devil. I'm a computer illiterate, so please be gentle.
William Roberts
some distros compiled firefox with alsa support even after 52 maybve yours stopped doing that now
Dominic Torres
It's da best as all always. I don't even install drivers anymore with windows, i just plop it onto the pc and everything works out of the box
Jonathan Ramirez
>Starting with version 54, Firefox uses PulseAudio for audio playback and capture. For sound to work, you need to install the pulseaudio package.
FUCKING WHY.
Why does Mozilla just try to ruin everything, what fucking reason is there to stop supporting alsa.
not lunix related, but this is cool eu's are attacking companies such as google microsoft facebook etc google already got rekt with a €2.42bn fine theregister.co.uk/2017/06/27/google_record_antitrust_fine_europe/ will at the end the gubbermint save us from the botnet?
Nolan Allen
>google already got rekt with a €2.42bn fine >google >€2.42bn fine >rekt
Oh man, i hate to be the bearer of bad news, but thats meager change for google
Gavin Thomas
Learn programming and maintain it yourself.
Joshua Allen
Too late, I installed pulse. Was a lot less painful than I thought it would be.
Lucas Sanders
I've read there's "apulse" which somehow trolls programs into thinking they are using pulse while its actually alsa. Just in case (didn't try it myself).
Logan Carter
why is systemd a meme now?
Evan Gonzalez
...
Anthony Nelson
I'm just a user without any detailed technical insights about any "botnets", security problems, or whatever, but here my 2cents why I dislike systemd:
- it makes redhat too powerful - its acceptance as de-facto standard and developers acting like it already is, makes programs start depending on it, which will ultimativly result in systemd being the actual standard, but imho programs should just run, whatever init you're using
why systemd is a meme - poettering is funny - she wants the system's D. - talking about technical things you barely understand is cool
David Lopez
>€2.42bn How much is this in fucking cash? >what is a cool terminal command to convert currency?
Cooper Reyes
This fine is pure bullshit. >own a company >work hard and earn my way to the top >use MY SEARCH ENGINE which i made and own to preffer my products in search results, because again i own the search engine and i pay for its maintenance and give it out to poeple for free, they can use some shitty bing if they want and those cunts dare to fine them? i hope eu gets fucking nuked
Mason Howard
>feeling compassion to multibillion dollar american corporations which turned ruining the planet and it's inhabitants into a joint venture
Thomas Green
Bump.
Nicholas Hughes
>- it makes redhat too powerful It's free software, idiot.
>- its acceptance as de-facto standard and developers acting like it already is, makes programs start depending on it, which will ultimativly result in systemd being the actual standard, but imho programs should just run, whatever init you're using None of the "user-facing" programs that I use depend on it. Most certainly neither do yours.
Alexander Parker
>It's free software, idiot. that's irrelevant if there are no viable alternatives
Ayden Cook
Google isn't just a search engine. It may have started as one, but today the search engine is just a part of a complete advertising system selling our souls. I couldn't care less when they loose some sheckles.
Dominic Harris
Once there's a "need" for an alternative, one will show up. It's free software. If you don't find a free alternative, write one yourself. But you can't, because you have no skills and you are entitled and demanding other people use things you like. That's a symptom of autism.
Gavin Ross
to comply with the latest systemd-userspaced/systemd-kerneld standards
Leo Williams
does vaapi enabled chromium accelerate netflix streams?
Austin Price
being "free software" isn't an ultimative "okay", please let it go and think out of the box
months back I had the same opinions, but srsly you need to follow systemd development and how systemd developers act, why distros adpot systemd and who the people are who adopt it
Austin Anderson
...
Brandon Garcia
Are you complaining about bloat in a modern web browser?
This is what they do.
Robert Foster
Nice conspiracy theories.
Wyatt Reed
>FUCKING WHY. multichannel and duplex support
Adrian Collins
the euro is slightly more than the dollar, but since americans isn't taught math, just assume it is the same.
Dylan Reed
How so? Just use your brain. You don' bite the hand feeding you (which is RedHat), so you adpot everything its presenting you. If the community likes or dislikes it, is not important. Look at the Debian voting. The majority of the community didn't want it, some didn't know what systemd is and what it does, some others approved it. Yet systemd came to Debian. Same with other distros. This just shows how much of too powerful RedHat already is.
Xavier Sullivan
I just updated Xubuntu to 17.04 and now it boots to a black screen, what do
Dylan White
Doesn't affect me at all. It's free software. It's also convenient and I don't have to trade in convenience for proprietary software.
Chase Allen
>It's free software *explodes*
Jayden James
>netflix
kill yourself back to facebook/lebbit
Hunter Parker
stop using xnoobuntu.
install debian or debuan with task-xfce-desktop
Lincoln Evans
not helpful
Anthony James
Lifetime is important. Doing a fast-forward in order to save time is indeed helpful.
Luke Hernandez
>>>/sqt/ is this way >>>/askubuntu/ is that way
Brody Rodriguez
why does it matter not like you're going to get more than 720p
Andrew Gomez
battery life. it's for a laptop.
Jeremiah Thomas
when even freetards arent united with an opinion about systemd, I don't know what to do isn't there some, whater, wiki where I can read unbiased, informative stuff about systemd in order to make my own opinion?
Easton Jones
Should last a bit, I'd say. Especially for a laptop.
Angel Green
Why do you need to have an opinion on things you don't understand? If you truly "needed" to have an opinion, you'd be smart enough to research it on your own. But no, you want to be spoonfed information which you then blindly adapt just to have an opinion on something technical that you can parrot to feel smart in online technology discussions.
Xavier Ross
this post doesn't help much you could aswell just not post
Mason Roberts
Hi /fglt/
I'm trying to make a python script run from anywhere on my system, I'm assuming I would use bashrc but I'm not sure exactly what I need to do
I've got the .py file in my ~/bin folder, what would I use so the system would recignize it as a command?
Even better if I could shorten it so I could type 1 word and it would run the script + specific options
also make sure ~/bin is in your PATH (use full path like /home/user/bin/ just to be sure)
Jace Fisher
That works perfectly, thankyou
Aiden Perez
There are 2 things:
- Is the file executable? If not, chmod +x file
- Is ~/bin in your PATH? You PATH is a variable which holds all directries which can contain executables you can run from the cli. If ~/bin is not part (you can verify with running: echo $PATH) put a line into your bashrc: export PATH="$PATH:~/bin"
Bentley Baker
Is there any advantage to using the full path to your home directory instead of a tilde? I've always thought that a tilde was better, since it allows scripts/configurations to be compatible across systems
Gavin Lopez
$HOME > ~ > full path
Ryan Myers
It's better to use ~/.profile instead of ~/.bashrc, since then your PATH variable isn't tied to a particular instance of a shell.
Luis Roberts
>tfw wanted to change owner and group of some files in a directory so i did sudo chown -R user:poop . >tfw . is on the keyboard right next to / and i actually accidentaly did sudo chown -R user:poop /
It's over. It's all broken. All that remains is for me to put myselfs out of my misery ;_;
I hope that cunt who designed the keyboard layout in a way this retarded will burn in hell for all eternity
Dylan Wood
neofetch | tac fortune | cowsay | tac
Jace Garcia
1. Those who have something against freedom are the tards. 2. All the anti systemd shit you see here is paid shills spreading fud and the occasional useful idiot.
Landon Hill
t. red hat shill
James Cooper
WHEN YOU WERE HERE BEFORE
Gabriel Morales
The community doesn't need to shill something. The only entity with the need to make payed posts are companies who would otherwise lose money: eg. Red Hat
Charles Baker
can someone give me a quick rundown on the systemd controversity?
Ethan Morgan
Have you tried search engines?
Cameron King
>perfectly fine working system >systemd appears >shits on fire
Brandon Hall
I'm running systemd on Devuan. What now?
Brayden Myers
here is your (You) now piss off
Luke Barnes
Would be cool to change your init on other distros aswell, right?
Logan Ramirez
systemd is not an init system people need to stop thinking systemd is an in system systemd is not an init system