{"id":1443,"date":"2018-06-24T18:27:00","date_gmt":"2018-06-24T23:27:00","guid":{"rendered":""},"modified":"2018-10-16T09:57:41","modified_gmt":"2018-10-16T14:57:41","slug":"cambiando-tema-de-grub-para-fedora-28","status":"publish","type":"post","link":"https:\/\/linuxitos.com\/main\/cambiando-tema-de-grub-para-fedora-28\/","title":{"rendered":"Cambiando tema de grub para Fedora 28"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/linuxitos.com\/main\/wp-content\/uploads\/2018\/06\/Screenshot-2Bfrom-2B2018-06-23-2B11-05-55.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" data-original-height=\"475\" data-original-width=\"641\" src=\"https:\/\/linuxitos.com\/main\/wp-content\/uploads\/2018\/06\/Screenshot-2Bfrom-2B2018-06-23-2B11-05-55.png\" \/><\/a><\/div>\n<p><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Una de las ventajas de usar sistemas operativos con base GNU\/Linux, es la posibilidad de personalizarlo a nuestro entero gusto.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">As\u00ed que para aquellos que se pregunten \u00bfPor qu\u00e9 cambiar el tema del grub si solo se ver\u00e1 unos 5 segundo en cada inicio? Mi respuesta es, \u00abPorque puedo\u00bb.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Pues no se diga m\u00e1s, vamos a configurar:<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">El tema que usar\u00e9 de ejemplo, no es mi autoria, lo descargu\u00e9 del siguiente link, lo cual pueden hacer ustedes tambi\u00e9n.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><a href=\"https:\/\/www.gnome-look.org\/p\/1000140\/\"><span style=\"font-size: x-large;\">https:\/\/www.gnome-look.org\/p\/1000140\/<\/span><\/a><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">En el archivo descargado, ya viene las instrucci\u00f3n, incluso un sh que solo se ejecuta y hace todo el proceso, pero si por alguna raz\u00f3n no conf\u00edan en ejecutar un sh desconocido, pues lo haremos paso a paso.<\/span><\/div>\n<div><span style=\"border: 0px; color: white; font-family: &quot;menlo&quot; , &quot;monaco&quot; , monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><br \/><\/span><\/div>\n<h2 style=\"text-align: justify;\"><b><span style=\"font-size: x-large;\">M\u00e9todo autom\u00e1tico<\/span><\/b><\/h2>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">1.- Ejecutar el script de instalaci\u00f3n que viene con el paquete<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Yo lo traduje al espa\u00f1ol y quedar\u00eda de la siguiente manera:<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<pre style=\"background: url(&quot;about:blank&quot;) 50% 100% repeat-x rgb(245, 245, 245); border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-shadow: rgb(204, 204, 204) 0px 0px 3px; box-sizing: border-box; font-stretch: normal; line-height: 1.6; margin-bottom: 10px; max-width: 100%; outline: 0px; overflow: auto; padding: 9.5px; text-shadow: rgb(255, 255, 255) 0px 1px 0px; vertical-align: baseline; word-break: break-all; word-wrap: break-word;\"><span style=\"color: #262626; font-family: &quot;courier pitch&quot; , &quot;courier&quot; , monospace;\">#!\/usr\/bin\/env bash<br \/><br \/>main() {<br \/><br \/>  if [ -d \"\/boot\/grub\" ]<br \/>  then<br \/>    echo -e \"e[1me[32m==&gt; e[97mCopiando archivos...e[0m\"<br \/>    cp -rf breeze \/boot\/grub\/themes\/<br \/>  else<br \/>    echo -e \"e[1me[32m==&gt; e[97mCopiando archivos...e[0m\"<br \/>    cp -rf breeze \/boot\/grub2\/themes\/<br \/>  fi<br \/><br \/>  echo -e \"e[1me[97m  Necesitas establecer el tema en la configuraci\u00f3n del GRUB,\"<br \/>  while : ;do<br \/>    if [ \"$answer\" = \"g\" ];then<br \/>      echo -e \"e[1me[97m  Error en la opic\u00f3n, intenta de nuevo.\"<br \/>    else<br \/>      read -p \"  Quieres establecerlo ahora? [s\/n] \" -t 10 answer<br \/>      echo -e \"e[0m\"<br \/>      if [ \"$answer\" = \"s\" ];then<br \/>        if [ -d \"\/boot\/grub\" ];then<br \/>          echo -e \"  e[5mEdita la que inicia con GRUB_THEME, en caso de no existir, crealae[0m\"<br \/>          echo -e \"  e[7mGRUB_THEME=\/boot\/grub\/themes\/breeze\/theme.txte[0m\"<br \/>          sleep 5<br \/>          gedit \/etc\/default\/grub<br \/>          echo -e \"e[1me[32m==&gt; e[97mAplicando cambios...e[0m\"<br \/>          grub-mkconfig -o \/boot\/grub\/grub.cfg<br \/>          echo -e \"e[1me[34m  -&gt; e[97mTema apliacado correctamebte!\"<br \/>          echo -e \"e[1me[34m  -&gt; e[97mReinicar equipo para ver cambios.\"<br \/>          sleep 2<br \/>          break<br \/>        else<br \/>          echo -e \"  e[5mEditar la l\u00ednea que inicia con GRUB_THEME en caso de no existir, crearlae[0m\"<br \/>          echo -e \"  e[7mGRUB_THEME=\/boot\/grub2\/themes\/breeze\/theme.txte[0m\"<br \/>          sleep 5<br \/>          gedit \/etc\/default\/grub<br \/>          echo -e \"e[1me[32m==&gt; e[97mAplicando cambios...e[0m\"<br \/>          grub2-mkconfig -o \/boot\/grub2\/grub.cfg<br \/>          echo -e \"e[1me[34m  -&gt; e[97mTema aplicado correctamente!\"<br \/>          echo -e \"e[1me[34m  -&gt; e[97mReiniciar equipo para ver cambios.\"<br \/>          sleep 2<br \/>          break<br \/>        fi<br \/>      elif [ \"$answer\" = \"n\" ];then<br \/>        break<br \/>      fi<br \/>      let answer=g<br \/>    fi<br \/>  done<br \/><br \/>}<br \/><br \/>main \"$@\"<\/span><\/pre>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Cuando se abra la ventana de gedita para editar la configuraci\u00f3n del archivo de grub, hacer los cambios que se muestran en la siguiente imagen:<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/linuxitos.com\/main\/wp-content\/uploads\/2018\/06\/Captura-2Bde-2Bpantalla-2Bde-2B2018-06-24-2B17-37-51.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" data-original-height=\"358\" data-original-width=\"900\" src=\"https:\/\/linuxitos.com\/main\/wp-content\/uploads\/2018\/06\/Captura-2Bde-2Bpantalla-2Bde-2B2018-06-24-2B17-37-51.png\" \/><\/a><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Los cambios espec\u00edficos son:<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">1.- Comentar la l\u00ednea: GRUB_TERMINAL_LINUX=\u00bbconsole\u00bb agregando el s\u00edmbolo # al inicio de la misma<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">2.- Agregar la l\u00ednea GRUB_THEME=\u00bb\/boot\/grub2\/themes\/breeze\/theme.txt\u00bb<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Guardar los cambios.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Aplicar los cambios finales con el siguiente comando:<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<pre style=\"background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; color: #262626; font-family: &quot;courier 10 pitch&quot;, courier, monospace; font-size: 1.5rem; line-height: 15.68px; margin-bottom: 1.1em; max-width: 100%; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; vertical-align: baseline; word-wrap: break-word;\"><span style=\"border: 0px; color: white; font-family: &quot;menlo&quot; , &quot;monaco&quot; , monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">sudo grub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/span><\/pre>\n<div><span style=\"border: 0px; color: white; font-family: &quot;menlo&quot; , &quot;monaco&quot; , monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Reinicia y listo<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<h2 style=\"text-align: justify;\"><b><span style=\"font-size: x-large;\">M\u00e9todo manual<\/span><\/b><\/h2>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Descargar el tema, descomprimirlo, y copiarlo a la ruta de temas del grub2, ya que hablamos de Fedora.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<pre style=\"background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; color: #262626; font-family: &quot;courier 10 pitch&quot;, courier, monospace; font-size: 1.5rem; line-height: 15.68px; margin-bottom: 1.1em; max-width: 100%; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; vertical-align: baseline; word-wrap: break-word;\"><span style=\"border: 0px; color: white; font-family: &quot;menlo&quot; , &quot;monaco&quot; , monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">sudo cp -rf breeze \/boot\/grub2\/themes\/<\/span><\/pre>\n<div style=\"text-align: justify;\"><span style=\"color: red; font-size: large;\">** supondr\u00e9 que desde la terminal se ubicaran dentro de la carpeta donde se descomprime el tema, y adem\u00e1s, que la carpeta se llama breeze<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Editar el archivo de la configuraci\u00f3n del grub y modificarlo de la siguiente manera:<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<pre style=\"background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; color: #262626; font-family: &quot;courier 10 pitch&quot;, courier, monospace; font-size: 1.5rem; line-height: 15.68px; margin-bottom: 1.1em; max-width: 100%; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; vertical-align: baseline; word-wrap: break-word;\"><span style=\"border: 0px; color: white; font-family: &quot;menlo&quot; , &quot;monaco&quot; , monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">sudo gedit \/etc\/default\/grub<\/span><\/pre>\n<div><span style=\"border: 0px; color: white; font-family: &quot;menlo&quot; , &quot;monaco&quot; , monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><br \/><\/span><\/div>\n<pre style=\"background: url(&quot;about:blank&quot;) 50% 100% repeat-x rgb(245, 245, 245); border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-shadow: rgb(204, 204, 204) 0px 0px 3px; box-sizing: border-box; font-stretch: normal; line-height: 1.6; margin-bottom: 10px; max-width: 100%; outline: 0px; overflow: auto; padding: 9.5px; text-shadow: rgb(255, 255, 255) 0px 1px 0px; vertical-align: baseline; word-break: break-all; word-wrap: break-word;\"><span style=\"color: #262626;\">GRUB_TIMEOUT=5<br \/>GRUB_DISTRIBUTOR=\"$(sed 's, release .*$,,g' \/etc\/system-release)\"<br \/>GRUB_DEFAULT=saved<br \/>GRUB_DISABLE_SUBMENU=true<br \/><\/span><span style=\"color: red;\">#GRUB_TERMINAL_OUTPUT=\"console\"<\/span><span style=\"color: #262626;\"><br \/>GRUB_CMDLINE_LINUX=\"resume=\/dev\/mapper\/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live\/root rd.lvm.lv=fedora_localhost-live\/swap rhgb quiet\"<br \/>GRUB_DISABLE_RECOVERY=\"true\"<br \/><\/span><span style=\"color: #274e13;\">GRUB_THEME=\"\/boot\/grub2\/themes\/breeze\/theme.txt\"<\/span><\/pre>\n<div><span style=\"color: #262626; font-family: &quot;courier pitch&quot; , &quot;courier&quot; , monospace;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">La l\u00ednea en rojo se comenta, as\u00ed como se en el c\u00f3digo de arriba, y la l\u00ednea en verde, se agrega, de acuerdo al nombre del tema que agregaron, en este caso es breeze.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Aplicar los cambios con el siguiente comando:<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<pre style=\"background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; color: #262626; font-family: &quot;courier 10 pitch&quot;, courier, monospace; font-size: 1.5rem; line-height: 15.68px; margin-bottom: 1.1em; max-width: 100%; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; vertical-align: baseline; word-wrap: break-word;\"><span style=\"border: 0px; color: white; font-family: &quot;menlo&quot; , &quot;monaco&quot; , monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">sudo grub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/span><\/pre>\n<div><span style=\"border: 0px; color: white; font-family: &quot;menlo&quot; , &quot;monaco&quot; , monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Y listo, reiniciar el equipo para visualizar los cambios.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">**En caso de que en modo sudo no se apliquen los cambios, usar el usuario root, es decir, desde la terminal iniciar con su -, sudo su, o su root, para entrar en modo root.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Y eso ser\u00eda todo, espero que sea de utilidad.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Fuentes:<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><a href=\"https:\/\/www.gnome-look.org\/p\/1000140\/\">https:\/\/www.gnome-look.org\/p\/1000140\/<\/a><\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Una de las ventajas de usar sistemas operativos con base GNU\/Linux, es la posibilidad de personalizarlo a nuestro entero gusto. As\u00ed que para aquellos que se pregunten \u00bfPor qu\u00e9 cambiar el tema del grub si solo se ver\u00e1 unos 5 segundo en cada inicio? Mi respuesta es, \u00abPorque puedo\u00bb. Pues no se diga m\u00e1s, vamos [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":763,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,27,31,29,28],"tags":[],"class_list":["post-1443","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cambiando-tema-de-grub-en-fedora-28","category-change-grub-them-for-fedora-28","category-fedora-28","category-grub2","category-tema-de-grub-en-fedora-28"],"_links":{"self":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/comments?post=1443"}],"version-history":[{"count":1,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1443\/revisions"}],"predecessor-version":[{"id":1882,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1443\/revisions\/1882"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media\/763"}],"wp:attachment":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media?parent=1443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/categories?post=1443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/tags?post=1443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}