slim.guncellendi

This commit is contained in:
milisarge 2017-06-06 05:41:29 +03:00
parent 719f00485c
commit becf57c8d7
6 changed files with 152 additions and 19 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -0,0 +1,91 @@
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path /bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
#xserver_arguments -dpi 75
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
login_cmd exec /bin/bash -login ~/.xinitrc %session
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions xfce4,mate,openbox,kde,lxqt
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Hoşgeldiniz %host
# Session message. Prepended to the session name when pressing F1
# session_msg Session:
# shutdown / reboot messages
shutdown_msg sistem kapanıyor...
reboot_msg sistem yeniden başlatılıyor...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user simone
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password no
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login no
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme milis
# Lock file
lockfile /var/run/slim.lock
# Log file
logfile /var/log/slim.log

View File

@ -0,0 +1 @@
sed -i "s/^id:[3-5]/id:5/" /etc/inittab

View File

@ -0,0 +1,30 @@
# hafif slim tema
# milisarge@gmail.com
msg_color #000000
msg_font fixed:size=13:dpi=75
msg_x 50%
msg_y 40%
msg_shadow_xoffset 1
msg_shadow_yoffset 1
background_style stretch
background_color #000000
input_panel_x 50%
input_panel_y 50%
input_name_x 200
input_name_y 90
input_font fixed:size=13:dpi=75
input_fgcolor #000000
input_color #000000
username_font fixed:size=13:dpi=75
username_color #000000
username_x 125
username_y 90
password_x 125
password_y 90
username_msg KULLANICI:
password_msg ŞİFRE:

View File

@ -1,33 +1,44 @@
# Description: Grafiksel oturum açma yardımcı programı
# URL: http://sourceforge.net/projects/slim.berlios
# Packager: milisarge
# Depends on: xorg-xauth libjpeg-turbo libpng cmake
# Depends on: xorg-xauth libjpeg-turbo libpng cmake xorg-libxft
name=slim
version=1.3.6
release=1
source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz \
http://crux.nu/~tek/slim-crux-smooth.tar.gz $name.rc)
release=2
source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz
$name.rc
background.jpg
panel.png
slim.conf
slim.rc
slim.theme)
build () {
cd $name-$version
cd $name-$version
# Slimlock inşa etmeyin (pam nedeniyle)
sed -i -e 's:${MANDIR}:/usr/man:g' -e '224d' CMakeLists.txt
# Slimlock inşa etmeyin (pam nedeniyle)
sed -i -e 's:${MANDIR}:/usr/man:g' -e '224d' CMakeLists.txt
cmake -DCMAKE_INSTALL_PREFIX=/usr
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=$PKG install
mkdir $PKG/etc/rc.d/
mkdir $PKG/etc/rc.d/init.d
install -m 755 ../$name.rc $PKG/etc/rc.d/init.d/$name
cd ../
make
make DESTDIR=$PKG install
mkdir $PKG/etc/rc.d/
mkdir $PKG/etc/rc.d/init.d
cp $SRC/slim.conf $PKG/etc/
install -m 755 ../$name.rc $PKG/etc/rc.d/init.d/$name
cd ../
rm -f slim-crux-smooth/README
cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
install -d $PKG/usr/share/slim/themes/milis
cp $SRC/background.jpg $PKG/usr/share/slim/themes/milis/
cp $SRC/panel.png $PKG/usr/share/slim/themes/milis/
cp $SRC/slim.theme $PKG/usr/share/slim/themes/milis/
chmod 0644 $PKG/usr/share/slim/themes/milis/*
# Systemd desteği yok
rm -r $PKG/lib $PKG/usr/man/man1/slimlock.1
# Systemd desteği yok
rm -r $PKG/lib $PKG/usr/man/man1/slimlock.1
cd /sources/milis.git/ayarlar/servisler
make DESTDIR=$PKG kur-slim
}