RE: [HowTo] Disable / Turn off Hibernate completely

I have been having this problem and none of these fixes work, either the file formatting is wrong as listed or even when I fix it to make it right nothing has changed. I’ve tried this thread, a bunch of other threads on other forums, talking to stupid AI, talking to friends, there is no escape from this problem and I hate to go to another operating system because of this very very silly problem which I did not have until I reformatted this year. Last image of manjaro this never happened, there was no problems like this. I’m at a complete loss because what everyone has said about this does not help, nothing works, doesn’t matter what I change. Any advice? Because I am very very frustrated and nothing is working over and over again and it is so stupid to me. Going over the logs I can see my efforts and how nothing I do will stop the system from going into one of these states.

Welcome to Manjaro forum @2dumb2live

Please post more information about system

inxi -Fazy

and systemd targets

systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target

… a pretty low/small one, but still:
a wall of text
And pretty vague as well.
You did … something - in order to achieve your goal.
What was that something?

Why is it a problem? - Just don’t instruct the system to do it.
Because:
it won’t do it when you do not tell it to … :man_shrugging:

I apologize for a purely emotional post when what is needed is technical details, which means this post is going to be long. I appreciate the ready to help responses and the patience with my unhelpful initial description!

System:
  Kernel: 6.1.127-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=25c00a0a-1d11-41ff-a437-83aa4a92bf92 rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.20.0
    with: xfce4-panel tools: light-locker vt: 7 dm: LightDM v: 1.32.0
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: Z77 Extreme4 serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends v: P2.00
    date: 07/13/2012
