r/linuxquestions • • Apr 16 '21

How I spent the pandemic: Learning Bash scripting, but now I want to take it to the next level...

142 Upvotes

I am NOT a programmer and have no formal training, but ever since the 80s I've written little Basic (now Bash) scripts to do some specialized chores for me. My current script has grown quite large and is more of a menu driven utility vs. command line with parameters.

So I was thinking of putting a true GUI front end on it. The app is useful in both Gnome (GTK) and KDE (QT). Personally, I spend the majority of my time in Gnome, and I know GTK apps run on KDE even if they don't look the best, but I thought I'd ask here...

Any suggestions on how to tackle this as an entry level project: GTK, QT, ncurses? Something else?

EDIT: Thanks for al the comments. As many of you have said, python looks great. I should be able to rewrite the current bash script to python then I'll look into Zenity to put a GUI on it.


r/linuxquestions • • Apr 12 '20

Do you try to keep your Linux OS clean? If so, how you do it?

142 Upvotes

I always install bunch of stuff that I don't need and afterwards it's always too much hassle to find and remove everything that was installed. Anyone else has this problem? How do you fight it?


r/linuxquestions • • Apr 11 '19

The recent blackhole imaging team required a few petabytes of data to process the image. I also saw a photo of their multiple harddrives. What kind of hardware setup and supporting software do you need to handle this much storage?

142 Upvotes

r/linuxquestions • • Aug 26 '23

i fell for a troll and deleted my /home directory

141 Upvotes

I fell for a troll on the internet and ran a command that deleted my /home direcory.

OS: Arch Linux

Shell: zsh

aplay --rawaudio "\$'\x72\x6d' $'\55\x72\x66' $'\57\x68\x6f\x6d\x65'`"

Is there any way I could recover my files? I'll provide information if necessary.


r/linuxquestions • • Jul 10 '21

Are Snap packages really that bad.?

141 Upvotes

I've seen most people hate snap packages and don't recommend installing them, Linux mint just straight up disabled the option to install snaps. But are they really all that bad as people say that they are?


r/linuxquestions • • Jun 23 '21

Which is the most underrated Linux distro out there?

141 Upvotes

I am sure there is some distro that has still not been acknowledged by many eventhough it is awesome. If you know about such distro, do share it with the community.


r/linuxquestions • • May 16 '21

Resolved Are Nvidia's drivers THAT bad in Linux?

141 Upvotes

I bought a pre-built not long ago with a GTX 1660 ti and windows pre-installed, I used to use Linux on my old PC but with an AMD gpu, so I never had a problem with it. Recently I have been thinking to switch to Linux again, but I always see people saying how bad Nvidia's drivers works in Linux, I am aware that I will not have the same performance as Windows using Nvidia, but I am afraid (and lazy to go back to Windows) ill get more issues with nvidia in Linux that with Windows itself.

EDIT: Wow, this got more attention than I expected! I am reading every single comment of you, I appreciate all information and tips you all are giving me. I'll give a try to Pop!_OS, since it's the distro most of you have mentioned to work pretty well and Manjaro will be my second option if something happens with Pop_os. Thanks for you all replies!.


r/linuxquestions • • Feb 13 '21

I've seen that RISC-V will have the capabilities to be 128-bit. Is there any application in computer science where this would be deemed useful and/or necessary?

141 Upvotes

Pure curiosity, the question just hit me and I would love to know more!


r/linuxquestions • • Aug 04 '20

Will Linux phones ever going to be smooth?

141 Upvotes

So I've been following the Pinephone and Librem5 for quite a while now. And while it seems like the core features of a "smartphone" are all there or at least very close to being done... it seems that every video I watch about these phones look laggy as hell. These phones are in development for quite a while... is there a reason why they are so damn laggy?

Am I missing something? I always see people praising these phones in the comments as if that is what they're supposed to be like... slow and laggy, I must be missing something for sure, it cant be for real can it?


r/linuxquestions • • Jul 31 '20

Wayland and Xorg. Difference?

141 Upvotes

I just know that they are display servers. But I don't know what they do.

Can someone explain the difference between them? And at what things one is better than the other?


r/linuxquestions • • May 15 '25

Advice Fair warning about PearOS: Don't.

140 Upvotes

To my distro-hopping friends and lovers of different distros: Stay way from PearOS NiceC0re.

The installer will wipe your whole disk — EFI partition included — with absolutely no warning.

I don't know how to emphasize this more: It will wipe your whole disk. Everything. Without any warning.

You select a disk to install to, and expect the next screen to be the partition scheme setup, like almost any other linux distro where you can select "Entire Disk", "Custom Partitions", "Replace Partition" etc. Something like that.

Not with PearOS. You select the disk, and boom it's empty and being installed to.

If you wanted to dual-boot PearOS with your existing install? Your existing install doesn't exist anymore, sorry.

This is such a stupid way to do thing, and such a no-no from a UX pov that I'm surprised something like this is publicly shared. This is something that should've been caught in early internal testing, not public builds.

I expected distros to do this in the ass-end of 1990s, not 2025.

