Reset running process warning when closing a terminal?

Hello everyone. I just made a fresh install on a new SSD and after getting it all set up I screwed up when closing a terminal with htop running....It gave me the "running process" warning and asked if I really wanted to close it with a process running. I checked the box that said something like, "Do not show this message again," then I clicked the wrong one and told it not to kill the terminal. Now I can't close a terminal with a running process. My konsole is now stuck running a process I can't kill with Ctrl + C and I can't even close the terminal to stop it. I'm hoping someone might be able to tell me how I can reset that warning so I can try again. Thanks in advance for any help with this as I'm apparently searching with the wrong key words in DDG.

 ╭─user@transruda in ~ 
 ╰─λ garuda-inxi
System:
  Kernel: 5.17.5-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=06624f42-8c02-4c83-a1d0-1cf8a1e4482e rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3
  Desktop: KDE Plasma v: 5.24.5 tk: Qt v: 5.15.3 info: latte-dock
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Aspire 7750G v: V1.21
    serial: <superuser required> Chassis: type: 10 v: 1.21
    serial: <superuser required>
  Mobo: Acer model: JE70_HR serial: <superuser required> BIOS: Acer v: 1.21
    date: 08/09/2012
Battery:
  ID-1: BAT0 charge: 12.7 Wh (100.0%) condition: 12.7/47.5 Wh (26.7%)
    volts: 12.4 min: 10.8 model: SANYO Li_Ion_4000mA type: Li-ion
    serial: <filter> status: full
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: Intel Core i7-2630QM bits: 64 type: MT MCP arch: Sandy Bridge
    family: 6 model-id: 0x2A (42) stepping: 7 microcode: 0x2F
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 850 high: 1221 min/max: 800/2900 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 1221 2: 798 3: 798
    4: 798 5: 798 6: 798 7: 798 8: 798 bogomips: 31930
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  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: 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
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M]
    vendor: Acer Incorporated ALI driver: radeon v: kernel alternate: amdgpu
    pcie: gen: 2 speed: 5 GT/s lanes: 16 ports: active: LVDS-1
    empty: HDMI-A-1,VGA-1 bus-ID: 01:00.0 chip-ID: 1002:6741 class-ID: 0300
  Device-2: Alcor Micro Acer Integrated Webcam type: USB driver: uvcvideo
    bus-ID: 1-1.3:3 chip-ID: 058f:b002 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
    compositor: kwin_x11 driver: X: loaded: radeon unloaded: modesetting
    alternate: fbdev,vesa gpu: radeon display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.65x9.37")
    s-diag: 485mm (19.11")
  Monitor-1: LVDS-1 mapped: LVDS model: AU Optronics 0x139e built: 2009
    res: 1600x900 hz: 60 dpi: 106 gamma: 1.2 size: 382x214mm (15.04x8.43")
    diag: 438mm (17.2") ratio: 16:9 modes: max: 1600x900 min: 640x480
  OpenGL: renderer: AMD TURKS (DRM 2.50.0 / 5.17.5-zen1-2-zen LLVM 13.0.1)
    v: 3.3 Mesa 22.0.3 compat-v: 3.1 direct render: Yes
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403
  Device-2: AMD Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series]
    vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aa90 class-ID: 0403
  Sound Server-1: ALSA v: k5.17.5-zen1-2-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet
    vendor: Acer Incorporated ALI driver: atl1c v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 02:00.0 chip-ID: 1969:1083
    class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros AR9287 Wireless Network Adapter
    vendor: Foxconn T77H167.00 driver: ath9k v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 168c:002e
    class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IF-ID-1: anbox0 state: down mac: <filter>
Drives:
  Local Storage: total: 347.51 GiB used: 99.45 GiB (28.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SV300S37A120G
    size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: BBF0 scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Dogfish Technology model: SSD 128GB
    size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    type: SSD serial: <filter> rev: 4A0 scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Generic model: Multi-Card
    size: 116.48 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: 1.00 scheme: GPT
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 30.52 GiB size: 30.52 GiB (100.00%)
    used: 13.47 GiB (44.1%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
  ID-2: /home raw-size: 88.72 GiB size: 88.72 GiB (100.00%)
    used: 55.94 GiB (63.0%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
  ID-3: /var/log raw-size: 30.52 GiB size: 30.52 GiB (100.00%)
    used: 13.47 GiB (44.1%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
  ID-4: /var/tmp raw-size: 30.52 GiB size: 30.52 GiB (100.00%)
    used: 13.47 GiB (44.1%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.61 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 66.0 C mobo: N/A gpu: radeon temp: 62.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 306 Uptime: 1h 26m wakeups: 13 Memory: 15.61 GiB
  used: 2.83 GiB (18.1%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 12.1.0 clang: 13.0.1 Packages: pacman: 1497 lib: 344 Shell: fish
  v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.15
Garuda (2.6.2-1):
  System install date:     2022-05-11
  Last full system update: 2022-05-11 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       <superuser required>
  Snapshots:               Snapper
  Failed units:            bluetooth-autoconnect.service systemd-networkd-wait-online.service

This might help

3 Likes

Wow! Thanks friend!! You’re faster than a microwave!!

Your most welcome

Just for reference, if you want to forcefully kill a process Ctrl + 4 works. But the application won't (usually) save anything or so... so better use that only for stuff that hangs or you don't care for possible data loss. (can come in handy for hanging ssh or similar or things that won't stop spiting out stuff, i.e. cat a long log file or so).

Also you can use the command killall, i.e. killall htop will kill all htop processes. (of course you can also use kill with the right process id you can find be searching with ps aux or similar).

2 Likes

Thank you for that, Sir. I actually didn't know about the Ctrl + 4. That's great to know. I was really just wanting to fix the GUI "X" button. Thank goodness it's fixed now. Lol. But now I have a real tough one I'm about to post about. My mouse buttons are way too sensitive and accidental clicks have ruined my day.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.