this post was submitted on 12 Jun 2024
91 points (96.9% liked)

Linux

5376 readers
41 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 43 points 5 months ago (1 children)

i officially left windows yesterday! :)

[–] [email protected] 16 points 5 months ago* (last edited 5 months ago) (1 children)

One of us one of us

Edit: hows it going? Everything working ok?

[–] [email protected] 11 points 5 months ago (3 children)

i installed manjaro and tbh I don't think I'm going to touch windows again unless I have to. my only unsolvable issue so far is (I think) my PC is having a hard time detecting Linux when I restart my computer. it just sometimes will tell me to restart and change to a bootable drive through BIOS.

[–] [email protected] 6 points 5 months ago (1 children)

You may need to double check how grub is configured (set it to UEFI if necessary, legacy mode etc) and or updating it. You will want to update the firmware also and try setting grub at the top of the boot list

[–] [email protected] 7 points 5 months ago (1 children)

I honestly don't even know what grub is :(

I always loved computers and took quite a few computer science etc classes and went to my local tech college for IT while still in high school. but now I seriously feel like an old grandma trying to learn all this new fangled computer stuff!!

[–] [email protected] 8 points 5 months ago

Oh no worries! Grub is the boot loader. So you turn on the computer and the firmware looks at its list of things to boot from. When you first installed manjaro it booted from the usb and let you install the OS while running off the usb. Usually you would have had to go into the firmware to adjust the boot priority list, and put usb on the top. Now you can go back in and look at that boot priority list again. Now what you're gonna look for is where manjaro installed grub you can make that the top priority so that next time you reboot it will choose grub, and grub will fire up your linux install. Also in that firmware menu you can look at the other boot options, for example if you have an HP laptop you're going to need to enable legacy booting because the default secure boot settings sometimes cause issues.

load more comments (2 replies)
[–] [email protected] 18 points 5 months ago (1 children)

Definitely my Framework 13 AMD. This machine is truly perfect

[–] Piatro 10 points 5 months ago (3 children)

How's the battery life? I was considering one recently but saw some claim that the battery would only last 4-6 hours and that put me off.

load more comments (3 replies)
[–] [email protected] 17 points 5 months ago (2 children)

Switching over to a tiling windows manager has been really enjoyable. It feels like a futuristic paradigm shift

[–] [email protected] 6 points 5 months ago (4 children)

Happen to know anything about how windowed games work with a tiling manager? I often stream a buddy's Elden Ring gameplay while playing myself, but having only one screen means I have to have the Discord popout in the top corner and the gameplay in windowed.

[–] [email protected] 7 points 5 months ago* (last edited 5 months ago)

I haven't tried that exact set up myself but in hyprland the default tiling would have your Elden Ring on one half and your friends the other half. Then if you opened up discord it would split one of the halves in half again. If you wanted to have discord instead floating and over top of the stream you could do that, or send it to the next "desktop" over if you don't need to see it. You can customize each of the tiles however you like, border or no border, you can move them around..

load more comments (3 replies)
[–] [email protected] 3 points 5 months ago

Yeah it makes a big difference. My desktop experience is quite a bit worse since bismuth stopped working in KDE.

[–] [email protected] 14 points 5 months ago (1 children)

Just flat out getting Debian to install. This was my first OS swap on a Dell Latitude. Holy whirlwind that bios is locked down with half a dozen secure boot “features”.

My problem ended up being in storage configuration. After I set it from raid to achi Debian install was able to detect the drive. Why my laptop with a single m.2 slot was configured for raid, I’ll never know.

[–] [email protected] 4 points 5 months ago (1 children)

I remember a time when that was a common thing for laptop drives to come preconfigured as Raid 0. Maybe the OEMs thought it would be easier to add storage that way...?

[–] [email protected] 4 points 5 months ago* (last edited 5 months ago) (1 children)

I get that maybe it’s preconfigured which might make sense on dell pc’s that’d fit a few drives in empty sata slots, but it took me nearly two days to think of that solution.

I figured throw it out there in case someone else has issues with an install locating the main drive on a Dell.

load more comments (1 replies)
[–] snaggen 13 points 5 months ago

Not the latest, but one of the biggest improvements was the Ultimate Hacking Keyboard. Now I have programmed the keyboard to have VIM navigation at the keyboard level. The latest was switching to neovim and setting it up properly.

