shutdown

File removal on power off

File removal on power off I’m using Ubuntu 22.04LTS. I would like to create a folder "temp" where during my session I save the files that are, as the name suggest, temporary. How can I define a scritp that at shutdown automatically deletes the contents of this folder? Ex: I download few documents that I …

Total answers: 2

HP pavilion 14 laptop running ubuntu 22.04 restarts everytime I shut it down

HP pavilion 14 laptop running ubuntu 22.04 restarts everytime I shut it down Almost all similar answers like like this one say to disbale Wake on LAN option in the BIOS, but I went through all the options in the BIOS and didn’t find any similar at all. I even disabled secure boot, but it …

Total answers: 1

After Upgrade ubuntu 23.04 to 23.10 and my pc not completely poweroff

After Upgrade ubuntu 23.04 to 23.10 and my pc not completely poweroff After I received ubuntu Upgrade to Ububntu 23.10 and alot of problems happened. I fixed most of them and the last problem is that when I poweroff my PC it never powers off. the screen and the keyboard and closed but the PC …

Total answers: 1

Shut down actions order: write buffers after RO root remount

Shut down actions order: write buffers after RO root remount Exploring amazing Book How Linux Works by Brian Ward I usually have no question. But this one. At the "6.7.0 Shutting Down Your System" there is an ordered list of jobs. After remount root file system in ReadOnly mode (6) write buffered data by the …

Total answers: 2

Laptop shuts down when headphones jack plugs in

Laptop shuts down when headphones jack plugs in My Acer Extensa 2520G with Ubuntu 22.04 turns off on plugging headphones jack I’ve tryed both this solutions and it’s not helps in my case My system hasn’t TLP so i’ve install it and add to empty file /etc/default/tlp SOUND_POWER_SAVE_ON_BAT=0 My system has /usr/lib/pm-utils/power.d folder but hasn’t …

Total answers: 1

Ubuntu 22.04.3 LTS won't power off or restart

Ubuntu 22.04.3 LTS won't power off or restart i am having problems with shutting down Ubuntu. My device is set on dual boot. I don’t have this problem with Windows 11. My device is an lenovo ideapad gaming 3 with ryzen5 5600H and Nvidia geforce rtx 3050. enter image description here Asked By: Mostafa Wael …

Total answers: 1

Ubuntu does not completely power off

Ubuntu does not completely power off When i try to power off, the computer cannot be powered of completely. The screen is still on. The screen looks like this: When i press ESC nothing happens. I tried to shutdown by terminal but the problem is still same. Ubuntu Version : 22.04.3 Laptop : Asus Rog …

Total answers: 1

Kubuntu not shutting down

Kubuntu not shutting down I just built a workstation that is running Kubuntu 23.10 (Kubuntu is basically Ubuntu + KDE Plasma desktop) with the 6.5.0-14-generic kernel. Specs: ASUS Pro WS WRX80e-sage SE Wifi ii motherboard; Threadripper Pro 5955WX, Nvidia RTX A6000 Ada GPU. Neither power-off nor sleep works; nor does shutdown -P now. The screen …

Total answers: 2

Are there commands for execute XFCE's menu entries to reboot or power off/shut down?

Are there commands for execute XFCE's menu entries to reboot or power off/shut down? There is Herunterfahren(DE)/Shut Down and Neustarten (DE)/Reboot: Is it possible to execute these GUI entries from the command line? If so, what exactly are the commands? I already checked XFCE’s docs page for the power manager, but as far as I …

Total answers: 1

display a dialog box before shutting down

