le-edubar: Desktop Panel to allow access to educational contents

parent 309a1dfe
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-edubar
Priority: important
Section: main
Version:
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
Description: edubar for project Linux Educacional 5.0
Architecture: i386
Depends: cairo-dock
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le5-interface
#
# le-base 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.
echo "***Executando o script postinst
"
sudo mv "/usr/share/cairo-dock/themes.le5" "/usr/share/cairo-dock/themes"
echo "***Concluindo o script postinst
"
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le5-interface
#
# le-base 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.
echo "*Executando o script preinst
"
sudo mv "/usr/share/cairo-dock/themes" "/usr/share/cairo-dock/themes.old"
echo "*Concluindo o script preinst
"
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.
#3.0.0
######## This is the conf file of main docks.##########
######## It is parsed by cairo-dock to automatically generate an appropriate GUI,##########
######## so don't mess into it, except if you know what you're doing ! ;-)##########
#[/usr/share/cairo-dock/icons/icon-behavior.svg]
[Behavior]
#F-[Position on the screen;gtk-fullscreen]
frame1=
#l-[bottom;top;right;left] Choose which border of the screen the dock will be placed on:
screen border=3
#e-[0.;1.] Relative alignment:
#{When set to 0 the dock will position itself relative to the left corner if horizontal and the top corner if vertical. When set to 1 it will position itself relative to the right corner if horizontal and the bottom corner if vertical. When set to 0.5, it will position itself relative to the middle of the screen's edge.}
alignment=0.92200000000000004
#F-[Offset from the screen's edge;gtk-leave-fullscreen]
frame2=
#i-[-1024;1024] Lateral offset:
#{Gap from the absolute position on the screen's edge, in pixels. You can also move the dock by holding the ALT or CTRL key and the left mouse button.}
x gap=0
#i-[-20;2000] Distance to the screen edge:
#{in pixels. You can also move the dock by holding the ALT or CTRL key and the left mouse button.}
y gap=0
#v
sep_other=
#i[0;12] Number of the screen where the dock should be located:
#{starting from 0}
num screen=0
#F-[Visibility of the dock;/usr/share/cairo-dock/icons/icon-visibility.svg]
frame_visi=
#l-[Always on top;Reserve space for the dock;Keep the dock below;Hide the dock when it overlaps the current window;Hide the dock whenever it overlaps any window;Keep the dock hidden] Visibility:
#{Modes are sorted from the most intrusive to the less intrusive.
#When the dock is hidden or below a window, place the mouse on the screen's border to call it back.
#When the dock pops up on shortcut, it will appear at the position of your mouse. The rest of the time, it stays invisible, thus acting like a menu.}
visibility=3
#[/usr/share/cairo-dock/icons/icon-appearance.svg]
[Appearance]
#F[Icons;/usr/share/cairo-dock/icons/icon-icons.svg]
frame_icons=
#l[Same as main dock;Tiny;Very small;Small;Medium;Big;Very Big] Icons size:
icon size=0
#F[Views;/usr/share/cairo-dock/icons/icon-views.svg]
frame_view=
#n+ Choose the view for this dock :/
#{Leave it empty to use the same view as the main dock.}
main dock view=
#F[Background;gtk-orientation-portrait]
frame_bg=
#Y+[Same as main dock;0;0;Image;1;2;Colour gradation;3;2] Fill the background with:
fill bg=2
#S+ Image filename to use as a background :
#{Any format allowed; if empty, the colour gradation will be used as a fall back.}
background image=
#b+ Repeat image as a pattern to fill background?
repeat image=true
#C+ Bright colour:
stripes color bright=1;1;1;0;
#C+ Dark colour:
stripes color dark=1;1;1;0.59996948195620659;
#b+ Stretch the dock to always fill the screen
extended=false
#3.0.0
#[/usr/share/cairo-dock/icons/icon-behavior.svg]
[Behavior]
#F-[Position on the screen;/usr/share/cairo-dock/icons/icon-position.svg]
frame_pos=
#l-[bottom;top;right;left] Choose which border of the screen the dock will be placed on:
screen border=3
#F-[Visibility of the main dock;/usr/share/cairo-dock/icons/icon-visibility.svg]
frame_visi=
#Y-[Always on top;0;0;Reserve space for the dock;0;0;Keep the dock below;0;0;Hide the dock when it overlaps the current window;1;1;Hide the dock whenever it overlaps any window;1;1;Keep the dock hidden;1;1;Pop-up on shortcut;2;1] Visibility:
#{Modes are sorted from the most intrusive to the less intrusive.
#When the dock is hidden or below a window, place the mouse on the screen's border to call it back.
#When the dock pops up on shortcut, it will appear at the position of your mouse. The rest of the time, it stays invisible, thus acting like a menu.}
visibility=3
#L-[None;Move down;Fade out;Semi transparent;Zoom out;Folding] Effect used to hide the dock:
hide effect=Fade out
#k- Keyboard shortcut to pop-up the dock:
#{When you press the shortcut, the dock will show itself at the potition of your mouse. The rest of the time, it stays invisible, thus acting like a menu.}
raise shortcut=
#F-[Visibility of sub-docks;/usr/share/cairo-dock/icons/icon-subdock.png]
frame_sub=
#l-[Appear on mouse over;Appear on click] Visibility:
#{they will appear either when you click or when you linger over the icon pointing on it.}
show_on_click=0
#F-[Taskbar;/usr/share/cairo-dock/icons/icon-taskbar.png]
frame_task=
#Y-[None;0;0;Minimalistic;1;1;Integrated;1;1;Separated;1;1] Behaviour of the Taskbar:
#{None : Don't show opened windows in the dock.
#Minimalistic: Mix applications with its launcher, show other windows only if they are minimized (like in MacOSX).
#Integrated : Mix applications with its launcher, show all others windows and group windows togather in sub-dock (default).
#Separated : Separate the taskbar from the launchers and only show windows that are on the current desktop.}
taskbar=0
#l-[At the beginning of the dock;Before the launchers;After the launchers;At the end of the dock] Place new icons
place icons=0
#F[Icons' animations and effects;/usr/share/cairo-dock/icons/icon-movment.png]
frame_anim=
#_& On mouse hover:
anim_hover=
#_ On click:
anim_click=bounce
#l&[Evaporate;Fade out;Explode;Break;Black Hole;Random] On appearance/disappearance:
anim_disappear=
#[/usr/share/cairo-dock/icons/icon-appearance.svg]
[Appearance]
#F[Icons;/usr/share/cairo-dock/icons/icon-icons.svg]
frame_icons=
#w Choose a theme of icons :
default icon directory=_Custom Icons_
#l[Very small;Small;Medium;Big;Very Big] Icons size:
icon size=4
#F[Views;/usr/share/cairo-dock/icons/icon-views.svg]
frame_view=
#n Choose the default view for main docks :/
main dock view=Default
#v
sev_view=
#n Choose the default view for sub-docks :
#{You can overwrite this parameter for each sub-dock.}/
sub-dock view=Slide
#[gtk-select-font]
[Shortkeys]
#F[Keyboard shortcuts currently available;gtk-select-font]
frame_key=
#_
#{Many applets provide shortkeys for their actions. As soon as an applet is enabled, its shortkeys become available.
#Double-click on a line, and press the shortkey you want to use for the corresponding action.}
shortkeys=
#[/usr/share/cairo-dock/icons/icon-plug-ins.svg]
[Add-ons]
#F[Add or remove any applet;/usr/share/cairo-dock/icons/icon-accessories.svg]
frame_mod=
#_
#{Select a line to get a preview and a description of the applet.
#Click on the left check-box to (de)activate an applet.
#Once an applet is active, you can configure it by right clicking on its icon.}
modules=
#W[More applets] Get more applets online !
#{You can install them by simply drag-and-dropping the link onto your dock.}
third party=http://extras.glx-dock.org/3.0.0
#[/usr/share/cairo-dock/icons/icon-controler.svg]
[Themes]
#_
notebook=
use theme behaviour=true
use theme launchers=true
package=
chosen theme=
[Delete]
deleted themes=
[Save]
package=false
save current launchers=true
save current behaviour=true
theme name=
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="800"
height="120"
id="svg3776"
version="1.1"
inkscape:version="0.47 r22583"
sodipodi:docname="bg.svg">
<defs
id="defs3778">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective3784" />
<inkscape:perspective
id="perspective3771"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.98994949"
inkscape:cx="102.063"
inkscape:cy="-14.87004"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1215"
inkscape:window-height="970"
inkscape:window-x="65"
inkscape:window-y="25"
inkscape:window-maximized="1" />
<metadata
id="metadata3781">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-932.36218)">
<rect
style="fill:#262626;stroke:none;fill-opacity:1;opacity:1"
id="rect3837"
width="801.08618"
height="121.21831"
x="0"
y="932.15405" />
<path
style="fill:#000000;fill-opacity:1;stroke:none"
d="m 185.22702,955.16035 c -53.85908,0.0108 -56.53315,-2.85345 -125.718433,8.61984 -25.40949,4.21377 -59.53391653,21.22977 -59.53391653,21.22977 0,0 0.36446262,-52.26629 0.36446262,-52.26629 l 800.62423691,-0.1753 0.80189,69.20133 c -209.92993,2.1491 -408.74928,-50.58789 -616.53824,-46.60935 z"
id="path3743"
sodipodi:nodetypes="csccccc" />
</g>
</svg>
#3.0.0
#[gtk-about]
[Desktop Entry]
#F[Icon]
frame_maininfo=
#d+ Name of the container it belongs to:
Container=_MainDock_-2
#s Sub-dock's name :
Name=Ferramentas de Produtividade
#v
sep_display=
#Y+[Use an image;1;1;Draw sub-dock's content as emblems;0;0;Draw sub-dock's content as stack;0;0;Draw sub-dock's content inside a box;0;0] How to render the icon :
render=0
#S+ Image's name or path :
Icon=/usr/share/cairo-dock/themes/Default-Single/icons/LE5-Edubar-Libre.png
#X[Extra parameters]
frame_extra=
#n Name of the view used for the sub-dock :/
Renderer=Default
#i-[0;16] Only show in this specific viewport
#{If '0' the container will be displayed on every viewport.}
ShowOnViewport=0
#f[0;100] Order you want for this launcher among the others:
Order=3.5625
Icon Type=1
Type=Container
Origin=
#3.0.0
#[gtk-about]
[Desktop Entry]
#F[Icon]
frame_maininfo=
#d+ Name of the container it belongs to:
Container=_MainDock_-2
#v
sep_display=
#s[Default] Launcher's name :
Name=Navegador Web
#S+[Default] Image's name or path :
Icon=/usr/share/cairo-dock/themes/Default-Single/icons/LE5-Edubar-Firefox.png
#s[Default] Command to launch on click :
#{Exemple : nautilus --no-desktop, gedit, etc. You can even enter a keyboard shortcut, for exemple <Alt>F1, <Ctrl>c, <Ctrl>v, etc}
Exec=firefox
#X[Extra parameters]
frame_extra=
#b Prevent this launcher from stealing this application from taskbar ?
#{If you choosed to mix launcher and applis, this option will deactivate this behaviour for this launcher only. It can be useful for instance for a launcher that launches a script in a terminal, but you don't want it to steal the Terminal's icon from the Taskbar.}
prevent inhibate=false
#K[Default] Class of the program :
#{The only reason you may want to modify this parameter is if you made this launcher by hands. If you dropped it into the dock from the menu, it is nearly sure that you shouldn't touch it. It defines the class of the program, which is useful to link the appli with its launcher.}
StartupWMClass=
#b Run in a terminal ?
Terminal=false
#i-[0;16] Only show in this specific viewport
#{If '0' the launcher will be displayed on every viewport.}
ShowOnViewport=0
#f[0;100] Order you want for this launcher among the others:
Order=3
Icon Type=0
Type=Application
Origin=/usr/share/applications/firefox.desktop
#3.0.0
#[gtk-about]
[Desktop Entry]
#F[Icon]
frame_maininfo=
#d+ Name of the container it belongs to:
Container=Ferramentas de Produtividade
#v
sep_display=
#s[Default] Launcher's name :
Name=Editor de planilhas
#S+[Default] Image's name or path :
Icon=
#s[Default] Command to launch on click :
#{Exemple : nautilus --no-desktop, gedit, etc. You can even enter a keyboard shortcut, for exemple <Alt>F1, <Ctrl>c, <Ctrl>v, etc}
Exec=
#X[Extra parameters]
frame_extra=
#b Prevent this launcher from stealing this application from taskbar ?
#{If you choosed to mix launcher and applis, this option will deactivate this behaviour for this launcher only. It can be useful for instance for a launcher that launches a script in a terminal, but you don't want it to steal the Terminal's icon from the Taskbar.}
prevent inhibate=false
#K[Default] Class of the program :
#{The only reason you may want to modify this parameter is if you made this launcher by hands. If you dropped it into the dock from the menu, it is nearly sure that you shouldn't touch it. It defines the class of the program, which is useful to link the appli with its launcher.}
StartupWMClass=
#b Run in a terminal ?
Terminal=false
#i-[0;16] Only show in this specific viewport
#{If '0' the launcher will be displayed on every viewport.}
ShowOnViewport=0
#f[0;100] Order you want for this launcher among the others:
Order=3
Icon Type=0
Type=Application
Origin=/usr/share/applications/libreoffice-calc.desktop
#3.0.0
#[gtk-about]
[Desktop Entry]
#F[Icon]
frame_maininfo=
#d+ Name of the container it belongs to:
Container=Ferramentas de Produtividade
#v
sep_display=
#s[Default] Launcher's name :
Name=Ferramenta de desenho
#S+[Default] Image's name or path :
Icon=
#s[Default] Command to launch on click :
#{Exemple : nautilus --no-desktop, gedit, etc. You can even enter a keyboard shortcut, for exemple <Alt>F1, <Ctrl>c, <Ctrl>v, etc}
Exec=