This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# After upgrading to Fedora 38, my desktop started to suspend after 15 minutes. This made ssh-ing from my laptop annoying. | |
# Here is how I addressed it: | |
$ sudo -u gdm dbus-run-session gsettings list-recursively org.gnome.settings-daemon.plugins.power | grep sleep | |
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 900 | |
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'suspend' | |
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 900 | |
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'suspend' | |
$ sudo -u gdm dbus-run-session gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker build -f Dockerfile . | |
Sending build context to Docker daemon 23.55kB | |
Step 1/7 : FROM buildpack-deps:bullseye-scm | |
---> 24d8bfbc3d97 | |
Step 2/7 : RUN apt update && apt install -y --no-install-recommends g++ gcc libc6-dev make wget && ldd --version | |
---> Running in 75da9ea78547 | |
WARNING: apt does not have a stable CLI interface. Use with caution in scripts. | |
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] |