Meta+L: Computer suspends instead of locking

I have been using Fedora 37 for a while, but just recently found out I cannot lock my computer as I rarely use this function. When I press Meta+L the computer suspends. Lock option is missing from the Power options (Shutdown, Restart, Logoff and Suspend are the only options). Is there a way to enable Lock computer feature?

2 Likes

Are you using Fedora Workstation? What is your hardware?

1 Like

I’m using Fedora 37 with no customization except for the codecs to watch x264 and x265 encoded videos. It’s and older computer with Intel i3550 and P8Z77-V LX with 8 GB DDR3 1600 MHz and RX480 card. The monitor is a Dell U2417H and I use a HDMI 2.1 cable.It still going well for an office computer despite its age.

When I press Meta+L, the computer goes into suspension or standby and the monitor loses video signal.

Can you please quickly create a new user and see if the issue persists?

The output of fpaste --sysinfo --printonly would also be very useful.

1 Like

Below you can find the fpaste output:

=== fpaste 0.4.3.0 System Information ===
* OS Release (cat /etc/*-release | uniq):
     Fedora release 37 (Thirty Seven)
     NAME="Fedora Linux"
     VERSION="37 (Workstation Edition)"
     ID=fedora
     VERSION_ID=37
     VERSION_CODENAME=""
     PLATFORM_ID="platform:f37"
     PRETTY_NAME="Fedora Linux 37 (Workstation Edition)"
     ANSI_COLOR="0;38;2;60;110;180"
     LOGO=fedora-logo-icon
     CPE_NAME="cpe:/o:fedoraproject:fedora:37"
     DEFAULT_HOSTNAME="fedora"
     HOME_URL="https://fedoraproject.org/"
     DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f37/system-administrators-guide/"
     SUPPORT_URL="https://discussion.fedoraproject.org/"
     BUG_REPORT_URL="https://bugzilla.redhat.com/"
     REDHAT_BUGZILLA_PRODUCT="Fedora"
     REDHAT_BUGZILLA_PRODUCT_VERSION=37
     REDHAT_SUPPORT_PRODUCT="Fedora"
     REDHAT_SUPPORT_PRODUCT_VERSION=37
     SUPPORT_END=2023-11-14
     VARIANT="Workstation Edition"
     VARIANT_ID=workstation
     Fedora release 37 (Thirty Seven)
     
* Kernel (uname -r ; cat /proc/cmdline):
     6.1.14-200.fc37.x86_64
     BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.1.14-200.fc37.x86_64 root=UUID=44fdd0bd-5c99-4ec1-b3ac-eb16a0d16435 ro rootflags=subvol=root rhgb quiet
     
* Desktop(s) Running (ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session|cinnamon|lxdm-session)' ):
     gnome-session-b
     gnome-session-c
     gnome-session-b
     
* Desktop(s) Installed (ls -m /usr/share/xsessions/ | sed 's/\.desktop//g' ):
     gnome-classic, gnome-classic-xorg, gnome,
     gnome-xorg
     
* SELinux Status (sestatus):
     SELinux status:                 enabled
     SELinuxfs mount:                /sys/fs/selinux
     SELinux root directory:         /etc/selinux
     Loaded policy name:             targeted
     Current mode:                   enforcing
     Mode from config file:          enforcing
     Policy MLS status:              enabled
     Policy deny_unknown status:     allowed
     Memory protection checking:     actual (secure)
     Max kernel policy version:      33
     
* SELinux Errors (without results: "selinuxenabled && journalctl --since yesterday |grep avc: | grep -Eo comm="[^ ]+" | sort |uniq -c |sort -rn"):
     N/A

* CPU Model (grep 'model name' /proc/cpuinfo | awk -F: '{print $2}' | uniq -c |
     sed -re 's/^ +//' ):
     4  Intel(R) Core(TM) i5-3550 CPU @ 3.30GHz
     
* 64-bit Support (grep -q ' lm ' /proc/cpuinfo && echo Yes || echo No):
     Yes
     
* Hardware Virtualization Support (grep -Eq '(vmx|svm)' /proc/cpuinfo && echo Yes || echo No):
     Yes
     
* Load average (uptime):
      23:27:58 up 4 min,  1 user,  load average: 0,31, 0,55, 0,28
     
* Pressure Stall Information (grep -R . /proc/pressure/):
     /proc/pressure/io:some avg10=0.00 avg60=0.10 avg300=0.33 total=2598134
     /proc/pressure/io:full avg10=0.00 avg60=0.06 avg300=0.20 total=1748186
     /proc/pressure/cpu:some avg10=0.00 avg60=0.13 avg300=0.59 total=4437725
     /proc/pressure/cpu:full avg10=0.00 avg60=0.00 avg300=0.00 total=0
     /proc/pressure/irq:full avg10=0.00 avg60=0.00 avg300=0.00 total=467970
     /proc/pressure/memory:some avg10=0.00 avg60=0.00 avg300=0.00 total=46533
     /proc/pressure/memory:full avg10=0.00 avg60=0.00 avg300=0.00 total=15136
     
* Memory usage (free -m):
                    total        used        free      shared  buff/cache   available
     Mem:            7753        1251        3805          12        2697        6243
     Swap:           7752           0        7752
     
* ZRAM usage (zramctl --output-all):
     NAME       DISKSIZE DATA COMPR ALGORITHM STREAMS ZERO-PAGES TOTAL MEM-LIMIT MEM-USED MIGRATED MOUNTPOINT
     /dev/zram0     7,6G   4K   80B lzo-rle         4          0   12K        0B      12K       0B [SWAP]
     
* Top 5 CPU hogs (ps axuScnh | awk '$2!=3431' | sort -rnk3 | head -5):
         1000    1528  9.4  0.1  22000 14936 ?        Ss   23:24   0:22 systemd
         1000    1695  7.9  3.0 4688564 241500 ?      Ssl  23:24   0:18 gnome-shell
         1000    2799  5.9  1.9 1946332 155292 ?      Ssl  23:24   0:11 kgx
            0       1  3.7  0.2 106528 17780 ?        Ss   23:23   0:09 systemd
         1000    2805  2.8  0.0 224648  5748 pts/0    Ss   23:24   0:05 bash
     
* Top 5 Memory hogs (ps axuScnh | sort -rnk4 | head -5):
            0    1174  2.2  3.2 767076 261372 ?       Ssl  23:23   0:05 packagekitd
         1000    1695  7.9  3.0 4688564 241500 ?      Ssl  23:24   0:18 gnome-shell
         1000    2799  5.9  1.9 1946332 155292 ?      Ssl  23:24   0:11 kgx
         1000    2497  0.3  1.2 563752 100600 ?       Sl   23:24   0:00 Xwayland
         1000    2035  1.2  1.1 1181864 92700 ?       Sl   23:24   0:02 gnome-software
     
* Disk space usage (df -hT):
     Dat. sist.     Tip       Vel. Upor. Prost Upo% Priklop na
     devtmpfs       devtmpfs  4,0M     0  4,0M   0% /dev
     tmpfs          tmpfs     3,8G     0  3,8G   0% /dev/shm
     tmpfs          tmpfs     1,6G  1,7M  1,6G   1% /run
     /dev/sda3      btrfs     232G   99G  132G  43% /
     tmpfs          tmpfs     3,8G   20K  3,8G   1% /tmp
     /dev/sda3      btrfs     232G   99G  132G  43% /home
     /dev/sda2      ext4      974M  318M  590M  35% /boot
     /dev/sda1      vfat      599M   18M  582M   3% /boot/efi
     tmpfs          tmpfs     776M  472K  775M   1% /run/user/1000
     
* Block devices (blkid):
     /dev/sdb: LABEL="WD" UUID="821d510c-f565-4c0d-8db8-ec3d298f3690" BLOCK_SIZE="4096" TYPE="ext4"
     /dev/sda2: UUID="f582830e-a867-41fa-92ad-43fb94055815" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="2bc04ea3-6b72-4729-9242-9ec2a67c1ebe"
     /dev/sda3: LABEL="fedora_localhost-live" UUID="44fdd0bd-5c99-4ec1-b3ac-eb16a0d16435" UUID_SUB="6fbb54b5-17c3-46b1-91a1-f3aa3284d5bf" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="fc7e4729-55a6-4d38-82a0-262ce961d7df"
     /dev/sda1: UUID="1EEF-3C51" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="dabcae34-7ae1-46ed-a8d7-06b17a4cac5b"
     /dev/zram0: LABEL="zram0" UUID="3f3849e2-b3c2-4fe8-bea4-45da41905bcb" TYPE="swap"
     
* PCI devices (lspci -nn):
     00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09)
     00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
     00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
     00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
     00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
     00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
     00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
     00:1c.4 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 [8086:1e18] (rev c4)
     00:1c.5 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev c4)
     00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
     00:1f.0 ISA bridge [0601]: Intel Corporation Z77 Express Chipset LPC Controller [8086:1e44] (rev 04)
     00:1f.2 SATA controller [0106]: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e02] (rev 04)
     00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller [8086:1e22] (rev 04)
     01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev c7)
     01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] [1002:aaf0]
     03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
     04:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge [1b21:1080] (rev 03)
     
* USB devices (lsusb):
     Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
     Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
     Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     Bus 004 Device 002: ID 0424:5537 Microchip Technology, Inc. (formerly SMSC) USB5537B
     Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
     Bus 003 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
     Bus 003 Device 002: ID 0424:2137 Microchip Technology, Inc. (formerly SMSC) USB2137B
     Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     
* DRM Information (journalctl -k -b | grep -o 'kernel:.*drm.*$' | cut -d ' ' -f 2- ):
     ACPI: bus type drm_connector registered
     [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
     simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
     [drm] amdgpu kernel modesetting enabled.
     [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1043:0x0501 0xC7).
     [drm] register mmio base: 0xF7E00000
     [drm] register mmio size: 262144
     [drm] add ip block number 0 <vi_common>
     [drm] add ip block number 1 <gmc_v8_0>
     [drm] add ip block number 2 <tonga_ih>
     [drm] add ip block number 3 <gfx_v8_0>
     [drm] add ip block number 4 <sdma_v3_0>
     [drm] add ip block number 5 <powerplay>
     [drm] add ip block number 6 <dm>
     [drm] add ip block number 7 <uvd_v6_0>
     [drm] add ip block number 8 <vce_v3_0>
     [drm] UVD is enabled in VM mode
     [drm] UVD ENC is enabled in VM mode
     [drm] VCE enabled in VM mode
     [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
     [drm] Detected VRAM RAM=4096M, BAR=256M
     [drm] RAM width 256bits GDDR5
     [drm] amdgpu: 4096M of VRAM memory ready
     [drm] amdgpu: 3876M of GTT memory ready.
     [drm] GART: num cpu pages 65536, num gpu pages 65536
     [drm] PCIE GART of 256M enabled (table at 0x000000F400800000).
     [drm] Chained IB support enabled!
     [drm] Found UVD firmware Version: 1.130 Family ID: 16
     [drm] Found VCE firmware Version: 53.26 Binary ID: 3
     [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
     [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
     [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
     [drm] Display Core initialized with v3.2.207!
     [drm:detect_link_and_local_sink [amdgpu]] *ERROR* No EDID read.
     [drm] UVD and UVD ENC initialized successfully.
     [drm] VCE initialized successfully.
     [drm] Initialized amdgpu 3.49.0 20150101 for 0000:01:00.0 on minor 1
     fbcon: amdgpudrmfb (fb0) is primary device
     amdgpu 0000:01:00.0: [drm] fb0: amdgpudrmfb frame buffer device
     
* Xorg modules (grep LoadModule /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d \" -f 2 | xargs):
     
     
* GL Support (glxinfo | grep -E "OpenGL version|OpenGL renderer"):
     OpenGL renderer string: AMD Radeon RX 480 Graphics (polaris10, LLVM 15.0.7, DRM 3.49, 6.1.14-200.fc37.x86_64)
     OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.6
     
* Xorg errors (without results: "grep '^\[.*(EE)' /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d ':' -f 2- "):
     N/A

* Kernel buffer tail (dmesg | tail):
     [   10.550670] r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control rx/tx
     [   10.550687] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
     [   14.543564] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
     [   14.818831] rfkill: input handler disabled
     [   17.982157] logitech-hidpp-device 0003:046D:101B.0004: HID++ 1.0 device connected.
     [   19.402162] logitech-hidpp-device 0003:046D:4004.0005: HID++ 2.0 device connected.
     [   22.967813] rfkill: input handler enabled
     [   24.048898] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
     [   24.644855] rfkill: input handler disabled
     [   25.903291] Lockdown: fwupd: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
     
* Last few reboots (last -x -n10 reboot runlevel):
     runlevel (to lvl 5)   6.1.14-200.fc37. Thu Mar  2 23:23   still running
     reboot   system boot  6.1.14-200.fc37. Thu Mar  2 23:23   still running
     runlevel (to lvl 5)   6.1.14-200.fc37. Thu Mar  2 23:22 - 23:23  (00:00)
     reboot   system boot  6.1.14-200.fc37. Thu Mar  2 23:22 - 23:23  (00:00)
     runlevel (to lvl 5)   6.1.14-200.fc37. Thu Mar  2 23:20 - 23:21  (00:01)
     reboot   system boot  6.1.14-200.fc37. Thu Mar  2 23:19 - 23:21  (00:01)
     runlevel (to lvl 5)   6.1.14-200.fc37. Thu Mar  2 18:13 - 18:22  (00:09)
     reboot   system boot  6.1.14-200.fc37. Thu Mar  2 18:12 - 18:22  (00:09)
     runlevel (to lvl 5)   6.1.14-200.fc37. Thu Mar  2 04:05 - 04:06  (00:01)
     reboot   system boot  6.1.14-200.fc37. Thu Mar  2 04:05 - 04:06  (00:01)
     
     wtmp begins Wed Jan 18 18:50:07 2023
     
* DNF Repositories (dnf repolist):
     repo id                         repo name
     fedora                          Fedora 37 - x86_64
     fedora-cisco-openh264           Fedora 37 openh264 (From Cisco) - x86_64
     fedora-modular                  Fedora Modular 37 - x86_64
     google-chrome                   google-chrome
     microsoft-edge                  microsoft-edge
     microsoft-edge-beta             microsoft-edge-beta
     phracek-PyCharm                 Copr repo for PyCharm owned by phracek
     protonvpn-fedora-stable         ProtonVPN Fedora Stable repository
     rpmfusion-free                  RPM Fusion for Fedora 37 - Free
     rpmfusion-free-updates          RPM Fusion for Fedora 37 - Free - Updates
     rpmfusion-nonfree               RPM Fusion for Fedora 37 - Nonfree
     rpmfusion-nonfree-nvidia-driver RPM Fusion for Fedora 37 - Nonfree - NVIDIA Driver
     rpmfusion-nonfree-steam         RPM Fusion for Fedora 37 - Nonfree - Steam
     rpmfusion-nonfree-updates       RPM Fusion for Fedora 37 - Nonfree - Updates
     updates                         Fedora 37 - x86_64 - Updates
     updates-modular                 Fedora Modular 37 - x86_64 - Updates
     
* DNF Extras (dnf -C list extras):
     Last metadata expiration check: 20:38:41 ago on čet 02 mar 2023 02:49:18.
     Extra Packages
     protonvpn-stable-release.noarch              1.0.1-1               @@commandline
     
* Last 20 packages installed (rpm -qa --nodigest --nosignature --last | head -20):
     webp-pixbuf-loader-0.2.0-1.fc37.x86_64        sre 01 mar 2023 22:19:15
     libcurl-minimal-7.85.0-7.fc37.i686            sre 01 mar 2023 22:19:15
     gnutls-3.8.0-1.fc37.i686                      sre 01 mar 2023 22:19:15
     ndctl-libs-76.1-1.fc37.x86_64                 sre 01 mar 2023 22:19:07
     ndctl-76.1-1.fc37.x86_64                      sre 01 mar 2023 22:19:07
     libcurl-minimal-7.85.0-7.fc37.x86_64          sre 01 mar 2023 22:19:07
     kernel-modules-extra-6.1.14-200.fc37.x86_64   sre 01 mar 2023 22:19:07
     kernel-6.1.14-200.fc37.x86_64                 sre 01 mar 2023 22:19:07
     gnutls-utils-3.8.0-1.fc37.x86_64              sre 01 mar 2023 22:19:07
     gnutls-dane-3.8.0-1.fc37.x86_64               sre 01 mar 2023 22:19:07
     gnutls-3.8.0-1.fc37.x86_64                    sre 01 mar 2023 22:19:07
     daxctl-libs-76.1-1.fc37.x86_64                sre 01 mar 2023 22:19:07
     cxl-libs-76.1-1.fc37.x86_64                   sre 01 mar 2023 22:19:07
     curl-7.85.0-7.fc37.x86_64                     sre 01 mar 2023 22:19:07
     kernel-modules-6.1.14-200.fc37.x86_64         sre 01 mar 2023 22:19:00
     kernel-core-6.1.14-200.fc37.x86_64            sre 01 mar 2023 22:18:58
     rust-srpm-macros-24-1.fc37.noarch             tor 28 feb 2023 22:49:50
     python3-cryptography-37.0.2-5.fc37.x86_64     tor 28 feb 2023 22:49:50
     pango-1.50.13-1.fc37.i686                     tor 28 feb 2023 22:49:50
     ibus-typing-booster-2.21.4-1.fc37.noarch      tor 28 feb 2023 22:49:50
     
* EFI boot manager output (efibootmgr -v):
     BootCurrent: 0002
     Timeout: 0 seconds
     BootOrder: 0002,0004
     Boot0002* Fedora	HD(1,GPT,dabcae34-7ae1-46ed-a8d7-06b17a4cac5b,0x800,0x12c000)/File(\EFI\fedora\shimx64.efi)
           dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 c0 12 00 00 00 00 00 34 ae bc da e1 7a ed 46 a8 d7 06 b1 7a 4c ac 5b 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 66 00 65 00 64 00 6f 00 72 00 61 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
     Boot0004* UEFI OS	HD(1,GPT,dabcae34-7ae1-46ed-a8d7-06b17a4cac5b,0x800,0x12c000)/File(\EFI\BOOT\BOOTX64.EFI)
           dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 c0 12 00 00 00 00 00 34 ae bc da e1 7a ed 46 a8 d7 06 b1 7a 4c ac 5b 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
     

That seems fine. Did the issue persist in a new user?

The issue happens as well when logging as a new user.

1 Like

Settings → Keyboard → Keyboard Shortcuts
Are they OK, or something has changed?

1 Like

No. I have never changed keyboard settings. I have just checked and Meta + L is configured for lock screen.

OK.
Settings → Power
carefully check all settings.
Do you have some gnome extensions, or tweaked something in order to suspend/hibernate your system?
When you enter Super+L, you not only lock the screen but put it in low power mode as well, so somehow you also manage to trigger cpu suspend. The fact that gnome does not have the “lock” in the menu suggests something is wrong in some settings.

2 Likes

Below are listed all settings with some comments regarding Power settings:

Devices
M705 = 50%
Wireless Keyboard K360 = Full (no percentage but the percentage bar is full)
Note that these two devices are connected using a USB receiver plugged into Dell U2417H monitor. Even if I connect the USB receiver directly to the computer case that does not solve my issue.

Power Mode = Balanced

Screen Blank = 15 minutes
Automatic Suspend = On (Submenu: When idle delay 1 hour)
Power Button Behavior = Suspend

Automatic Suspend → Off
then see what happens. Maybe a reboot is needed for good measure, the bios or something could be weird.

1 Like

That does not solve the issue. The monitor goes blank, the applications like media player for example stops playing music and “Scanning for signal” notification appear on the monitor. If I press any key, after the monitor has gone blank, I got back to the welcome screen and media player plays from the point where it was interrupted. I believe I has something to do with the graphic card since I added it after I installed Fedora. I think I will reinstall Fedora once 38 will be released to see if this issue continues to happen.

1 Like

Is anything logged when this happens?

I heavily suspect hardware, in particular a broken video card (yes, it happens more often than you think). Your system is very old, it could also be the motherboard, cpu, etc. I would put a fedora live, and other distributions, on an usb pen, boot with that and see what happens. Using ventoy

allows you to put more iso on it and boot independently many distributions.

There should be a lock to the left of the power button when you select the menu, I suspect it’s behavior is the same as Meta+L

Mine does not put the computer to sleep but does turn off the monitor.

From a terminal if you do loginctl lock-session does it exhibit the same behavior, my machine does not turn off the monitor when I do this.

1 Like

I did some testing and can report the following:

  1. If I boot from Fedora KDE Spin into live enviroment Meta+L works as expected. It looks like this is a Gnome issue.
  2. If I lock the computer clicking on the lock icon on the left of the power button, the result is the same as pressing Meta+L, monitor loses signal and the computer stays on (suspended).
  3. The command loginctl lock-session locks my computer fine. So loginctl lock-session from terminal works, but Meta+L does not. Thanks Joe Walker.
1 Like

The issue might be caused by the wrong key code mappings for your keyboard model.
A simple workaround is to reassign the following shortcuts:

gsettings list-recursively org.gnome.settings-daemon.plugins.media-keys \
| sort | grep -e hibernate -e suspend -e screensaver
1 Like

You can go into keyboard settings → Keyboard Shortcuts View/Customize Shortcuts → Custom Shortcuts and add one using loginctl lock-sessionand use Meta + L for the shortcut.

1 Like

It seems that the problem I was reporting is “by design” (in Gnome at least). i didn’t know that otherwise I wouldn’t report it here. I think we can close this issue. Thanks to all, especially to Joe Walker and Vladislav Grigoriyev.