mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
9c01f90177
renamed: 20 Linux ls Command Examples to Display the Entries of Directory.md -> 201402/20 Linux ls Command Examples to Display the Entries of Directory.md renamed: 29 Practical Examples of Nmap Commands for Linux System,Network Administrators.md -> 201402/29 Practical Examples of Nmap Commands for Linux System,Network Administrators.md renamed: 6 Unusual Yet Great Linux Operating Systems For Your Netbook!.md -> 201402/6 Unusual Yet Great Linux Operating Systems For Your Netbook!.md renamed: "Built in Audit Trail Tool \342\200\223 Last Command in Linux.md" -> "201402/Built in Audit Trail Tool \342\200\223 Last Command in Linux.md" renamed: Conky Harmattan Is A Stylish Desktop Companion For Linux.md -> 201402/Conky Harmattan Is A Stylish Desktop Companion For Linux.md renamed: "Daily Ubuntu Tips \342\200\223 How To Manually Install LibreOffice In Ubuntu.md" -> "201402/Daily Ubuntu Tips \342\200\223 How To Manually Install LibreOffice In Ubuntu.md" renamed: "Daily Ubuntu Tips \342\200\223 Take Screenshots Of your Desktop.md" -> "201402/Daily Ubuntu Tips \342\200\223 Take Screenshots Of your Desktop.md" renamed: "Daily Ubuntu Tips \342\200\223 Turn Off Shutdown \357\274\217 Restart Confirmation In Ubuntu.md" -> "201402/Daily Ubuntu Tips \342\200\223 Turn Off Shutdown \357\274\217 Restart Confirmation In Ubuntu.md" renamed: "Daily Ubuntu Tips \342\200\223 Upgrade To Ubuntu 14.04 (Trusty Tahr) From 13.10.md" -> "201402/Daily Ubuntu Tips \342\200\223 Upgrade To Ubuntu 14.04 (Trusty Tahr) From 13.10.md" renamed: "Daily Ubuntu Tips \342\200\223 Use Spotify In Ubuntu Linux.md" -> "201402/Daily Ubuntu Tips \342\200\223 Use Spotify In Ubuntu Linux.md" renamed: Find Saved WiFi Password In Linux Mint 16 [Beginner].md -> 201402/Find Saved WiFi Password In Linux Mint 16 [Beginner].md renamed: How To Install Icon Themes In Linux Mint 16 [Beginner Tip].md -> 201402/How To Install Icon Themes In Linux Mint 16 [Beginner Tip].md renamed: How To Properly Install Ubuntu One In Linux Mint 16.md -> 201402/How To Properly Install Ubuntu One In Linux Mint 16.md renamed: How to Replace GRUB with Syslinux on Arch Linux.md -> 201402/How to Replace GRUB with Syslinux on Arch Linux.md renamed: How to convert video to animated gif image on Linux.md -> 201402/How to convert video to animated gif image on Linux.md renamed: How to integrate Google Calendar in Linux desktop.md -> 201402/How to integrate Google Calendar in Linux desktop.md renamed: How to open a large text file on Linux.md -> 201402/How to open a large text file on Linux.md renamed: Linux Top 3--Linux 3.13, System Rescue 4 and BackBox 3.13.md -> 201402/Linux Top 3--Linux 3.13, System Rescue 4 and BackBox 3.13.md renamed: Linux iostat Command to Report CPU Statistics and IO Statistics.md -> 201402/Linux iostat Command to Report CPU Statistics and IO Statistics.md renamed: Markdown Text Editor CuteMarkEd 0.9.0 Gets New Options.md -> 201402/Markdown Text Editor CuteMarkEd 0.9.0 Gets New Options.md renamed: Pear OS Is History!.md -> 201402/Pear OS Is History!.md renamed: Top 10 Linux Games of 2013.md -> 201402/Top 10 Linux Games of 2013.md renamed: Two Pi R.md -> 201402/Two Pi R.md renamed: userdel Command - Delete User Account from Linux system.md -> 201402/userdel Command - Delete User Account from Linux system.md
2.0 KiB
2.0 KiB
每日 Ubuntu 小技巧——关闭 Ubuntu 中的关机/重启确认
对于 Ubuntu 新手来说,有很多新东西要学,但是网上很多教程不是针对新手的。
在这里,我们不走寻常路。不能说全部的教程都是为初学者准备,但至少大部分是。
这篇文章也是一篇新手教程,并且展示如何在每次执行关机、重启、注销时禁用确定框。
Ubuntu 总是配置好了一个对话框,每当你要关机、重启或者注销时提示你。
这是一个保护措施,防止你本不打算这样做却错误关机或重启。
不是所有人都想每次关机的时候被询问。忙碌的小伙伴们可能就让自己的电脑那么醒着,因为他执行了关闭命令,却忘了确认那个该死的对话框。
这个教程将会指导你每一次关机的时候如何避免那个对话框。
当这个特性被激活,你将会收到下面的提示。
Are you sure you want to close all programs and shutdown your computer?
运行下面命令关掉它。
按下键盘上的 Ctrl – Alt – T 打开终端。然后敲击下面的命令
gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true
就这么简单,你再也不会被该死的确认对话框骚扰了。
如果想恢复这个对话框,敲下面的命令就可以了
gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown false
干巴爹!
译者:ggaaooppeenngg 校对:Caroline