{"id":22083,"date":"2023-10-01T16:13:37","date_gmt":"2023-10-01T16:13:37","guid":{"rendered":"https:\/\/linuxways.net\/?p=22083"},"modified":"2023-10-01T16:13:37","modified_gmt":"2023-10-01T16:13:37","slug":"restore-the-default-setting-of-your-ubuntu-operating-system-using-terminal","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/restore-the-default-setting-of-your-ubuntu-operating-system-using-terminal\/","title":{"rendered":"Restore the Default Setting of your Ubuntu Operating System using Terminal"},"content":{"rendered":"<p>To have a fresh start with your Ubuntu Operating System again, or if you want to speed up your Ubuntu Operating System again, Ubuntu allows simple commands to do so. With Default Ubuntu Settings, you will have a bug-free, clean, and fast GUI again.<\/p>\n<p>This article explains the steps needed to restore the default settings of Ubuntu using Terminal.<\/p>\n<h2><strong>Restore the Default Setting of Your Ubuntu Operating System Using the Terminal<\/strong><\/h2>\n<p>Ubuntu offers pre-configured and pre-defined commands to make it easy for users to reset their Ubuntu Operating system. Follow the steps below to restore your Ubuntu Operating System to the Default Settings.<\/p>\n<h3><strong>Step 1: Reset Default Settings of Ubuntu<\/strong><\/h3>\n<p>Use the \u201cdconf\u201d with the \u201creset\u201d command to restore default settings. It will reset all the specific keys and directories. To reset default settings, use the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">dconf reset <span class=\"re5\">-f<\/span> <span class=\"sy0\">\/<\/span><\/div><\/div>\n<p>The command line moves to the next line indicating the default settings were reset:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"725\" height=\"43\" class=\"wp-image-22091\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-1.png 725w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-1-300x18.png 300w\" sizes=\"auto, (max-width: 725px) 100vw, 725px\" \/><\/p>\n<h3><strong>Step 2: Remove Unnecessary Crabs<\/strong><\/h3>\n<p>Crab files are created when users create custom file systems. Remove crabs left while installing applications as it will speed up your Ubuntu OS. Remove the crabs left using the \u201cautoremove\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt autoremove<\/div><\/div>\n<p>This will start reading and removing the crab packages\/files:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"358\" class=\"wp-image-22097\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-2.png 728w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-2-300x148.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/p>\n<p>It will ask for confirmation to remove the unnecessary data. Enter \u201cY\u201d to proceed with the removal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"288\" class=\"wp-image-22102\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-3.png 734w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-3-300x118.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/p>\n<h3><strong>Step 3: Clean and Remove Cache<\/strong><\/h3>\n<p>As the cache stores data temporarily and may contain junk files, it is necessary to clean the cache and remove the data from it to speed up your Ubuntu system. Use the \u201cautoclean\u201d command to clean and remove junk files from the Ubuntu Cache:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt autoclean<\/div><\/div>\n<p>Your Ubuntu Cache will be clean having no files in it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"94\" class=\"wp-image-22109\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-4.png 723w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-4-300x39.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/p>\n<h3><strong>Step 4: Change Grub Timeout<\/strong><\/h3>\n<p>Whenever you start your Ubuntu Operating System, the grub timeout will wait for a specific time before you can input anything from your keyboard. Change the grub timeout through the GRUB Configuration file from the \u201cgrub\u201d directory. Open the configuration file using the \u201cgedit\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> gedit <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>default<span class=\"sy0\">\/<\/span>grub<\/div><\/div>\n<p>This will open the GRUB Timeout Configuration File:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"729\" height=\"314\" class=\"wp-image-22118\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-5.png 729w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-5-300x129.png 300w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/p>\n<p>The default GRUB Configuration File would look like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"899\" height=\"659\" class=\"wp-image-22125\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-6.png 899w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-6-300x220.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-6-768x563.png 768w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/p>\n<p>Ensure the GRUB Timeout is set to 0 or 3. If the GRUB Timeout is \u201c10\u201d or any number other than \u201c0\u201d or \u201c3\u201d, change it to \u201c0\u201d or \u201c3\u201d. In our case it is already \u201c0\u201d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"898\" height=\"692\" class=\"wp-image-22132\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-7.png 898w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-7-300x231.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-7-768x592.png 768w\" sizes=\"auto, (max-width: 898px) 100vw, 898px\" \/><\/p>\n<p>Once you are done with the changes, press \u201cctrl+s\u201d to save the file and then close it. Update the system afterward for changes to take effect using the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> update-grub<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"274\" class=\"wp-image-22136\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-8.png 728w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22083-8-300x113.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/p>\n<h3><strong>Step 5: Reboot System<\/strong><\/h3>\n<p>Once you are done with the steps above for restoring settings, reboot your system using the \u201creboot\u201d command for the changes to take effect:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">reboot<\/div><\/div>\n<p>Once the system reboots, you are done with the Restoring of your Default Ubuntu Settings. If your Ubuntu system is still slow and you want to reset it, you can factory reset it by following the <a href=\"https:\/\/linuxways.net\/de\/factory-reset-ubuntu-using-terminal\/\">Factory Reset Ubuntu <\/a>guide.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>With the pre-defined \u201cdconf reset\u201d command offered in Ubuntu, the default settings of Ubuntu can be restored followed by the \u201cautoremove\u201d command to remove crabs, the \u201cautoclean\u201d command to clean the cache, and changing the Grub Time for a more efficient reboot. This article explained each step in detail required to reset your Ubuntu Operating System to Default Settings.<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Use \u201cdconf reset\u201d followed by the \u201cautoremove\u201d and \u201cautoclean\u201d commands to remove crabs and clean the cache, which is used to restore default settings of Ubuntu.<\/p>","protected":false},"author":110,"featured_media":22194,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-22083","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/22083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=22083"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/22083\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/22194"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=22083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=22083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=22083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}