
global_wallpaper.sh
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
This script will modify GDM and Plymouth backgrounds so they will match your current GNOME background.
You can also change the Plymouth logo by running global_wallpaper.sh --logo
*** This has only been tested in Lucid Lynx.
CruelAngel
10 years ago
Report
clemmy
10 years ago
sudo update-alternatives --config default.plymouth
and select the theme ubuntu-logo
then run this other command
sudo update-initramfs -u
Report
inameiname
10 years ago
Oh, and just for fun, I added:
tty -s; if [ $? -ne 0 ]; then gnome-terminal -e "$0"; exit; fi
at the top of your script so I can simply put it into my nautilus-scripts folder instead of installing it. Seems to work fine as well.
Report
inameiname
10 years ago
Report
inameiname
10 years ago
Oh, and just for fun, I added:
tty -s; if [ $? -ne 0 ]; then gnome-terminal -e "$0"; exit; fi
at the top of your script so I can simply put it into my nautilus-scripts folder instead of installing it. Seems to work fine as well.
Report
inameiname
10 years ago
Oh, and just for fun, I added:
tty -s; if [ $? -ne 0 ]; then gnome-terminal -e "$0"; exit; fi
at the top of your script so I can simply put it into my nautilus-scripts folder instead of installing it. Seems to work fine as well.
Report
clemmy
10 years ago
I have not tested it, because I already changed GDM and Plymouth wallpapers by hand a couple of days ago... but I have installed your script because it will be easier to change them again in the future! very useful!
There are a couple of suggestions that just came into my mind. Maybe you will not agree with my opinion, but you can at least have a look at them.
1) I would remove the line "update-alternative --config default.plymouth" from the install.sh script, and I will put it in the global_wallpaper.script
For example I have installed the program, but I don't want to change the plymouth theme NOW.. I want to have the program installed because maybe I will need it in the future..
2) I wouldn't ask the user to select the wallpaper image.. I will get the current desktop wallpaper (gconftool-2 --get /desktop/gnome/background/picture_filename) and I will use the same image for GDM and Plymouth.
In my opinion it is more user-friendly to change the GNOME background in the classical way, and then launch the script to update GDM and Plymouth..
Best regards!
Report
clemmy
10 years ago
it seems that if work. You can download it from
http://dl.dropbox.com/u/1281499/global_wallpaper_mod.tar.gz
Tell me what do you think about it ;-)
Report
gargantuo
10 years ago
I fixed some typos and uploaded a new version with your changes.
Report
clemmy
10 years ago
* the whole gnome theme is exported to gdm (not only the background)
* the plymouth theme is the like the ubuntu one, but with the selected background image
* the application is completely executable from the gnome menu (a launcher is automatically added by the install script, and every interaction with the user is graphical)
I started a new artwork called global appearance ( http://gnome-look.org/content/show.php?content=125729 ) because the final result is very different from your initial version... but of course you contribution have been the crucial input allowing for
the development of global appearance!
Report