From e0b5adae06c793c1914faa4f4bb0f798b5af4560 Mon Sep 17 00:00:00 2001 From: yasarciv Date: Wed, 26 Jul 2017 19:35:40 +0300 Subject: [PATCH 1/4] yeni-talimatlar --- bin/milis-gnome-tema | 91 +++ bin/milis-mate-tema | 111 +++ talimatname/genel/libgnomecanvas/talimat | 19 + talimatname/genel/lightdm-gtk-greeter/talimat | 26 + talimatname/genel/lightdm/Xsession | 64 ++ .../genel/lightdm/lightdm-autologin.pam | 13 + .../lightdm/lightdm-default-config.patch | 40 + talimatname/genel/lightdm/lightdm.install | 4 + talimatname/genel/lightdm/lightdm.pam | 7 + talimatname/genel/lightdm/lightdm.rules | 15 + talimatname/genel/lightdm/lightdm.service | 14 + talimatname/genel/lightdm/lightdm.tmpfiles | 1 + talimatname/genel/lightdm/talimat | 83 ++ talimatname/genel/mdm/defaults.conf | 748 ++++++++++++++++++ talimatname/genel/mdm/mdm-autologin.pam | 25 + .../genel/mdm/mdm-display-manager.install | 25 + talimatname/genel/mdm/mdm.pam | 14 + .../mdm/org.cinnamon.pkexec.mdmsetup.policy | 21 + talimatname/genel/mdm/talimat | 66 ++ 19 files changed, 1387 insertions(+) create mode 100755 bin/milis-gnome-tema create mode 100755 bin/milis-mate-tema create mode 100644 talimatname/genel/libgnomecanvas/talimat create mode 100644 talimatname/genel/lightdm-gtk-greeter/talimat create mode 100644 talimatname/genel/lightdm/Xsession create mode 100644 talimatname/genel/lightdm/lightdm-autologin.pam create mode 100644 talimatname/genel/lightdm/lightdm-default-config.patch create mode 100644 talimatname/genel/lightdm/lightdm.install create mode 100644 talimatname/genel/lightdm/lightdm.pam create mode 100644 talimatname/genel/lightdm/lightdm.rules create mode 100644 talimatname/genel/lightdm/lightdm.service create mode 100644 talimatname/genel/lightdm/lightdm.tmpfiles create mode 100644 talimatname/genel/lightdm/talimat create mode 100644 talimatname/genel/mdm/defaults.conf create mode 100644 talimatname/genel/mdm/mdm-autologin.pam create mode 100644 talimatname/genel/mdm/mdm-display-manager.install create mode 100644 talimatname/genel/mdm/mdm.pam create mode 100644 talimatname/genel/mdm/org.cinnamon.pkexec.mdmsetup.policy create mode 100644 talimatname/genel/mdm/talimat diff --git a/bin/milis-gnome-tema b/bin/milis-gnome-tema new file mode 100755 index 000000000..aeb53bfc9 --- /dev/null +++ b/bin/milis-gnome-tema @@ -0,0 +1,91 @@ +#!/bin/bash +# +# Author: Yaşar Çiv Fuat Bölük +# fux-theme'den çatallanmıştır + +# Favori uygulamalar +/usr/bin/dconf write /org/gnome/shell/favorite-apps "['firefox.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.gedit.desktop', 'gnome-system-monitor.desktop', 'org.gnome.Screenshot.desktop', 'org.gnome.Nautilus.desktop']" + +# Etkin eklentiler +/usr/bin/dconf write /org/gnome/shell/enabled-extensions "['alternate-tab@gnome-shell-extensions.gcampax.github.com', 'launch-new-instance@gnome-shell-extensions.gcampax.github.com', 'user-theme@gnome-shell-extensions.gcampax.github.com', 'dash-to-dock@micxgx.gmail.com', 'places-menu@gnome-shell-extensions.gcampax.github.com']" + +# Masaüstü yöneticisi dili +/usr/bin/gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'tr')]" + +# Pencere başlık düğmeleri +/usr/bin/dconf write /org/gnome/desktop/wm/preferences/button-layout "'appmenu:minimize,maximize,close'" + +# Uygulama menüsünü pencere başlığında göster +/usr/bin/dconf write /org/gnome/settings-daemon/plugins/xsettings/overrides "{'Gtk/ShellShowsAppMenu': <0>}" + +# Terminal seçenekleri +/usr/bin/gsettings set org.gnome.Terminal.Legacy.Settings theme-variant 'system' +/usr/bin/gsettings set org.gnome.Terminal.Legacy.Settings default-show-menubar false + +/usr/bin/dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/use-theme-colors false +/usr/bin/dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/use-transparent-background true +/usr/bin/dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/scrollbar-policy "'never'" +/usr/bin/dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/background-color "'#000000'" +/usr/bin/dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/foreground-color "'#ffffff'" +/usr/bin/dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/background-transparency-percent 10 +/usr/bin/dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/default-size-columns 85 +/usr/bin/dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/default-size-rows 20 + +# Metin düzenleyici satır numaralarını göster +/usr/bin/dconf write /org/gnome/gedit/preferences/editor/display-line-numbers true + +# Touchpad seçenekleri +/usr/bin/dconf write /org/gnome/desktop/peripherals/touchpad/natural-scroll false +/usr/bin/dconf write /org/gnome/desktop/peripherals/touchpad/scroll-method "'two-finger-scrolling'" +/usr/bin/dconf write /org/gnome/desktop/peripherals/touchpad/tap-to-click true + +# Masaustu secenekleri +mkdir /usr/share/backgrounds/milis +wget --no-check-certificate https://raw.githubusercontent.com/yasarciv/milis-gorsel/master/masa-arkaplan/milis-arkaplan2.png -O /usr/share/backgrounds/milis/* + +/usr/bin/dconf write /org/gnome/desktop/background/show-desktop-icons true +/usr/bin/dconf write /org/gnome/desktop/background/picture-uri "'/usr/share/backgrounds/milis/milis-arkaplan2.png'" +/usr/bin/dconf write /org/gnome/desktop/interface/gtk-theme "'Adwaita'" +/usr/bin/dconf write /org/gnome/desktop/interface/icon-theme "'Adwaita'" +/usr/bin/dconf write /org/gnome/desktop/interface/document-font-name "'FreeSans 10'" +/usr/bin/dconf write /org/gnome/desktop/interface/monospace-font-name "'Monospace 10'" +/usr/bin/dconf write /org/gnome/desktop/interface/font-name "'FreeSans 10'" +/usr/bin/dconf write /org/gnome/desktop/interface/show-battery-percentage true + +# Nautilus seçenekleri +/usr/bin/dconf write /org/gnome/nautilus/preferences/always-use-location-entry false +/usr/bin/dconf write /org/gnome/nautilus/preferences/sort-directories-first true +/usr/bin/dconf write /org/gnome/nautilus/preferences/executable-text-activation "'ask'" + +/usr/bin/gsettings set org.gnome.nautilus.window-state geometry '767x402+599+27' +/usr/bin/gsettings set org.gnome.nautilus.desktop home-icon-name 'Ev Dizini' +/usr/bin/gsettings set org.gnome.nautilus.desktop trash-icon-name 'Çöp' +/usr/bin/gsettings set org.gnome.nautilus.desktop network-icon-name 'Ağ Sunucuları' + +/usr/bin/dconf write /org/gnome/nautilus/icon-view/default-zoom-level "'small'" +/usr/bin/dconf write /org/gnome/nautilus/icon-view/thumbnail-size 48 + +# Raporlama kapalı +/usr/bin/dconf write /org/gnome/desktop/privacy/report-technical-problems false + +# Tarihi göster +/usr/bin/dconf write /org/gnome/desktop/interface/clock-show-date true + +# Dash seçenekleri +/usr/bin/dconf write /org/gnome/shell/extensions/dash-to-dock/custom-background-color true +/usr/bin/dconf write /org/gnome/shell/extensions/dash-to-dock/custom-theme-shrink true +/usr/bin/dconf write /org/gnome/shell/extensions/dash-to-dock/custom-theme-running-dots true +/usr/bin/dconf write /org/gnome/shell/extensions/dash-to-dock/custom-theme-customize-running-dots true +/usr/bin/dconf write /org/gnome/shell/extensions/dash-to-dock/opaque-background true +/usr/bin/dconf write /org/gnome/shell/extensions/dash-to-dock/dash-max-icon-size 32 +/usr/bin/dconf write /org/gnome/shell/extensions/dash-to-dock/background-color "'#000000'" +/usr/bin/dconf write /org/gnome/shell/extensions/dash-to-dock/background-opacity 0.9 +/usr/bin/dconf write /org/gnome/shell/extensions/dash-to-dock/custom-theme-running-dots-color "'#fce94f'" +/usr/bin/dconf write /org/gnome/shell/extensions/dash-to-dock/custom-theme-running-dots-border-color "'#fce94f'" +/usr/bin/dconf write /org/gnome/shell/extensions/dash-to-dock/custom-theme-running-dots-border-width "'1'" + +# Mouse seçenekleri +/usr/bin/dconf write /org/gnome/settings-daemon/peripherals/mouse/locate-pointer false +/usr/bin/dconf write /org/gnome/desktop/peripherals/mouse/natural-scroll false + +# Bitti diff --git a/bin/milis-mate-tema b/bin/milis-mate-tema new file mode 100755 index 000000000..8364f9bb9 --- /dev/null +++ b/bin/milis-mate-tema @@ -0,0 +1,111 @@ +#!/bin/bash +# +# Author: Yaşar Çiv + +# Kopyalanacak Dosyalar +cp /root/ayarlar/milislogo.png /usr/share/icons/ + +# Metin Düzenleyici Seçenekleri +/usr/bin/dconf write /org/mate/pluma/display-line-numbers true +echo "Metin düzenleyici ayarlandı" + +# Masaustu secenekleri +mkdir /usr/share/backgrounds/milis +wget --no-check-certificate https://raw.githubusercontent.com/yasarciv/milis-gorsel/master/masa-arkaplan/milis-arkaplan1.png -O /usr/share/backgrounds/milis/* +/usr/bin/dconf write /org/mate/desktop/background/picture-filename "'/usr/share/backgrounds/milis/milis-arkaplan1.png'" +/usr/bin/dconf write /org/mate/desktop/interface/gtk-theme "'BlueMenta'" +/usr/bin/dconf write /org/mate/desktop/interface/icon-theme "'matefaenza'" +/usr/bin/dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'mate'" +# /usr/bin/dconf write /org/mate/desktop/interface/document-font-name "'FreeSans 10'" +# /usr/bin/dconf write /org/mate/desktop/interface/font-name "'FreeSans 10'" +echo "Masaüstü ayarları yapıldı" + +# Pencere Yöneticisi Seçenekleri +/usr/bin/dconf write /org/mate/marco/general/theme "'BlueMenta'" +/usr/bin/dconf write /org/mate/marco/general/num-workspaces "'1'" +echo "Pencere ayarları yapıldı" + +# Terminal Seçenekleri +/usr/bin/dconf write /org/mate/terminal/profiles/default/use-theme-colors false +/usr/bin/dconf write /org/mate/terminal/profiles/default/background-color "'#000000000000'" +/usr/bin/dconf write /org/mate/terminal/profiles/default/bold-color "'#000000000000'" +/usr/bin/dconf write /org/mate/terminal/profiles/default/foreground-color "'#FFFFFFFFFFFF'" +/usr/bin/dconf write /org/mate/terminal/profiles/default/palette "'#2E2E34343636:#CCCC00000000:#4E4E9A9A0606:#C4C4A0A00000:#34346565A4A4:#757550507B7B:#060698209A9A:#D3D3D7D7CFCF:#555557575353:#EFEF29292929:#8A8AE2E23434:#FCFCE9E94F4F:#72729F9FCFCF:#ADAD7F7FA8A8:#3434E2E2E2E2:#EEEEEEEEECEC'" +/usr/bin/dconf write /org/mate/terminal/profiles/default/use-system-font true +/usr/bin/dconf write /org/mate/terminal/profiles/default/visible-name "'Varsayılan'" +echo "Terminal görünümü ayarlandı" + +# Caja seçenekleri +/usr/bin/dconf write /org/mate/caja/desktop/home-icon-name "'Ev Dizini'" +echo "Ev Dizini ismi değiştirildi" + +# Panel Seçenekleri +/usr/bin/dconf write /org/mate/panel/objects/object-0/locked true +/usr/bin/dconf write /org/mate/panel/objects/object-0/object-type "'menu'" +/usr/bin/dconf write /org/mate/panel/objects/object-0/panel-right-stick false +/usr/bin/dconf write /org/mate/panel/objects/object-0/position "0" +/usr/bin/dconf write /org/mate/panel/objects/object-0/tooltip "'Ana Menü'" +/usr/bin/dconf write /org/mate/panel/objects/object-0/toplevel-id "'top'" +/usr/bin/dconf write /org/mate/panel/objects/object-0/use-menu-path false + +/usr/bin/dconf write /org/mate/panel/objects/object-1/applet-iid "'WnckletFactory::ShowDesktopApplet'" +/usr/bin/dconf write /org/mate/panel/objects/object-1/locked true +/usr/bin/dconf write /org/mate/panel/objects/object-1/object-type "'applet'" +/usr/bin/dconf write /org/mate/panel/objects/object-1/panel-right-stick false +/usr/bin/dconf write /org/mate/panel/objects/object-1/position "42" +/usr/bin/dconf write /org/mate/panel/objects/object-1/toplevel-id "'top'" + +/usr/bin/dconf write /org/mate/panel/objects/object-2/launcher-location "'/usr/share/applications/opera.desktop'" +/usr/bin/dconf write /org/mate/panel/objects/object-2/locked true +/usr/bin/dconf write /org/mate/panel/objects/object-2/object-type "'launcher'" +/usr/bin/dconf write /org/mate/panel/objects/object-2/panel-right-stick false +/usr/bin/dconf write /org/mate/panel/objects/object-2/position "65" +/usr/bin/dconf write /org/mate/panel/objects/object-2/toplevel-id "'top'" + +/usr/bin/dconf write /org/mate/panel/objects/object-3/action-type "'search'" +/usr/bin/dconf write /org/mate/panel/objects/object-3/locked true +/usr/bin/dconf write /org/mate/panel/objects/object-3/object-type "'action'" +/usr/bin/dconf write /org/mate/panel/objects/object-3/panel-right-stick false +/usr/bin/dconf write /org/mate/panel/objects/object-3/position "93" +/usr/bin/dconf write /org/mate/panel/objects/object-3/toplevel-id "'top'" + +/usr/bin/dconf write /org/mate/panel/objects/object-4/applet-iid "'WnckletFactory::WindowListApplet'" +/usr/bin/dconf write /org/mate/panel/objects/object-4/locked true +/usr/bin/dconf write /org/mate/panel/objects/object-4/object-type "'applet'" +/usr/bin/dconf write /org/mate/panel/objects/object-4/panel-right-stick false +/usr/bin/dconf write /org/mate/panel/objects/object-4/position "121" +/usr/bin/dconf write /org/mate/panel/objects/object-4/toplevel-id "'top'" + +/usr/bin/dconf write /org/mate/panel/objects/object-5/applet-iid "'NotificationAreaAppletFactory::NotificationArea'" +/usr/bin/dconf write /org/mate/panel/objects/object-5/locked true +/usr/bin/dconf write /org/mate/panel/objects/object-5/object-type "'applet'" +/usr/bin/dconf write /org/mate/panel/objects/object-5/panel-right-stick true +/usr/bin/dconf write /org/mate/panel/objects/object-5/position "180" +/usr/bin/dconf write /org/mate/panel/objects/object-5/toplevel-id "'top'" + +/usr/bin/dconf write /org/mate/panel/objects/object-6/applet-iid "'ClockAppletFactory::ClockApplet'" +/usr/bin/dconf write /org/mate/panel/objects/object-6/locked true +/usr/bin/dconf write /org/mate/panel/objects/object-6/object-type "'applet'" +/usr/bin/dconf write /org/mate/panel/objects/object-6/panel-right-stick true +/usr/bin/dconf write /org/mate/panel/objects/object-6/position "117" +/usr/bin/dconf write /org/mate/panel/objects/object-6/prefs/custom-format "''" +/usr/bin/dconf write /org/mate/panel/objects/object-6/prefs/format "'24-hour'" +/usr/bin/dconf write /org/mate/panel/objects/object-6/toplevel-id "'top'" + +/usr/bin/dconf write /org/mate/panel/toplevels/top/background/color "'rgb(255,255,255)'" +/usr/bin/dconf write /org/mate/panel/toplevels/top/background/type "'none'" +/usr/bin/dconf write /org/mate/panel/toplevels/top/enable-buttons false +/usr/bin/dconf write /org/mate/panel/toplevels/top/expand true +/usr/bin/dconf write /org/mate/panel/toplevels/top/orientation "'bottom'" +/usr/bin/dconf write /org/mate/panel/toplevels/top/screen "0" +/usr/bin/dconf write /org/mate/panel/toplevels/top/size "28" +/usr/bin/dconf write /org/mate/panel/toplevels/top/y "740" +/usr/bin/dconf write /org/mate/panel/toplevels/top/y-bottom "0" + +/usr/bin/dconf write /org/mate/panel/general/object-id-list "['object-0', 'object-1', 'object-2', 'object-3', 'object-4', 'object-5', 'object-6']" +/usr/bin/dconf write /org/mate/panel/general/toplevel-id-list "['top']" +/usr/bin/dconf write /org/mate/panel/menubar/icon-name "'milislogo'" +echo "Panel ayarları yapıldı" +echo "Mate ayarları yapılandırıldı" + +# Bitti diff --git a/talimatname/genel/libgnomecanvas/talimat b/talimatname/genel/libgnomecanvas/talimat new file mode 100644 index 000000000..2e7d8423d --- /dev/null +++ b/talimatname/genel/libgnomecanvas/talimat @@ -0,0 +1,19 @@ +# Description: GNOME Canvas kitaplığı +# URL: http://www.gnome.org +# Packager: yasarciv67@gmail.com +# Depends on: intltool libglade libart_lgpl + +name=libgnomecanvas +version=2.30.3 +release=3.0 +source=(https://download.gnome.org/sources/$name/2.30/$name-$version.tar.bz2 +) + +build() { + cd $name-$version + ./configure --prefix=/usr --disable-static \ + --enable-glade + make + make DESTDIR="${PKG}" install + +} diff --git a/talimatname/genel/lightdm-gtk-greeter/talimat b/talimatname/genel/lightdm-gtk-greeter/talimat new file mode 100644 index 000000000..ebfabf8e4 --- /dev/null +++ b/talimatname/genel/lightdm-gtk-greeter/talimat @@ -0,0 +1,26 @@ +# Description: Lightdm için GTK karşılayıcı +# URL: https://launchpad.net/lightdm-gtk-greeter +# Packager: yasarciv67@gmail.com +# Depends on: gtk3 lightdm exo gobject-introspection intltool + +name=lightdm-gtk-greeter +version=2.0.2 +release=1 + +source=(https://launchpad.net/$name/${version%.?}/$version/+download/$name-$version.tar.gz) + +build () { + cd $name-$version + ./configure \ + --prefix='/usr' \ + --libexecdir='/usr/lib/lightdm' \ + --sbindir='/usr/bin' \ + --sysconfdir='/etc' \ + --with-libxklavier \ + --enable-kill-on-sigterm \ + --disable-libido \ + --disable-libindicator \ + --disable-static + make + make DESTDIR=$PKG install +} diff --git a/talimatname/genel/lightdm/Xsession b/talimatname/genel/lightdm/Xsession new file mode 100644 index 000000000..4a2a25ea1 --- /dev/null +++ b/talimatname/genel/lightdm/Xsession @@ -0,0 +1,64 @@ +#!/bin/sh +# +# LightDM wrapper to run around X sessions. + +echo "Running X session wrapper" + +# Load profile +for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do + if [ -f "$file" ]; then + echo "Loading profile from $file"; + . "$file" + fi +done + +# Load resources +for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do + if [ -f "$file" ]; then + echo "Loading resource: $file" + xrdb -merge "$file" + fi +done + +# Load keymaps +for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do + if [ -f "$file" ]; then + echo "Loading keymap: $file" + setxkbmap `cat "$file"` + XKB_IN_USE=yes + fi +done + +# Load xmodmap if not using XKB +if [ -z "$XKB_IN_USE" ]; then + for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do + if [ -f "$file" ]; then + echo "Loading modmap: $file" + xmodmap "$file" + fi + done +fi + +unset XKB_IN_USE + +# Run all system xinitrc shell scripts +xinitdir="/etc/X11/xinit/xinitrc.d" +if [ -d "$xinitdir" ]; then + for script in $xinitdir/*; do + echo "Loading xinit script $script" + if [ -x "$script" -a ! -d "$script" ]; then + . "$script" + fi + done +fi + +# Run user xsession shell script +script="$HOME/.xsession" +if [ -x "$script" -a ! -d "$script" ]; then + echo "Loading xsession script $script" + . "$script" +fi + +echo "X session wrapper complete, running session $@" + +exec $@ diff --git a/talimatname/genel/lightdm/lightdm-autologin.pam b/talimatname/genel/lightdm/lightdm-autologin.pam new file mode 100644 index 000000000..0b1f79e3e --- /dev/null +++ b/talimatname/genel/lightdm/lightdm-autologin.pam @@ -0,0 +1,13 @@ +#%PAM-1.0 +auth required pam_env.so +auth required pam_tally.so file=/var/log/faillog onerr=succeed +auth required pam_shells.so +auth required pam_nologin.so +auth [success=1 default=ignore] pam_succeed_if.so user ingroup autologin +auth required pam_unix.so +auth required pam_permit.so +-auth optional pam_gnome_keyring.so +account include system-local-login +password include system-local-login +session include system-local-login +-session optional pam_gnome_keyring.so auto_start diff --git a/talimatname/genel/lightdm/lightdm-default-config.patch b/talimatname/genel/lightdm/lightdm-default-config.patch new file mode 100644 index 000000000..a92e56c41 --- /dev/null +++ b/talimatname/genel/lightdm/lightdm-default-config.patch @@ -0,0 +1,40 @@ +diff -rupN lightdm-1.16.7.orig/data/lightdm.conf lightdm-1.16.7/data/lightdm.conf +--- lightdm-1.16.7.orig/data/lightdm.conf 2016-02-07 10:44:47.229197400 +0100 ++++ lightdm-1.16.7/data/lightdm.conf 2016-02-07 10:47:36.011855600 +0100 +@@ -21,13 +21,13 @@ + #start-default-seat=true + #greeter-user=lightdm + #minimum-display-number=0 +-#minimum-vt=7 ++#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799 + #lock-memory=true + #user-authority-in-system-dir=false + #guest-account-script=guest-account + #logind-check-graphical=false + #log-directory=/var/log/lightdm +-#run-directory=/var/run/lightdm ++run-directory=/run/lightdm + #cache-directory=/var/cache/lightdm + #sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions + #remote-sessions-directory=/usr/share/lightdm/remote-sessions +@@ -110,7 +110,7 @@ + #allow-user-switching=true + #allow-guest=true + #guest-session= +-#session-wrapper=lightdm-session ++session-wrapper=/etc/lightdm/Xsession + #greeter-wrapper= + #guest-wrapper= + #display-setup-script= +diff -rupN lightdm-1.16.7.orig/data/users.conf lightdm-1.16.7/data/users.conf +--- lightdm-1.16.7.orig/data/users.conf 2016-02-07 10:44:47.224423000 +0100 ++++ lightdm-1.16.7/data/users.conf 2016-02-07 10:44:53.660216200 +0100 +@@ -9,6 +9,6 @@ + # hidden-shells = Shells that indicate a user cannot login + # + [UserList] +-minimum-uid=500 ++minimum-uid=1000 + hidden-users=nobody nobody4 noaccess +-hidden-shells=/bin/false /usr/sbin/nologin ++hidden-shells=/bin/false /usr/bin/nologin diff --git a/talimatname/genel/lightdm/lightdm.install b/talimatname/genel/lightdm/lightdm.install new file mode 100644 index 000000000..ea7aa2a50 --- /dev/null +++ b/talimatname/genel/lightdm/lightdm.install @@ -0,0 +1,4 @@ + getent group lightdm > /dev/null 2>&1 || groupadd -g 620 lightdm + getent passwd lightdm > /dev/null 2>&1 || useradd -c 'Light Display Manager' -u 620 -g lightdm -d /var/lib/lightdm -s /usr/bin/nologin lightdm + passwd -l lightdm > /dev/null + diff --git a/talimatname/genel/lightdm/lightdm.pam b/talimatname/genel/lightdm/lightdm.pam new file mode 100644 index 000000000..76b8869a2 --- /dev/null +++ b/talimatname/genel/lightdm/lightdm.pam @@ -0,0 +1,7 @@ +#%PAM-1.0 +auth include system-login +-auth optional pam_gnome_keyring.so +account include system-login +password include system-login +session include system-login +-session optional pam_gnome_keyring.so auto_start diff --git a/talimatname/genel/lightdm/lightdm.rules b/talimatname/genel/lightdm/lightdm.rules new file mode 100644 index 000000000..eda155bf3 --- /dev/null +++ b/talimatname/genel/lightdm/lightdm.rules @@ -0,0 +1,15 @@ +polkit.addRule(function(action, subject) { + if (subject.user == "lightdm") { + polkit.log("action=" + action); + polkit.log("subject=" + subject); + if (action.id.indexOf("org.freedesktop.login1.") == 0) { + return polkit.Result.YES; + } + if (action.id.indexOf("org.freedesktop.consolekit.system.") == 0) { + return polkit.Result.YES; + } + if (action.id.indexOf("org.freedesktop.upower.") == 0) { + return polkit.Result.YES; + } + } +}); diff --git a/talimatname/genel/lightdm/lightdm.service b/talimatname/genel/lightdm/lightdm.service new file mode 100644 index 000000000..4a793031b --- /dev/null +++ b/talimatname/genel/lightdm/lightdm.service @@ -0,0 +1,14 @@ +[Unit] +Description=Light Display Manager +Documentation=man:lightdm(1) +Conflicts=getty@tty1.service +After=getty@tty1.service systemd-user-sessions.service plymouth-quit.service acpid.service + +[Service] +ExecStart=/usr/bin/lightdm +Restart=always +IgnoreSIGPIPE=no +BusName=org.freedesktop.DisplayManager + +[Install] +Alias=display-manager.service diff --git a/talimatname/genel/lightdm/lightdm.tmpfiles b/talimatname/genel/lightdm/lightdm.tmpfiles new file mode 100644 index 000000000..d8ef132d3 --- /dev/null +++ b/talimatname/genel/lightdm/lightdm.tmpfiles @@ -0,0 +1 @@ +d /run/lightdm 0711 lightdm lightdm diff --git a/talimatname/genel/lightdm/talimat b/talimatname/genel/lightdm/talimat new file mode 100644 index 000000000..105d347d4 --- /dev/null +++ b/talimatname/genel/lightdm/talimat @@ -0,0 +1,83 @@ +# Description: Hafif bir giriş yönetici +# URL: https://launchpad.net/lightdm +# Packager: yasarciv67@gmail.com +# Depends on: gcc glib gobject-introspection gtk-doc intltool itstool libgcrypt xorg-libx11 libxcb xorg-libxdmcp xorg-libxklavier pam polkit qt4 qt5 vala + +name=lightdm +version=1.22.0 +release=1 + +source=(https://launchpad.net/lightdm/${version%.*}/${version}/+download/lightdm-${version}.tar.xz + lightdm.service + lightdm.tmpfiles + lightdm.pam + lightdm-autologin.pam + lightdm.rules + lightdm-default-config.patch + Xsession) + +build () { + cd $name-$version +patch -Np1 -i ../lightdm-default-config.patch + + export MOC4=moc-qt4 + export MOC5=moc-qt5 + + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/lightdm \ + --localstatedir=/var \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --with-greeter-user=lightdm \ + --with-greeter-session=lightdm-gtk-greeter \ + --disable-static \ + --enable-liblightdm-qt5=no \ + --disable-tests + +install=lightdm.install + make DESTDIR=${PKG} install + make DESTDIR=${PKG} -C liblightdm-qt uninstall + install -m 755 ../Xsession ${PKG}/etc/lightdm/Xsession + rm -rf ${PKG}/etc/init + rm -rf ${PKG}/usr/include/lightdm-qt{,5}-* + + install -dm 755 ${PKG}/var/cache/lightdm + install -dm 770 ${PKG}/var/lib/lightdm{,-data} + install -dm 711 ${PKG}/var/log/lightdm + chmod +t ${PKG}/var/{cache/lightdm,lib/lightdm{,-data}} + chown 620:620 -R ${PKG}/var/lib/lightdm{,-data} + chgrp 620 ${PKG}/var/log/lightdm + + # PAM + install -m 644 ../lightdm.pam ${PKG}/etc/pam.d/lightdm + install -m 644 ../lightdm-autologin.pam ${PKG}/etc/pam.d/lightdm-autologin + + # PolicyKit + install -dm 750 -g 102 ${PKG}/usr/share/polkit-1/rules.d + install -m 644 ../lightdm.rules ${PKG}/usr/share/polkit-1/rules.d/lightdm.rules + + # Systemd + #install -dm 755 ${PKG}/usr/lib/{systemd/system,tmpfiles.d} + #install -m 644 ../lightdm.service ${PKG}/usr/lib/systemd/system/lightdm.service + #install -m 644 ../lightdm.tmpfiles ${PKG}/usr/lib/tmpfiles.d/lightdm.conf + + + make DESTDIR=${PKG} -C liblightdm-gobject install + make DESTDIR=${PKG} -C liblightdm-qt install + make DESTDIR=${PKG} -C liblightdm-gobject uninstall + find ${PKG} -type d -name *qt5* -exec rm -rf {} + + find ${PKG} -type f -name *qt5* -exec rm {} + + find ${PKG} -type l -name *qt5* -exec rm {} + + + + make DESTDIR=${PKG} -C liblightdm-gobject install + make DESTDIR=${PKG} -C liblightdm-qt install + make DESTDIR=${PKG} -C liblightdm-gobject uninstall + find ${PKG} -type d -name *qt[!5]* -exec rm -rf {} + + find ${PKG} -type f -name *qt[!5]* -exec rm {} + + find ${PKG} -type l -name *qt[!5]* -exec rm {} + + + make + make DESTDIR=$PKG install +} diff --git a/talimatname/genel/mdm/defaults.conf b/talimatname/genel/mdm/defaults.conf new file mode 100644 index 000000000..027a9020b --- /dev/null +++ b/talimatname/genel/mdm/defaults.conf @@ -0,0 +1,748 @@ +# MDM System Defaults Configuration file. +# +# This file should not be updated by hand. Since GDM 2.13.0.4, configuration +# choices in the MDM Custom Configuration file will override the default +# values specified in this file. This MDM System Defaults Configuration file +# may be overwritten on upgrade, so to ensure that your configuration choices +# are not lost, please make sure that your changes are made only the MDM Custom +# Configuration file. The MDM Custom Configuration file is found at the +# following location: +# +# /etc/mdm/custom.conf +# +# If you were using an older version of MDM, your system may have the the older +# mdm.conf configuration file on the system. If so, then this file is used +# instead of the MDM Custom Configuration file for backwards support. If you +# make changes to the MDM Custom Configuration file and they seem to not be +# taking effect, this is likely the problem. Consider migrating your +# configuration to the new configuration file and removing the mdm.conf file. +# +# You can use the mdmsetup program to graphically edit the mdm.conf-custom +# file. Note that mdmsetup does not support every option in this file, just +# the most common ones that users want to change. If you feel that mdmsetup +# should support additional configuration options, please file a bug report at +# http://bugzilla.gnome.org/. +# +# If you hand-edit the MDM configuration, you should run the following command +# to get the MDM daemon to recognize the change. Any running MDM GUI programs +# will also be notified to update with the new configuration. +# +# mdmflexiserver --command="UPDATE_CONFIG " +# +# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable". +# +# You can also run mdm-restart or mdm-safe-restart to cause MDM to restart and +# re-read the new configuration settings. You can also restart MDM by sending +# a HUP or USR1 signal to the daemon. HUP behaves like mdm-restart and causes +# any user session started by MDM to exit immediately while USR1 behaves like +# mdm-safe-restart and will wait until all users log out before restarting MDM. +# +# For full reference documentation see the GNOME help browser under +# GNOME|System category. You can also find the docs in HTML form on +# http://www.gnome.org/projects/mdm/ +# +# NOTE: Some values are commented out, but show their default values. Lines +# that begin with "#" are considered comments. +# +# Have fun! + +[daemon] +# Automatic login, if true the first attached screen will automatically logged +# in as user as set with AutomaticLogin key. +AutomaticLoginEnable=false +AutomaticLogin= + +# Timed login, useful for kiosks. Log in a certain user after a certain amount +# of time. +TimedLoginEnable=false +TimedLogin= +TimedLoginDelay=30 + +# The MDM configuration program that is run from the login screen, you should +# probably leave this alone. +#Configurator=/usr/sbin/mdmsetup --disable-sound --disable-crash-dialog + +# The chooser program. Must output the chosen host on stdout, probably you +# should leave this alone. +#Chooser=/usr/lib/mdm/mdmchooser + +# The greeter for attached (non-xdmcp) logins. Change mdmlogin to mdmgreeter +# to get the new graphical greeter. +#Greeter=/usr/lib/mdm/mdmlogin + +# The greeter for xdmcp logins, usually you want a less graphically intensive +# greeter here so it's better to leave this with mdmlogin +#RemoteGreeter=/usr/lib/mdm/mdmlogin + +# Launch the greeter with an additional list of colon separated GTK+ modules. +# This is useful for enabling additional feature support e.g. GNOME +# accessibility framework. Only "trusted" modules should be allowed to minimize +# security holes +AddGtkModules=true +# By default, these are the accessibility modules. +GtkModulesList=gail:atk-bridge:/usr/lib/gtk-2.0/modules/libdwellmouselistener:/usr/lib/gtk-2.0/modules/libkeymouselistener + +# Default path to set. The profile scripts will likely override this value. +# This value will be overridden with the value from /etc/default/login if it +# contains "ROOT=". +#DefaultPath=/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:/opt/X11R6/bin +# Default path for root. The profile scripts will likely override this value. +# This value will be overridden with the value from /etc/default/login if it +# contains "SUROOT=". +#RootPath=/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:/opt/X11R6/bin + +# If you are having trouble with using a single server for a long time and want +# MDM to kill/restart the server, turn this on. On Solaris, this value is +# always true and this configuration setting is ignored. +AlwaysRestartServer=true + +# User and group used for running MDM GUI applications. By default this is set +# to user "mdm" and group "mdm". This user/group should have very limited +# permissions and access to only the mdm directories and files. +User=mdm +Group=mdm + +# To try to kill all clients started at greeter time or in the Init script. +# does not always work, only if those clients have a window of their own. +#KillInitClients=true +LogDir=/var/log/mdm + +# Note that a post login script is run before a PreSession script. It is run +# after the login is successful and before any setup is run on behalf of the +# user. +PostLoginScriptDir=/etc/mdm/PostLogin/ +PreSessionScriptDir=/etc/mdm/PreSession/ +PostSessionScriptDir=/etc/mdm/PostSession/ +DisplayInitDir=/etc/mdm/Init +# Distributions: If you have some script that runs an X server in say VGA +# mode, allowing a login, could you please send it to me? +#FailsafeXServer= +# if X keeps crashing on us we run this script. The default one does a bunch +# of cool stuff to figure out what to tell the user and such and can run an X +# configuration program. +XKeepsCrashing=/etc/mdm/XKeepsCrashing + +# System command support. +# +# Reboot, Halt and suspend commands, you can add different commands separated +# by a semicolon. MDM will use the first one it can find. +RebootCommand=/sbin/reboot;/sbin/shutdown -r now +HaltCommand=/sbin/poweroff;/sbin/shutdown -h now +SuspendCommand=/usr/sbin/pm-suspend + +# The following options specify how MDM system commands are supported. +# +# Specify which actions are displayed in the greeter. Valid values are HALT, +# REBOOT, SUSPEND, and CUSTOM_CMD separated by semicolons. +SystemCommandsInMenu=HALT;REBOOT;SUSPEND;CUSTOM_CMD + +# Specify which actions are supported by QUERY_LOGOUT_ACTION, SET_LOGOUT_ACTION +# and SET_SAFE_LOGOUT_ACTION. Valid values are HALT, REBOOT, SUSPEND, and +# CUSTOM_CMD separated by semicolons. +AllowLogoutActions=HALT;REBOOT;SUSPEND;CUSTOM_CMD + +# This feature is only functional if MDM is compiled with RBAC (Role Based +# Access Control) support. +# Specify the RBAC key used to determine if the user has permission to use +# the action via QUERY_LOGOUT_ACTION, SET_LOGOUT_ACTION and +# SET_SAFE_LOGOUT_ACTION. The MDM GUI will only display the action if the +# "mdm" user has RBAC permissions to use the action. RBAC keys for multiple +# actions can be specified by separating them by semicolons. The format for +# each is "Action:RBAC key". If an action is not specified, it is assumed +# all users have permission for this action. For example: +# HALT:key.for.halt,REBOOT:key.for.reboot,[...] +RBACSystemCommandKeys= + +# Probably should not touch the below this is the standard setup. +ServAuthDir=/var/lib/mdm +# This is our standard startup script. A bit different from a normal X +# session, but it shares a lot of stuff with that. See the provided default +# for more information. +BaseXsession=/etc/mdm/Xsession +# This is a directory where .desktop files describing the sessions live. It is +# really a PATH style variable since 2.4.4.2 to allow actual interoperability +# with KDM. Note that /Sessions is there for backwards +# compatibility reasons with 2.4.4.x. +#SessionDesktopDir=/etc/X11/sessions/:/etc/dm/Sessions/:/usr/share/mdm/BuiltInSessions/:/usr/share/xsessions/ +# This is the default .desktop session. One of the ones in SessionDesktopDir +#DefaultSession=gnome.desktop +# Better leave this blank and HOME will be used. You can use syntax ~/ below +# to indicate home directory of the user. You can also set this to something +# like /tmp if you don't want the authorizations to be in home directories. +# This is useful if you have NFS mounted home directories. Note that if this +# is the home directory the UserAuthFBDir will still be used in case the home +# directory is NFS, see security/NeverPlaceCookiesOnNFS to override this +# behavior. +UserAuthDir= +# Fallback directory for writing authorization file if user's home directory +# is not writable. +UserAuthFBDir=/tmp +UserAuthFile=.Xauthority +# The X server to use if we can't figure out what else to run. +StandardXServer=/usr/bin/Xorg +# The maximum number of flexible X servers to run. +#FlexibleXServers=5 +# And after how many minutes should we reap the flexible server if there is no +# activity and no one logged on. Set to 0 to turn off the reaping. Does not +# affect nested flexiservers. +#FlexiReapDelayMinutes=5 + +# The X nest command. +# Examples of valid commands (assuming installed to /usr/X11/bin: +# Xorg Xnest: /usr/X11/bin/Xnest -audit 0 -name Xnest +# Xsun Xnest: /usr/openwin/bin/Xnest -audit 0 -name Xnest -pn +# Xephyr: /usr/X11/bin/Xephyr -audit 0 +Xnest=/usr/bin/Xephyr -audit 0 +# Xsun Xnest does not support font paths (passed into Xnest -fp argument) +# that include the ":unscaled" suffix after a path name. Setting this to +# false will strip any ":unscaled" suffix from the font path. If not +# using this Xnest, the value should be true. +XnestUnscaledFontPath=true + +# Automatic VT allocation. Right now only works on Linux. This way we force +# X to use specific vts. Turn VTAllocation to false if this is causing +# problems. +#FirstVT=7 +#VTAllocation=true +# Should double login be treated with a warning (and possibility to change VT's +# on Linux and FreeBSD systems for console logins) +#DoubleLoginWarning=true +# Should a second login always resume the current session and switch VT's on +# Linux and FreeBSD systems for console logins +#AlwaysLoginCurrentSession=true + +# If true then the last login information is printed to the user before being +# prompted for password. While this gives away some info on what users are on +# a system, it on the other hand should give the user an idea of when they +# logged in and if it doesn't seem kosher to them, they can just abort the +# login and contact the sysadmin (avoids running malicious startup scripts). +#DisplayLastLogin=false + +# Program used to play sounds. Should not require any 'daemon' or anything +# like that as it will be run when no one is logged in yet. +#SoundProgram=/usr/bin/play + +# These are the languages that the console cannot handle because of font +# issues. Here we mean the text console, not X. This is only used when there +# are errors to report and we cannot start X. +# This is the default: +#ConsoleCannotHandle=am,ar,az,bn,el,fa,gu,hi,ja,ko,ml,mr,pa,ta,zh + +# This determines whether MDM will honor requests DYNAMIC requests from the +# mdmdynamic command. +#DynamicXServers=false + +# This determines whether MDM will send notifications to the console. +#ConsoleNotify=true + +# How long mdm should wait before it assumes a started Xserver is defunct and +# kills it. 10 seconds should be long enough for X, but Xgl may need 20 or 25. +MdmXserverTimeout=10 + +[security] +# Allow root to login. It makes sense to turn this off for kiosk use, when +# you want to minimize the possibility of break in. +AllowRoot=false +# Allow login as root via XDMCP. This value will be overridden and set to +# false if the /etc/default/login file exists and contains +# "CONSOLE=/dev/login", and set to true if the /etc/default/login file exists +# and contains any other value or no value for CONSOLE. +AllowRemoteRoot=false +# This will allow remote timed login. +AllowRemoteAutoLogin=false +# 0 is the most restrictive, 1 allows group write permissions, 2 allows all +# write permissions. +RelaxPermissions=0 +# Check if directories are owned by logon user. Set to false, if you have, for +# example, home directories owned by some other user. +CheckDirOwner=true +# If your HOME is managed by automounter, set to true +SupportAutomount=false +# Number of seconds to wait after a failed login +#RetryDelay=1 +# Maximum size of a file we wish to read. This makes it hard for a user to DoS +# us by using a large file. +#UserMaxFile=65536 +# If true this will basically append -nolisten tcp to every X command line, a +# good default to have (why is this a "negative" setting? because if it is +# false, you could still not allow it by setting command line of any particular +# server). It's probably better to ship with this on since most users will not +# need this and it's more of a security risk then anything else. +# Note: Anytime we find a -query or -indirect on the command line we do not add +# a "-nolisten tcp", as then the query just wouldn't work, so this setting only +# affects truly attached sessions. +#DisallowTCP=true +# By default never place cookies if we "detect" NFS. We detect NFS by +# detecting "root-squashing". It seems bad practice to place cookies on things +# that go over the network by default and thus we do not do it by default. +# Sometimes you can however use safe remote filesystems where this is OK and +# you may want to have the cookie in your home directory. +#NeverPlaceCookiesOnNFS=true +# Will cause PAM_DISALLOW_NULL_AUTHTOK to be passed as a flag to +# pam_authenticate and pam_acct_mgmt, disallowing NULL password. This setting +# will only take effect if PAM is being used by MDM. This value will be +# overridden with the value from /etc/default/login if it contains +# "PASSREQ=[YES|NO]" +#PasswordRequired=false +# Specifies the PAM Stack to use, "mdm" by default. +PamStack=mdm +# MDM allows configuration of how ut_line is set when it does utmp/wtmp and +# audit processing. If VT is being used, then ut_line will be set to the +# device associated with the VT. If the console is attached and has a device +# name specified in the [servers] section, then this value will be used. +# Otherwise the value is defaulted to the value specified in UtmpLineAttached +# for attached displays and UtmpLineRemote for remote displays. The value +# can be left empty which means that ut_line will be set to an empty value +# (if not VT and no value specified in the [servers] section. The values +# can contain "%d" which is translated to the DISPLAY value or %h which +# is translated to the hostname. The values for both keys must begin with +# "/dev/". +UtmpLineAttached=/dev/console +UtmpLineRemote= +# If true and the specified UtmpLineAttached or UtmpLineRemote does not exist, +# then create a pseudo-device filename that will be touched when the utmp +# record is updated. Creating such a psuedo-device ensures that programs +# that stat the utmp device associated with ut_line such as finger, last, +# etc. work in a reasonable way. +UtmpPseudoDevice=false + +# XDMCP is the protocol that allows remote login. If you want to log into MDM +# remotely (I'd never turn this on on open network, use ssh for such remote +# usage). You can then run X with -query to log in, or +# -indirect to run a chooser. Look for the 'Terminal' server type +# at the bottom of this config file. +[xdmcp] +# Distributions: Ship with this off. It is never a safe thing to leave out on +# the net. Setting up /etc/hosts.allow and /etc/hosts.deny to only allow local +# access is another alternative but not the safest. Firewalling port 177 is +# the safest if you wish to have xdmcp on. Read the manual for more notes on +# the security of XDMCP. +Enable=false +# Honor indirect queries, we run a chooser for these, and then redirect the +# user to the chosen host. Otherwise we just log the user in locally. +#HonorIndirect=true +# Maximum pending requests. +#MaxPending=4 +#MaxPendingIndirect=4 +# Maximum open XDMCP sessions at any point in time. +#MaxSessions=16 +# Maximum wait times. +#MaxWait=15 +#MaxWaitIndirect=15 +# How many times can a person log in from a single host. Usually better to +# keep low to fend off DoS attacks by running many logins from a single host. +# This is now set at 2 since if the server crashes then MDM doesn't know for +# some time and wouldn't allow another session. +#DisplaysPerHost=2 +# The number of seconds after which a non-responsive session is logged off. +# Better keep this low. +#PingIntervalSeconds=15 +# The port. 177 is the standard port so better keep it that way. +#Port=177 +# Willing script, none is shipped and by default we'll send hostname system id. +# But if you supply something here, the output of this script will be sent as +# status of this host so that the chooser can display it. You could for +# example send load, or mail details for some user, or some such. +#Willing=/etc/mdm/Xwilling + +[gui] +# The specific gtkrc file we use. It should be the full path to the gtkrc that +# we need. Unless you need a specific gtkrc that doesn't correspond to a +# specific theme, then just use the GtkTheme key. +#GtkRC=/usr/share/themes/Default/gtk-2.0/gtkrc + +# The GTK+ theme to use for the GUI. +GtkTheme=Clearlooks +# If to allow changing the GTK+ (widget) theme from the greeter. Currently +# this only affects the standard greeter as the graphical greeter does not yet +# have this ability. +#AllowGtkThemeChange=true +# Comma separated list of themes to allow. These must be the names of the +# themes installed in the standard locations for gtk themes. You can also +# specify 'all' to allow all installed themes. These should be just the +# basenames of the themes such as 'Thinice' or 'LowContrast'. +#GtkThemesToAllow=all + +# Maximum size of an icon, larger icons are scaled down. +#MaxIconWidth=128 +#MaxIconHeight=128 + +[greeter] +# The following options for setting titlebar and setting window position are +# only useful for the standard login (mdmlogin) and are not used by the +# themed login (mdmgreeter). +# +# The standard login has a title bar that the user can move. +#TitleBar=true +# Don't allow user to move the standard login window. Only makes sense if +# TitleBar is on. +#LockPosition=false +# Set a position for the standard login window rather then just centering the +# window. If you enter negative values for the position it is taken as an +# offset from the right or bottom edge. +#SetPosition=false +#PositionX=0 +#PositionY=0 + +# Enable the Face browser. Note that the Browser key is only used by the +# standard login (mdmlogin) program. The Face Browser is enabled in +# the Graphical greeter by selecting a theme that includes the Face +# Browser, such as happygnome-list. The other configuration values that +# affect the Face Browser (MinimalUID, DefaultFace, Include, Exclude, +# IncludeAll, GlobalFaceDir) are used by both the Standard and Themed +# greeter. +Browser=false +# The default picture in the browser. +#DefaultFace=/usr/share/pixmaps/nobody.png +# User ID's less than the MinimalUID value will not be included in the face +# browser or in the mdmselection list for Automatic/Timed login. They will not +# be displayed regardless of the settings for Include and Exclude. +#MinimalUID=100 +# Users listed in Include will be included in the face browser and in the +# mdmsetup selection list for Automatic/Timed login. Users should be separated +# by commas. +#Include= +# Users listed in Exclude are excluded from the face browser and from the +# mdmsetup selection list for Automatic/Timed login. Excluded users will still +# be able to log in, but will have to type their username. Users should be +# separated by commas. +#Exclude=bin,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,mdm,postgres,pvm,rpm,nfsnobody,pcap +# By default, an empty include list means display no users. By setting +# IncludeAll to true, the password file will be scanned and all users will be +# displayed except users excluded via the Exclude setting and user ID's less +# than MinimalUID. Scanning the password file can be slow on systems with +# large numbers of users and this feature should not be used in such +# environments. The setting of IncludeAll does nothing if Include is set to a +# non-empty value. +#IncludeAll=false +# If user or user.png exists in this dir it will be used as his picture. +#GlobalFaceDir=/usr/share/pixmaps/faces/ + +# File which contains the locale we show to the user. Likely you want to use +# the one shipped with MDM and edit it. It is not a standard locale.alias +# file, although MDM will be able to read a standard locale.alias file as well. +#LocaleFile=/etc/mdm/locale.alias +# Logo shown in the standard greeter. +#Logo=/usr/share/pixmaps/mdm-foot-logo.png +# Logo shown on file chooser button in mdmsetup (do not modify this value). +#ChooserButtonLogo=/usr/share/pixmaps/mdm-foot-logo.png +# The standard greeter should shake if a user entered the wrong username or +# password. Kind of cool looking +#Quiver=true + +# The Actions menu (formerly system menu) is shown in the greeter, this is the +# menu that contains reboot, shutdown, suspend, config and chooser. None of +# these is available if this is off. They can be turned off individually +# however. +SystemMenu=true +# Configuration is available from the system menu of the greeter. +ConfigAvailable=true +# Should the chooser button be shown. If this is shown, MDM can drop into +# chooser mode which will run the xdmcp chooser locally and allow the user to +# connect to some remote host. Local XDMCP does not need to be enabled, +# however. +ChooserButton=true + +# Welcome is for all console logins and RemoteWelcome is for remote logins +# (through XDMCP). +# DefaultWelcome and DefaultRemoteWelcome set the string for Welcome to +# "Welcome" and for DefaultWelcome to "Welcome to %n", and properly translate +# the message to the appropriate language. Note that %n gets translated to the +# hostname of the machine. These default values can be overridden by setting +# DefaultWelcome and/or DefaultRemoteWelcome to false, and setting the Welcome +# and DefaultWelcome values as desired. Just make sure the strings are in +# utf-8 Note to distributors, if you wish to have a different Welcome string +# and wish to have this translated you can have entries such as +# "Welcome[cs]=Vitejte na %n". +DefaultWelcome=true +DefaultRemoteWelcome=true +#Welcome=Welcome +#RemoteWelcome=Welcome to %n + +# Xinerama screen we use to display the greeter on. Not for true multihead, +# currently only works for Xinerama. +XineramaScreen=0 +# Background settings for the standard greeter: +# Type can be 0=None, 1=Image & Color, 2=Color, 3=Image +#BackgroundType=2 +#BackgroundImage= +#BackgroundScaleToFit=true +# The Standard greeter (mdmlogin) uses BackgroundColor as the background +# color, while the themed greeter (mdmgreeter) uses GraphicalThemedColor +# as the background color. +BackgroundColor=#76848F +GraphicalThemedColor=#76848F +# XDMCP session should only get a color, this is the sanest setting since you +# don't want to take up too much bandwidth +#BackgroundRemoteOnlyColor=true + +# Program to run to draw the background in the standard greeter. Perhaps +# something like an xscreensaver hack or some such. +#BackgroundProgram= +# If this is true then the background program is run always, otherwise it is +# only run when the BackgroundType is 0 (None). +#RunBackgroundProgramAlways=false +# Delay before starting background program +#BackgroundProgramInitialDelay=30 +# Should the background program be restarted if it is exited. +#RestartBackgroundProgram=true +# Delay before restarting background program +#BackgroundProgramRestartDelay=30 + +# Show the Failsafe sessions. These are much MUCH nicer (focus for xterm for +# example) and more failsafe then those supplied by scripts so distros should +# use this rather then just running an xterm from a script. +ShowGnomeFailsafeSession=true +ShowXtermFailsafeSession=true +# Normally there is a session type called 'Last' that is shown which refers to +# the last session the user used. If off, we will be in 'switchdesk' mode +# where the session saving stuff is disabled in MDM +#ShowLastSession=true +# Always use 24 hour clock no matter what the locale. +#Use24Clock=auto +# Use circles in the password field. Looks kind of cool actually, but only +# works with certain fonts. +UseCirclesInEntry=true +# Do not show any visible feedback in the password field. This is standard for +# instance in console, xdm and ssh. +#UseInvisibleInEntry=false + +# These two keys are for the themed greeter (mdmgreeter). Circles is the +# standard shipped theme. If you want MDM to select a random theme from a +# list then provide a list that is delimited by /: to the GraphicalThemes +# key and set GraphicalThemeRand to true. Otherwise use GraphicalTheme +# and specify just one theme. +#GraphicalTheme=circles +#GraphicalThemes=circles/:happygnome +GraphicalThemeDir=/usr/share/mdm/themes/ +GraphicalThemeRand=false + +# If InfoMsgFile points to a file, the greeter will display the contents of the +# file in a modal dialog box before the user is allowed to log in. +#InfoMsgFile= +# If InfoMsgFile is present then InfoMsgFont can be used to specify the font to +# be used when displaying the contents of the file. +#InfoMsgFont=Sans 24 + +# If SoundOnLogin is true, then the greeter will beep when login is ready for +# user input. If SoundOnLogin is a file and the greeter finds the 'play' +# executable (see daemon/SoundProgram) it will play that file instead of just +# beeping. +#SoundOnLogin=true +#SoundOnLoginFile= +# If SoundOnLoginSuccess, then the greeter will play a sound (as above) when a +# user successfully logs in. +#SoundOnLoginSuccess=false +#SoundOnLoginSuccessFile= +# If SoundOnLoginFailure, then the greeter will play a sound (as above) when a +# user fails to log in. +#SoundOnLoginFailure=false +#SoundOnLoginFailureFile= + +# Specifies a program to be called by the greeter/login program when the +# initial screen is displayed. The purpose is to provide a hook where files +# used after login can be preloaded to speed performance for the user. The +# program will only be called once only, the first time a greeter is displayed. +# The mdmprefetch command may be used. This utility will load any libraries +# passed in on the command line, or if the argument starts with a "@" +# character, it will process the file assuming it is an ASCII file containing a +# list of libraries, one per line, and load each library in the file. +PreFetchProgram= + +# The chooser is what's displayed when a user wants an indirect XDMCP session, +# or selects Run XDMCP chooser from the system menu +[chooser] +# Default image for hosts. +#DefaultHostImg=/usr/share/pixmaps/nohost.png +# Directory with host images, they are named by the hosts: host or host.png. +HostImageDir=/usr/share/hosts/ +# Time we scan for hosts (well only the time we tell the user we are scanning +# actually, we continue to listen even after this has expired). +#ScanTime=4 +# A comma separated lists of hosts to automatically add (if they answer to a +# query of course). You can use this to reach hosts that broadcast cannot +# reach. +Hosts= +# Broadcast a query to get all hosts on the current network that answer. +Broadcast=true +# Set it to true if you want to send a multicast query to hosts. +Multicast=false +# It is an IPv6 multicast address.It is hardcoded here and will be replaced +# when officially registered xdmcp multicast address of TBD will be available. +#Multicast_Addr=ff02::1 +# Allow adding random hosts to the list by typing in their names. +#AllowAdd=true + +[debug] +# This will cause MDM to send debugging information to the system log, which +# will create a LOT of output. It is not recommended to turn this on for +# normal use, but it can be useful to determine the cause when MDM is not +# working properly. +Enable=false +# This will enable debug messages for accessibilty gesture listeners into the +# syslog. This includes output about key events, mouse button events, and +# pointer motion events. This is useful for figuring out the cause of why the +# gesture listeners may not be working, but is too verbose for general debug. +Gestures=false + +# Attached DISPLAY Configuration +# +[servers] +# This section defines which attached DISPLAYS should be started by MDM by +# default. You can add as many DISPLAYS as desired and they will always be +# started. The key for each entry must be a unique number that cooresponds to +# the DISPLAY number to start the X server. For a typical single-display +# machine, there will only be one entry "0" for DISPLAY ":0". The first word +# in the value corresponds to an X server definition in the "X Server +# Definitions" section of the configuration file. For example, the entry: +# +# 0=Standard +# +# Means that DISPLAY ":0" will start an X server as defined in the +# [server-Standard] section. +# +# The optional device argument is used to specify the device that is associated +# with the DISPLAY. When using Virtual Terminals (VT), this value is ignored +# and MDM will use the correct device name associated with the VT. If not +# using VT, then MDM will use the value specified by this optional argument. +# If the device argument is not defined, then MDM will use the default setting +# for attached displays defined in the UtmpLineAttached configuration option. +# For the main display (typically DISPLAY ":0"), "/dev/console" is a reasonable +# value. For other displays it is probably best to not include this argument +# unless you know the specific device associated with the DISPLAY. The device +# value can contain "%d" which is translated to the DISPLAY value or %h which +# is translated to the hostname. +# +0=Standard device=/dev/console + +# Example of how to set up DISPLAY :1 to also use Standard. +#1=Standard + +# If you wish to run the XDMCP chooser on the local display use the following +# line +#0=Chooser + +# X Server Definitions +# +# Note: Is your X server not listening to TCP requests? Refer to the +# security/DisallowTCP setting! + +[server-Standard] +name=Standard server +command=/usr/bin/Xorg -audit 0 +flexible=true +# Indicates that the X server should be started at a different process +# priority. Values can be any integer value accepted by the setpriority C +# library function (normally between -20 and 20) with 0 being the default. For +# highly interactive applications, -5 yields good responsiveness. The default +# value is 0 and the setpriority function is not called if the value is 0. + +#priority=0 + +# To use this server type you should add -query host or -indirect host to the +# command line. +[server-Terminal] +name=Terminal server +# Add -terminate to make things behave more nicely +command=/usr/bin/Xorg -audit 0 -terminate +# Make this not appear in the flexible servers (we need extra params anyway, +# and terminate would be bad for xdmcp choosing). You can make a terminal +# server flexible, but not with an indirect query. If you need flexible +# indirect query server, then you must get rid of the -terminate and the only +# way to kill the flexible server will then be by Ctrl-Alt-Backspace. +flexible=false +# Do not handle this X server for attached displays. +handled=false + +# To use this server type you should add -query host or -indirect host to the +# command line. +[server-Chooser] +name=Chooser server +command=/usr/bin/Xorg -audit 0 +# Make this not appear in the flexible servers for now, but if you wish to +# allow a chooser server then make this true. This is the only way to make a +# flexible chooser server that behaves nicely. +flexible=false +# Run the chooser instead of the greeter. When the user chooses a machine they +# will get this same server but run with "-terminate -query hostname". +chooser=true + +[customcommand] +# This section allows you specify up to 10 custom commands. Each of the +# commands can be defined by the seven parameters listed below. In each of the +# descriptions of the parameters N can take on any values between 0 and 9, +# i.e. CustomCommand0=,CustomCommand1=,...,CustomCommand9=. The numbers +# can have gaps as long as they fit within predefined set of 10, and their +# placement order within this section and with respect to each other is +# not important. +# +# CustomCommandN, CustomCommandTextN, CustomCommandLabelN, +# CustomCommandLRLabelN, CustomCommandTooltipN, CustomCommandIsPersistentN +# and CustomCommandNoRestartN should all be defined for a given integer N, +# where N can be a number from 0-9 (if not the default values will be +# assigned except CustomCommandN for which no default exists). + +# Custom command to run. Multiple commands may be specified separated by +# semicolons. GMM will use the first valid command. Examples: +# /sbin/bootwindoze;/usr/bin/bootwindoze, or +# /sbin/runupdate;/usr/local/sbin/runupdate +# +#CustomCommandN= + +# Custom command dialog message that will appear on all warning dialogs. +# This will vary depending on what you want to do. Examples: +# Are you sure you want to restart system into Windoze?, or +# Are you sure you want do do this? +#CustomCommandTextN= + +# Custom command label that will appear as stock label on buttons/menu items. +# This option can't contain any semicolon characters (i.e. ";"). +# Examples: +# _Windoze, or +# _Update Me +#CustomCommandLabelN= + +# Custom command label that will appear as stock label on radio buttons/list +# items. The underscore indicates the mnemonic used with this item. Examples: +# Restart into _Windoze +# Perform system _Update +#CustomCommandLRLabelN= + +# Custom command tooltip. Examples +# Restarts the computer into Windoze +# Updates the computer software to the most recent version(s) +#CustomCommandTooltipN= + +# Custom command persistence option. Setting it to true will allow this +# command to appear outside the login manager, e.g. on the desktop through +# Log Out/Shut Down dialogs. The default value is false. +#CustomCommandIsPersistentN= + +# Custom command mdm/system restart option. Setting it to true will not +# restart mdm after command execution. The default commands (reboot, shut +# down) all reboot the system by default which is why the default setting +# is true. +# In addition when corresponding CustomCommandIsPersistentN option is set to +# true, setting CustomCommandNoRestartN to false will place CustomCommandN +# in the Shut Down dialog set of actions, setting it to true will place +# CustomCommandN in the Log Out dialog set of actions. +#CustomCommandNoRestartN= +# +# Example layout for more than one command: +#CustomCommand0= +#CustomCommandText0= +#CustomCommandLabel0= +#CustomCommandLRLabel0= +#CustomCommandTooltip0= +#CustomCommandIsPersistent0= +#CustomCommandNoRestart0= +# +#CustomCommand1= +#CustomCommandText1= +#CustomCommandLabel1= +#CustomCommandLRLabel1= +#CustomCommandTooltip1= +#CustomCommandIsPersistent1= +#CustomCommandNoRestart1= +# +# and so on diff --git a/talimatname/genel/mdm/mdm-autologin.pam b/talimatname/genel/mdm/mdm-autologin.pam new file mode 100644 index 000000000..f3b1541ac --- /dev/null +++ b/talimatname/genel/mdm/mdm-autologin.pam @@ -0,0 +1,25 @@ +#%PAM-1.0 +auth requisite pam_nologin.so +auth required pam_env.so + +auth required pam_permit.so + +auth sufficient pam_succeed_if.so uid >= 1000 quiet +auth required pam_deny.so + +account required pam_access.so +account required pam_time.so +account required pam_unix.so + +password required pam_unix.so +password required pam_deny.so + +session required pam_limits.so +session required pam_unix.so + +session required pam_loginuid.so +-session optional pam_systemd.so + +session optional pam_keyinit.so revoke +session required pam_limits.so +session required pam_unix.so diff --git a/talimatname/genel/mdm/mdm-display-manager.install b/talimatname/genel/mdm/mdm-display-manager.install new file mode 100644 index 000000000..3c5e388a0 --- /dev/null +++ b/talimatname/genel/mdm/mdm-display-manager.install @@ -0,0 +1,25 @@ +pkgname=mate-display-manager + +post_install() { + getent group mdm >/dev/null 2>&1 || groupadd -g 128 mdm + getent passwd mdm >/dev/null 2>&1 || usr/sbin/useradd -c 'Linux Mint Display Manager' -u 128 -g mdm -d /var/lib/mdm -s /sbin/nologin mdm + passwd -l mdm > /dev/null + chown root:mdm /var/lib/mdm > /dev/null + chmod 1770 /var/lib/mdm > /dev/null + + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + printf "\n By default the tty1 is disabled, this because a bug" + printf "\n that if tty1 is runing, then mdm is automagically " + printf "\n restarted in a infinite loop, this take around " + printf "\n 1 minute post login, please not force the use of " + printf "\n getty@tty1 unles you know how deal with the problem" + printf "\n" + printf "\n For systemd use: # systemctl enable mdm" + printf "\n" +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + getent passwd mdm || userdel mdm + getent group mdm || groupdel mdm +} diff --git a/talimatname/genel/mdm/mdm.pam b/talimatname/genel/mdm/mdm.pam new file mode 100644 index 000000000..a4fc75c53 --- /dev/null +++ b/talimatname/genel/mdm/mdm.pam @@ -0,0 +1,14 @@ +#%PAM-1.0 +auth requisite pam_nologin.so +auth required pam_env.so + +auth required pam_unix.so + +account required pam_unix.so + +session required pam_limits.so +session required pam_unix.so +#session optional pam_systemd.so +session optional pam_ck_connector.so nox11 + +password required pam_unix.so diff --git a/talimatname/genel/mdm/org.cinnamon.pkexec.mdmsetup.policy b/talimatname/genel/mdm/org.cinnamon.pkexec.mdmsetup.policy new file mode 100644 index 000000000..25708c78a --- /dev/null +++ b/talimatname/genel/mdm/org.cinnamon.pkexec.mdmsetup.policy @@ -0,0 +1,21 @@ + + + + Cinnamon Desktop environment + http://www.gnome.org/projects/mdm/ + + MDM login window appearance and behavior + Privileges are required to change MDM Settings + mdmsetup + + no + no + auth_admin + + /usr/bin/mdmsetup + true + + + diff --git a/talimatname/genel/mdm/talimat b/talimatname/genel/mdm/talimat new file mode 100644 index 000000000..32c099fcf --- /dev/null +++ b/talimatname/genel/mdm/talimat @@ -0,0 +1,66 @@ +# Description: MDM Giriş Yöneticisi (consolekit destekli) +# URL: http://www.linuxmint.com +# Packager: yasarciv67@gmail.com +# Depends on: gnome-common intltool gnome-doc-utils xorg-server pango zenity popt xorg-libdmx libgnomecanvas dbus-glib webkitgtk2 + +name=mdm +version=2.0.17 +release=1 + +source=(https://github.com/linuxmint/$name/archive/$version.tar.gz +mdm.pam +mdm-autologin.pam +defaults.conf +org.cinnamon.pkexec.mdmsetup.policy) + +build() { + cd $name-$version + aclocal --install + gnome-doc-prepare --force + chmod +x ./autogen.sh + export AUTOMAKE=automake + ./autogen.sh --enable-ipv6=yes --with-prefetch \ + --prefix=/usr --with-console-kit=yes --sysconfdir=/etc \ + --with-systemd=no --libexecdir=/usr/lib/mdm --localstatedir=/var/lib \ + --disable-static --with-xevie=yes --disable-scrollkeeper \ + --enable-secureremote=yes --enable-ipv6=yes \ + --enable-compile-warnings=no --sbindir=/usr/bin \ + LDFLAGS="-lXau -lm" + + sed -i -e 's|${prefix}|/usr|' config.h + + make DESTDIR=$PKG + make DESTDIR=$PKG install + + #PAM, we use our own, not LinuxMint stuff, problem?... + install -m755 -d "${PKG}/etc/pam.d" + install -m644 "${SRC}/mdm-autologin.pam" "${PKG}/etc/pam.d/mdm-autologin" + install -m644 "${SRC}/mdm.pam" "${PKG}/etc/pam.d/mdm" + + #configuration + install -m444 "${SRC}/defaults.conf" "${PKG}/usr/share/mdm/" + install -m444 "${SRC}/defaults.conf" "${PKG}/usr/share/mdm/distro.conf" + rm -f "${PKG}/usr/share/xsessions/gnome.desktop" || true + + #PolicyKit execution scheme (need some tests) + install -m755 -d "${PKG}/usr/share/polkit-1/actions/" + install -m644 "${SRC}/org.cinnamon.pkexec.mdmsetup.policy" "${PKG}/usr/share/polkit-1/actions/" + + #Why on the hay this directory is created empty in etc, remove it + rmdir "${PKG}/etc/dm" + + #Fix mdm files conflict with gnome-control-center (usr/share/pixmaps/faces/*) + install -m755 -d "${PKG}/usr/share/pixmaps/faces/" + make DESTDIR=${PKG} install -C gui/faces + + #Fix gdmsetup.desktop + sed -i -e 's|^Exec=gksu|Exec=pkexec|' "${PKG}/usr/share/mdm/applications/mdmsetup.desktop" + sed -i -e 's|^Categories=|Categories=GNOME;GTK;System;Settings;X-GNOME-Settings-Panel;X-GNOME-SystemSettings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;|' "${PKG}/usr/share/mdm/applications/mdmsetup.desktop" + + #Fix erroneous path for certain applications + install -m755 -d "${PKG}/usr/share/applications" + mv -f ${PKG}/usr/share/mdm/applications/*.* "${PKG}/usr/share/applications" + chmod 755 ${PKG}/usr/share/applications/*.* + rmdir "${PKG}/usr/share/mdm/applications" + +} From 1a02a624962b713de8a533588e3bb8fb63e340f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C5=9Far=20=C3=87iv?= Date: Fri, 28 Jul 2017 09:03:32 +0300 Subject: [PATCH 2/4] =?UTF-8?q?kurkos-d=C3=BCzeltme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../genel/mdm/mdm-display-manager.install | 25 ------------------- talimatname/genel/mdm/mdm.kur-kos | 16 ++++++++++++ 2 files changed, 16 insertions(+), 25 deletions(-) delete mode 100644 talimatname/genel/mdm/mdm-display-manager.install create mode 100644 talimatname/genel/mdm/mdm.kur-kos diff --git a/talimatname/genel/mdm/mdm-display-manager.install b/talimatname/genel/mdm/mdm-display-manager.install deleted file mode 100644 index 3c5e388a0..000000000 --- a/talimatname/genel/mdm/mdm-display-manager.install +++ /dev/null @@ -1,25 +0,0 @@ -pkgname=mate-display-manager - -post_install() { - getent group mdm >/dev/null 2>&1 || groupadd -g 128 mdm - getent passwd mdm >/dev/null 2>&1 || usr/sbin/useradd -c 'Linux Mint Display Manager' -u 128 -g mdm -d /var/lib/mdm -s /sbin/nologin mdm - passwd -l mdm > /dev/null - chown root:mdm /var/lib/mdm > /dev/null - chmod 1770 /var/lib/mdm > /dev/null - - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - printf "\n By default the tty1 is disabled, this because a bug" - printf "\n that if tty1 is runing, then mdm is automagically " - printf "\n restarted in a infinite loop, this take around " - printf "\n 1 minute post login, please not force the use of " - printf "\n getty@tty1 unles you know how deal with the problem" - printf "\n" - printf "\n For systemd use: # systemctl enable mdm" - printf "\n" -} - -post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - getent passwd mdm || userdel mdm - getent group mdm || groupdel mdm -} diff --git a/talimatname/genel/mdm/mdm.kur-kos b/talimatname/genel/mdm/mdm.kur-kos new file mode 100644 index 000000000..c8c2029d2 --- /dev/null +++ b/talimatname/genel/mdm/mdm.kur-kos @@ -0,0 +1,16 @@ +getent group mdm >/dev/null 2>&1 || groupadd -g 128 mdm +getent passwd mdm >/dev/null 2>&1 || usr/sbin/useradd -c 'Linux Mint Display Manager' -u 128 -g mdm -d /var/lib/mdm -s /sbin/nologin mdm +passwd -l mdm > /dev/null +chown root:mdm /var/lib/mdm > /dev/null +chmod 1770 /var/lib/mdm > /dev/null +gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +printf "\n By default the tty1 is disabled, this because a bug" +printf "\n that if tty1 is runing, then mdm is automagically " +printf "\n restarted in a infinite loop, this take around " +printf "\n 1 minute post login, please not force the use of " +printf "\n getty@tty1 unles you know how deal with the problem" +printf "\n" +gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +getent passwd mdm || userdel mdm +getent group mdm || groupdel mdm +mps serkur mdm && mps sersil slim && mps sersil lxdm From 7a792076c171a948064e72cb5380d581e0fd262c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C5=9Far=20=C3=87iv?= Date: Fri, 28 Jul 2017 09:13:08 +0300 Subject: [PATCH 3/4] =?UTF-8?q?kur-kos-d=C3=BCzeltme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- talimatname/genel/mdm/mdm.kur-kos | 3 --- 1 file changed, 3 deletions(-) diff --git a/talimatname/genel/mdm/mdm.kur-kos b/talimatname/genel/mdm/mdm.kur-kos index c8c2029d2..b34bf4207 100644 --- a/talimatname/genel/mdm/mdm.kur-kos +++ b/talimatname/genel/mdm/mdm.kur-kos @@ -10,7 +10,4 @@ printf "\n restarted in a infinite loop, this take around " printf "\n 1 minute post login, please not force the use of " printf "\n getty@tty1 unles you know how deal with the problem" printf "\n" -gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor -getent passwd mdm || userdel mdm -getent group mdm || groupdel mdm mps serkur mdm && mps sersil slim && mps sersil lxdm From ba610b7f5fac851fb2dba9c2d8a77508a6368dea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C5=9Far=20=C3=87iv?= Date: Fri, 28 Jul 2017 16:21:39 +0300 Subject: [PATCH 4/4] =?UTF-8?q?mdm.sil-kos=20olu=C5=9Fturuldu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- talimatname/genel/mdm/mdm.sil-kos | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 talimatname/genel/mdm/mdm.sil-kos diff --git a/talimatname/genel/mdm/mdm.sil-kos b/talimatname/genel/mdm/mdm.sil-kos new file mode 100644 index 000000000..c1fbc33e9 --- /dev/null +++ b/talimatname/genel/mdm/mdm.sil-kos @@ -0,0 +1,3 @@ +gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +getent passwd mdm || userdel mdm +getent group mdm || groupdel mdm