linux4noobs

4190 readers
1 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 2 years ago
MODERATORS
1
 
 

Perhaps I missed the setting, but I want blank username/password fields instead of selecting from available users if that makes any sense. On KDE Plasma if that matters.

Thank you!

2
 
 

Hi, y'all. Running Linux Mint and I have the puzzle presented above.

From what I gather, I'm using rename (1p) which makes mention of Perl and in the man page it says it will also run as file-rename. I'm not sure if this is the right rename utility for the common argument

s/old_pattern/new_pattern/

but any time I try to run anything (including -n), I just get an angle bracket > and have to ctrl-c out.

I'd also need some details on how the wildcards work, which seems to be lacking in the documentation.

Edit: Instructions unclear. I have a bunch of episodes that are very wordy. I'm moving them onto DVD and truncated on my player the directory will look like:

Star Trek The Next Gene.... Star Trek The Next Gene.... Star Trek The Next Gene.... Star Trek The Next Gene.... Star Trek The Next Gene....

so I want to take (sample episode)

Star Trek The Next Generation Season 1 Episode 1 - Encounter at Far Point

and

  • Replace 'Star Trek The Next Generation Season ' with 'S0'

  • Replace 'Episode ' with 'E0' or 'E' depending on digits

  • Keep episode title as is.

So it looks like

S01E01 - Encounter at Farpoint.mkv

3
 
 

Imagine a young explorer who's just heard that word, "git". But it actually means an entire world. How is this young explorer supposed to dive into this mysterious world with just a machine in hand ?

He's got vs code though !! And he's also got fish and zsh on WSL !

4
 
 

I wish to work on Linux, but the only machine l have at my disposal is my brother's windows laptop when it's free. Can I create a virtual Linux system using QEMU ?

5
 
 

I've installed Kubuntu (26.04 LTS) on a laptop with a touchscreen. When logging in, there is a button for the virtual keyboard in the lock screen, but it does nothing, nor does tapping on the password field. Once I've logged in, it works fine (including on the lock screen), but once I've logged out it breaks again. I also tried the Silent theme, which has a different on-screen keyboard, but that also didn't work (it shows up, but the keys do nothing). How do I fix this?

6
 
 

I installed Ubuntu 24.04 LTS about a year ago. Now that 26.04 is out, I was planning to upgrade, but instead I think I'm going to wipe and re-install from scratch. Does anyone have any tips or tweaks they recommend for new installs? Things like, do or don't encrypt the drive during the install process, make an administrator account separate from your regular user account? I already plan to install the Flatpak repo and the Gnome Software Center.

Thanks!

7
 
 

For some reason, most of Kubuntu's default themes disappeared on me. Is there any way to redownload them?

8
 
 

Context

I've started a Fediverse watch party (#ReMonsterdon on Mastodon) & want to store & organize info about it (films shown; films scheduled to be shown; candidates for showing; dates; relevant links like streams, trailers, Wikipedia; images like film posters etc).

At the moment, I'm using a combination of stuff on my computer, i.e. a folder with text & image files, and a collection on NeoDB, a Fediverse media catalogue.

But I'd like a more all-in-one & organized/organizable file (easy to search, sort etc). A lot of people use a spreadsheet for that kind of thing. But I was under the impression that that's what databases are for.

I don't know much about either. I use spreadsheets very little and databases not at all (except NeoDB, I suppose).

Request

Is there a simple, local, FLOSS, GUI database, suitable for beginners, that I could use for this?

(I had a look at my installation of LibreOffice, but for some reason the options for creating a Base file are greyed out or missing).

(I am not yet ready to try self-hosting. So something that is local, preferably in a system package, .deb or .AppImage. My OS: Linux Mint 22.2 Xfce.)

Thanks in advance

9
 
 

I'm just curious here. I use MySql Workbench on Windows and Linux. I am not storing the password in Workbench. On Windows, I click the database I want, enter the password and go about my business. On Linux (Mint), I enter my password...and then it prompts me for my password randomly from there on out. I might use it for fifteen minutes without a prompt. Then, I might get prompted for a password four times in a row. It does this if I start Workbench up as a user or as root.

Anything obvious I could do to make the Linux version mirror the Windows version a little better in this regards?

Also, just as an observation, the Linux version of Workbench is definitely inferior to the Windows version. There are all kinds of quirky things going on in the Linux version.

Thanks,

10
 
 

I'm on a desktop PC that's in my home office. I have personal documents and clients' intellectual property on it (source code, databases, documents, etc.). Hence, I like to use full disk encryption on all disks. Nobody else uses this PC besides me and it's safe at home. The only threat vector is if somebody gained access to my room and stole the computer. It's very remote, but still technically possible (if you think I'm exaggerating, I'd like to learn your opinion). Maaaaybe if I was sending the nvme for RMA, that's also a threat, but I have never had an SSD break on me. Never. I know it's anecdotal and sometimes they break, but I had multiple and I think it's such a small chance...

LUKS is a bit of a pain with having to type the passphrase on each boot. So I had it on auto-unlock via TPM, which works great when it works, but a) is also a pain when it breaks (usually due to system upgrade that changes something and I forgot to re-enroll the keys or re-generate the PCRs), b) according to Arch wiki it's unsafe, if anybody has physical access to my PC -- so essentially the only threat vector I was trying to protect myself against is not protected against.

But I was thinking -- I am OK with typing one password on boot. I just don't want to type two different passwords one after the other. What if I set autologin in my Desktop Environment (GNOME or KDE), but left LUKS locked down with a passphrase? Wouldn't that be safe? It's a single user system, nobody will use it. If it gets stolen, it's been shutdown and then they can't gain access because of LUKS.

Am I thinking correctly?

11
 
 

I'm several months into my Linux journey and this is one thing that is driving me absolutely crazy because it legit just works on Windows and OS X.

  1. I hit the start button

  2. I type "note"

  3. I hit enter.

If I give it a full second between steps 2 and 3, Notesnook opens as intended.

But if I hit enter at a normal speed, a game (Necesse) launches.

This is presumably because it's executing the command before the search finishes.

Can I change this behavior? I use AutoCAD for a living so typing a command and hitting enter really fast is a habit I won't be able to break.

12
 
 

Here's my situation. I have an Asus router that allows me to connect an external drive to it and then it can function as a UPnP media server. Back when I was on Windows It worked perfectly. It always sat in the sidebar of the file explorer and I could just drag and drop files to and from it, download stuff directly onto it or play movies just by double clicking them

I moved to a Fedora-based distro (Nobara) a few months ago and have been unable to access the server the same way. I know it works, because if I open VLC I can access it under "Universal Plug'n'Play" and see my movies, but for the life of me I can't get it to show up in Dolphin or any other file explorer I've tried. I've resorted to turning on FTP on the router and mounting the drive with rclone, which somewhat works for my use case, but it's slow and occasionally just refuses to connect because sessions don't seem to get closed properly and I get a "Too many connections" error.

My google-fu appears to have failed me, because I have genuinely found nothing, besides just using Kodi or VLC. I also found a few threats from like a decade ago complaining about the UPnP support on KDE, but I would have expected things to have improved since then. Is what I'm trying to achieve here just not possible?

13
14
 
 

cross-posted from: https://lemmygrad.ml/post/11347169

In my CAD class, the instructor requires explicitly AutoCAD because "that's the industry standard." As we know, AutoDork are a bunch pricks who refuses to get up from Microslop's lap, so I am in a tight spot rn.

Should I use a VM to run or would ACAD Web do the trick? Honestly, I can even try to push my luck with another CAD program that supports .dwg files.

15
 
 

Disclaimer: I tried searching for something like "useful programs", "useful packages", "useful tools", "recommended packages", etc. Don't see any posts like that, if this is a duplicate, then it's not intentional and my search skills have failed me.

Anyway, I was watching a YT video today and the guy launched a cool program in his terminal, I paused to see what he was running. It was btop, of course being new I never heard about it. Then I thought -- how many cool tools/packages are there, which people use, but I am not aware of?

So what do you like? What do you install on a fresh install? What are the most useful tools in your belt? What can't you live without on Linux?

Perhaps I'll find something useful :)

16
 
 

My mouse wheel is fucked, I've used xinput set-button-map to disable the wheel but it doesn't work in everything. It works in browser, file manager etc but not in terminal, FreeTube etc.

Anyone have a suggestion on how to get it working universally? I've been thinking of opening the wheel and ripping some connections out, but I'd like to keep the mouse wheel button working.

Also, my monthly budget is -50€ so buying a new mouse is not currently something I can do.

Running Debian 13 with the xfce desktop. Machine is a gift from the ancient gods, compaq presario CQ61, marvel this magnificent beast.

17
 
 

