RadDevon

joined 1 year ago
[–] RadDevon 1 points 4 weeks ago (1 children)

Do you mind sharing how you handle backups?

[–] RadDevon 2 points 1 month ago

I don't believe Portainer can notify of available updates. I can achieve this with Diun, but only within the tag specified in my docker-compose.

 

I'm running a Docker-based homelab that I manage primarily via Portainer, and I'm struggling with how to handle container updates. At first, I had all containers pulling latest, but I thought maybe this was a bad idea as I could end up updating a container without intending to. So, I circled back and pinned every container image in my docker-compose files.

Then I started looking into how to handle updates. I've heard of Watchtower, but I noticed the Linuxserver.io images all recommend not running Watchtower and instead using Diun. In looking into it, I learned it will notify you of updates based on the tag you're tracking for the container, meaning it will never do anything for my containers pinned to a specific version. This made me think maybe I've taken the wrong approach.

What is the best practice here? I want to generally try to keep things up to date, but I don't want to accidentally break things. My biggest fear about tracking latest is that I make some other change in a docker-compose and update the stack which pulls latest for all the container in that stack and breaks some of them with unintended updates. Is this a valid concern, and if so, how can I overcome it?

[–] RadDevon 18 points 1 month ago (1 children)

My brother used to work for an SEO company. They charged clients to have their web sites on directories which would improve their Google pagerank… until Google updated the algorithm to penalize sites listed in these directories. The company quickly pivoted to charging the same clients to have them removed from the directories they had just charged them to be listed in.

[–] RadDevon 2 points 2 months ago

Oh, that’s helpful. Thank you for sharing that!

[–] RadDevon 10 points 2 months ago (1 children)

Turns out this was my goof. I was trying to set up auto-login on my user account. In doing so, I set it to automatically log in to Plasma (X11) instead of Plasma (Wayland). Odd that the default option in that dropdown is not the one you're currently using, but 🤷‍♂️.

What I'm now trying to figure out is why I can't set auto-login for Plasma (Wayland). The Apply button is disabled. 🤔

Thanks to everyone who shared ideas.

[–] RadDevon 1 points 2 months ago

HDMI switcher is an interesting idea. Will it do more than just forward on the EDID? (Hope I have that right. 😅) Will it sorta translate it and push out its own EDID?

The cable is one of the two cables that previously completed the chain between the display and computer. Could it still be a problem in spite of that?

[–] RadDevon 5 points 2 months ago (1 children)

The monitor definitely is. Like I said, it was working when connected through the soundbar. It seems to be that it isn't reporting capabilities the same way the soundbar did when connected directly to the computer.

 

I am running Bazzite 40 on a system with an RTX 4080. Up until yesterday, I was connecting computer -> Samsung HW-Q900C soundbar -> Samsung Q90C TV. I learned that the soundbar doesn't have HDMI 2.1 ports which is why I hadn't been able to get 120Hz, so I changed my setup to computer -> TV + soundbar -> TV (eARC).

Now, I do have 120Hz, but I lost a bunch of other options in my display settings, including HDR. The only options I can set there now are resolution, orientation, refresh rate, and scale. I suspect this is an issue with the TV communicating its capabilities in a way the OS doesn't understand, but I'm not sure how to fix or work around it. Can anyone suggest a fix? Is there a setting I can change on the TV or maybe an app I can run on the computer to manually set the TV's capabilities?

Update: Just discovered kscreen-doctor. Here's the output:

