Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
how do you deal with kb+trackpad not working after wake?
Depends on the driver. Usually for finicky ones you can do an rmmod at suspend and a modprobe on resume. What distro, and are you using the default suspend mechanism?
yes, i'm on ubuntu, using all the default drivers.
and i would guess its finnicky because its an old laptop.
is it a matter of scripting rmmod and modprobe to run on suspend/wake?
There are a couple of ways:
Or
I usually do 2 because I like the hotkey method for desktops, and it keeps things the same for both. Also allows me to close a lid on a laptop and leave it on. But 1 is more "formal".
Happy to share some scripts if you'd like, on my phone now, though.
how do i do 1? having timeout to suspend and lid close to suspend would be great. and id like to see some example scripts!
i had pretty much given up on standby with this one.
Will grab some when I back, but assuming you are using
systemd
, it's easy if you follow this old but good method: https://blog.christophersmart.com/2016/05/11/running-scripts-before-and-after-suspend-with-systemd/If that doesn't work out of the box, it's likely because you're hitting S1 instead of S3, but give that test script a shot and let me know how it goes!
what kind of driver could the keyboard be using? lsmod shows nothing beyond the HID driver, but thats being used by the external mouse which works normally after sleep.
lshw shows it going by /dev/input/event6 or something like it?
Could be internal to kernel? Try updating
/etc/default/grub
to include:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash atkbd.reset"
and runsudo update-grub
. This will cause a full keyboard reset on resume.If you have not run BIOS updates, that could be it, too.
ok it worked! thanks a lot! can't believe it was that easy. Gnome spazzes out a little bit after wake sometimes, is that something i can work around?
do you happen to know a thing or two about diagnosing trackpad issues? or at least the right direction? 😂
Glad that worked out for you 😉 What is Gnome doing exactly?
What kind of issues, and which trackpad driver?
i was about to send a screenshot, but i can't reproduce it now. it freezes and stops responding to some or all input, and all the dock+appmenu icons are gone. its one of these or all symptoms, and i can usually reproduce it when coming back from sleep. logs say 'broken pipe, error reading events from display' i can update if it happens again.
I'm using the same generic ps2 driver for the touchpad. its an old alps glidepoint, i can get it to work perfectly with all features on windows 7 with the proper drivers, needless to say thats a bit unworkable.
on linux it works initially with multitouch scroll and everything, then gradually starts to behave like a wet touchscreen. ive tried different kernel versions, livebooted a couple different distros and tried a few very old solutions i found floating around, like using the synaptics driver for some reason. found it for cheap and replaced the hardware. nothing seems to do the trick.
edit: it did the thing, its usually functional enough for screenshots:
Is this a Thinkpad? And of so, is the BIOS s3 on "Linux" or "Windows and Linux"?
Also are you running Wayland? If so ot might be worth trying to log in with Xorg instead (bottom right when logging in).
i will test that out later today, thanks!