Monitors not working. Help?

https://sh.itjust.works/post/56601783

Monitors not working. Help? - sh.itjust.works

Hi everyone. I’m just getting into Linux and went with Kubuntu as my first real distro. its worked pretty good out of the box and I haven’t messed with it much but I’m having problems with my monitors. I have a three monitor set up using my laptop and two external monitors, they are a set of paired docking monitors from Targus connected by usb-c. it worked fine at first but then every few days they started turning off and I had to hit the button on the monitor to turn them back on and now its at the point where turning them on only connects for a couple seconds before they both say no input detected and turn off. but I’ve also discovered that one monitor will still work fine if i disconnect the power from the second monitor. I’ve tried updating to the latest nvidia driver as well as going back to a previous version but honestly i don’t know if I’m even looking in the right place. Does anyone have any advice? I’m using a Dell G16 7630 with RTX 4060.

My third day on Linux, and I actually didn't break anything today!

https://sopuli.xyz/post/42347866

My third day on Linux, and I actually didn't break anything today! - Sopuli

I wasn’t gonna make a post today, because nothing broke and it wasn’t that exciting. But what the hell. Anyway, there’s still a couple things wonky, probably from the mishaps yesterday [https://sopuli.xyz/post/42299332] and the day before [https://sopuli.xyz/post/42253082]. The main thing is just a “failed to delete autoinstaller.sh [http://autoinstaller.sh]” error on the script that runs when I do a “switch user”, so I wonder if I broke something non-essential when I killed the PIDs yesterday… It was also prompting me for a password whenever I tried to make it go to sleep, which would wake it up and basically make it impossible to put in sleep mode. But it think I fixed that somehow. Or maybe it only works when I press the sleep button. I have to test if it still happens when I simply close the laptop, which is what I had been doing after a switch user. So yes, that means I would come back to it later and it wouldn’t be asleep, and would prompt me for a password after signing back in and loading the desktop. I didn’t even get to doing the security stuff today. I started off this morning by making a list of all the configurations that I’ve tweaked manually. It’s a small list, but it will probably grow, and that will help me if I ever break something but also it’ll help me keep track of all my changes so that I can easily undo them later if I want to, or remember what to do if I ever need to manually rebuild my system. Then I played around in System Monitor, got a page exactly how I liked it, saved it as an export file for backup, and set it as my default page to open to. I learned about some of the metrics I was unfamiliar with, like PSI for instance. Now I want to get a vertical second display and just have System Monitor up on it all the time 😩 After that I went through my notes from yesterday and typed up a document with all the steps I took for the configurations, in case I ever have to do them again. That took up most of the day, honestly. Some of the commands are starting to feel more familiar. Ones that come up a lot at least, like journalctl, systemctl, cat, ps aux, grep, and nano. Some still look like gibberish to me though. I spent most of the evening trying to figure out those two problems I mentioned, and made another document for more troubleshooting commands. And then I finally got around to changing my username, which I did through the GUI because sudo usermod didn’t work. So it didn’t update the /home directory, which saves me some work updating pathways but it’s kind of annoying cause that means they’ll just stay under the default username, even though the ownership updated to the new one. That’s mostly all I did. Just fun boring stuff that didn’t break anything and didn’t seem to justify making a third post. But I’m making one anyway. Now, tomorrow for sure I’ll get to the security stuff! [https://media.vlipsy.com/vlips/pInLoutH/preview.jpg] So far that list includes setting up secure boot, locking the bootloader if it’s not already, password protecting UEFI, encrypting the swap space (if it’s not already and if I can do so without wiping my drive), configuring my firewall, setting up dnscrypt-proxy, and TPM! And then after that there’s some software stuff like AppArmor, ClamAV, LMP, a rootkit hunter, an NGFW, and a locally-hosted password manager. I’m not sure if any of that’s redundant but if so I’ll find out while I’m reading about it. It seems like a lot, though. It would be overwhelming if I wasn’t excited about it. Maybe I should adjust my expectations though, cause it might take me a week just to set it all up. I still need to set up borg too, for backing up /home/ so I can exclude it from rsync… And then after that there’s more to do, but I’ll be able to start shifting away from initial setup to exploring different kinds of software and actually using my system.

My second day on linux, and... I broke my system again (sorta)... while trying to make a backup...

https://sopuli.xyz/post/42299332

My second day on linux, and... I broke my system again (sorta)... while trying to make a backup... - Sopuli

Spoiler: I fixed it again. So basically, when I woke up this morning my intention was to harden my system’s security a bit. I was gonna spend some time reading about a few different things until I felt like I could understand them and the process of setting them up. After my experience yesterday [https://sopuli.xyz/post/42253082], I thought it would be a good idea to create a backup first before getting into any of that, so I spent the first part of my day reading about that. I read around on some forums and determined I needed to do three things: use rsync to create a system snapshot of everything but /home/, use borg to backup everything in /home/, and do something involving “pacman -Q” to backup all the packages I have installed. Sounds simple, right? Well… I spent some more time reading about how to do each of these things, until I finally felt ready to give it a go. The first thing I did was create the pacman lists of all my installed packages (one list for explicit installs, and one that includes all dependencies). Easy enough. The reason I did this first was so it would be included in my rsync backup, which is what I decided to do next. Before even worrying about backing up to my external drive, I wanted to test it out first locally, so I made a “backups” folder in /home/, and used that as the destination for rsync. Since I didn’t have Borg set up yet, and I wanted to harden my system’s security before connecting to the internet to download outside packages, I decided not to exclude /home/ from this first rsync backup. Are you starting to see where this is going? When I ran the command in Bash, of course I didn’t know what to expect. At first I was a bit startled at all the outputs zooming by, but I decided this was probably normal, so I pulled up System Monitor and just watched for a while. I was somewhat surprised to see so many flatpaks, since I’m on Endeavour, but I guess that’s normal too. I didn’t realize something was wrong until I noticed the pathways in the outputs kept cycling through the folder under “backups” that I titled specifically for the rsync. And every couple of minutes, the pathways got slightly longer, as if they expanded an extra layer. It dawned on me that I had created an endless loop when I put my destination folder in /home/, though I didn’t make an exclusion for it. So I panicked a bit, as one does, and since I didn’t know that I could simply abort the process with ctl+c, I closed Bash. Not a great idea, but I didn’t know what else to do. Anyway, so I checked the backup that I had created and it was quite large. About 27 GiB. Not enormous, but definitely larger than it had to be. I tried deleting it but it wouldn’t let me. So I sought a solution and tried a fuser command, and got a big long list of leftover PIDs that I was apparently supposed to kill to conclude the processes that got cut off when I closed Bash in the middle of a script. That seemed a little overwhelming though and I didn’t feel quite comfortable with it, so I decided to try rebooting instead… …and the result was that it got stuck on some sort of dracut initqueue hook with no time limit while attempting to boot. So, once again despairing, I walked away for a while and tried searching for a fix on my phone. Fortunately by the time I came back it had miraculously booted up. Assuming this had cleared the stuck processes preventing me from deleting the rogue backup file, I tried deleting it again and it still wouldn’t let me. So I reran the fuser command and killed all the leftover PIDs and my screen immediately went black. I shut it down from the power button, and turned it back on, and thankfully it booted up fine (better than the previous time, at least). So long story short, I ended up doing a sudo -rm -rf on the rogue backup and that worked like a charm. Then I reran rsync with an exclusion for the folder the destination was in, and it went much better. Still a big rush of outputs, which makes total sense, but it concluded on its own after a couple minutes and the total size was only about 18GiB (talk about bloat on a fresh install!!!). Not bad, though. I poked around a little trying to optimize it with more exclusions, or alternatively with a white list inclusion command, but I used a du command to see what folders were taking up the most space and ultimately I really could’ve only saved a few GiB by excluding some var/cache/ folders, but it wouldn’t really have been worth the added inconvenience if I ever have to do a complete system restore. A big chunk of it was the /home/ folder anyway, and that won’t be included in future backups once I get borg set up. So that’s mostly it. It was already evening at this point, and I had mostly forgotten to eat during the thick of it, so I ate some dinner and then got out my external hard drive to try to make a real backup. My first attempt failed, of course, because it wasn’t formatted (as I soon learned). I noticed a lot of errors in the outputs so I did a ctl+c this time, which ended the process much more neatly than before. So then I learned how to format a hard drive as a btrfs, and then I decided while I was at it that I might as well learn how to encrypt it, so I did that too. And then I had to format it again, so I did. And then I reran the rsync and it worked perfectly! Then I unmounted the drive and closed the encrypted container before unplugging it, and that concludes my first real external backup on linux! I did not expect it to take all day, but next time will be much smoother. Tomorrow I will finally get to harden my system security, and if that doesn’t take all day then I’ll install borg and back up my /home/ folder. After that, I’ll be ready to install some more software and start playing around to see what my system can do!

Well, my first day on Linux, and I both broke my system and fixed it...

https://sopuli.xyz/post/42253082

PCMan - Lemmy.World

So I usually come here when I have questions. Today, I just want to share what I’ve found, because I’m excited about it, and we’re all linux noobs here. So maybe this will help others out too. Guys. I just discovered this new (to me) file manager. It’s called PCMan. I’ve been using it for 30 minutes now, and, I like it. I might replace Thunar. I’m going to test run this for the next week. I can right click and see file properties. Wanna know how big a file is? Right click the file in PCMan, click properties, and BOOM! Instantly you see this file is 2.6GB. No more of this Thunar calculating the file size for minutes/hours on bigger files. I’m talking 2-3 seconds on PCMan. It blinked just a few times, and then done. When I first opened it, I even had “move to” in the right click menu. I don’t know what I changed, or how, but that option is gone now. Not a huge deal, but the one time I got to use it, it didn’t work. Gave me an error. But it sounds super useful if I can get it working. No more having 2 file manager windows drag and drop, and then delete. You just highlight the files, right click, move to, select where, and then let it move them. That’s such an evolution. First time for me that linux is out performing WindowsXP (which I consider to be the peak of OS’s). My version of the best user experience in history, and now linux has one feature, that if I can get it working, has outperformed that in this one small feature. But it’s a pretty big feature. I’ll look into why I can’t use it. Said something like “can’t recursively copy location” or something like that. Still though, I like the program. I couldn’t get a variant to install. PCMan-qt I think it was. Gave a shitload of dependancy errors. But the regular one installed just fine. I’m using ZorinOS Software Center. So just search your OS’s store. Really nice program. It even has the feature where you paste a duplicate file, and it asks you “Hey, what do you want to do here? Replace the file? Rename the file? Cancel operation? Paste in a different folder?” And it confirms on the deleting. I even have my Retroid Flip 2 plugged into my PC via USB, and I’m moving folders from my Flip 2’s internal storage to my Flip 2’s SD card. Zero issues besides the first file I tried to move that I described earlier.

qemu/kvm memory question

https://programming.dev/post/46632067

qemu/kvm memory question - programming.dev

Moved to Mint months back. I had to install Win10 in a kvm for a couple of things impossible on Linux. I allocated 16 gig of ram to the kvm. I can’t really find anything on how that works, exactly. According to Stacer, I have a consistent 16 gig of ram being used, but that’s between a running Win10 kvm and all of my other running Linux programs. I’ve never seen my system memory use move higher or lower than 16 gig of ram when the vm is running. Again, that’s the kvm + normal Linux programs. If I allocated 16 gig of ram to the kvm, shouldn’t my memory usage be over 16 gig or ram with other Linux programs running? ---------- About once a week, maybe two weeks, I open a new tab on a browser and it hangs my system. Nothing works but the mouse pointer. I initially thought of a memory leak with Firefox, but it will also do it opening a new tab in Chrome. The last time it hung up, I think I noticed the virtual machine manager icon was missing from the menu bar. I’m waiting for it to hang up again to verify this. Anyone have any thoughts on this?

Firefox’s AI Kill Switch is a Trap: How Mozilla Made AI Your Problem

https://lemmy.world/post/43609310

Firefox’s AI Kill Switch is a Trap: How Mozilla Made AI Your Problem - Lemmy.World

Lemmy

Firefox’s AI Kill Switch is a Trap: How Mozilla Made AI Your Problem

https://lemmy.world/post/43609242

Using bash & cron to chime at specific times - "guide"

https://lemmy.world/post/43115099

Using bash & cron to chime at specific times - "guide" - Lemmy.World

I made a little script to get to grips with cron and to try to make my time management better : If you want music to play, use ffmpeg/ffplay. If you want notifications, use notify-send. If you want neither, what are you doing reading this? Save the following to chime.sh [http://chime.sh] or whatever you want to call this #! /bin/bash # replace 1000 with your user id , run $ id -u to find out. this is to allow audio to play export XDG_RUNTIME_DIR="/run/user/1000" # checks what minute it is past the hour to play specific chime case $(date +"%M") in 15|30|45) ffplay -autoexit -nodisp /path/to/your/chime.mp3 notify-send "BONG";; 00) ffplay -autoexit -nodisp /path/to/your/hourly/chime.mp3 notify-send "HOUR" notify-send date %m;; *) notify-send $(date +"%M");; esac run chmod +x chime.sh [http://chime.sh] Or whatever you called the file. run crontab -e to open/config cron Add */15 * * * * /path/to/your/chime.sh This triggers the cron job every 15 mins. you can adjust the timings on both the cron config and the shell script to adjust how often you want chimes to go off.

Audacious help? - Lemmy.World

So I miss Winamp. But, lets be real, the real winamp of the 90s died the day AOL decided to buy it. That being said, I still miss it. And then I heard about Audacious. Turns out you can make Audacious look EXACTLY like old winamp. You can even use winamp skins! So, I install Audacious, and it looks NOTHING like winamp. I look into the settings and there’s a whole button that says “Interface” there are two options. One of them says “Classic Winamp”. So I click that…and…nothing. Nothing changes. It still looks exactly like it did. I’m on ZorinOS, I think 17. I can check which version when I get home, but pretty sure it’s 17. Recently my PC died, and I had to switch to my Raspberry Pi for a few weeks, and here’s the thing. The Raspberry Pi has TwisterOS installled, and that version DOES look exactly like Winamp. I love it. I just have no idea why my PC can’t have that. What am I doing wrong?