Linux 101 stuff. Questions are encouraged, noobs are welcome!

1130 readers
1 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 2 years ago
MODERATORS
1
 
 

I am using CachyOS (Arch btw) and when I tried to update using paru, it says some packages are in conflict, and asking to remove those. What should I do ?

I didn't find the best help from searching by myself ?

โฏ paru
:: Synchronizing package databases...
 cachyos-v3 is up to date
 cachyos-core-v3 is up to date
 cachyos-extra-v3                                                                      2.5 MiB   484 KiB/s 00:05 [--------------------------------------------------------------------] 100%
 cachyos is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: wine-cachyos-2:9.0.20250126-2 and wine-mono-9.4.0-1 are in conflict. Remove wine-mono? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: wine-cachyos-2:9.0.20250126-2 and wine-mono-9.4.0-1 are in conflict

~ 17s

2
 
 

Trying to install LMDE on a laptop (Windows 10).
Any help is appreciated.

3
 
 

Thank you for your time!

  1. Are desktop environments changeable once the OS is installed? Can I switch between Cinnamon and KDE Plasma, for example? Or should I decide on one before I settle for a distro?
  2. Coming from Windows, I'm used to my hard drives just being "there", no matter what program I'm using. I need to explicitly set permission levels in order to restrict access, but by default I can access anything anytime. The last time I tried Linux, I couldn't get the program I was using to "see" my hard drives in order to open a file, despite the drives being accessible in the OS file manager. How does this stuff differ between Windows and Linux? What basics should I know about hard drives, e.g. what the hell is "mounting"?
  3. What are the crucial differences between the different package managers (e.g. Flathub, Snap, etc.) and why should I choose one over another? And like with the desktop environment question, can I switch app stores at will, or do I need to commit to one before I begin? I've read a lot of very angry and passionate comments in passing related to the various package managers, but none of it was accessible/comprehensible to a n00b like me.
  4. Can you recommend a resource - be it a CoolGuide image, video series, a PDF, a website, whatever - that will explain in simple terms the Linux way of doing Windows stuff? (Like with my hard drives question, for example.) "If on Windows you do X, on Linux you'll have to do Y" kinda thing, but for everything, no matter how basic.

Thanks for reading ๐Ÿ‘

4
 
 

Title. This error/crash happens with certain web pages only whilst everything else works as intended. Any ideas of what is going on? Running on sway, on a Orange pi 5 max with 16 GiB of ram. Dietpi. Thanks in advance. And yes, Firefox runs just fine without any crashes whatsoever.

5
 
 

I'm having trouble figuring out how I can uncompress these parts into one file. I've tried "zip *.zip > file.zip" with no success.

6
 
 

Will my OS break if I make it the system Read Only? I am installing a raspberry pi 4 (Raspberry Pi OS (64-bit)) in my car and read on Lemmy that if I make the system files Read Only my system won't get corrupt when power is abruptly turned off. I will leave the 'home' directory read-write. I realize I will have to remove the drive and run updates regularly.

7
 
 

Title. I've tried using dd but it doesn't work -- the .img file is written but it does not boot. Thanks in advance.

8
2
submitted 2 months ago* (last edited 2 months ago) by gpstarman@lemmy.today to c/linux4noobs@lemmy.world
 
 

I haven't updated my Arch (Plasma) for some time.