CPU:
  Info: model: Intel Core i7-3770K bits: 64 type: MT MCP arch: Ivy Bridge
    gen: core 3 level: v2 built: 2012-15 process: Intel 22nm family: 6
    model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 threads: 8 tpc: 2
    smt: enabled cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB
    desc: 4x256 KiB L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 3698 min/max: 1600/3900 scaling: driver: intel_cpufreq
    governor: schedutil cores: 1: 3698 2: 3698 3: 3698 4: 3698 5: 3698 6: 3698
    7: 3698 8: 3698 bogomips: 56022
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: conditional; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel IvyBridge GT2 [HD Graphics 4000] vendor: ASRock driver: i915
    v: kernel arch: Gen-7 process: Intel 22nm built: 2012-13 ports: active: none
    empty: DP-1, DP-2, DP-3, HDMI-A-1, HDMI-A-2, HDMI-A-3, VGA-1
    bus-ID: 00:02.0 chip-ID: 8086:0162 class-ID: 0380
  Device-2: NVIDIA GK104 [GeForce GTX 670] vendor: Micro-Star MSI
    driver: nvidia v: 470.256.02 alternate: nouveau,nvidia_drm non-free:
    series: 470.xx+ status: legacy-active (EOL~2024-09-xx) arch: Kepler-2
    code: GKxxx process: TSMC 28nm built: 2012-2018 pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0
    chip-ID: 10de:1189 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.15 compositor: xfwm4 v: 4.20.0 driver:
    X: loaded: nvidia gpu: i915,nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 509x318mm (20.04x12.52")
    s-diag: 600mm (23.63")
  Monitor-1: HDMI-0 res: mode: 1920x1200 hz: 60 scale: 100% (1) dpi: 89
    size: 546x352mm (21.5x13.86") diag: 650mm (25.58") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia gbm:
    drv: kms_swrast surfaceless: drv: swrast x11: drv: nvidia inactive: wayland
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia v: 470.256.02 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GTX 670/PCIe/SSE2
    memory: 1.95 GiB
  API: Vulkan v: 1.4.303 layers: 5 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 670 driver: N/A device-ID: 10de:1189
    surfaces: xcb,xlib
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo de: xfce4-display-settings
    gpu: nvidia-settings,nvidia-smi x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
    vendor: ASRock Z77 Extreme4 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA GK104 HDMI Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:0e0a class-ID: 0403
  API: ALSA v: k6.1.127-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.7 status: off tools: pw-cli
  Server-3: PulseAudio v: 17.0-43-g3e2bb status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Broadcom NetLink BCM57781 Gigabit Ethernet PCIe
    vendor: ASRock Z77 Extreme4 driver: tg3 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 04:00.0 chip-ID: 14e4:16b1
    class-ID: 0200
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: mld,NetworkManager
Drives:
  Local Storage: total: 151.9 GiB used: 52.77 GiB (34.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 model: SomnAmbulist size: 119.24 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD
    serial: <filter> fw-rev: 227I scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Generic model: Flash Disk
    size: 3.75 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 2.0
    spd: 480 Mb/s lanes: 1 mode: 2.0 tech: SSD serial: <filter> fw-rev: 8.07
    scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 vendor: Lexar model: USB Flash Drive
    size: 28.91 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 2.1
    spd: 480 Mb/s lanes: 1 mode: 2.0 tech: SSD serial: <filter> fw-rev: 1100
    scheme: MBR
Partition:
  ID-1: / raw-size: 118.95 GiB size: 116.52 GiB (97.96%)
    used: 52.77 GiB (45.3%) fs: ext4 dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A gpu: nvidia temp: 50 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 33%
Info:
  Memory: total: 16 GiB available: 15.52 GiB used: 5.1 GiB (32.8%)
  Processes: 261 Power: uptime: 11h 57m states: freeze,standby,mem,disk
    suspend: deep avail: s2idle,shallow wakeups: 0 hibernate: platform
    avail: shutdown, reboot, suspend, test_resume image: 6.19 GiB
    services: upowerd,xfce4-power-manager Init: systemd v: 257
    default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1251 libs: 423 tools: pamac pm: flatpak pkgs: 0
    Compilers: clang: 19.1.7 gcc: 14.2.1 Shell: Bash v: 5.2.37
    running-in: xfce4-terminal inxi: 3.3.37
○ sleep.target
     Loaded: masked (Reason: Unit sleep.target is masked.)
     Active: inactive (dead)

○ suspend.target
     Loaded: masked (Reason: Unit suspend.target is masked.)
     Active: inactive (dead)

○ hibernate.target
     Loaded: masked (Reason: Unit hibernate.target is masked.)
     Active: inactive (dead)

○ hybrid-sleep.target
     Loaded: masked (Reason: Unit hybrid-sleep.target is masked.)
     Active: inactive (dead)

from file /etc/systemd/logind.conf:
HandleSuspendKey=ignore
HandleSuspendKeyLongPress=ignore
HandleHibernateKey=ignore
HandleHibernateKeyLongPress=ignore

from file /etc/systemd/sleep.conf:
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no

running journalctl | grep -i -e "suspend" -e "hibernate" -e "sleep":
Feb 22 10:48:22 DreamMachine sudo[10037]: anonymous : TTY=pts/0 ; PWD=/etc/systemd ; USER=root ; COMMAND=/usr/bin/nano sleep.conf
Feb 22 10:48:48 DreamMachine sudo[10056]: anonymous : TTY=pts/0 ; PWD=/etc/systemd ; USER=root ; COMMAND=/usr/bin/nano sleep.conf

Previously I had followed the process in which this thread was from, that is making the new directories with conf files to attempt to forbid the action set but I was unable to have that work. I will happily follow a process with proof of action to attempt to resolve this. Thank you!!

… but this thread is new and you are new here - so I’m scratching my head what thread and process you are referring to …

personal note, ignore at your (in)convenience):
you should not have chosen that avatar name for you - not good for your soul

ps:
I just saw this thread here:

[HowTo] Disable / Turn off Hibernate completely!

I wonder how you hibernate since you do not have swap…

[HowTo] Disable / Turn off Hibernate completely!

Split this topic 2 hours ago

A post was split to a new topic: RE: [HowTo] Disable / Turn off Hibernate completely!

see my last post - I just discovered that
but not from any hint in this post here - I just read, as I do - through the recent posts
and connected the dots


addition, after I looked back:
there was a hint at the bottom of the initial post here
I missed that.

Sorry!

1 Like

Testing on my system to confirm sleep/suspend/hibernate is disabled:

$ systemctl sleep
Call to Sleep failed: None of the configured sleep operations are supported

$ systemctl suspend
Call to Suspend failed: Sleep verb 'suspend' is disabled by config

$ systemctl hibernate
Call to Hibernate failed: Sleep verb 'hibernate' is disabled by config

$ systemctl hybrid-sleep
Call to HybridSleep failed: Sleep verb 'hybrid-sleep' is disabled by config

To remove buttons for Sleep, Hibernate and Hybrid-Sleep from Xfce logout dialog:

xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false'
xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'
xfconf-query -c xfce4-session -np '/shutdown/ShowHybridSleep' -t 'bool' -s 'false'

[SOLVED] remove "switch user" buttons from logout dialog & lockscreen / Desktop / Xfce Forums

2 Likes

Quite the conundrum, isn’t it?

System data shows boot parameters do not include resume=UUID= for hibernation