So I built a new PC a couple weeks ago. My old one broke one day (I think I helped it, but that's another story). I was happy to move from a stock Prism Wraith cooler that was LOUD and ANNOYING. I put a new AMD Ryzen 9 7900X in this box with a couple of new nvme drives (Samsung 9100 PRO and 990 PRO). The thing is silent under Windows 11. Silence at last!

Then I installed openSUSE Tumbleweed (from which I'm typing this) and as the post title says, something is making a high-pitched noise, like coil whine, when the system is mostly idle. I searched the web and the first suggestion is that Linux handles CPU power states (C-state) differently than Windows. Or, it could be the new disk(s), too. It's a fly in the ointment, I am very happy with the new PC, with how powerful and fast it is, I'm so far happy with openSUSE, but there HAD TO be SOMETHING to spoil the experience.

Has anybody had a similar problem? Any tips on how to troubleshoot it and not BREAK my computer?

EDIT: more info from the comments

I just use the Ryzen iGPU, don't have a dedicated GPU. I set the fan curves in BIOS, so it's the same across all OSes. I'm pretty sure it's not the fans. My main suspect is the CPU because the noise is there in openSUSE's installer, so even before anything touched the disks (they were straight from factory with no partitions). As soon as I launched the Tumbleweed installer I heard it. Not hearing it in Windows 11. I can hear it when the CPU is idle, if I start some program, run a compiler or even scroll fast in the web browser, there is no noise.

I had the same monitor for several years. I hear the noise from the PC case and I'm 100% sure about that. I used the same monitor with my previous PC and there was no noise, including in Fedora Workstation. This is a new PC.

The noise is audible in openSUSE's installer, that's the first time I heard it. So even before there was anything on either of those nvme disks, at that time they were straight from factory with no partitions.

I dual boot on this PC and the whine is not there in Windows 11, neither in BIOS. I have fan curves set in BIOS, so it's the same across OSes.

✅ So I managed to troubleshoot and find the root cause. As suspected, it was the CPU, however I thought it was only the difference between how Windows and Linux manage its power profile. While troubleshooting, I ran hwinfo on my Windows install and also double checked the active power profile. It was set to the AMD Ryzen Balanced profile that was added automatically. If we look closer, it was set to always run in high performance mode so it never went into deep sleep and my Ryzen makes the whining sound only when in deep sleep (that would be the C6 state).

image

image

I think that Linux sets power efficient modes, even under performance*. The fix for me was not in the OS, but rather in UEFI BIOS. The magic setting for my motherboard (ASUS TUF GAMING B650E Plus WiFi) is at Advanced\AMD CBS\CPU Common Options\Power Supply Idle Control. It had to be changed to "Typical Current Idle". Now I can keep running the balanced profile in openSUSE, so the CPU doesn't operate at top frequency all the time and it is now SILENT, same as under Windows. :)

* at first I tried flipping between powerprofiles set balanced and powerprofiles set performance and for a minute I thought that was it, but not quite. Maybe balanced makes less sound, but still does it.

18
 
 

I'm moving away from Windows (yay!) and need to bring a few features with me. Microsoft added this auto complete feature to PowerShell recently and I need something similar:

I found this package which is helpful, but it requires you to hit tab before you get a list of suggested commands: https://wiki.debian.org/Add%20Bash%20Completion

Do I need a different shell entirely? I'm using bash on Debian now.

19
 
 

cross-posted from: https://lemmy.world/post/33505905

This could be especially good for new users who do not understand the command line or those who have used the command line on another os and need to understand the command usage on Linux.

20
 
 

I would like to add another wireless access point near my little deck and 0.1 acre back yard and I have some extra Raspberry/Orange Pi hardware lying around that should easily be up to the task. I remember installing DD-WRT on a WRT54G north of twenty years ago in something like AP mode. Is it still up to the task or is there something better now?

21
 
 

I set up a laptop with linux mint cinnamon within the last two weeks, and while trying to install The Sims 4 today I got a message that the hard drive was out of space. I have installed nothing so far except for Steam, and tools to get The Sims 4 running. I see that 131gb is taken up by .ecryptfs and a web search turned up this thread however I used the utility that was suggested with the same result. Then OP says multiple reboots have cleared up the issue. I am on reboot 4 now with no such luck.

Is it safe to delete this? Is it something with timeshifted?

22
 
 

i’ve been using a USB 2.0 drive to run a live linux OS for the past couple of years, mostly for storing linux ISOs, installing linux on laptops and live persistence. lately, i’ve noticed a huge drop in write speed, currently around 1.8 MB/s, which is pretty slow for the tasks i do. i'm planning to replace it with a USB 3.0 drive in the future, but i wanted to ask:

  • how long have you typically used a USB drive for live linux systems, including for live persistence??
  • do you still use USB 2.0, or did you upgrade to a 3.0 or higher?
  • any tips to extend the lifespan of a USB drive when using it for live linux systems?

i'm mainly looking for advice and insights on how others manage their USB drives for similar use cases. thanks in advance for sharing!

EDIT: it's a usb stick. forgot to tell.

23
 
 

My dad uses Ubuntu as an htpc and has livepatch enabled, but every year or so when I visit it's always out of date. This time it needed a partial patch.

Is Ubuntu just bad, is there a better alternative that's closer to Windows where the machine are actually kept up to date?

24
 
 

Some years ago, I make the mistake of doing a single partition for the system (I'm using EndeavourOS). Now I have a new disk, and I want to move the OS there, but not /home, which I want to stay in the old drive. How can I do it?

25
13
submitted 11 months ago* (last edited 11 months ago) by nocturne@slrpnk.net to c/linux4noobs@programming.dev
 
 

My wife has an old Lenovo i5 thinkpad that we would like to use again with linux, before buying a new computer. I was wondering if there is a tool that I can input the model and stats of the device and it will output a few suggested distros for it.

It is the X1 Carbon 20BT with the i5-5300U Processor, it has 8gb ram. https://support.lenovo.com/us/en/solutions/pd100509-overview-for-thinkpad-x1-carbon-type-20bs-20bt

Update: I have installed mint xfce but am downloading cinnamon and switching to that.

view more: next ›