Image to grub2

Nautilus Scripts

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

3
Become a Fan
6.9

Description:
Funciones:
"Wallpaper-en-grub": Rastreará su imagen de fondo de escritorio, y la pondrá como imagen en el cargador de arranque de grub2.

"Seleccionar-imagen": Abre el diálogo de selección de archivos, y debe navegar hasta la imagen que desea poner como imagen del grub2

"Ésta-imagen-en-grub": Pondrá la imagen que tenga seleccionada en nautilus, como imagen del grub2.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Debes ejecutar "imagen-grub" con doble clic.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Ejecuta install.sh, o debes reemplazar /pc/ en los comandos por tu nombre de usuario, puedes hacerlo con estos dos comandos.
Sin ser usuario root!
sed -i 's|/pc/|/'`whoami`'/|' */image-to-grub/setup.sh
sed -i 's| pc| '`whoami`'|' */image-to-grub/setup.sh

install.sh también copiará los scripts a ~/.gnome2/nautilus-scripts

Debes tener los script, en la misma carpeta, y puedes renombrar la carpeta si deseas, por ej. con un punto . delante , para que sea un archivo invisible, y puedes moverla a donde desees.
Para usarlo en nautilus-scripts:

cd */image-to-grub
cp ./setup.sh ~/.gnome2/nautilus-scripts/.setup-image-grub.sh
cp ./imagen-grub ~/.gnome2/nautilus-scripts

Reemplace setup.sh, por .setup-image-grub.sh en el archivo: image-grub, con éste comando.

sed -i 's|setup.sh|.setup-image-grub.sh|' ~/.gnome2/nautilus-scripts/imagen-grub
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Desmarca el comando de la linea 8 "# eog" (borrar "# "). Para ver en el visor de imágenes la imagen que tienes en uso en el grub, antes de cambiarla.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Si deseas eliminar el wallpaper del grub puedes ejecutar éste comando
sudo rm /boot/grub/image-background.jpg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Eres libre de modificarlo y redistribuirlo.
por Rodrigo Esteves baitsart@gmail.com www.youtube.com/user/baitsart
Disfrútalo !!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ENGLISH

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Functions:
"Wallpaper-in-grub" will found your desktop background image, and put the image in grub2 bootloader.

"Select-an-image": Opens the file selection dialog, and must navigate to the image you want to put the image of grub2

"This-image-in-grub" will put the image you have selected in nautilus, as image of grub2.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You must run "image-grub" double click.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Run install.sh, or must replace /pc/ in commands by your username, you can do with these two commands.
Without being root!
sed -i 's|/pc/|/'`whoami`'/|' */image-to-grub/setup.sh
sed -i 's| pc| '`whoami`'|' */image-to-grub/setup.sh

install.sh also copy the scripts to ~/.gnome2/nautilus-scripts

You must have the scripts in the same folder, you can rename the folder if you wish, for example with a dot . front, to be an invisible file, and you can move it anywhere you want.
For use in nautilus-scripts:

cd */image-to-grub
cp ./setup.sh ~/.gnome2/nautilus-scripts/.setup-image-grub.sh
cp ./imagen-grub ~/.gnome2/nautilus-scripts

Replace setup.sh for .setup-image-grub.sh in the file: image-grub with this command.

sed -i 's|setup.sh|.setup-image-grub.sh|' ~/.gnome2/nautilus-scripts/imagen-grub
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Uncheck the command line 8 "# eog" (remove "#"). To see in the image viewer the image you have in use in the grub, before changing.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you want to remove the grub wallpaper you can run this command
sudo rm/boot/grub/image-background.jpg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You are free to modify and redistribute.
by Rodrigo Esteves baitsart@gmail.com www.youtube.com/user/baitsart
Enjoy it!

Ratings & Comments

2 Comments

WalentyWalewski

De alta calidad, amplitud de miras, altivos, cosmopolita y un nuevo enfoque para la creación de aplicaciones Unix/Linux! Todo esto te refleja como una persona, con visión en el futuro. Tu trabajo aporta futuro lejano para nuestros tiempos.

baitsart

Amigo me alegra poder colaborar, gracias por tu buen comentario, pienso lo mismo de su trabajo, ya soy fan!! Te agradesco de todo corazón. Saludo

Pling
0 Affiliates
Details
license
version 1.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Nautilus Scripts from baitsart:

Transtitulator video audio to a subtitle
baitsart
last update date: 10 years ago

Score 6.6

Wallpaper manager
baitsart
last update date: 10 years ago

Score 7.3

Voice commands 95 Actions, 67 languages
baitsart
last update date: 11 years ago

Score 6.1

Speech recognizer and translate all lang
baitsart
last update date: 11 years ago

Score 6.9

Transtitulator video audio to a subtitle
baitsart
last update date: 11 years ago

Score 5.0

70 nautilus scritps
baitsart
last update date: 12 years ago

Score 7.1

Other Nautilus Scripts:

Gflv2avi
acidc00l
last update date: 15 years ago

Score 5.0

My Movie Portal v3.2.8
iTechScripts
last update date: 13 years ago

Score 4.7

Browse Nautilus as root
SteveSims
last update date: 17 years ago

Score 5.0

Open Nautilus as Root
Mariux
last update date: 17 years ago

Score 5.0

Compare Strings
cdmn
last update date: 17 years ago

Score 5.0

grooto
pontos
last update date: 17 years ago

Score 5.0



System Tags