Linux ubuntu ctrl alt del

What is the equivalent of ‘Control-Alt-Delete’?

On Windows anytime the system hangs Ctrl — Alt — Del brings up the Start Up Manager, from which you can end the program or process causing the hang. Is there any command like this on Ubuntu?

When you press Ctrl+alt+del you then have to choose to open Task Manager from a list of other options. Ctrl+shift+esc skips that step and just opens Task Manager directly. Try it.

@Dee That should be bug-reported to Microsoft, posting it here just makes people happy they are using Ubuntu 🙂

8 Answers 8

System Monitor shows you an overview of running applications (under the Processes tab) and allows you to end them by right-clicking on the name and selecting the respective context menu item. You can set up keyboard shortcuts in the Keyboard settings (Shortcuts tab), so you can bind Ctrl + Alt + Del to gnome-system-monitor , the command to start System Monitor.

Another command you might be interested in is xkill . This is traditionally bound to Ctrl + Alt + Esc (not sure if by default) and allows you to click on a misbehaving window to close it.

Both of these might not work if your entire system hangs. If that happens, there are two things you can do. The first has to be enabled in advance when your system doesn’t hang yet (you could do it right now): open Keyboard Layout settings (I believe this is merged into Keyboard in Ubuntu 12.04), then click Options. One of the options is Key sequence to kill the X server, you can click that run gsettings get org.gnome.desktop.input-sources xkb-options for recent versions of Ubuntu (according to this answer). If you have done that and your system later hangs, you can press Ctrl + Alt + Backspace , which will effectively bring you back to the login screen.

If even that doesn’t work, the last thing you can do is ensuring a sane shutdown (i.e. not pressing and holding the power button). This one is a bit hard to remember, but it involves pressing and holding Alt + SysRq (system request, often same key as PrtScr print screen) and then while holding those two keys press one at a time in order R , E , I , S , U , B (a mnemonic is Reboot Even If System Utterly Broken, but may also be easily remembered as «BUSIER» backwards). Wait a second between each press, because each letter is a different kernel action leading to a «graceful» reset.

Источник

Use Ctrl+Alt+Del shortcut for Shutting Down Ubuntu

Ubuntu CTRL Alt Del Shortcut

Ubuntu comes with a powerful set of keyboard shortcuts that you can utilize in order to increase your productivity through minimum effort. When you have a good grip over the shortcuts, you can avoid using the mouse; which saves a lot of time. You can also focus more on your work rather than following the mouse pointer. Keyboard shortcuts are especially useful if you do a lot of text editing; your hand muscles will actually thank you for avoiding the mouse.

Читайте также:  Открыть архив tar linux

If you have shifted to Ubuntu from Windows like me, you must be used to the very frequently used shortcut Ctrl+Alt+Del for shutting down and restarting your system. Even in the older versions of Ubuntu, the same shortcut was assigned by default for shutting down/powering off the system. In the newer versions, however, the Ctrl+Alt+Del shortcut is assigned for logging out of the system. Logging out simply ends the current user’s session so that another user can use it.

In this article, we will explain how you can use the Ctrl+Alt+Del shortcut for the same old purpose; shutting down your Ubuntu Desktop. The process includes:

  • Disabling the Ctrl+Alt+Del shortcut for logging out.
  • Creating a custom shortcut for shutting down.

We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 LTS system.

Step 1: Disabling Ctrl+Alt+Del as the shortcut for logging out

Since the said key combination is already being used by Ubuntu for the purpose of logging out, let us first specify some other shortcut for logging out.

Open the Settings utility from Ubuntu application launcher search or the down arrow button located at the top right corner of your screen. Click the Devices tab from the left menu of the Settings window. Then, click on the KeyBoard tab from the Devices menu. The following Keyboard view will be displayed in the right panel:

Ubuntu Keyboard Shortcut

Alternatively, you can directly open the Settings utility in the Keyboard view as follows:

Keyboard Shortcuts

Scroll down to the System category in Keyboard Shortcuts and click on Log Out; a Set Shortcut dialog will appear. Enter an unused key combination, such as Ctrl+Alt+K.