When I updated it yesterday, suddenly all the exe icons started to show up ( I'm dualbooting with Win ), which is not the case before.

As far I looked up, I can't find anything on internet.

I don't know if it's whether WINE or Dolphin or some other package.

So, what's changed ?

9
9
submitted 2 months ago* (last edited 2 months ago) by gpstarman@lemmy.today to c/linux4noobs@lemmy.world
 
 

I want to hide the about tag in rEFInd. So, I did according to the info in config and website, which is to add a showtools line with no options.

And, nothing happens. I still see About, Shutdown, Reboot, Firmware tools in the rEFInd screen

# Default is shell,memtest,gdisk,apple_recovery,windows_recovery,mok_tool,about,hidden_tags,shutdown,reboot,firmware,fwupdate
# To completely disable scanning for all tools, provide a showtools line
# with no options.
#
#showtools shell, bootorder, gdisk, memtest, mok_tool, apple_recovery, windows_recovery, about, hidden_tags, reboot, exit, firmware, fwupdate
showtools

Eventhough the previous showtools line is a just a comment, I removed it too. And still nothing happens.

Does anybody have any idea?

I only want Shutdown, Reboot.


SOLVED

It seems like a rEFInd problem in latest version.

https://lemmy.frozeninferno.xyz/comment/16257252

Looks like I have to edit and rebuild it myself. Unfortunately, I'm not really that familiar with building packages myself.

Guess, I have to wait it out.

10
 
 

I installed CachyOS with Plasma DE and found it has no discover in it. When I searched on their sub lots of people say that one shouldn't use Discover with any Arch distro as it will break the system. Can anybody clarify why?

Also if I am not supposed to use Discover, can anybody suggest an actual GUI application store? Unlike Octopi (which I consider just as a TUI with check boxes and columns)

Edit: I only use Discover for find and install new apps.

For updating, I just use paru.

11
 
 

I'm trying to get a Garmin Ant+ USB dongle working within Fedora Kinoite to work with Golden Cheetah and my cycle trainer.

The Golden Cheetah wiki only has instructions for getting this to work within Ubuntu which I got working on Mint previously. I'm trying to convert over to Kinoite and this is critical.

The wiki says to create a new udev rule. Following the instructions it says to place it in /etc/udev/rules.d which also exists in Kinoite, the problem being it's a read only folder and sudo still doesn't allow me to place a file. How do I override the atomic structure to create a file there? I believe it requires using the rpm-ostree command but I'm unfamiliar.

12
 
 

I've got an image noise reduction app that I simply can't get working under linux, and that I can't find an equivalent tool for under linux.

I've tried VMs and wine and none of them work. My web searches haven't encountered anyone that can make it work either.

So, I'm at the point where I may need to boot in to windows to do my noise reduction. However, I would really love to be able to access my existing linux install via a VM or the like when I do so, so that I can access my daily driver software (which is all linux) whilst I'm in windows.

Is such a thing possible?

13
 
 

cross-posted from: https://feddit.nl/post/24216224

Problem: new kernels not showing up in boot menu

I can install new kernels, and I see them in /boot/efi/{PARITION_UUID}, but they don't show up in the systemd-boot menu.

Data

Normally, Fedora shows the 3 latest kernels (plus a recovery kernel) in the boot menu. I only see up to 6.11.6 in the systemd-boot menu. On the /boot partition, I see much newer kernel versions (both labeled fc40 and fc41)

โžœ  ~ sudo ls /boot/efi/808f2c9ae4464f1ab2f0a7d367da1b30 -l
total 20
drwx------. 2 root root 4096 Jul  4 19:25 0-rescue
drwx------. 2 root root 4096 Nov  8 12:42 6.11.6-200.fc40.x86_64
drwx------. 2 root root 4096 Nov 18 17:57 6.11.7-200.fc40.x86_64
drwx------. 2 root root 4096 Nov 12 16:47 6.11.7-300.fc41.x86_64
drwx------. 2 root root 4096 Nov 20 10:10 6.11.8-300.fc41.x86_64
โžœ  ~ sudo ls /boot/efi/808f2c9ae4464f1ab2f0a7d367da1b30/6.11.8-300.fc41.x86_64 -l 
total 72484
-rwx------. 1 root root 57917440 Nov 20 10:10 initrd
-rwx------. 1 root root 16304488 Nov 20 10:10 linux

Systemd-boot

I started with other distros on this disk before I settled on Fedora. Since I was happy with systemd-boot and its automatic discovery of boot entries, I chose to use systemd-boot when I installed Fedora. I know that Grub is the default bootloader and manager for Fedora, but I have systemd-boot. It's an option in the installer.

Major OS upgrades and rolling back the rollback

Last weekend I upgraded from Fedora 40 KDE Spin to Fedora 41. On the next Monday morning, screensharing in Edge Browser had stopped working, so I rolled back to a Fedora 40 snapshot with BTRFS Assistant. This turned out to be an issue in the latest Edge version, not in the underlying OS, so I rolled back the rollback and went to the Monday evening snapshot, then upgraded my packages.

Ever since, I'm not seeing new Kernels in the systemd-boot menu. Any idea how I can fix this, short of a fresh install of Fedora 41 KDE?

14
 
 

Title. Non-live streams play as intended however. wat do? Thanks in advance.

15
 
 

Title.

Worst case scenario I've figured out a formidable way to make the "ultimate" ~/Downloads directory, heh.

Thanks in advance.

16
 
 

Title. In other words, to make the system redirect workload to the NPU -first- and then to the CPU when it reaches 100% usage? Like both NPU and CPU were a single, huge CPU instead of being separated?

Thanks in advance.

17
14
submitted 4 months ago* (last edited 4 months ago) by gpstarman@lemmy.today to c/linux4noobs@lemmy.world
 
 

This is my disk layout:

500 GB Linux - BTRFS

100 GB Windows - NTFS

400 GB Storage - NTFS (shared between linux and windows)

I want to encrypt everything. For Linux I can use luks2 but what I'm supposed to do for Windows ? (No bitlocker please)

Will veracrypt replace refind boot manager?

Note: I am talking about the one that asks password before boot (full encryption)

18
 
 

Is there any way to change the behavior so that when I open a new window in split screen, it will stack directly on top of the current window instead of beside it?

I'm on pop os

19
 
 

I installed lots of OSs on my PC. The mistake I did was not backing up my EFI partition beforehand.

Now I deleted all the OS except CachyOS (Arch) and Windows.

Now I want to tidy up my EFI partition. I want to delete everything (even rEFInd) except Windows and Default ones like OEM. (I am gonna reinstall CachyOS ) Can anybody please assist me?

I already deleted the obvious ones like ubuntu and fedora. Anything else?

I know this is not necessarily a linux question but anyways ๐Ÿ˜…

Solved

Before proceeding with any of the following, I STRONGLY suggest you to make a full backup of your ESP (efi) partition.

I deleted everything on boot folder, since I didn't need grub or any of those files ( after searching everything individually on internet)

I deleted refind folder, since I didn't need refind boot manager.

I kept insyde folder, since they are my uefi provider.

I kept OEM , microsoft folders because I need windows and whatever my OEM provides.

I kept tools folder since that's just an empty folder ( I didn't know which OS created it)

20
9
submitted 4 months ago* (last edited 4 months ago) by gpstarman@lemmy.today to c/linux4noobs@lemmy.world
 
 

I installed CachyOS with BTRFS, LUKS2 , REFIND.

After successful installation I'm not seeing any prompt for password nor the linux boot entry on refind.

Note: I didn't do any lvm or raid.

What should I do?

Solved

I just forgot to create a boot partition ๐Ÿ˜ฎโ€๐Ÿ’จ

21
 
 

Let's say i made 10 snapshots on top of the base.

Now can i delete snap no. 5? Will the snaps after 5 will be affected?

Solved

Yes, one can delete consecutive snapshots. The data won't be deleted unless all snaps ( reference points ) get deleted.

Note: If you delete the original file and delete all the snapshots made when the file is still there, the file will get deleted permanently.

22
 
 

Title. Yep, I'm trying to multitask with a Orange pi zero 3 (remotely) without the need of kvm's.

Both client and remote PC's are wayland-related. Trying to connect w/ ssh.

23
 
 

I've been using ArcoLinux i3 flavor for a while, but they recently discontinued their flavors and instead just let 3 basic flavors, but as far as I know none of them comes with i3 already preconfigured. And yes, I know I can simply do it by myself with Arch Linux, but I don't have enough time to do it.

I have already tried Garuda Linux i3 flavor, but there's something in it that feels too mature to be user-friendly.

24
8
submitted 5 months ago* (last edited 5 months ago) by gpstarman@lemmy.today to c/linux4noobs@lemmy.world
 
 

Can I change the location of BTRFS snapshots. I installed CachyOS, and it automatically setup BTRFS subvols.

This is the layout ๐Ÿ‘‡

ID gen parent top level path
258 1773 5 5 @root
259 1601 5 5 @srv
260 1789 5 5 @cache
261 1785 5 5 @tmp
262 1797 5 5 @log
263 26 377 377 var/lib/portables
264 26 377 377 var/lib/machines
265 1791 377 377 .snapshots
266 1427 378 378 @home/.snapshots
377 1797 5 5 @
378 1797 5 5 @home

According to Arch wiki https://wiki.archlinux.org/title/Snapper#Creating_a_new_configuration

Create a subvolume at /path/to/subvolume/.snapshots where future snapshots for this configuration will be stored. A snapshot's path is /path/to/subvolume/.snapshots/#/snapshot, where # is the snapshot number.

From which I understand that if I created a snap of /home (@home), it will save in /home/.snapshots (@home/.snapshots).

So, CachyOS configured to save snaps to separate subvol.

But, what I want to do is, Instead of just saving it in separate subvol, i want snaps to be saved on different btrfs partition. Maybe @home/.snapshots but on different partition.

Is that possible ?

25
 
 

Title. In other words, make a .dot directory, make it as $ROOTFS, in a distroless image, chown it to a specific user and group and then pack everything in it.

view more: next โ€บ