[–] [email protected] 11 points 5 months ago (4 children)

A script full of functions that I perform often, like:

  • Probe every 5min for internet connection. Play Black Sabbath when there is. (My internet goes down often.)
  • Create individual tarballs/zips/rars for each subdir.
  • Extract all tarballs/zips/rars from a dir. (It detects the format on its own)
  • Extract all files of a DwarFS file into a dir.
  • Re-encode all vids from a dir.
  • Delete all thumbnail pictures from my user.
  • Find and remove all desktop.ini and thumbs.db files in a dir, recursively.

My .bashrc then sources that script, so to use those functions I simply open a terminal. And if I ever need to delete my .bashrc and recreate it anew, they're safely stored in my scripts directory.

load more comments (4 replies)
[–] [email protected] 11 points 5 months ago

This nice little one liner bash script, assigned to a shortcut Meta +Shift + O. It opens the flameshot GUI, let's you select an area of text in your screen and click Ok. It OCRs the screenshot and puts it into the clipboard. It checks for whether you're using Wayland or X11 to use the appropriate clipboard tool. Beyond the more typical text in an image scenario, it's a convenient way to copy non-selectable text in error popups. Not my original idea, copied the concept from a suggestion in a GitHub comment thread and adapted it.

exec &> /dev/null [ "$XDG_SESSION_TYPE" = "wayland" ] && (flameshot gui --raw | tesseract stdin stdout | wl-copy) || (flameshot gui --raw | tesseract stdin stdout | xclip -in -selection clipboard)

[–] 0x0 11 points 5 months ago

Deciding on the folder where to keep backups to cloudsync so i can reinstall everything from scratch.

[–] fuzzy_feeling 9 points 5 months ago

unlocking luks over ssh

[–] [email protected] 9 points 5 months ago* (last edited 5 months ago) (3 children)

Edited my kernal parameters to prevent my CPU from going into a low power state that had been causing crashes for years apparently.

Edit: if you use 1st gen ryzen and have been putting up with intermittent crashes thinking it was your shitty old used GPU like me, try disabling c-state 6.

load more comments (3 replies)
[–] [email protected] 9 points 5 months ago (2 children)

Fish, and a searchable command history.

[–] balder1993 5 points 5 months ago (1 children)

First thing I install in each platform is fish

load more comments (1 replies)
[–] [email protected] 5 points 5 months ago (1 children)

What were you using before?

[–] [email protected] 4 points 5 months ago (4 children)
load more comments (4 replies)
[–] [email protected] 8 points 5 months ago

Lowering swappiness to get more usage out of my RAM.

[–] [email protected] 7 points 5 months ago (1 children)

Switched to an immutable system after I finally managed to wrap my head around the concept.
I've tried it before but left frustrated cause my normal workflow doesn't apply anymore.
But if you're looking for an OS that basically disappears in the background, it's great. I even removed the terminal cause I have no use for it on my laptop.

[–] [email protected] 4 points 5 months ago* (last edited 5 months ago) (1 children)

Can you explain the idea and advantages? Excluding use cases like setting up a laptop for your grandma.

[–] [email protected] 6 points 5 months ago* (last edited 5 months ago) (2 children)

Generally I use my computer to launch programs that do the stuff I want to do, or edit my files.
My files are in /home and programs for the tasks I need are available as flatpaks.
So I don't need to rummage around in the rest of the file system. You could call it "a laptop for grandma" except I'm not that old. I use my laptop for office stuff, gaming, photo editing, streaming music and video, browsing, mail, messaging, ssh'ing into my servers, etc. What I don't use it for anymore is tinkering with my OS. I'm fine with default Gnome and I don't need to adjust every little thing, I can just adjust myself a bit to how the GUI works.
I just don't want to read Arch news before I update weekly, set apt-pinning priorities to disable snap, deal with recommended dependencies, meta packages, mirrorlists, third-party repo urls, gpg keyfiles, file permissions, executable flags, systemd services, and all that jazz anymore.

[–] [email protected] 4 points 5 months ago

I think I am one the same state as you with the only difference is that I really like Window Managers. Been thinking of testing NixOS or Blend OS.

[–] [email protected] 4 points 5 months ago (3 children)

Hey, that's why I wanted an explanation! The one I got an a search result made it seem like you can't install anything.

load more comments (3 replies)
[–] [email protected] 6 points 5 months ago (4 children)

I just bought another (cheap quad core 256GB SSD) thinkcentre as a tinker platform.

So I'm going to add that to my Linux uh setup (of machines).

load more comments (4 replies)
[–] [email protected] 5 points 5 months ago (9 children)

I got VFIO/IOMMU + single GPU pass-through working on Fedora 40 with my RX 6800 xt into a win10 VM.

More of a see if I could sort of thing, I don't imagine I will actually need it much, but it may help if any of my friends are curious about switching over.

[–] [email protected] 3 points 5 months ago (2 children)

What are you using to run the VM? Regrettably, I need a Windows install to upgrade firmware on a USB device. I'm hoping I can get it done in a VM and at least not pay them anything. I tried a little yesterday but wasn't able to install from the Win10 ISO.

[–] [email protected] 4 points 5 months ago

KVM/QEMU via virt-manager. I would imagine that your use case would work if you pass the USB device or the entire usb host controller through to the VM, but I'm not sure. Please check the video linked in my other comment for more information on the single GPU setup

[–] Hexarei 4 points 5 months ago

I dunno what you were using but I recommend virt-viewer.

The main thing for this one is that you'll want to get a PCIe USB controller card and pass that through directly to the VM so that unplugs/replugs/device resets don't connect the device to the host machine briefly while if determines if it should pass through.

load more comments (8 replies)
[–] [email protected] 5 points 5 months ago* (last edited 5 months ago)

Reinstalled Arch. I had used Arch way back in 2006, but fell out of Linux because I primarily game. Now that proton has improved so much, I dropped my windows install completely. I have tumbleweed on my desktop but decided to try a real Arch install on my laptop. I appreciate how easy tumbleweed was to create an encrypted lvm with snapper rollback, but wanted to understand it a little more instead of having a GUI do it all for me.

Last night I successfully installed Arch with an "luks on lvm" setup, and was able to successfully boot! I didn't quite get snapper working 100% either rEFInd, but I think I'm close.

I definitely appreciate how easy Linux is to install now, but it's good to know I can do it the hard way if I need to, and learn some things along the way.

[–] danhab99 5 points 5 months ago

Learned how to use zoxide. Makes my terminal so much friendlier

[–] [email protected] 4 points 5 months ago

Repartitioning one of the extra disks that was still on NTFS to ext4 and updating the fstab entry accordingly.
So, nothing big.

[–] [email protected] 4 points 5 months ago (5 children)

Cleaning up the junk.

I went through a lot, and put my dotfiles in my dotfiles repo.

load more comments (5 replies)
[–] [email protected] 4 points 5 months ago

I tried Wayland again on a new CachyOS install and I've only had a couple minor issues so far, so I'm sticking with it this time.

[–] Nithanim 4 points 5 months ago (1 children)

I reinstalled from scratch. Went from Xubuntu to minimal Ubuntu with KDE de. And then tried wayland again. One the one hand, gaming performance went up by a lot which was basically my main issue.

On the other side it is buggy af. The file manager fails mostly at moving files. There are random graphical glitches. Had the whole DE crash/lock up a couple times And the tabbing/tasbar handling is (still) not what I want. I also have still not found out why zfs automount does not trigger.

But at least I have something useable again!

[–] [email protected] 4 points 5 months ago

On the other side [Wayland] is buggy af.

I've been having the exact opposite problem since recently coming back to Linux after a long hiatus. For me, Wayland has been flawless, while anything x11 looks like somebody ran the screen through a shredder, discarded half the strips, and smooshed the rest back together.

I don't know how to troubleshoot that. I don't even know what to type in a search engine to get relevant results.

[–] [email protected] 3 points 5 months ago (1 children)

I thought it was when I switched over to pipewire, but no. I've got severe audio crackling problems now and I want to go back to pulse for all it's faults.

[–] [email protected] 4 points 5 months ago (1 children)

Supposedly, you can correct that by modifying the config. There's some kind of issue with the default settings.

I wish I could give you more info, but somebody had the same problem, and another user said it was the default config that needed to be tweaked.

load more comments (1 replies)
[–] [email protected] 3 points 5 months ago

I use dex and picom now. Every few months I learn something new about running i3wm with no DE.

load more comments
view more: next ›