Thankfully I was testing on one of my testing laptops, but it's still a pain in the ass to install and configure Windows and other distros again. Just because this piece of crap has the worst installer in the world.


r/linuxquestions • • Jan 19 '22

Will laptop manufacturers stop giving the ability to disable secure boot when Windows 11 becomes mainstream, making it impossible to install Arch-based distros?

140 Upvotes

Windows 11 is going to be pre-installed on a lot of laptops in the future. When it becomes mainstream, will laptop manufacturers have a reason to stop the ability to disable secure boot entirely?

I'm scared that if I buy a laptop in the future I won't be able to uninstall Windows 11 from it to install an Arch-based distro.

Can this unfortunate scenario ever happen?


r/linuxquestions • • Nov 27 '21

What do you call the "-" in "ls -la"?

140 Upvotes

I don't know why, but I always call it "tack", like "la tack la". I've said it so long I have no idea if it's even correct cause I say it to people and they're like what. What do you call it? Does it have an official name? Anyone have links? Tried googling to no avail.


r/linuxquestions • • Feb 18 '21

apt and apt-get, what is the difference?

140 Upvotes

I think both work for me, but what is the difference?


r/linuxquestions • • Nov 18 '20

I think I have misunderstood Linux

140 Upvotes

I have made two posts in here asking what specs are recommended in a computer to run Linux. I think my mistake has been that I treat it like a program instead of an OS.

Whether I choose AMD 3, 5, or 7 should depend on what I am using my computer for, e.g. AMD 3 for mailing and surfing, 5 for streaming, and 7 for editing. And this goes for other specs too: Choose storage size for how many movies, music, documents etc. I want to store, choose RAM size depending on how heavy tasks I'm going to use, choose graphics card depending on what I need for quality and smoothness etc. and DO NOT choose specs depending on what Linux Distro I want to use.

So choose your computer and it's specs for Linux like I would on a Windows.

Is this correct?

PS. My choose of Linux Distro doesn't matter either when choosing specs, correct? Yes of course some would be more demanding, but no one is going to be so much more demanding that I have to upgrade my parts. Correct?

Edit, Thank you very much everyone. This has been a great help!


r/linuxquestions • • Jan 23 '20

Just discovered https://explainshell.com/ check it out

140 Upvotes

Just found this referenced on a blog. Probably an easier way to look up these commands in the terminal, but I thought this seemed very useful

https://explainshell.com/

And someone else suggested https://www.shellcheck.net/ which is a similar site


r/linuxquestions • • Apr 01 '19

If Linux had the same amount of users as Windows. Would we see more malware on Linux?

140 Upvotes

Just a late night thought I got. People claim Linux is more secure than Windows, which it probably is. But wouldn’t malware be more common on Linux if it was more mainstream?


r/linuxquestions • • Feb 07 '24

Is a 9600 baud terminal really this slow?

139 Upvotes

Hello, I am setting up my gentoo home server. I am connected to it using a null modem cable over a RS-232 connection with 9600 Baud. The cable is 5 meters long.

But the terminal is really slow and laggy. Is this normal for 9600 Baud? How did the people back then used linux if the input/output was so laggy? 😅


r/linuxquestions • • Jan 25 '24

Why do some universities host mirrors of various linux distros?

139 Upvotes

while I was downloading ISO files for some distros and I see mirrors coming from some universities like waterloo and ubc. Just curious but why?


r/linuxquestions • • Dec 17 '21

Why use a different terminal?

139 Upvotes

Sorry if I sound foolish (which I probably will, because I'm an amateur Linux user) but why someone changes between terminals? For example, I've been using alacritty for some time and I see no difference between alacritty and the others. I used gnome terminal, urxvt, termite and some others but they feel like they're all same. I use same commands, same keys and they all do the same. Only thing that changes is the prompt and that changes with the shell, as far as I know. I use fish shell and the prompt I choose is applied to every terminal with fish shell. So, what I want to ask is, what's the point of changing terminals? For example, what is the difference between alacritty and gnome terminal or termite? Please enlighten me!


r/linuxquestions • • Aug 07 '21

What is the most free software and consumer-friendly printer manufacturer?

139 Upvotes

From reading other threads, it seems like the situation is tied between HP and Brother printers: HP because they provide excellent GNU/Linux support, and Brother because they allegedly don't use DRM to restrict the ink/toner cartridges that can be used or have otherwise sleazy business practices. As consumers, where is the best place to put our money?


r/linuxquestions • • Oct 28 '26

Has there ever been a Linux distro that was secretley malicious?

138 Upvotes

Seeing that there are a ton of different Linux distros out there that can be created by literally anyone has got me thinking, has there ever been a Linux distro that was secretly malicious?


r/linuxquestions • • Aug 25 '24

If you're Dual-Booting with Windows, Why?

138 Upvotes

In my case, for example, I still heavily rely on Adobe Premiere and other non-Linux-supported utilities, so I don't feel entirely comfortable ditching Windows, at least not until I've put my Linux install through the ringer.

What about y'all?


r/linuxquestions • • Apr 12 '24

What is a Linux distro that should exist but doesn't ?

138 Upvotes

If you could wish a distro to existence what would it be?