Commit 836331d8 authored by EugeneVe's avatar EugeneVe

SetAsWallpaper-High_Ubunterra_2.3(Pass)

parents
Copyright 2011 The Montserrat Project Authors (https://github.com/JulietaUla/Montserrat)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
#!/bin/bash
# Set As Wallpaper
rm -rf $HOME/.cache/SetAsWallpaper/*
# Copy selected file to temp folder "$HOME/.cache/SetAsWallpaper"
while [ $# -gt 0 ]; do
ORIGINALITEM="$1"
DUPLICATEITEM="${ORIGINALITEM} (copy)"
cp -r "$ORIGINALITEM" "$DUPLICATEITEM" $HOME/.cache/SetAsWallpaper/
shift
done
mv -f $HOME/.cache/SetAsWallpaper/* $HOME/.cache/SetAsWallpaper/huwallpaper.jpg
# Make your wallpaper blurry
gsettings set org.gnome.desktop.background picture-uri "file:///$HOME/.cache/SetAsWallpaper/huwallpaper.jpg"
pkexec convert -resize 1440 -quality 100 -brightness-contrast -10x-15 -blur 0x30 $HOME/.cache/SetAsWallpaper/* /usr/share/backgrounds/gdmlock.jpg
sleep 3
gsettings set org.gnome.desktop.screensaver picture-uri "file:///usr/share/backgrounds/gdmlock.jpg"
# Enjoy!
exit 1
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Ubuntu 18.04 Community Wallpapers</name>
<filename>/usr/share/backgrounds/contest/bionic.xml</filename>
<options>zoom</options>
</wallpaper>
<wallpaper>
<name>Cathédrale Marie-Rheine-du-Monde</name>
<filename>/usr/share/backgrounds/Cathédrale_Marie-Rheine-du-Monde_by_Thierry_Pon.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>Crocus Wallpaper</name>
<filename>/usr/share/backgrounds/Crocus_Wallpaper_by_Roy_Tanck.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>Definitive Light Zen Orange</name>
<filename>/usr/share/backgrounds/Definitive_Light_Zen_Orange_by_Pierre_Cante.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>El Haouaria</name>
<filename>/usr/share/backgrounds/El_Haouaria_by_Nusi_Nusi.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>Halifax Sunset</name>
<filename>/usr/share/backgrounds/Halifax_Sunset_by_Vlad_Drobinin.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>Manhattan Sunset</name>
<filename>/usr/share/backgrounds/Manhattan_Sunset_by_Giacomo_Ferroni.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>On top of the Rubihorn</name>
<filename>/usr/share/backgrounds/On_top_of_the_Rubihorn_by_Matthias_Niess.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>Raindrops On The Table</name>
<filename>/usr/share/backgrounds/Raindrops_On_The_Table_by_Alex_Fazit.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>Ross Jones Rockpool (Sydney)</name>
<filename>/usr/share/backgrounds/Ross_Jones_Rockpool_(Sydney)_by_Chris_Carignan.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>Spices in Athens</name>
<filename>/usr/share/backgrounds/Spices_in_Athens_by_Makis_Chourdakis.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>This Is Bionic Beaver</name>
<filename>/usr/share/backgrounds/This_Is_Bionic_Beaver_by_Pierre_Cante.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>Wall with door on Gozo</name>
<filename>/usr/share/backgrounds/Wall_with_door_on_Gozo_by_Matthias_Niess.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<name>gdmlock</name>
<filename>/usr/share/backgrounds/gdmlock.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
</wallpapers>
This diff is collapsed.
This diff is collapsed.
#!/bin/bash
sudo cp -f $(pwd)/bin/high_ubunterra.css /usr/share/gnome-shell/theme/ubuntu.css
cp $(pwd)/bin/SetAsWallpaper ~/.local/share/nautilus/scripts/
sleep 1
sudo chmod +x ~/.local/share/nautilus/scripts/SetAsWallpaper
rm -rf ~/.cache/wallpaper/*
cp -af $(pwd)/bin/.fonts ~/
sudo cp -f $(pwd)/bin/bionic-wallpapers.xml /usr/share/gnome-background-properties/
mkdir ~/.cache/SetAsWallpaper
echo "***********************************************************************"
echo " Installation complete"
echo "***********************************************************************"
echo "Make quick reload Ubuntu to accept changes with command: ALT+F2 --> r"
echo "***********************************************************************"
exit 1
Description:
This is theme nearly looks like macOS, with script which can set wallpaper for your desktop and simultaneously set same wallpaper on lock screen and login screen with blur effect like on macOS. In attachment you will find file ubuntu.css, where injected some changes, to make your login screen and lock screen looks more like mac OS.
ATTENTION:
TESTED ONLY ON UBUNTU 17.10 with GDM3 (xorg) and UBUNTU 18.04 (Any other OS based on Linux didn't tested!!!)
INSTALLATION howto:
1. Click right button of mouse and chose "Open in Terminal" in folder with install.sh, then type
sudo chmod +x install.sh
./install.sh
2. Now you just choose your image right click mouse button you will see script and "SetAsWallpaper" just click on it, wallpaper already set.
Enjoy!
---------------------------------------------------------------
Addition:
If your interface another language, "not English" and text inside buttons don't fit in, you have to insert little changes in ubuntu.css
1)
1717# /*login size prompt input*/
1722# width: 190px; /* change width 190px to size what more or less will be close to
size of your text inside buttons. Just try change width! */
2)
1591# /* Avatar Auth Dialogs & Screen Shield */
1594# margin: 0 0 0 60px; /* change margin 60px to centered your avatar */
---------------------------------------------------------------
Enjoy!
facebook: https://www.facebook.com/wwwclick
email: eugene.veprytskyi@gmail.com
#!/bin/bash
sudo rm -rf /usr/share/gnome-shell/theme/ubuntu.css
sleep 1
sudo cp $(pwd)/bin/ubuntu.css-backup/ubuntu.css /usr/share/gnome-shell/theme/
rm -rf ~/.local/share/nautilus/scripts/SetAsWallpaper
rm -rf ~/.cache/SetAsWallpaper
rm -rf /usr/share/backgrounds/gdmlock.jpg
rm -r -f ~/.fonts/Montserrat
gsettings set org.gnome.desktop.screensaver picture-uri "file:///usr/share/backgrounds/warty-final-ubuntu.png"
echo "***********************************************************************"
echo " Uninstall complete"
echo "***********************************************************************"
echo "Make quick reload Ubuntu to accept changes with command: ALT+F2 --> r"
echo "***********************************************************************"
exit 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment