le-interface: GNOME 3 user interface and desktop configuration for LE 5

parent e2ec4cb8
Log system
Detect all possible hardwares
#!/bin/bash
# gerar.sh
# Copyright (c) 2006 by Bruno Ribas <ribas@ufpr.br>
DIRTMP=$(mktemp -d)
VERSAO=$(cat VERSAO)
#arrumar versao
#$1 tipo de incremento
MAJOR=$(echo $VERSAO| cut -d'.' -f1)
MINOR=$(echo $VERSAO| cut -d'.' -f2)
REVISION=$(echo $VERSAO| cut -d'.' -f3)
case $1 in
Minor)
((MINOR++))
REVISION=0
;;
Major)
((MAJOR++))
MINOR=0
REVISION=0
;;
help)
echo "Uso: $0 Major|Minor|Revision"
echo ' Major - Altera versao Major'
echo ' Minor - Altera versao Minor'
exit
;;
*)
((REVISION++))
;;
esac
VERSAO="${MAJOR}.${MINOR}.${REVISION}"
echo "$VERSAO" > VERSAO
#Compila a documentacao do pacote no diretorio doc/
#cd doc/
#hevea -text *.tex
#hevea -text *.tex
#cd ../
cp -r pacote $DIRTMP
#Copia a documentacao compilada para dentro do pacote.
#cp doc/*.txt $DIRTMP/pacote/usr/share/doc/prd-*
cd $DIRTMP
find . -name ".svn" -exec rm -rf {} \; &>/dev/null
sed -i -e "s/Version:/Version: $VERSAO/" pacote/DEBIAN/control
fakeroot dpkg -b pacote .
cd -
cp $DIRTMP/*deb .
rm -rf $DIRTMP
# vim:tabstop=4:shiftwidth=4:encoding=iso-8859-1
Package: le-interface
Priority: important
Section: main
Version:
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
Description: GNOME 3 user interface and desktop configuration for Linux Educacional 5.
Architecture: i386
Depends: gnome-shell
#!/bin/bash
# Copyright (C) 2011-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.
#!/bin/bash
# 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.
mv "/usr/share/gnome-shell/theme/gnome-shell" "/usr/share/gnome-shell/theme/gnome-shell.css"
mv "/usr/share/gnome-shell/js/ui/panel" "/usr/share/gnome-shell/js/ui/panel.js"
mv "/usr/share/gnome-shell/js/ui/dateMenu" "/usr/share/gnome-shell/js/ui/dateMenu.js"
mv "/etc/skel/a" "/etc/skel/.profile"
mv "/etc/le/home_alunos/b" "/etc/le/home_alunos/.profile"
#!/bin/bash
# Copyright (C) 2011-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.
#!/bin/bash
# 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.
mv "/usr/share/gnome-shell/theme/gnome-shell.css" "/usr/share/gnome-shell/theme/gnome-shell.css.old"
mv "/usr/share/gnome-shell/js/ui/panel.js" "/usr/share/gnome-shell/js/ui/panel.js.old"
mv "/usr/share/gnome-shell/js/ui/dateMenu.js" "/usr/share/gnome-shell/js/ui/dateMenu.js.old"
if [ -e "/etc/skel/.profile" ]; then
mv "/etc/skel/.profile" "/etc/skel/.profile.old"
fi
if [ -e "/etc/le/home_alunos/.profile" ]; then
mv "/etc/le/home_alunos/.profile" "/etc/le/home_alunos/.profile.old"
fi
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
gsettings set org.gnome.desktop.wm.preferences theme Adwaita
gsettings set org.gnome.desktop.interface gtk-theme Adwaita
gsettings set org.gnome.desktop.interface icon-theme Gnome
gsettings set org.gnome.desktop.background picture-uri file:///usr/share/backgrounds/LE5.png
gsettings set org.gnome.shell.overrides button-layout ':minimize,maximize,close'
gsettings set org.gnome.shell enabled-extensions "['hide-dash@zacbarton.com']"
cairo-dock -c &
const Lang = imports.lang;
const Main = imports.ui.main;
let hideDash;
// extension functions
function init() {
hideDash = new HideDash();
}
function enable() {
hideDash.enable();
}
function disable() {
hideDash.disable();
}
// our HideDash object
HideDash = function() {
this.init();
}
HideDash.prototype = {
init: function() {
this.observer = null;
// store the values we are going to override
this.old_x = Main.overview._viewSelector.actor.x;
this.old_width = Main.overview._viewSelector.actor.get_width();
},
enable: function() {
// global.log("enable hide-dash");
this.observer = Main.overview.connect("showing", Lang.bind(this, this.hide));
},
disable: function() {
// global.log("disable hide-dash");
Main.overview.disconnect(this.observer);
this.show();
},
hide: function() {
// global.log("show dash");
Main.overview._dash.actor.hide();
Main.overview._viewSelector.actor.set_x(0);
Main.overview._viewSelector.actor.set_width(Main.overview._group.get_width());
Main.overview._viewSelector.actor.queue_redraw();
},
show: function() {
// global.log("hide dash");
Main.overview._dash.actor.show();
Main.overview._viewSelector.actor.set_x(this.old_x);
Main.overview._viewSelector.actor.set_width(this.old_width);
Main.overview._viewSelector.actor.queue_redraw();
}
};
{
"_generated": "Generated by SweetTooth, do not edit",
"description": "If you find you dont use the dash or have a smaller screen you can use this extension to hide the dash and allow the windows and application tabs to have a close to full-screen area.",
"name": "Hide Dash",
"shell-version": [
"3.2",
"3.3.2",
"3.4",
"3.3.3",
"3.3.4",
"3.3.1"
],
"url": "https://github.com/zacbarton/gnome-shell-extension-hide-dash",
"uuid": "hide-dash@zacbarton.com",
"version": 6
}
\ No newline at end of file
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
gsettings set org.gnome.desktop.wm.preferences theme Adwaita
gsettings set org.gnome.desktop.interface gtk-theme Adwaita
gsettings set org.gnome.desktop.interface icon-theme Gnome
gsettings set org.gnome.desktop.background picture-uri file:///usr/share/backgrounds/LE5.png
gsettings set org.gnome.shell.overrides button-layout ':minimize,maximize,close'
gsettings set org.gnome.shell enabled-extensions "['hide-dash@zacbarton.com']"
cairo-dock -c &
C3SL - Centro de Computacao Cientifica e Software Livre
Adriano da Luz
Bruno Cesar Ribas
Carlos Carvalho
Cleide Luzia Bonfim Possamai
Eduardo Todt
Erik Alexandre Pucci
Juliana Bueno
Klismann Smoger Mottin
Laura Sanchez Garcia
Luis Carlos Erpen de Bona
Marcos Castilho
Thiago Henrique Dos Santos Picharski
This diff is collapsed.
This image diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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