slim: add trisquel-belenos theme.
This commit is contained in:
parent
6b8e7c0bc1
commit
ffffa19dcc
7 changed files with 212 additions and 0 deletions
23
helpers/DATA/slim/add_trisquel-belenos_theme_conf.patch
Normal file
23
helpers/DATA/slim/add_trisquel-belenos_theme_conf.patch
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
diff --git a/debian/slim.install b/debian/slim.install
|
||||||
|
index 399b59e..8728df6 100644
|
||||||
|
--- a/debian/slim.install
|
||||||
|
+++ b/debian/slim.install
|
||||||
|
@@ -6,6 +6,8 @@ debian/debian-joy usr/share/slim/themes/
|
||||||
|
debian/debian-lines usr/share/slim/themes/
|
||||||
|
#softwaves
|
||||||
|
debian/debian-softwaves usr/share/slim/themes/
|
||||||
|
+#belenos
|
||||||
|
+debian/trisquel-belenos usr/share/slim/themes/
|
||||||
|
|
||||||
|
debian/local/Xsession.d/20slim_locale etc/X11/Xsession.d
|
||||||
|
|
||||||
|
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
|
||||||
|
index 28f7732..06e7c5e 100644
|
||||||
|
--- a/debian/source/include-binaries
|
||||||
|
+++ b/debian/source/include-binaries
|
||||||
|
@@ -10,3 +10,5 @@ debian/debian-lines/panel.png
|
||||||
|
debian/debian-lines/background.png
|
||||||
|
debian/debian-softwaves/panel.png
|
||||||
|
debian/debian-softwaves/background.png
|
||||||
|
+debian/trisquel-belenos/panel.png
|
||||||
|
+debian/trisquel-belenos/background.png
|
||||||
24
helpers/DATA/slim/trisquel-belenos/COPYRIGHT.background
Normal file
24
helpers/DATA/slim/trisquel-belenos/COPYRIGHT.background
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
The Trisquel Belenos Slim theme
|
||||||
|
|
||||||
|
Upstream Authors: Luis Guzmán <ark@switnet.org>
|
||||||
|
|
||||||
|
Copyright:
|
||||||
|
|
||||||
|
This package is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; version 2 dated June, 1991.
|
||||||
|
|
||||||
|
This package is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this package; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
|
||||||
|
USA.
|
||||||
|
|
||||||
|
More info about trisquel logo here: https://trisquel.info/en/wiki/logo
|
||||||
|
|
||||||
|
Downloaded from:
|
||||||
|
https://gitlab.trisquel.org/trisquel/trisquel-packages/-/tree/master/11.0/trisquel-wallpapers/data/usr/share/backgrounds
|
||||||
20
helpers/DATA/slim/trisquel-belenos/COPYRIGHT.panel
Normal file
20
helpers/DATA/slim/trisquel-belenos/COPYRIGHT.panel
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
Copyright (C) 2007-2008 Mike Massonnet <mmassonnet@gmail.com>
|
||||||
|
Copyright (C) 2008 Yves-Alexis Perez <corsac@debian.org>
|
||||||
|
Backdrop copied from gdm package
|
||||||
|
Text "Login:" copied from SLiM default theme
|
||||||
|
Background artwork is available at http://www.debianart.org/cchost/people/si0ux/
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
BIN
helpers/DATA/slim/trisquel-belenos/background.png
Normal file
BIN
helpers/DATA/slim/trisquel-belenos/background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2 MiB |
BIN
helpers/DATA/slim/trisquel-belenos/panel.png
Normal file
BIN
helpers/DATA/slim/trisquel-belenos/panel.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
114
helpers/DATA/slim/trisquel-belenos/slim.theme
Normal file
114
helpers/DATA/slim/trisquel-belenos/slim.theme
Normal file
|
|
@ -0,0 +1,114 @@
|
||||||
|
### slim taken from:
|
||||||
|
### https://github.com/data-modul/slim/blob/master/THEMES
|
||||||
|
## background
|
||||||
|
# style of background: 'stretch', 'tile', 'center', 'color'
|
||||||
|
background_style center
|
||||||
|
background_color #000000
|
||||||
|
|
||||||
|
# messages such as shutdown, reboot
|
||||||
|
msg_x 50%
|
||||||
|
msg_y 5%
|
||||||
|
msg_color #ffffff
|
||||||
|
msg_font DejaVu Sans:bold:size=12:dpi=96
|
||||||
|
#msg_shadow_xoffset 1
|
||||||
|
#msg_shadow_yoffset 1
|
||||||
|
#msg_shadow_color #ff00ff
|
||||||
|
|
||||||
|
# session messages eg: pressing F1:
|
||||||
|
session_x 50%
|
||||||
|
session_y 95%
|
||||||
|
session_font DejaVu Sans:bold:size=12:dpi=96
|
||||||
|
session_color #ffffff
|
||||||
|
#session_shadow_xoffset 1
|
||||||
|
#session_shadow_yoffset 1
|
||||||
|
#session_shadow_color #000000
|
||||||
|
|
||||||
|
# Welcome message position. (relative to the panel)
|
||||||
|
# use -1 for both values or comment the options to disable
|
||||||
|
# the welcome message
|
||||||
|
welcome_x -1
|
||||||
|
welcome_y -1
|
||||||
|
welcome_font DejaVu Sans:bold:size=12:dpi=96
|
||||||
|
welcome_color #ffffff
|
||||||
|
#welcome_shadow_xoffset 1
|
||||||
|
#welcome_shadow_yoffset 2
|
||||||
|
#welcome_shadow_color #444444
|
||||||
|
|
||||||
|
## panel
|
||||||
|
# Horizonatal and vertical position for the panel.
|
||||||
|
input_panel_x 50%
|
||||||
|
input_panel_y 50%
|
||||||
|
|
||||||
|
# input controls horizontal and vertical positions.
|
||||||
|
# IMPORTANT! set input_pass_x and input_pass_y to -1
|
||||||
|
# to use a single input box for username/password (GDM Style).
|
||||||
|
# Note that this fields only accept absolute values.
|
||||||
|
input_name_x 181
|
||||||
|
input_name_y 169
|
||||||
|
input_pass_x -1
|
||||||
|
input_pass_y -1
|
||||||
|
# Input controls font and color
|
||||||
|
input_font DejaVu Sans:bold:size=12:dpi=96
|
||||||
|
input_color #000000
|
||||||
|
#input_shadow_xoffset 1
|
||||||
|
#input_shadow_yoffset 1
|
||||||
|
#input_shadow_color #ff00ff
|
||||||
|
|
||||||
|
# 'Enter username' and 'Enter password' position(relative to the panel)
|
||||||
|
# use -1 for both values to disable the message
|
||||||
|
# note that in case of single inputbox the password values are ignored.
|
||||||
|
username_x 260
|
||||||
|
username_y 169
|
||||||
|
password_x -1
|
||||||
|
password_y -1
|
||||||
|
username_font DejaVu Sans:bold:size=12:dpi=96
|
||||||
|
username_color #bbbbbb
|
||||||
|
#username_shadow_xoffset -1
|
||||||
|
#username_shadow_yoffset -1
|
||||||
|
#username_shadow_color #ff00ff
|
||||||
|
|
||||||
|
# The message to be displayed. Leave blank if no message
|
||||||
|
# is needed (ie, when already present in the panel image)
|
||||||
|
#
|
||||||
|
username_msg Please enter your username
|
||||||
|
password_msg Please enter your password
|
||||||
|
|
||||||
|
### slimlock taken from:
|
||||||
|
### https://github.com/data-modul/slim/blob/master/slimlock.conf
|
||||||
|
# number of seconds of inactivity before the screen blanks. Default: 60
|
||||||
|
dpms_standby_timeout 60
|
||||||
|
|
||||||
|
# same as above, but the screen turns off. Default: 600
|
||||||
|
dpms_off_timeout 600
|
||||||
|
|
||||||
|
# number of seconds after entering an incorrect password before slimlock
|
||||||
|
# will accept another attempt. Default: 2
|
||||||
|
wrong_passwd_timeout 2
|
||||||
|
|
||||||
|
# message to display after a failed authentication attempt.
|
||||||
|
# Default: "Authentication failed"
|
||||||
|
passwd_feedback_msg Authentication failed
|
||||||
|
|
||||||
|
# message to display after a failed authentication attempt if the
|
||||||
|
# CapsLock is on. Default: "Authentication failed (CapsLock is on)"
|
||||||
|
passwd_feedback_capslock Authentication failed (CapsLock is on)
|
||||||
|
|
||||||
|
# whether or not to display the username on themes with only a single
|
||||||
|
# input box. 1 to show, 0 to disable. Default: 1
|
||||||
|
show_username 0
|
||||||
|
|
||||||
|
# whether or not to display SLiM's welcome message.
|
||||||
|
# 1 to show, 0 to disable. Default: 0
|
||||||
|
show_welcome_msg 0
|
||||||
|
|
||||||
|
# whether or not to allow virtual terminals switching.
|
||||||
|
# 1 to disallow, 0 to allow. Default: 1
|
||||||
|
tty_lock 1
|
||||||
|
|
||||||
|
# whether to ring the bell on authentication failure.
|
||||||
|
# 1 to enable, 0 to disable. Default: 1
|
||||||
|
bell 1
|
||||||
|
|
||||||
|
# character to display when masking password.
|
||||||
|
# Only the first character is used. Default: *
|
||||||
|
passwd_char *
|
||||||
31
helpers/make-slim
Normal file
31
helpers/make-slim
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2024 Luis Guzmán <ark@switnet.org>
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
#
|
||||||
|
|
||||||
|
VERSION=0
|
||||||
|
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
# Add trisquel belenos inspired theme to slim
|
||||||
|
sed -i "/+current_theme/s|debian-softwaves|trisquel-belenos|" debian/patches/slim-conf.patch
|
||||||
|
patch --no-backup-if-mismatch -p1 < $DATA/add_trisquel-belenos_theme_conf.patch
|
||||||
|
cp -R $DATA/trisquel-belenos debian/
|
||||||
|
|
||||||
|
changelog "Add trisquel-belenos theme."
|
||||||
|
|
||||||
|
package
|
||||||
Loading…
Add table
Add a link
Reference in a new issue