diff --git a/helpers/DATA/unity-greeter/badge.png b/helpers/DATA/unity-greeter/badge.png new file mode 100644 index 0000000..aab5f17 Binary files /dev/null and b/helpers/DATA/unity-greeter/badge.png differ diff --git a/helpers/DATA/unity-greeter/cof.png b/helpers/DATA/unity-greeter/cof.png new file mode 100644 index 0000000..12f3c2f Binary files /dev/null and b/helpers/DATA/unity-greeter/cof.png differ diff --git a/helpers/DATA/unity-greeter/com.canonical.unity-greeter.gschema.xml b/helpers/DATA/unity-greeter/com.canonical.unity-greeter.gschema.xml new file mode 100644 index 0000000..7f49524 --- /dev/null +++ b/helpers/DATA/unity-greeter/com.canonical.unity-greeter.gschema.xml @@ -0,0 +1,102 @@ + + + + + '/usr/share/backgrounds/toutatis.jpg' + Background file to use, either an image path or a color (e.g. #772953) + + + '#000000' + Background color (e.g. #772953), set before wallpaper is seen + + + true + Whether to draw user backgrounds + + + false + Whether to draw an overlay grid + + + true + Whether to show the hostname in the menubar + + + '/usr/share/unity-greeter/logo.png' + Logo file to use + + + '/usr/share/unity-greeter/cof.png' + Background logo file to use + + + 'Ambiance' + GTK+ theme to use + + + 'ubuntu-mono-dark' + Icon theme to use + + + 'Sans 11' + Font to use + + + true + Whether to antialias Xft fonts + + + 96 + Resolution for Xft in dots per inch + + + + + + + + + 'hintslight' + What degree of hinting to use + + + + + + + + + + 'rgb' + Type of subpixel antialiasing + + + false + Whether to enable the onscreen keyboard + + + false + Whether to use a high contrast theme + + + false + Whether to enable the screen reader + + + true + Whether to play sound when greeter is ready + + + ['ug-accessibility', 'com.canonical.indicator.keyboard', 'com.canonical.indicator.session', 'com.canonical.indicator.datetime', 'com.canonical.indicator.power', 'com.canonical.indicator.sound', 'application'] + Which indicators to load + + + [] + List of usernames that are hidden until a special key combination is hit + + + 300 + Number of seconds of inactivity before blanking the screen. Set to 0 to never timeout. + + + diff --git a/helpers/DATA/unity-greeter/logo-bare.png b/helpers/DATA/unity-greeter/logo-bare.png new file mode 100644 index 0000000..16b70f8 Binary files /dev/null and b/helpers/DATA/unity-greeter/logo-bare.png differ diff --git a/helpers/DATA/unity-greeter/logo.png b/helpers/DATA/unity-greeter/logo.png index 602d252..34dc1cc 100644 Binary files a/helpers/DATA/unity-greeter/logo.png and b/helpers/DATA/unity-greeter/logo.png differ diff --git a/helpers/make-unity-greeter b/helpers/make-unity-greeter index 5ff4f0c..92ec8b9 100644 --- a/helpers/make-unity-greeter +++ b/helpers/make-unity-greeter @@ -17,46 +17,27 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=1 +VERSION=7 . ./config -#patch -p1 < $DATA/harcoded_orca.patch -#patch -p1 < $DATA/no_dots.patch +# Custom settings +cp $DATA/com.canonical.unity-greeter.gschema.xml data + +# Change the sound theme sed s/ubuntu/freedesktop/g src/unity-greeter.vala -i rm -f src/*.c -#% REBRAND: Replace the logo -#% CurrentState: -#% ExpectedState: -cp $DATA/logo.png data - -#% Set default background color to black -replace 2C001E 000000 . - -#% Addapt default settings to Trisquel -cat << EOF > data/unity-greeter.conf -# -# background = Background file to use, either an image path or a color (e.g. #772953) -# logo = Logo file to use -# theme-name = GTK+ theme to use -# font-name = Font to use -# xft-antialias = Whether to antialias Xft fonts (true or false) -# xft-dpi = Resolution for Xft in dots per inch (e.g. 96) -# xft-hintstyle = What degree of hinting to use (hintnone, hintslight, hintmedium, or hintfull) -# xft-rgba = Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr) -# -[greeter] -background=/usr/share/backgrounds/toutatis.jpg -logo=/usr/share/unity-greeter/logo.png -theme-name=Trisquel -icon-theme-name=trisquel -font-name=Sans 11 -xft-antialias=true -xft-dpi=96 -xft-hintstyle=hintslight -xft-rgba=rgb -EOF +# Custom artwork +sed '/logo-bare/d; /rm.*logo.png/d' -i debian/rules +sed '/paint_with_alpha/s/0.5/1.0/' -i src/background.vala +cp $DATA/logo.png data/logo.png +cp $DATA/logo.png . +cp $DATA/logo-bare.png data/logo-bare.png +cp $DATA/cof.png data +cp $DATA/badge.png data/trisquel_badge.png +cp $DATA/badge.png data/unknown_badge.png +replace ubuntu_badge trisquel_badge . changelog "Adapted for Trisquel"