Ubuntu Ctrl+Alt+Delete (CAD) Key Sequence Ubuntu Ctrl + Alt + Supr (CAD) secuencia de teclas
Trapping Ctrl+Alt+Delete Reventado Ctrl + Alt + Supr
Different versions of Linux either have the Ctrl+Alt+Delete (CAD) key sequence enabled or disabled. Diferentes versiones de Linux o bien tienen el Ctrl + Alt + Supr (CAD) secuencia de teclas activado o desactivado. In Ubuntu Dapper Drake, this key sequence is enabled, allowing a quick shutdown and reboot. En Ubuntu Dapper Drake, esta secuencia de teclas está activado, lo que permite un rápido cierre y reinicie. However, the Gnome desktop intercepts CAD. Sin embargo, el escritorio Gnome intercepta CAD. To reboot, you need to switch to a text window (Ctrl+Alt+F1) and then press CAD. Para reiniciar el sistema, es necesario cambiar a una ventana de texto (Ctrl + Alt + F1) y luego pulse CAD.
Since the Gnome desktop intercepts CAD, you can remap this key sequence to run a different command. Desde el escritorio Gnome intercepta CAD, puede remap esta secuencia de teclas para ejecutar un comando diferente. For example, to bring up the Gnome System Monitor, you can use: Por ejemplo, para abrir el Monitor del sistema de GNOME, puede utilizar:
gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_10 \ gconftool-2-t str - SET / apps/metacity/global_keybindings/run_command_10 \
'<Control><Alt>Delete' "<Control> <Alt> Eliminar '
gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_10 \ gconftool-2-t str - SET / apps/metacity/keybinding_commands/command_10 \
"gnome-system-monitor" "gnome-sistema-monitor"
The system monitor enables you to see the running processes and selectively kill applications. El monitor de sistema le permite ver los procesos que se están ejecutando y matar selectivamente las solicitudes. This is similar to using CAD under Microsoft Windows to bring up the System Monitor. Esto es similar al uso de CAD en Microsoft Windows para abrir el Monitor de sistema.
Unfortunately, the reboot command runs as root, so you cannot make CAD run /sbin/reboot. Lamentablemente, el comando de reinicio se ejecuta como root, lo que no se puede hacer CAD ejecute / sbin / reiniciar el sistema. However, you can use gksudo (a graphical front-end to sudo) to prompt you for your password and then run reboot as root: Sin embargo, usted puede usar gksudo (una gráfica de front-end para sudo) le pedirá a su contraseña y reiniciar a continuación, ejecute como root:
gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_10 \ gconftool-2-t str - SET / apps/metacity/keybinding_commands/command_10 \
"gksudo reboot" "gksudo reiniciar"
Disabling Ctrl+Alt+Delete Desactivar Ctrl + Alt + Supr
Sometimes you may want to prevent CAD from rebooting the system. Algunas veces usted puede querer evitar CAD de reiniciar el sistema. For example, a critical server may have CAD disabled to prevent someone from playing with the keyboard and cycling the system. Por ejemplo, un servidor puede tener CAD discapacitados para evitar que alguien jugando con el teclado y el sistema de la bicicleta.
1. Edit the /etc/inittab file. Editar el archivo / etc / inittab.
sudo vi /etc/inittab sudo vi / etc / inittab
2. Find the line that says: Buscar la línea que dice:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now ca: 12345: ctrlaltdel: / sbin / shutdown-t1-a-r now
This line says, for all init levels (1, 2, … 5), run the shutdown command and reboot now. Esta línea dice, de inicio para todos los niveles (1, 2, ... 5), ejecute el comando de cierre y reinicie ahora.
3. To disable CAD, comment out the line by inserting # at the beginning of the line. Para deshabilitar el CAD, comente la línea # insertando en el comienzo de la línea.
#ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now # ca: 12345: ctrlaltdel: / sbin / shutdown-t1-a-r now
4. To alter the CAD action, change the /sbin/shutdown command to run your own program. Para modificar el CAD de acción, cambiar el comando / sbin / apagado comando para ejecutar su propio programa. For example, you may want to send an alert to an administrator or play some Disco music to let the user know that CAD is outdated. Por ejemplo, usted puede querer enviar una alerta a un administrador o reproducir algunos música Disco para permitir que el usuario sepa que está anticuado CAD.
ca:12345:ctrlaltdel:/usr/bin/play /home/nealk/disco.mp3 > /dev/null ca: 12345: ctrlaltdel: / usr / bin / juego / home/nealk/disco.mp3> / dev / null
Only one application can use the audio driver at a time, so this will only play music if nothing else is playing at the same time. Sólo una aplicación puede utilizar el controlador de audio a la vez, por lo que esto sólo reproducir música, si nada más está jugando al mismo tiempo.
5. After changing the inittab file, reload it using: sudo telinit q. Después de cambiar el archivo inittab, recarga mediante: sudo telinit q.
Unmapped keyboard signals can be lost. Unmapped señales del teclado se puede perder. If you disable CAD, then you may find that you cannot re-enable it without rebooting the system. Si deshabilita CAD, entonces usted puede encontrar que no se puede volver a habilitar sin reiniciar el sistema. But if you change the functionality (without disabling the command) then you do not need to reboot. Pero si cambia la funcionalidad (sin desactivar el comando), entonces no es necesario reiniciar el sistema. The same is true for power level signals and Alt-UpArrow. Lo mismo es válido para el nivel de potencia de señales y Alt-UpArrow.
Source of Information : Hacking Ubuntu Serious Hacks Mods and Customizations Fuente de información: Hacking Ubuntu graves Hacks Mods y personalizaciones
Written by magakos. Escrito por magakos. Read more great feeds at is source Leer más grandes se alimenta en la fuente WEBSITE SITIO WEB
no comments No hay comentarios . .
Read more articles on Leer más artículos sobre Ubuntu Linux Ubuntu Linux and y otherSoftware otherSoftware . .
- [+] Digg [+] Digg : Feature this article : Reportaje este artículo
- [+] Del.icio.us [+] Del.icio.us : Bookmark this article : Marque este artículo
- [+] Furl [+] Furl : Bookmark this article : Marque este artículo