Output: 445 HDMI-0
	enabled
	connected
	priority 1
	HDMI
	Modes:  446:3840x2160@60!  447:4096x2160@120  448:4096x2160@100  449:4096x2160@60  450:4096x2160@50  451:4096x2160@30  452:4096x2160@24  453:4096x2160@24  454:3840x2160@144  455:3840x2160@120*  456:3840x2160@100  457:3840x2160@60  458:3840x2160@50  459:3840x2160@30  460:3840x2160@25  461:3840x2160@24  462:3840x1600@144  463:3840x1600@120  464:3840x1600@60  465:3840x1080@144  466:3840x1080@120  467:3840x1080@60  468:2560x1440@120  469:2560x1080@144  470:2560x1080@120  471:2560x1080@60  472:1920x1080@144  473:1920x1080@120  474:1920x1080@100  475:1920x1080@60  476:1920x1080@60  477:1920x1080@50  478:1920x1080@30  479:1920x1080@25  480:1920x1080@24  481:1680x1050@60  482:1600x900@60  483:1440x900@60  484:1280x1024@75  485:1280x1024@60  486:1280x800@60  487:1280x720@60  488:1280x720@60  489:1280x720@50  490:1152x864@75  491:1024x768@75  492:1024x768@70  493:1024x768@60  494:800x600@75  495:800x600@72  496:800x600@60  497:720x576@50  498:720x480@60  499:640x480@75  500:640x480@73  501:640x480@60 
	Geometry: 0,0 3840x2160
	Scale: 1
	Rotation: 1
	Overscan: 0
	Vrr: incapable
	RgbRange: unknown
	HDR: incapable
	Wide Color Gamut: incapable
	ICC profile: incapable
	Color profile source: incapable

SOLUTION: Turns out this was my goof. I was trying to set up auto-login on my user account. In doing so, I set it to automatically log in to Plasma (X11) instead of Plasma (Wayland). Odd that the default option in that dropdown is not the one you’re currently using, but 🤷‍♂️.

What I’m now trying to figure out is why I can’t set auto-login for Plasma (Wayland). The Apply button is disabled. 🤔

Thanks to everyone who shared ideas.

[–] RadDevon 1 points 2 months ago

For anyone who happens to find this later, putting it in ~/.xprofile did not work for me, so I'll still with the other solution I posted here for now.

[–] RadDevon 1 points 2 months ago (1 children)

Ah, OK. I'll give this a shot. I found a solution (posted in the comments), but I don't love it because it depends on a sleep and isn't deterministic. Thanks!

[–] RadDevon 1 points 2 months ago

I found a solution that seems to be working. Forgot where I saw this, or I'd give credit. Maybe StackOverflow?

Anyway, the solution was to write a separate shell script for my keymaps with a sleep 2 at the top. The, I run it as a startup application with this command: /bin/bash -c "sh /home/me/.keymaps.sh"

Apparently, the desktop environment must be loaded in order for the keymaps to take, so having it in my profile was running the command too early.

[–] RadDevon 1 points 2 months ago (3 children)

Hmm. I don't seem to have that file, so I guess that means I'm not using gdm? I haven't changed the login manager, so it's whatever comes out of the box with current Pop_os.

 

I have a little one-line keyboard customization in my ~/.profile that is intended to make my caps lock key function as escape when pressed or ctrl when held.

# Map Caps Lock to Esc/Ctrl
setxkbmap -option 'caps:ctrl_modifier' && xcape -e 'Control_L=Escape;Caps_Lock=Escape'

It works… but only if I manually run source ~/.profile. The weird thing is that it kinda works without the manual intervention, but the caps lock also activates. This does not happen after manually sourcing.

I thought this file was automatically sourced at login. If that's the case, shouldn't the customization work automatically without the file having to be manually sourced? Is there some service that needs to be running before this command fires that is not yet running when the file is automatically sourced? Struggling to understand what's happening here… 🤔

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

Ah, that’s very helpful. Thanks!

Do you virtualize or dual boot?

 

How are people coping with games that just won't run on Linux (aside from leaving them behind)? Do you dual boot Windows? Virtualize? What's your strategy for this?

This will be extremely rare for me since I don't play a lot of competitive stuff, but I'd love to find a solution. I have a large library, and it's bound to happen from time to time.

 

If you're using the laptop as intended (i.e., on your lap), wouldn't those be almost entirely blocked?

10
Tiny Awards (tinyawards.net)
view more: next ›