display a dialog box before shutting down When you shut down you get the "Are you sure…" dialog. Occasionally I want to send myself a reminder e.g. to run an overnight job instead of shutting down. Then I’d need to display another dialog box – before or beside the "are you sure" one. (or any …

Total answers: 2

UBUNTU shutdown prevent : kvm exiting hardware virtualization

UBUNTU shutdown prevent : kvm exiting hardware virtualization i hope you are doing well. this problem has been quite a while but i have been researching a lot and i don’t know what else to do. Ubuntu doesn’t shutdown but keeps getting stopped at message: kvm exiting hardware virtualization. These are the specifications: Laptop: hp …

Total answers: 2

Restart and Shutdown Icon on Desktop or Favourites in Ubuntu 22.04

Restart and Shutdown Icon on Desktop or Favourites in Ubuntu 22.04 I would like to check if there is possibility to put Shutdown and Restart icons to Favourites and on Desktop in Ubuntu. When I search in available applications there are black icons Restart and Shutdown. All nice, when I click on those it shows …

Total answers: 1

Ubuntu is not shutting down

Ubuntu is not shutting down I added a WebDAV folder to /etc/fstab https://my.owncloud.de/remote.php/dav/files/matt/ /home/matt/Owncloud davfs user,rw,auto 0 0 but when it’s mounted then Ubuntu doesn’t shut down. See more details in the attached image. Asked By: Matthias S. || Source Create a custom script for unmount nano /home/matt/Scripts/umountCloud.sh Add unmount command umount /home/matt/Owncloud Make it …

Total answers: 1

Shutdown freezes on Ubuntu logo

Shutdown freezes on Ubuntu logo Since two days ago the shutdown of my laptop doesn’t work anymore. It freezes on the last screen that shows the Ubuntu logo and then my laptop starts working really hard, gets hot and the cooler is going crazy. I pressed F1 to see what’s happening in the background, but …

Total answers: 2

REISUO vs shutdown now

REISUO vs shutdown now You can use shutdown now command or REISUO trick to shutdown your computer, but what way is preferred over another? Asked By: manungsa || Source Please don’t get mad and listen: Sorry to inform you, but in your case, just from the wording of the question, it is clear that you …

Total answers: 2

Hibernate Windows PC from Linux

Hibernate Windows PC from Linux To shutdown a Windows PC from Linux I use: net rpc shutdown -I 192.168.1.123 -U userName%password and it works perfectly. To hibernate I try: net rpc shutdown -h -I 192.168.1.123 -U userName%password and it does nothing. It returns: Usage: net rpc shutdown If I try use another "Windows shutdown" parameters …

Total answers: 1

what's the meaning of ^@ in syslog

what's the meaning of ^@ in syslog One physical machine had shutdown unexpected, there is no any error log about that, only get a large ^@ in one line of /var/log/syslog file such as: Dec 9 21:50:02 hostname CRON[74324]: (root) MAIL (mailed 716 bytes of output but got status 0x004b from MAT#012) ^@^@^@…large of ^@^@^@Dec …

Total answers: 2

Multiple UtilTranslatePathList errors when restarting Ubuntu on WSL after a shutdown

Multiple UtilTranslatePathList errors when restarting Ubuntu on WSL after a shutdown After performing a sudo systemctl poweroff in Ubuntu in WSL and restarting, I’m seeing: <3>WSL (814) ERROR: UtilTranslatePathList:2671: Failed to translate C:Program FilesPowerShell7 <3>WSL (814) ERROR: UtilTranslatePathList:2671: Failed to translate C:WindowsSystem32OpenSSH <3>WSL (814) ERROR: UtilTranslatePathList:2671: Failed to translate C:Program Files (x86)NVIDIA CorporationPhysXCommon <3>WSL (814) …

Total answers: 1

Desktop lockscreens when I press suspend

Desktop lockscreens when I press suspend I am running Ubuntu 22.04.1 LTS (Jammy Jellyfish) dual-booting with Windows 11. Not long ago, when I launched the Software Updater, it told me some error that I don’t remember the phrasing of, but ending with suggesting a partial update. I went through with it and restarted my system. …

Total answers: 1

Laptop with Ubuntu 22.04 restarts instead of shutting down

Laptop with Ubuntu 22.04 restarts instead of shutting down To provide some details, I’m using an HP Probook 640 G1. It used to have Windows OS on an HDD, but I changed it for a SSD with Ubuntu 20.04 three weeks ago. Ubuntu has been working fine so far, and I was able to upgrade …

Total answers: 1