Set Shortcut to change log out

Now click the Set button. You can now log out of your system using the Ctrl+Alt+K shortcut and the Ctrl+Alt+Delete shortcut is free to be used as a custom shortcut.

Step 2: Create Ctrl+Alt+Del as a custom shortcut for shutting down

Scroll down the Keyboard view in the Settings UI and click the + button. The Add Custom Shortcut dialog will appear.

Enter the following information in the Add Custom Shortcut dialog:

gnome-session-quit --power-off

New Keyboard Shortcut

Shortcut: Set a shortcut by pressing the “Set Shortcut” button and then setting a shortcut by pressing Ctrl+Alt+Del keys simultaneously. The following dialog will then appear:

Set Custom Shortcut

Your new shortcut is now set. Press the X button to return to the Settings utility.

Settings utility

You will be able to see the newly set shortcut in the Custom Shortcuts list as shown above.

Try this shortcut by pressing Ctrl+Alt+Del. The following Power Off dialog will appear every time you do so:

Power Off Dialogue

Through this dialog, you can do the following things:

If you do not press any of the buttons, the system will automatically shut down after 60 seconds. The dialog even shows a countdown, by the delay of 10 seconds, after which your system will be powered off.

Through the power of custom shortcuts on Ubuntu, you were able to get the good old Ctrl+Alt+Del shortcut back for powering off your system. You can utilize the same procedure for creating shortcuts for your frequently used commands/processes on Ubuntu.

Читайте также:  Windows linux сетевое соединение

Источник

ctrlalt-delete linux

In Windows you can easily kill any task by pressing Ctrl+Alt+Del and bringing up the task manager. Linux running the GNOME desktop environment (i.e. Debian, Ubuntu, Linux Mint, etc.) has a similar tool that can be enabled to run exactly the same way.

  1. What does Ctrl Alt Delete do on Linux?
  2. What is Ctrl Alt Delete on Ubuntu?
  3. Is Ctrl Alt Delete dangerous?
  4. Is there Task Manager in Linux?
  5. What is Ctrl F4?
  6. What does Ctrl Alt F4 do?
  7. How do I kill a process in Ubuntu?
  8. How do I disable Ctrl Alt Del in Linux?
  9. How do I shut down Ubuntu?
  10. Why is control alt delete a thing?
  11. Why is Ctrl Alt Delete a mistake?
  12. Is Ctrl Alt Delete necessary?

What does Ctrl Alt Delete do on Linux?

On some Linux-based operating systems including Ubuntu and Debian, Control + Alt + Delete is a shortcut for logging out. On Ubuntu Server, it is used to reboot a computer without logging in.

What is Ctrl Alt Delete on Ubuntu?

If you have used the Windows operating system, you have probably used Ctrl + Alt + Del combination to launch the task manager. By default pressing the keyboard shortcut keys, CTRL+ALT+DEL in the Ubuntu system prompts a logout dialogue box of the GNOME desktop environment.

Is Ctrl Alt Delete dangerous?

The above is also a way that Ctrl-Alt-Delete is dangerous even if physical access to the power/reset switches and power cables is prevented.

Is there Task Manager in Linux?

All the major Linux distributions have a task manager equivalent. Usually, it’s called System Monitor, but it actually depends on your Linux distribution and the desktop environment it uses.

What is Ctrl F4?

Alternatively referred to as Control+F4 and C-f4, Ctrl+F4 is a keyboard shortcut most often used to close a tab or window within a program. If you want to close a program and all of its tabs and windows, use the Alt + F4 keyboard shortcut. . Ctrl+F4 in Microsoft Windows.

What does Ctrl Alt F4 do?

Alt+F4 is a keyboard shortcut most often used to close the currently-active window. . If you want to close a tab or window open in a program, but not close the complete program, use the Ctrl + F4 keyboard shortcut.

How do I kill a process in Ubuntu?

  1. First select the process that you want to end.
  2. Click on the End Process button. You will get a confirmation alert. Click on “End Process” button to confirm that you want to kill the process.
  3. This is the simplest way way to stop (end) a process.

How do I disable Ctrl Alt Del in Linux?

On a production system it is recommended that you disable the [Ctrl]-[Alt]-[Delete] shutdown. It is configured using /etc/inittab (used by sysv-compatible init process) file. The inittab file describes which processes are started at bootup and during normal operation.

How do I shut down Ubuntu?

There are two ways to shutdown Ubuntu Linux. Go to the upper right corner and click the drop down menu. You’ll see the shutdown button here. You can also use the command ‘shutdown now’.

Why is control alt delete a thing?

Ctrl-Alt-Del is the Secure Attention Key on Windows. The operating system enforces a strong non-interception policy for this key combination. You could make an application which goes full-screen, grabs the keyboard, and displays something which looks like the normal login screen, down to the last pixel.

Читайте также:  Linux имя файла текущая дата

Why is Ctrl Alt Delete a mistake?

The Microsoft co-founder said that there was an option to make a single button for such a command, but the IBM keyboard designer didn’t want to give Microsoft a single button. So Microsoft decided to use “Ctrl+Alt+Del” as a way to log into Windows. “It was a mistake,” Gates said, drawing a big laugh from the crowd.

Is Ctrl Alt Delete necessary?

From Interactive logon: Do not require CTRL+ALT+DEL: Not having to press CTRL+ALT+DEL leaves users susceptible to attacks that attempt to intercept the users’ passwords. Requiring CTRL+ALT+DEL before users log on ensures that users are communicating by means of a trusted path when entering their passwords.

How to safely remove PPA repositories in Ubuntu

Remove

Remove a PPA (GUI Method)Launch Software & Updates.Click the “Other Software” tab.Select (click) the PPA you want to delete.Click “Remove” to remo.

How to Properly Shut down or Reboot a Debian 10 System

Reboot

To shut down the system from a terminal session, sign in or «su» to the «root» account. Then type «/sbin/shutdown -r now». It may take several momen.

How to Install Curl on Ubuntu [Quick Tip]

Curl

The procedure to install cURL on Ubuntu Linux is as follows:Update your Ubuntu box, run: sudo apt update && sudo apt upgrade.Next, install cUR.

Latest news, practical advice, detailed reviews and guides. We have everything about the Linux operating system

Источник

Does Linux have a Ctrl+Alt+Del equivalent?

This varies a great deal by what kind of system you are using. What distribution/desktop environment/window manager do you use?

9 Answers 9

X can be killed using Ctrl + Alt + BackSpace , and if you hit Ctrl + Alt + F1 (or F2 through 6), you’ll be dropped to a virtual console where you can type commands to kill the bad app. To switch back to the GUI, hit Ctrl + Alt + F7 .

Might need to hit Alt+SysRq+R before you can use Ctrl+Alt+F1, if the keyboard is stuck in some strange mode.

Under GNU/Linux [at least those based on the SystemV init style], the behavior of ctrl + alt + del relies on the configuration file /etc/inittab where you should be able to read a line like:

::ctrlaltdel:/sbin/shutdown -t3 -r now 

(example from an ArchLinux distribution) which means that the system will be shutdown when it receives the key combination. But you may want to do something else, like*:

::ctrlaltdel:/usb/bin/sudo make me a sandwich 

(which is much more useful 🙂

Well you can create shortcut for Alt + Ctrl + Del in Linux, but there is some other more interesting combinations that you might like to know.

Holding down Alt and SysRq (which is the Print Screen key) and typing R E I S U B with a few(I usually count to 5) seconds between each key will get you safely restarted. R E I S U O will do a shutdown rather than a restart. As pointed out by a comment, this is not a single command, but a combination of many commands, each doing a specific thing. So I recommend to take a look at REISUB — the gentle Linux restart for more details.

And you might already know this but press Alt + Ctrl + any of the keys from F1 to F6 to get a console at any time, which you can use to login in text mode and use command line. This was very helpful when I messed my desktop environment.

Источник

Оцените статью
Adblock
detector