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%
>i said we needed a bigger NUMBER of linux users, not bigger linux users!
Julian Butler
Perfect time for /fglt/ to start working out. Get ready for when god begins his war against the CIA.
Parker Jones
kek
Eli Powell
Feature creep and general developer incompetence. If you just want ex/vi, nvi and elvis does the job much better. If more, any IDE serves its purpose. Vim can do neither because of how buggy releases tend to be.
Camden Price
How can I make this less retarded/shorter?
for i in *.gif; do mv -vi -- "${i}" "$(date +%s%3N).gif" done for i in *.jpg; do mv -vi -- "${i}" "$(date +%s%3N).jpg" done for i in *.png; do mv -vi -- "${i}" "$(date +%s%3N).png" done for i in *.mp4; do mv -vi -- "${i}" "$(date +%s%3N).mp4" done for i in *.webm; do mv -vi -- "${i}" "$(date +%s%3N).webm" done
Christopher Price
The -i flag is useless here since it's always processing just one file.
Eli Sanchez
for i in *; do mv -vi -- "${i}" "$(date +%s%3N).${i#*.}"; done
actually, you might want to use ${i##*.} instead, the greedy version, so instead of "one.two.three" becoming "32547389.two.three", you get the desired "32547389.three"
Carter Lee
for fname in *.@(gif|jpg|png|...etc); do mv -v -- "${fname}" "$(date +%s%3N).${fname##*.}" done
Gavin Baker
for ext in gif jpg png mp4 webm; do for i in *.$ext; do mv -vi -- "${i}" "$(date +%s%3N).$ext"; done; done note that this is most likely case sensitive globbing, in bash you can do shopt -s nocaseglob to turn case-insensitive globbing on.
Oliver Allen
glibc or musl? Whats the difference? Why choose one over the other?
Jeremiah Richardson
jesus fucking christ. if you aren't going to use ksh extglobs. at least use the cartesian product operator. *.{gif,jpg,png,etc}
Austin Anderson
glibc has known functional features, well tested and likely to be installed but has some static linking difficulties, including license.
musl has a proven nonfunctional dns resolver but is fully statically linkable.
reallyI'd use glibc unless you need to be an esoteric faggot or really need static linking.
Evan Richardson
but then you dont have the extension inside the loop
Thomas Scott
then use a simple string op to get it. the initial expansion and string ops are going to be faster than a bunch of looping due to how shit bash is.
Dominic Sullivan
>then use a simple string op to get it why? I already have the extension in the nested-loop and it's a very simple outer loop, I can't imagine it'd create much overhead. but feel free to post benchmarks if it means so much to you
Nathaniel Foster
why? I already posted a not retarded solution retard. also, quote your string expansions next time. only the glob part needs to be unquoted, not the whole string.
Ryan Miller
Should i go back to using fedora? idk ive got to do a reinstallation and i cant choose what distro to go to next. ive used fedora and debian based distros a lot. desu i dont really want to fuck with arch but i want a system thats actually up to date all the time and isnt a clusterfuck to use
Anthony Gomez
What does /fglt/ think of vile?
Bentley Hall
Question: what distro should I use if I want to get into penetration testing? I have heard Kali is good, but some people prefer Parrot.
Owen Scott
I see that the bulk was successful
Brayden Davis
Is GNU/Linux truly that popular in central and eastern europe?
Josiah Rodriguez
if im migrating, what else should i backup aside from /home?
Ian Moore
whoever decided iwconfig, ifconfig and iwlist needed to be seperate is a retard. setting up networks could be so much easier.
Samuel Smith
posix says so and so does 802.11 being such a shitshow, closed committee spec.
Jonathan Richardson
SSD coming in the mail today. Gonna out Ubuntu 18.04 Budgie in there and start using GNU/Linux instead of Windows. I have experience with Linux before.
What are some things you recommend I do or packages you recommend I install when finally switching?
Ethan Evans
Install ed because it is the standard editor.
Parker Bennett
posix i get but what did the 802.11 comitee do?
Elijah Price
is there some way to browse Jow Forums from the terminal? im bricking my graphics drivers and de nearly every month so i want to post here to troubleshoot.
Brandon Jones
Ok so i finally got a de to work by installing xfce but i still have rhe same issue where my graphics tablet is the only input that works. Keyboard and mouse stop working as soon as x boots i guess. Ive tried a fresh x conf i think but still nothing. If i cant fix it fairly soon im going to just nuke the system, everything is backed up anyway.
Cameron Nguyen
just have the vesa driver and a wm lying around, so you can do something like; xinit /usr/bin/icewm -- X -config ~/.xorg-vesa.conf where .xorg-vesa.conf is an xorg.conf with vesa set as the driver
Austin Gutierrez
finally got rid of windows and installed debian been using nothing but xfce previously on labtops so i'd like to try something else. Is it really outdated and should i switch to a WM like i3? Seems to be no decent DE, so i thought i'd try a WM.
Dominic Hall
My HDD shit itself and I can't afford one for a while so I have been running a live usb for a while which is fine. I'm just curious if the usb drive will wear out because of this or will it have no effect? Afaik running live is read only and that wouldn't wear it out but I'm no expert.
that shouldn't be a problem, excessive reads can lead to read disturb, which either results in corruption, if the device doesn't rewrite blocks that are read often, or the occasional rewrite if it does, it's way less of a problem than writing often some livecd's can also be loaded entirely into ram, so you could just use one of those and remove the flash drive once the machine is booted, totally eliminating even that
Alexander Smith
Flash drives generally use pretty shit nand so it will wear out fadter than say an ssd. However in saying that a quality usb drive will last the same as an ssd would
Jacob Turner
Not him, but how long would a generic $10 USB stick last from any store that sells flash drives be it a supermarket or gas station or whatever?
Jaxon Diaz
Youd get a decentish life out of it, just dont store anything critical on it. For example a sandisk ultra fit will usually run a nas os on it for several years. Obviously theres less read write in this scenario though. Cheaper nand also tends to get hotter which obviously means its going to wear out faster
Levi Rodriguez
My advice is dont bother with xfce. Either use lxde or just use openbox. Xfce always gives me issues regardless of the pc its being used on. Its not really that lightweight anymore either
Kevin Baker
Why do people use vim when it's the largest vi clone there is?
Nathaniel Morales
>remove lamp-server^ package >somehow it also removes basic system packages and I don't have audio anymore what does a lamp server have to do with my audio
>2 2tb hdds >first is my primary encrypted debian installation >2nd is empy I want to use the second for backups. Both are 2tb but im worried that it wont fit because of all the encrypted space that it will have to copy. Will it fit? What should i use to clone the disk?
Kevin Lewis
>some livecd's can also be loaded entirely into ram I tried doing that and it always crashes after about 18 hours
This is what I did, when I tried to remove lamp-server^ at first it was giving me an error about dbconfig, apparently it was not properly installed, so I removed that one first
I'm not exactly sure if this is what caused missing system packages but it's the last thing I noticed the problem now because of the missing volume control and firefox not playing audio (deadbeef played audio just fine though) I did apt-get install xubuntu-desktop and it fixed it
Liam Johnson
Yeah, then it sounds like it was just a meta package and had a bunch of packages as dependencies.
Logan Morales
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?
Friendly reminder Elvis has HTML and groff support, even his help pages are in html. Also can do folding. All with the same if not less bloat than nvi.
for i in *.{gif,jpg,png} yada yada do mv -nv -- "$ yada yada done
Jonathan Taylor
I have been messing around with graphics drivers for a while now but the biggest problem I am dealing with is the fact that I can't get any usefull feedback from xorg. I have tried tail -f /var/log/Xorg.0.log which when I try to restart sddm says some stuff ending with server terminated with error (1). closing log file. then it tries to start sddm again and nothing is appearing in the log file. How am I able to fix anything if I don't have any errors to tell me what is going on.
Tyler Howard
What's the best foobar-like music player?
Jack Fisher
I remember this meme
Nathan Diaz
Why newfags always come here asking for a foobar clone? is not that great.
Mason Rodriguez
It's a minimalistic music player that at the same time can do everything.
Landon Brown
None. GNU/Linux is am unix-like OS; programs aim to do one thing well.
For starters, number of lines of code is not an indication of importance.
Cooper Turner
A few friends of mine and I are making our own Linux distribution for shits and giggles and we want a bootable ISO to install it on random computers in our houses for testing. Since this is the very first step to making it I was wondering uh... how the fuck do you do that exactly? I mean i know what goes into the distro itself, init, bootloader, kernel, scripts, etc but setting all of these things up to be placed on an ISO is a mystery to me. Any suggestions.
Hudson Russell
Nobody claimed that tho.
Caleb Young
Search the web for linuxfromscratch, it's a short book that guides you to build a basic GNU/Linux system.
Mason Gonzalez
What are the best resource light (minimal) torrent applications? I am currently using transmission, don't know if there is anything better. Terminal is preferred but rTorrent seems a little gimmicky.
Elijah Johnson
i was about to start reading that but it looks to me like it doesnt actually contain the instructions for iso creation specifically
Ryder Johnson
Redpill me on getting Nvidia Optimus to work on Fedora 28, I have an E6520 I have thought about slapping Linux into. How is the power management on that OS? Am I going to lose my battery after like an hour of use?
real 0m0.902s user 0m0.566s sys 0m0.494s Why doesn't anyone use bzip2 when it's clearly the best? Most distros default to gzip. Bzip2 is third fastest but smallest filesize. All the other ones - well, imagine designing a compression algorithm that can't even compress zeros!
Jayden Flores
How do I make a script executes automatically every minute with the i3wm config file?
call a script that executes them every minute what is your use case for this?
if the drivers don't work you'll probably need to find a patch or google for other people using fedora on the same laptop as you, but I haven't used nvidia on linux since about 2015, as far as power management goes you won't get a tool that will give you better power management than what you can do manually - look into things like powertop etc
Isaiah Clark
I have this cool little script that checks if my battery is low and send a notification, I want it to automatically start on boot and check every minute for the battery, that's why I need it on the i3wm config.