le-interface: Add code to disable gnome-keyring

Adds a shell script, that executes when the X starts, that disables
the gnome-keyring dialog.
parent 869c942a
......@@ -31,6 +31,7 @@ VIA=le-interface-via-fix.sh
NETWORK=le-interface-network.sh
NETCONFIG=le-netconfig.sh
SOUNDCONFIG=le-soundconfig.sh
GNOMEKEYRING=le-interface-gnome-keyring.sh
# Scripts lists for non-freeze and freeze users, and a commom scripts list
COMMONSCRIPTS="
......@@ -40,7 +41,8 @@ COMMONSCRIPTS="
$SHPATH/$VIA \
$SHPATH/$NETWORK \
$SHPATH/$NETCONFIG \
$SHPATH/$SOUNDCONFIG
$SHPATH/$SOUNDCONFIG \
$SHPATH/$GNOMEKEYRING
"
NFSCRIPTS="
......
[keyring]
display-name=Padrão
ctime=0
mtime=0
lock-on-idle=false
lock-after=false
#!/bin/bash
#
# Copyright (C) 2004-2012 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-interface
#
# le-interface 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 Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
# Removes gnome-keyring at login
if ! test -f "$HOME/.gnome2/keyrings/default.keyring"; then
cp -r /etc/skel/.gnome2 "$HOME"
chown -R --reference="$HOME" "$HOME/.gnome2"
fi
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