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 search engine, mailing lists... >b-but what search engines respect my privacy and freedom of speech? Try qwant, searx, ixquick or startpage. >b-but what e-mail providers respect my privacy and freedom of speech? Try disroot, autistici or aktivix
$ man %command% $ info %command% $ help %command% $ %command% -h $ %command% --help
Don't know what to look for? $ apropos %something%
I recently installed and rooted lineage on my phone. And everything seems to work except for when I try to use the root command line. Instead of special keys doing stuff something like pressing esc just types ^[, In vim this results in pressing i to enter insert mode and seeing the letter i appear in my file in vim. Then I press esc and ^[ appears so it looks like vim doesn't react to these keys but when I type ^[:q! and press return I do actually exit vim. does anybody know how to fix this, I seem to only have this problem in the root command line
Austin Long
I want to get the last two numbers of $RANDOM. How do I do this? echo $RANDOM
Also recommending any good tutorials, guides, primers on the command line. I desire to know the key elements.
Jose Sanchez
I mean REQUESTING good tutorials.
Kevin Johnson
echo "${RANDOM: -2}"
Kayden Morgan
Is there something like Openbox that doesn't use fucking xml for configuration?
Jaxson Allen
Sometimes i find my laptop with mint on it randomly turned on (lid closed) after i shut it down. It seems like its suspended but i know i pressed shut down. Why does this happen?
Caleb Wright
Fluxbox
Gabriel Williams
firefox doesn't show google suggestions. Any ideas how to fix it?
Julian Morgan
Good post.
Dominic Cooper
You should be lucky. What if you accidently insert you clipboard into the bar and google saves it?
Christian Reyes
:O
Jordan Nguyen
What are the best free distros around? GuixSD looks promising. Is is ready yet? Anyone got experiences to share? Running Parabola for now if it matters, do no driver issues.
Jaxon Cooper
How picky are tar backups? If I make one of a system with separate / and /home, and then restore it to a single partition (/), will it work? What about /dev/sdaX references?
Noah Watson
Why people say that Arch Linux packages are shitty and bloated , binary saves? whats the reason? somebody can explain this to me!?
Josiah Sanchez
Because package spliiting. Mist distros split a package into various parts, like a package providing the binary, a package providing the source code, a package providing documents, a package providing etc. Arch is about simplicity, so you get one package with everything, which can lead to bloat when you actually have no use for other things except the binary.
Leo Bell
all(most) optional features are enabled by default
Jacob Gomez
What kernel parameters do I need for ADB?
ADB stops recognizing my device once I'm in recovery mode. I'm pretty sure I have some kernel option turned off. What can it be?
How do you get a standalone WM like Fluxbox working on hidpi? If I could do that I'd tell GNOME to fuck off forever.
Jonathan Hughes
Jesus Christ that's a lot of config files. Gonna give it a go though.
Tyler Perry
Make sure to match your monitors DPI with the DPI in X and xrandr In ~/.fluxbox/overlay, change the fonts to be a bit bigger to suite your needs And then there are EXPORTS you can set before you start fluxbox that adjust scaling
William Bell
~/.fluxbox/startup is really all you would need to modify to get a customized working config
Benjamin Barnes
my macbooks and linux box all share the same .zshrc, so when trying to run various scripts on the machines, sometimes id run into python issues (pip packages missing, version mis matching)
So to solve it, i have a docker file which builds python:latest and installs all the common pip packages my scripts use, then when i run any one of those scripts, i start up the docker container, mount my script to /script.py, and run it. This way, i can ensure i never have a version mismatch on any machine.
Just felt like sharing
Wyatt Bailey
Most themes have a bunch of bitmaps though. Do you just need to manually scale them in imagemagick or something?
Aiden Garcia
It should work if the new partition has enough free space for all the data.
Nicholas Parker
Yes.There are also fluxbox theme repo's with hidpi themes
Jackson King
Best way ti rename a bunch of files on cli?
Jace Reyes
my firefox on arch wont play mp4s. I have ffmpeg installed, why does it not recognize it?
Joshua Harris
Which FF build? Mozilla official, arch binary or self-compiled?
Gavin Long
I tried mozilla official and arch binary. I also tried the developer edition and nightly binaries.
Austin Watson
Do you have mp4 enabled in about:config?
Christopher Martin
yep. it works in any webkit based browsers btw.
Andrew Jackson
Does Revenge installer come with any preinstalled software or is it just Arch with an installer? I really just want an OS with no preinstalled shit like libreoffice which i'm never gonna use.
Evan Price
I work at a university and I saw a woman with these stickers on her laptop today. I asked her where she got the Max one and she said Red Bubble and then went on her way after saying "Have fun with red bubble, my property." Which one of you is this?
Eat shit and die. If you want people to find the friendly gnu/linux thread, call it by it's proper name. fglt in subject field.
Lincoln Morris
Freedom a cute.
Matthew Gray
# batch-rename txt files with leading zeros X=1; for i in *.txt; do mv $i $(printf %04d.%s ${X%.*} ${i##*.}); let X="$X+1"; done
# batch-rename jpg files starting at 1400000.jpg count=1399999; for i in *.jpg; do mv -nv -- "$i" "$((++count)).jpg"; done
Aaron Ortiz
rename (on Debian distros a link to prename) a Perl script from the Perl package. It allows things like: rename 's/Richard Stallmann/RMS/' * Richard*jpg And ofc all Perl magic.
Andrew Morales
-*
Jonathan Brooks
now THIS is what I call friendly!
Anthony Lee
incase anyone encounters the same problem. I fixed it by downgrading ffmpeg to 3.4. for some reason firefox refused to work with 3.5
Colton Barnes
she sounds retarded
Tyler Adams
Exactly how long is Jow Forums expected to wait for you to grow a fucking brain?
Josiah Martin
Literally the only time I've seen it in public. Rude.
Julian Russell
>"Have fun with red bubble, my property." What the fuck does that even mean?
Joshua Long
The philosopher, Max Stirner, had a habit of calling everyone and everything My Property, it has to do with this philosophy of Egoism. Which is why she called me that. I can assume she is an egoist.
Wyatt Adams
How the fuck do I reset my terminal colors? I don't have any colors set in .bashrc, I don't have .bash_profile, .profile has no colors, I deleted .Xresources and .xsession-rc and .Xdefaults Yet all my shit is still gray and fucking blue all over, which I assume is from some bad config I had earlier, what the fuck
Isaac Wilson
honestly I never even looked at the other thread because it didn't have fglt
Nathan Rivera
Thanks
Mason Mitchell
what do you guys this of this general? /mg/. is minimalism worth it?
Samuel Butler
I typically say how systemd will do whatever the poster is asking to do if they don't have it then usually I tell them to "go figure out your init" and redirect to >>>/mg/
James Ramirez
Does Vega not work in Wine yet? I was having issues running games, the I checked the Steam system info and it said I was running an ATI HD2900XT. Is this a bug or does it have to do with Wine emulating drivers?
Austin Cox
cripple computing
Cooper Ortiz
>install lubuntu for the first time >3 hours later >my desktop is already fucked is this the true freedoms experience? i don't know what to do, lxpanel and lxsession only appear when i open them on the terminal
Nathaniel King
So I finally snapped and installed Linux (openSUSE) on dualboot. Everything went well, I really like it so far. But the issue is that the Grub is not showing me my Windows.
How to boot into Windows again?
Henry Miller
os-prober
Aaron Nguyen
Doesn't show anything.
Carson Reed
Then your Windows install is gone.
Samuel King
I want to have sex with her
Henry Davis
You have to regenerate the GRUB file for os-prober to work. # grub-mkconfig -o /boot/grub/grub.cfg
Grayson Lewis
Just installed Elementary OS on my laptop, now what?
Are you running these commands as root? You need to.
Samuel Martinez
I already did. It ran, generated. Prober still shows nothing however.
Brandon Ramirez
You guys getting Ubuntu 18.04 on Apr 26th?
Jacob Ross
Is Windows on a separate drive? Or did you partition one drive in half? Your best option would be to grab your Windows USB and do a repair. Worst case is you overwrote it, if not then the Live USB should be able to find it.
Nathaniel Gomez
No, since they're back in botnet business.
Blake Martinez
Partition. I'm making USB now, I did not overwrote it, so I think this will be the easiest way. Thanks again user.
Adrian Garcia
Add this to /etc/grub.d/40_custom. Change the hd numbers to match yours. hd0,1 is sda2 hd1,2 is sdb3, etc. If opensuse doesn't have that folder/file, look up where it keeps grub settings. menuentry "Windows" --class windows { set root="(hd0,1)" chainloader +1 }
Asher Reyes
hd number should be the one with boot part of Windows (that little 100M fucker) or the whole partition?
Jeremiah Smith
The main one, not the little one
Dominic Rodriguez
Thanks, will do.
Elijah Taylor
POSIX compliant (POSIX doesn't have $RANDOM actually): echo ${RANDOM#${RANDOM%??}}
I managed to have Windows in the Grub now. It's not loading, but that is clearly because I fucked up selection of the hd. I will fix it tommorow, have to sleep now.
Thanks again, good user.
Ian Garcia
This isn't GNU/Linux specific, but someone on /sqt/ directed me here and I really need an answer.
How do I use a regex lookahead or lookbehind to keep delimiters in a string?
My string has one or more sentences. I want to split them up and keep the punctuation mark.
E.g. String is "I like cheese pizza. Do you like cheese pizza? Let's eat cheese pizza!"
Need ["I like cheese pizza.", "Do you like cheese pizza?", "Let's eat cheese pizza!"]
Fuck I hate regex, but I'd start with positive lookbehind matching a whitespace with punctuation mark before it and then positive lookahead match a uppercase letter after it. So essentially matching the white space between sentences. So something like (?
Eli Jones
When I uninstall a DE (Xfce), does it uninstall the tools and accessories that were installed alongside? Things like 'bulk rename', 'sreen reader' or libreoffice.
Kevin Brown
It varies widely, but in general these things can just be reinstalled without issue. A DE is a WM + A bunch of preconfigured programs Installed GNOME? Here's gnome-calculator and gnome-calendar and gnome-terminal and gnome-this and gnome-that Installed KDE? Here's KDE-calc and KDE-cal and Konsole and K-this and K-that Installed XFCE? Here's...you get the point
Uninstalling the DE may or may not uninstall a lot of these programs, dependencies have a weird way of persisting so removing GNOME as a DE probably won't gut all the gnome-[application] things that exist because they're not strictly dependent on you actually using GNOME as a DE, just the libraries that came with it that you now still have.
Ryan Baker
Thanks man!
Jack Williams
Is there a way to view remote files for onedrive/google drive in dolphin as if there were on the machine?
Is it possible to selectively sync a single file/folder through dolphin?
Gavin Bell
If you're on GNOME: They have a baked in solution (annoyingly) Just as annoyingly, there's no official gdrive client for linux. I use github.com/odeke-em/drive Which I mostly used because it has the least obnoxious syntax. The downside is it requires Go to compile (which is only like 30mb or so for the whole toolchain so idk if it's a serious complaint). Other than that, I use it to just once-a-day sync my selected gdrive folders into specified directories, and then I bookmarked those inside pcmanfm. I would be forced to assume dolphin has a similar directory-bookmark system to keep access persistent.