
Desktop wallpaper to grub2 image
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Éste script rastreará su imagen de fondo de escritorio, y la pondrá como imagen en el cargador de arranque de grub2
Debes ejecutar "wallpaper-grub" con doble clic, o desde la terminal puedes ejecutar directamente setup.sh.
No debes mover de ésta carpeta los script, pero 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 tenerlo en /usr/bin, y poderlo ejecutar desde la terminal, debes copiar setup.sh, a /usr/bin con estos comandos:
cd */wallpaper-on-grub
sudo cp ./setup.sh /usr/bin/wallpaper-grub
Y podrás ejecutar directamente el comando wallpaper-grub.
Y para usarlo en nautilus-scripts, remplace en el script wallpaper-grub , todo exepto #!/bin/bash , y escriba esto:
gnome-terminal -e wallpaper-grub
si es que lo copió a /usr/bin/
si no lo copió a /usr/bin/, escriba esto:
gnome-terminal -e /ruta/a/wallpaper-on-grub/setup.sh
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 !!!
-------------------------------------------------------------------------
This script will copy your desktop wallpaper, and put it as image in the grub2 bootloader. You must run wallpaper-grub with double click, or from the terminal can directly execute setup.sh. You must not move the scripts from this folder, but you can rename the folder if want, with a point at the start . , to be a invisible file, and you can move it anywhere you want.
To take this into /usr/bin , and be able to run from the terminal, copy setup.sh , to /usr/bin with commands:
cd */wallpaper-on-grub
sudo cp ./setup.sh /usr/bin/wallpaper-grub
And you can run direct wallpaper-grub command.
And to use it on nautilus-scripts, replace on wallpaper-grub script, all exept #!/bin/bash , and write this:
gnome-terminal -e wallpaper-grub
If you copy to /usr/bin/
If you not copy to /usr/bin/, write this:
gnome-terminal -e /path/to/wallpaper-on-grub/setup.sh
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!!!
sdennis91
1 year ago
Report
WalentyWalewski
7 years ago
Report
baitsart
7 years ago
Report
alek889
7 years ago
Report
baitsart
7 years ago
Report
gracca
7 years ago
sed 's/\/\//\//' /tmp/image-name-temp
y otra mucho más fácil todavía es:
sed 's|//|/|' /tmp/image-name-temp.
Saludos!!
Report
baitsart
7 years ago
Saludos!
Report
gracca
7 years ago
Report
baitsart
7 years ago
Report