rotopenguin

joined 2 years ago
[–] rotopenguin 1 points 2 years ago

Oop. Look up. I changed the parent post, maybe this time it'll work?

[–] rotopenguin 5 points 2 years ago* (last edited 2 years ago) (3 children)

Try putting a script like this in /lib/systemd/system-sleep/. Make sure it is executable.

#!/bin/sh

case $1 in
	pre)
		bluetoothctl power off
		;;

	post)
		bluetoothctl power on
		;;
esac

What I said before, looks like a dead end.

~~Start with "cat /proc/acpi/wakeup" and "lspci". My LCD deck doesn't have the new BT chip with wakeup, but I think it might go like this~~

~~Look at lspci, find the Bluetooth there (Maybe it's just part of the wifi?). Note its PCI address, and find a value in /proc/acpi/wakeup that corresponds to that. Take the name from the first column of /proc/acpi/wakeup, and do something like "echo GPPn | sudo tee /proc/acpi/wakeup" . If this works, then you'll want to (a) make a slightly more permanent version of this per the arch wiki, and (b) remember to undo that when Valve finally gets around to doing a proper control for this.~~

https://wiki.archlinux.org/title/Power_management/Wakeup_triggers

[–] rotopenguin 2 points 2 years ago (1 children)

I already laid out 90% of what I know ;p

It's in apt, it's also available as a checkbox in Lutris & Heroic. I suppose it could also be squirted into the launch %command% of a linux-native Steam game? If the game is running in Steam, in Proton, then I don't see how gamemode could sneak in there.

[–] rotopenguin 2 points 2 years ago (3 children)

Try feral gamemode? It should at least tell the powerstates to bugger off.

[–] rotopenguin 13 points 2 years ago* (last edited 2 years ago) (1 children)

The better way is to fix Windows to use a sensible system time. https://wiki.archlinux.org/title/System_time#UTC_in_Microsoft_Windows

[–] rotopenguin 5 points 2 years ago

That thing usually goes by the name "wake lock". I can't imagine why it's not doing the right thing by default.

[–] rotopenguin 9 points 2 years ago (2 children)

Because it is quite possibly the last of its kind - a desktop OS that was built from scratch by one person with one (strange) vision. Everything else has a lineage to AT&T Unix or CP/M.

[–] rotopenguin 7 points 2 years ago (1 children)

If you're a dog and like "eating anything on the ground", you'll never go hungry

[–] rotopenguin 3 points 2 years ago

I like the halloween version that ends in door hand hook car door

[–] rotopenguin 9 points 2 years ago

The idea worked out pretty well in "To every you I've loved before" and "To me, the one who loved you".

I somehow doubt Hallmark did quite as good a job of it.

[–] rotopenguin 1 points 2 years ago

They are all good, but Hanna Montana Linux is great.

view more: ‹ prev next ›