Commit 4455a3f6 by Ruben Rodriguez

Customized artwork in unity-greeter

parent e8d46ef0
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="unity-greeter">
<schema id="com.canonical.unity-greeter" path="/com/canonical/unity-greeter/">
<key name="background" type="s">
<summary>Background file to use, either an image path or a color (e.g. #772953)</summary>
<key name="background-color" type="s">
<summary>Background color (e.g. #772953), set before wallpaper is seen</summary>
<key name="draw-user-backgrounds" type="b">
<summary>Whether to draw user backgrounds</summary>
<key name="draw-grid" type="b">
<summary>Whether to draw an overlay grid</summary>
<key name="show-hostname" type="b">
<summary>Whether to show the hostname in the menubar</summary>
<key name="logo" type="s">
<summary>Logo file to use</summary>
<key name="background-logo" type="s">
<summary>Background logo file to use</summary>
<key name="theme-name" type="s">
<summary>GTK+ theme to use</summary>
<key name="icon-theme-name" type="s">
<summary>Icon theme to use</summary>
<key name="font-name" type="s">
<default>'Sans 11'</default>
<summary>Font to use</summary>
<key name="xft-antialias" type="b">
<summary>Whether to antialias Xft fonts</summary>
<key name="xft-dpi" type="d">
<summary>Resolution for Xft in dots per inch</summary>
<key name="xft-hintstyle" type="s">
<choice value='hintnone'/>
<choice value='hintslight'/>
<choice value='hintmedium'/>
<choice value='hintfull'/>
<summary>What degree of hinting to use</summary>
<key name="xft-rgba" type="s">
<choice value='none'/>
<choice value='rgb'/>
<choice value='bgr'/>
<choice value='vrgb'/>
<choice value='vbgr'/>
<summary>Type of subpixel antialiasing</summary>
<key name="onscreen-keyboard" type="b">
<summary>Whether to enable the onscreen keyboard</summary>
<key name="high-contrast" type="b">
<summary>Whether to use a high contrast theme</summary>
<key name="screen-reader" type="b">
<summary>Whether to enable the screen reader</summary>
<key name="play-ready-sound" type="b">
<summary>Whether to play sound when greeter is ready</summary>
<key name="indicators" type="as">
<default>['ug-accessibility', 'com.canonical.indicator.keyboard', 'com.canonical.indicator.session', 'com.canonical.indicator.datetime', 'com.canonical.indicator.power', 'com.canonical.indicator.sound', 'application']</default>
<summary>Which indicators to load</summary>
<key name="hidden-users" type="as">
<summary>List of usernames that are hidden until a special key combination is hit</summary>
<key name="idle-timeout" type="i">
<summary>Number of seconds of inactivity before blanking the screen. Set to 0 to never timeout.</summary>
...@@ -17,46 +17,27 @@ ...@@ -17,46 +17,27 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
. ./config . ./config
#patch -p1 < $DATA/harcoded_orca.patch # Custom settings
#patch -p1 < $DATA/no_dots.patch cp $DATA/com.canonical.unity-greeter.gschema.xml data
# Change the sound theme
sed s/ubuntu/freedesktop/g src/unity-greeter.vala -i sed s/ubuntu/freedesktop/g src/unity-greeter.vala -i
rm -f src/*.c rm -f src/*.c
#% REBRAND: Replace the logo # Custom artwork
#% CurrentState: sed '/logo-bare/d; /rm.*logo.png/d' -i debian/rules
#% ExpectedState: sed '/paint_with_alpha/s/0.5/1.0/' -i src/background.vala
cp $DATA/logo.png data cp $DATA/logo.png data/logo.png
cp $DATA/logo.png .
#% Set default background color to black cp $DATA/logo-bare.png data/logo-bare.png
replace 2C001E 000000 . cp $DATA/cof.png data
cp $DATA/badge.png data/trisquel_badge.png
#% Addapt default settings to Trisquel cp $DATA/badge.png data/unknown_badge.png
cat << EOF > data/unity-greeter.conf replace ubuntu_badge trisquel_badge .
# 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)
font-name=Sans 11
changelog "Adapted for Trisquel" changelog "Adapted for Trisquel"
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