One of us one of us
Edit: hows it going? Everything working ok?
What was your latest improvement to your Linux setup?
2 years ago by Blaze (he/him) to c/linux
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.
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
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!!
You will probably hear a lot of hate about Manjaro but I absolutely love it. I have an AMD/nvidia laptop (possibly one of the worst combinations to have according to legend) and Manjaro ended up being the most stable distro for me. It is Arch adjacent but comes with sane defaults. Then I found my-laptop specific kernels and now I am in heaven. Uptime is at 21 days but still buttery smooth 165Hz KDE6 Wayland goodness every time I use it.
I felt the exact same how you do now, once I got it up and running how I liked it, I (almost) never booted Windows again.
I just gave up on Manjaro. It may have been hardware related though, hopefully you have better luck.
I am having a great time with openSUSE LEAP tho. I've had a much easier time getting EVERYTHING to work. If you run into more problems, give it a try!
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.
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..
I just started tinkering with this yesterday in Gnome on Pop! and it looked like there are options to exclude certain programs from tiling if that's what you're looking for.
Its hit and miss, likely you have to set up window rules to get a good experiemce.
Yeah it makes a big difference. My desktop experience is quite a bit worse since bismuth stopped working in KDE.
I have the 55Wh battery. When I’m not using the Power Saver profile, I’d say it lasts for 5-6 hours. Using the Power Saver profile, I get around 6-7h. Keep in mind I have the base Ryzen 5 model and 16GB of RAM, so power utilization may vary depending on your configuration
I didn’t really configure anything apart from installing power-profiles-daemon, selecting the Power Saver profile in Gnome UI and lowering my screen brightness. If you’re planning on getting an Intel Framework laptop, you could use TLP to further tweak power usage but on AMD, you are advised to only use the power-profiles-daemon.
Here’s a resource on Framework’s website that may be useful to you
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.
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)
If you're comfortable running Docker, check out net probe. It comes with an all in one logging/graphing stack that will probe your internet quality based on lag and packet loss. Default configs is good enough to get you going and you can tinker to your heart's content from there. Probably won't play Black Sabbath automatically though unfortunately!
Fish, and a searchable command history.
What were you using before?
Just bash
What about Ctrl+R?
Oh, I get it. You install a searchable command history on top of Fish, not that Bash doesn't have a searchable command history.
Does Fish not have that?
This one https://github.com/atuinsh/atuin
I disabled the sync capabilities tho cos i like to keep things local
First thing I install in each platform is fish
Yeah i had avoided it cos it wasn't behaving with vscodium in flatpak but finally got around to reinstalling code on the machine directly.
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.
Ryzen crew, never rest, never sleep!
I am so confused that this is still an issue, but be warned even with more "modern" Ryzen it is an issue. My Ryzen 5(?) Huawei matebook still can't run Linux without this shit.
Fantastic for you 🙈
Got quite savie with the grub parameters, wasn't practical tho. Wait for this baby to dye, my next one gets some prior research
unlocking luks over ssh
Lowering swappiness to get more usage out of my RAM.
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.
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.
Yeh, immutable distros... You can install software, it's just you have to declaratively define what software you want, then apply that as a patch.
You don't just apt install cowsay, you have to create a file that defines the installation of cowsay.
This way, if you have to change how cowsay is installed, you tweak that patch file and reapply it.
If you have to wipe & reinstall (or get a new computer or whatever) you just apply all your patches, and the system is the same again.
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.
I've been thinking about getting a thin client or similar for Hi-Res music listening for a while. I tried a Raspberry Pi 3b+ and the music sounded harsher and would crackle as soon as the Pi was doing anything else at the same time.
Having my PC on all day in summer is a bit overwhelming.
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.
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.
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.
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
Oh my god, I wish! I have tried unsuccessfully before, but I was trying to just pass my onboard AMD igpu to the VM and keep an NVIDIA on Linux.
When you say single passthrough, you mean splitting the one GPU to host and client?
I have tried through the arch wiki and a couple of YouTube tutorials with no luck. If you found any tutorials/resources that really, helped, please share!
Also, I really wish I had the foresight to have bought AMD instead of NVIDIA a few years ago, but it was before I was on Linux as my main driver and didn't know any better
Hey there, just using a single GPU in this system. If you have multiple adapters, you can try something like LookingGlass instead. In my case, I would need a single GPU that supports SRIOV, which is typically relegated to data centre products (I believe someone actually managed this with an Intel iGPU + and experimental sriov driver!).
I'm just passing my GPU through to a virtual machine; it takes precedence over the graphical session, leverages all connected displays and relevant peripherals, and gracefully resumes back into GDM / GNOME once the VM is powered off (can do this conventionally within W10).
I mostly followed this video:
https://www.youtube.com/watch?v=eTWf5D092VY
key thing for AMD gfx is to set ROMBAR = 0 in virt config, this will allow you to actually get functioning display output once the VM is started up.
As for your buying choices, consumer AMD GPUs have issues with GPU reset (unlike Intel or Nvidia). I think your experience with nvidia graphics here will be better than mine here with amd.
Byt yeah, since you have multiple gfx adapters at your disposal, it should be possible to get started with LookingGlass (a VM in a movable, resizable window that is fully hw accelerated with shared memory). The Level1Techs forum for LG is very helpful, though I believe the creator of the video above also has a relevant guide for this.
Thanks for sharing the details! I'm gonna check out the video. So if I understand correctly, when you start your VM, it completely takes over video, and you're not seeing the host desktop at all, but then when you shut down the VM, it returns to your host desktop? So the resulting experience is like dual booting, but a lot faster? I Heard about looking glass, but hadn't delved into it since I couldn't even get the igpu to passthrough in the first place (testing with a cable going to another input in my monitor, which AFAIK, would be the part that looking glass solves)
Very welcome! Yes, exactly as you described. The nice thing is that you have greater control over Windows in this virtualized environment, particularly with regards to limiting device and network access.
I gather that display dummy plugs are pretty common in the looking glass community.
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.
Cleaning up the junk.
I went through a lot, and put my dotfiles in my dotfiles repo.
Uhm I just symlink the files hahaha
Is there a better way? There are quite some issues where I need to copy instead of linking.
Oh, this looks nice. I like the bit about maintaining different versions, which is something kind of annoying about maintaining different setups for my laptop and desktop
I just learned about stow, which as far as I understand, is a package that kinda manages the whole symlinking bit for you plus a few things? Honestly, I am not sure how it would differ exactly from what you're doing, but you should check out a short video on it: https://www.youtube.com/watch?v=y6XCebnB9gs&t=3
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.
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!
Repartitioning one of the extra disks that was still on NTFS to ext4 and updating the fstab entry accordingly.
So, nothing big.
I bought a sager laptop, matching the models that system76 uses. Loaded pop os and away I go.
So far, very stable. I am forced to use Nvidia performance mode if I want an external monitor which is slightly annoying, but I can reboot into normal mode when on battery.
Its the poor battery usage that irks me. The battery life gets me 90 min of use, so not great.
I got steam for some gaming, guitarix and ardour for music, libre office, IDE and git tools all good to go.
Worth it
Booting directly from UKI signed by my Secure Boot keys.
I set up my outgoing email to relay through an external server. I used to have comcast business class but when I sold my house, my only option at my condo is the comcast provided by the HOA (Comcast communities) which is residential. So lots of sites refuse to accept email send directly from my server. Comcast has a relay but it has crazy low rate limiting which is a pain when we need to send emails to all players.
A homebuilt rack mounted server running Fedora and sendmail. I've been using/configuring sendmail since the 80's and we didn't have fancy .mc preprocessing back then.
The outgoing relay is a paid service by Hostinger which resells titan.email. I just set the configuration in the relay to use the same credentials I set up in my SMTP/IMAP connections in tbird.
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.
Oh, it's got other issues than that, but the crackling is the most unnerving.
Some of the audio from my Jellyfin media player (flatpak) just hasn't been playing. So I check Helvum and sometimes it just doesn't even patch it over. I got the deb of JMP installed and that seems to have made it behave, but the maintainer of JMP hasn't made that easy with all sorts of weird patches and junk.
My only issue with pulse audio was that I had to open Pulse effects each time I restarted my computer because it wouldn't auto load the settings.
Bundling my two sata ssds into a single zfs volume, instead of manually moving stuff around between the nvme and two sata ssds. Combined with compression, and for my code folder deduplication it also resulted in a lot more usable space.
@programming.dev
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
go to feed...
@programming.dev
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
go to feed...
i officially left windows yesterday! :)
save