First commit

This commit is contained in:
Yorick Barbanneau 2018-04-27 16:13:59 +02:00
commit c9b7172d6a
50 changed files with 1214 additions and 0 deletions

7
README.md Normal file
View file

@ -0,0 +1,7 @@
Debian Install script
---------------------
Script d'intallation automatique pour Debian stable. Passe à la version unstable, installe XFCE et personnalise les configurations
* Mise en place de la liste des utilisateurs dans lightDM
* Modifications des icones pour iceweasel et icedove (à faire)

8
conf/init.sh Normal file
View file

@ -0,0 +1,8 @@
GRUB_DEFAULT_CONF_FILE="/etc/default/grub"
INITRAMFS_CONF_FILE="/etc/initramfs-tools/modules"
#Fusion inventory variables
FI_SERVER=""
FI_PROXY_USER=""
FI_PROXY_PASS=""
FI_CONF_FILE="/etc/fusioninventory/agent.cfg"

1
files/apt/10.sid.list Normal file
View file

@ -0,0 +1 @@
deb http://ftp.debian.org/debian sid main

3
files/apt/20-stable Normal file
View file

@ -0,0 +1,3 @@
Package: *
Pin:release n=sid
Pin-Priority:-10

View file

@ -0,0 +1,2 @@
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

View file

@ -0,0 +1,10 @@
// ACAQB unattended upgrades configuration file
Unattended-Upgrade::Origin-Pattern {
"o=Debian,n=stretch";
"o=Debian,n=stretch-updates";
"o=Debian,n=stretch,l=Debian-Security";
"o=Debian,n=sid";
};
Unattended-Upgrade::Remove-Unused-Dependencies "true";
Unattended-Upgrade::MinimalSteps "true";
Acquire::http::Dl-Limit "50";

View file

@ -0,0 +1,3 @@
Package: fusioninventory-agent
Pin: release n=sid
Pin-Priority: 991

View file

@ -0,0 +1,3 @@
Package: papirus-icon-theme
Pin: release n=sid
Pin-Priority: 991

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

View file

@ -0,0 +1,68 @@
<background>
<starttime>
<hour>00</hour>
<minute>00</minute>
<second>01</second>
</starttime>
<static>
<duration>600.0</duration>
<file>/usr/share/backgrounds/acaqb/dynamic/green_1.png</file>
</static>
<transition type="overlay">
<duration>5.0</duration>
<from>/usr/share/backgrounds/acaqb/dynamic/green_1.png</from>
<to>/usr/share/backgrounds/acaqb/dynamic/red_1.png</to>
</transition>
<static>
<duration>600.0</duration>
<file>/usr/share/backgrounds/acaqb/dynamic/red_1.png</file>
</static>
<transition type="overlay">
<duration>5.0</duration>
<from>/usr/share/backgrounds/acaqb/dynamic/red_1.png</from>
<to>/usr/share/backgrounds/acaqb/dynamic/blue_1.png</to>
</transition>
<static>
<duration>600.0</duration>
<file>/usr/share/backgrounds/acaqb/dynamic/blue_1.png</file>
</static>
<transition type="overlay">
<duration>5.0</duration>
<from>/usr/share/backgrounds/acaqb/dynamic/blue_1.png</from>
<to>/usr/share/backgrounds/acaqb/dynamic/green_2.png</to>
</transition>
<static>
<duration>600.0</duration>
<file>/usr/share/backgrounds/acaqb/dynamic/green_2.png</file>
</static>
<transition type="overlay">
<duration>5.0</duration>
<from>/usr/share/backgrounds/acaqb/dynamic/green_2.png</from>
<to>/usr/share/backgrounds/acaqb/dynamic/blue_2.png</to>
</transition>
<static>
<duration>600.0</duration>
<file>/usr/share/backgrounds/acaqb/dynamic/blue_2.png</file>
</static>
<transition type="overlay">
<duration>5.0</duration>
<from>/usr/share/backgrounds/acaqb/dynamic/blue_2.png</from>
<to>/usr/share/backgrounds/acaqb/dynamic/red_2.png</to>
</transition>
<static>
<duration>600.0</duration>
<file>/usr/share/backgrounds/acaqb/dynamic/red_2.png</file>
</static>
<transition type="overlay">
<duration>5.0</duration>
<from>/usr/share/backgrounds/acaqb/dynamic/red_2.png</from>
<to>/usr/share/backgrounds/acaqb/dynamic/green_1.png</to>
</transition>
</background>

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 MiB

View file

@ -0,0 +1,5 @@
#ACAQB gtk-greeter configuration file
[greeter]
background=/usr/share/backgrounds/acaqb/acaqb_blue_c.jpg
theme-name=Arc-Dark
icon-theme-name=Papirus

4
files/lightdm.conf Normal file
View file

@ -0,0 +1,4 @@
[LightDM]
[Seat:*]
greeter-hide-users=false
greeter-show-manual-login=false

58
files/packages.list Normal file
View file

@ -0,0 +1,58 @@
# Package list to Install
#System
pulseaudio
unzip
unattended-upgrades
# Desktop
xorg
lightdm
xfce4
xfce4-goodies
xfce4-whiskermenu-plugin
gigolo
gvfs
gvfs-backends
network-manager-gnome
xfce4-power-manager
xfce4-notifyd
xfce4-mount-plugin
xfce4-systemload-plugin
thunar-archive-plugin
gnome-system-tools
gnome-disk-utility
plank
#Printing
cups
system-config-printer
#Look and Feel
desktop-base
murrine-themes
arc-theme
papirus-icon-theme
gtk2-engines-pixbuf
plymouth
plymouth-themes
#Applications
xfce4-screenshooter
ristretto
pavucontrol
xfce4-taskmanager
xfce4-terminal
mousepad
libreoffice
libreoffice-gtk3
libreoffice-l10n-fr
firefox-esr
firefox-esr-l10n-fr
evince
thunderbird
thunderbird-l10n-fr
vlc
vlc-l10n
#FI Agent
fusioninventory-agent

View file

@ -0,0 +1,12 @@
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Plank
Comment=Dock de Bureau
Exec=/usr/bin/plank
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false

View file

@ -0,0 +1,6 @@
#This file auto-generated by Plank.
#2018-03-22T13:50:36+0000
[PlankDockItemPreferences]
#The uri for this item.
Launcher=file:///usr/share/applications/exo-file-manager.desktop

View file

@ -0,0 +1,2 @@
[PlankDockItemPreferences]
Launcher=file:///usr/share/applications/firefox-esr.desktop

View file

@ -0,0 +1,6 @@
#This file auto-generated by Plank.
#2018-03-22T13:50:35+0000
[PlankDockItemPreferences]
#The uri for this item.
Launcher=file:///usr/share/applications/libreoffice-startcenter.desktop

View file

@ -0,0 +1,2 @@
[PlankDockItemPreferences]
Launcher=file:///usr/share/applications/thunderbird.desktop

View file

@ -0,0 +1,2 @@
[PlankDockItemPreferences]
Launcher=file:///usr/share/applications/vlc.desktop

View file

@ -0,0 +1,6 @@
#This file auto-generated by Plank.
#2018-03-22T13:50:36+0000
[PlankDockItemPreferences]
#The uri for this item.
Launcher=file:///usr/share/applications/xfce-settings-manager.desktop

View file

@ -0,0 +1,42 @@
#This file auto-generated by Plank.
#2015-12-02T16:04:36+0000
[PlankDockPreferences]
#Whether to show only windows of the current workspace.
CurrentWorkspaceOnly=false
#The size of dock icons (in pixels).
IconSize=46
#If 0, the dock won't hide. If 1, the dock intelligently hides. If 2, the dock auto-hides. If 3, the dock dodges active maximized windows. If 4, the dock dodges every window.
HideMode=3
#Time (in ms) to wait before unhiding the dock.
UnhideDelay=0
#Time (in ms) to wait before hiding the dock.
HideDelay=0
#The plug-name of the monitor for the dock to show on (e.g. DVI-I-1, HDMI1, LVDS1). Leave this empty to keep on the primary monitor.
Monitor=
#List of *.dockitem files on this dock. DO NOT MODIFY
DockItems=xfce-settings-manager.dockitem;;exo-file-manager.dockitem;;iceweasel.dockitem;;libreoffice-startcenter.dockitem
#The position for the dock on the monitor. If 0, left. If 1, right. If 2, top. If 3, bottom.
Position=3
#The dock's position offset from center (in percent).
Offset=0
#The name of the dock's theme to use.
Theme=Matte
#The alignment for the dock on the monitor's edge. If 0, panel-mode. If 1, left-aligned. If 2, right-aligned. If 3, centered.
Alignment=3
#The alignment of the items in this dock if panel-mode is used. If 1, left-aligned. If 2, right-aligned. If 3, centered.
ItemsAlignment=3
#Whether to prevent drag'n'drop actions and lock items on the dock.
LockItems=false
#Whether to use pressure-based revealing of the dock if the support is available.
PressureReveal=true
#Whether to show only pinned applications. Useful for running more then one dock.
PinnedOnly=false
#Whether to automatically pin an application if it seems useful to do.
AutoPinning=true
#Whether to show the item for the dock itself.
ShowDockItem=true
#Whether the dock will zoom when hovered.
ZoomEnabled=true
#The dock's icon-zoom (in percent).
ZoomPercent=150

View file

@ -0,0 +1,63 @@
[xfdesktop-version-4.10.3+-rcfile_format]
4.10.3+=true
[/home/animateurs/Bureau/fiche bénécoles .odt.saved]
row=1
col=1
[/home/animateurs/Bureau/projet-péda-manue.odt]
row=5
col=0
[/home/animateurs/Bureau/coloriage]
row=4
col=1
[/home/animateurs/Bureau/TAP Marion]
row=3
col=0
[/home/animateurs/Bureau/fiche couture.odt]
row=6
col=0
[/home/animateurs/Bureau/fiche présence couture.odt]
row=7
col=0
[/home/animateurs/Bureau/coloriages 3-5 ans]
row=0
col=1
[/home/animateurs/Bureau/skel]
row=3
col=1
[/home/animateurs/Bureau/ALEXIA]
row=4
col=0
[/home/animateurs/Bureau/Projet Eventito.odt]
row=5
col=1
[/home/animateurs/Bureau/LEA]
row=2
col=1
[/home/animateurs/Bureau/fiche couture 2.odt]
row=8
col=0
[Corbeille]
row=0
col=0
[/]
row=1
col=0
[/home/animateurs]
row=2
col=0

View file

@ -0,0 +1,63 @@
[xfdesktop-version-4.10.3+-rcfile_format]
4.10.3+=true
[/home/animateurs/Bureau/fiche bénécoles .odt.saved]
row=1
col=1
[/home/animateurs/Bureau/projet-péda-manue.odt]
row=5
col=0
[/home/animateurs/Bureau/coloriage]
row=4
col=1
[/home/animateurs/Bureau/TAP Marion]
row=3
col=0
[/home/animateurs/Bureau/fiche couture.odt]
row=6
col=0
[/home/animateurs/Bureau/fiche présence couture.odt]
row=7
col=0
[/home/animateurs/Bureau/coloriages 3-5 ans]
row=0
col=1
[/home/animateurs/Bureau/skel]
row=3
col=1
[/home/animateurs/Bureau/ALEXIA]
row=4
col=0
[/home/animateurs/Bureau/Projet Eventito.odt]
row=5
col=1
[/home/animateurs/Bureau/LEA]
row=2
col=1
[/home/animateurs/Bureau/fiche couture 2.odt]
row=6
col=1
[Corbeille]
row=0
col=0
[/]
row=1
col=0
[/home/animateurs]
row=2
col=0

View file

@ -0,0 +1,63 @@
[xfdesktop-version-4.10.3+-rcfile_format]
4.10.3+=true
[/home/animateurs/Bureau/fiche bénécoles .odt.saved]
row=1
col=1
[/home/animateurs/Bureau/projet-péda-manue.odt]
row=5
col=0
[/home/animateurs/Bureau/coloriage]
row=4
col=1
[/home/animateurs/Bureau/TAP Marion]
row=3
col=0
[/home/animateurs/Bureau/fiche couture.odt]
row=6
col=0
[/home/animateurs/Bureau/fiche présence couture.odt]
row=7
col=0
[/home/animateurs/Bureau/coloriages 3-5 ans]
row=0
col=1
[/home/animateurs/Bureau/skel]
row=3
col=1
[/home/animateurs/Bureau/ALEXIA]
row=4
col=0
[/home/animateurs/Bureau/Projet Eventito.odt]
row=5
col=1
[/home/animateurs/Bureau/LEA]
row=2
col=1
[/home/animateurs/Bureau/fiche couture 2.odt]
row=6
col=1
[Corbeille]
row=0
col=0
[/]
row=1
col=0
[/home/animateurs]
row=2
col=0

View file

@ -0,0 +1,20 @@
display_label=false
display_icon=true
display_power=false
display_percentage=true
display_bar=false
display_time=false
tooltip_display_percentage=false
tooltip_display_time=false
low_percentage=10
critical_percentage=5
action_on_low=1
action_on_critical=1
hide_when_full=1033
colorA=rgb(136,136,255)
colorH=rgb(0,255,0)
colorL=rgb(255,255,0)
colorC=rgb(255,0,0)
command_on_low=
command_on_critical=

View file

@ -0,0 +1,60 @@
favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-mail-reader.desktop,exo-web-browser.desktop
recent=exo-terminal-emulator.desktop
button-title=Applications
button-icon=xfce4-whiskermenu
button-single-row=false
show-button-title=false
show-button-icon=true
launcher-show-name=true
launcher-show-description=true
item-icon-size=2
hover-switch-category=false
category-icon-size=1
load-hierarchy=false
recent-items-max=10
favorites-in-recent=true
display-recent-default=false
position-search-alternate=false
position-commands-alternate=false
position-categories-alternate=false
menu-width=400
menu-height=500
menu-opacity=100
command-settings=xfce4-settings-manager
show-command-settings=true
command-lockscreen=xflock4
show-command-lockscreen=true
command-switchuser=gdmflexiserver
show-command-switchuser=true
command-logout=xfce4-session-logout
show-command-logout=true
command-menueditor=menulibre
show-command-menueditor=true
command-profile=mugshot
show-command-profile=true
search-actions=4
[action0]
name=Pages de manuel
pattern=#
command=exo-open --launch TerminalEmulator man %s
regex=false
[action1]
name=Wikipédia
pattern=!w
command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u
regex=false
[action2]
name=Exécuter dans un terminal
pattern=!
command=exo-open --launch TerminalEmulator %s
regex=false
[action3]
name=Ouvrir lemplacement
pattern=^(file|http|https):\\/\\/(.*)$
command=exo-open \\0
regex=true

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="thunar" version="1.0">
<property name="last-view" type="string" value="ThunarIconView"/>
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_NORMAL"/>
<property name="last-window-width" type="int" value="868"/>
<property name="last-window-height" type="int" value="659"/>
<property name="last-window-maximized" type="bool" value="false"/>
<property name="last-show-hidden" type="bool" value="false"/>
</channel>

View file

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-desktop" version="1.0">
<property name="backdrop" type="empty">
<property name="screen0" type="empty">
<property name="monitor0" type="empty">
<property name="brightness" type="empty"/>
<property name="color1" type="empty"/>
<property name="color2" type="empty"/>
<property name="color-style" type="empty"/>
<property name="image-path" type="empty"/>
<property name="image-show" type="empty"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/acaqb/dynamic/blue_1.png"/>
<property name="last-single-image" type="empty"/>
<property name="image-style" type="int" value="3"/>
<property name="backdrop-cycle-enabled" type="bool" value="true"/>
<property name="backdrop-cycle-timer" type="uint" value="8"/>
<property name="backdrop-cycle-enable" type="bool" value="true"/>
<property name="monitor1" type="empty">
<property name="brightness" type="empty"/>
<property name="color1" type="empty"/>
<property name="color2" type="empty"/>
<property name="color-style" type="empty"/>
<property name="image-path" type="empty"/>
<property name="image-show" type="empty"/>
<property name="last-image" type="empty"/>
<property name="last-single-image" type="empty"/>
</property>
<property name="workspace0" type="empty">
<property name="color-style" type="int" value="1"/>
<property name="color1" type="array">
<value type="uint" value="7936"/>
<value type="uint" value="16128"/>
<value type="uint" value="28416"/>
<value type="uint" value="65535"/>
</property>
<property name="color2" type="array">
<value type="uint" value="26880"/>
<value type="uint" value="34048"/>
<value type="uint" value="46848"/>
<value type="uint" value="65535"/>
</property>
<property name="image-style" type="int" value="3"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/acaqb/dynamic/blue_1.png"/>
<property name="backdrop-cycle-enable" type="bool" value="true"/>
<property name="backdrop-cycle-timer" type="uint" value="8"/>
</property>
</property>
<property name="monitor1" type="empty">
<property name="brightness" type="empty"/>
<property name="color1" type="empty"/>
<property name="color2" type="empty"/>
<property name="color-style" type="empty"/>
<property name="image-path" type="empty"/>
<property name="image-show" type="empty"/>
<property name="last-image" type="empty"/>
<property name="last-single-image" type="empty"/>
</property>
</property>
<property name="last" type="empty">
<property name="window-width" type="int" value="785"/>
<property name="window-height" type="int" value="495"/>
</property>
</property>
<property name="last" type="empty">
<property name="window-width" type="int" value="785"/>
<property name="window-height" type="int" value="495"/>
</property>
</channel>

View file

@ -0,0 +1,155 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-keyboard-shortcuts" version="1.0">
<property name="commands" type="empty">
<property name="default" type="empty">
<property name="&lt;Alt&gt;F1" type="empty"/>
<property name="&lt;Alt&gt;F2" type="empty">
<property name="startup-notify" type="empty"/>
</property>
<property name="&lt;Alt&gt;F3" type="empty">
<property name="startup-notify" type="empty"/>
</property>
<property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;l" type="empty"/>
<property name="XF86Display" type="empty"/>
<property name="&lt;Super&gt;p" type="empty"/>
<property name="&lt;Primary&gt;Escape" type="empty"/>
<property name="XF86WWW" type="empty"/>
<property name="XF86Mail" type="empty"/>
</property>
<property name="custom" type="empty">
<property name="&lt;Alt&gt;F3" type="string" value="xfce4-appfinder">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="&lt;Alt&gt;F1" type="string" value="xfce4-popup-applicationsmenu"/>
<property name="&lt;Alt&gt;F2" type="string" value="xfce4-appfinder --collapsed">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="string" value="xflock4"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;l" type="string" value="xflock4"/>
<property name="XF86Mail" type="string" value="exo-open --launch MailReader"/>
<property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/>
<property name="XF86WWW" type="string" value="exo-open --launch WebBrowser"/>
<property name="&lt;Super&gt;p" type="string" value="xfce4-display-settings --minimal"/>
<property name="&lt;Primary&gt;Escape" type="string" value="xfdesktop --menu"/>
<property name="override" type="bool" value="true"/>
<property name="Super_L" type="string" value="xfce4-popup-whiskermenu"/>
</property>
</property>
<property name="xfwm4" type="empty">
<property name="default" type="empty">
<property name="&lt;Alt&gt;Insert" type="empty"/>
<property name="Escape" type="empty"/>
<property name="Left" type="empty"/>
<property name="Right" type="empty"/>
<property name="Up" type="empty"/>
<property name="Down" type="empty"/>
<property name="&lt;Alt&gt;Tab" type="empty"/>
<property name="&lt;Alt&gt;&lt;Shift&gt;Tab" type="empty"/>
<property name="&lt;Alt&gt;Delete" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Down" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Left" type="empty"/>
<property name="&lt;Shift&gt;&lt;Alt&gt;Page_Down" type="empty"/>
<property name="&lt;Alt&gt;F4" type="empty"/>
<property name="&lt;Alt&gt;F6" type="empty"/>
<property name="&lt;Alt&gt;F7" type="empty"/>
<property name="&lt;Alt&gt;F8" type="empty"/>
<property name="&lt;Alt&gt;F9" type="empty"/>
<property name="&lt;Alt&gt;F10" type="empty"/>
<property name="&lt;Alt&gt;F11" type="empty"/>
<property name="&lt;Alt&gt;F12" type="empty"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Left" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;End" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Home" type="empty"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Right" type="empty"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Up" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_1" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_2" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_3" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_4" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_5" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_6" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_7" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_8" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_9" type="empty"/>
<property name="&lt;Alt&gt;space" type="empty"/>
<property name="&lt;Shift&gt;&lt;Alt&gt;Page_Up" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Right" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;d" type="empty"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Up" type="empty"/>
<property name="&lt;Super&gt;Tab" type="empty"/>
<property name="&lt;Primary&gt;F1" type="empty"/>
<property name="&lt;Primary&gt;F2" type="empty"/>
<property name="&lt;Primary&gt;F3" type="empty"/>
<property name="&lt;Primary&gt;F4" type="empty"/>
<property name="&lt;Primary&gt;F5" type="empty"/>
<property name="&lt;Primary&gt;F6" type="empty"/>
<property name="&lt;Primary&gt;F7" type="empty"/>
<property name="&lt;Primary&gt;F8" type="empty"/>
<property name="&lt;Primary&gt;F9" type="empty"/>
<property name="&lt;Primary&gt;F10" type="empty"/>
<property name="&lt;Primary&gt;F11" type="empty"/>
<property name="&lt;Primary&gt;F12" type="empty"/>
</property>
<property name="custom" type="empty">
<property name="Up" type="string" value="up_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_9" type="string" value="move_window_workspace_9_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_8" type="string" value="move_window_workspace_8_key"/>
<property name="Left" type="string" value="left_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_6" type="string" value="move_window_workspace_6_key"/>
<property name="&lt;Alt&gt;Insert" type="string" value="add_workspace_key"/>
<property name="&lt;Alt&gt;Tab" type="string" value="cycle_windows_key"/>
<property name="&lt;Alt&gt;&lt;Shift&gt;Tab" type="string" value="cycle_reverse_windows_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_7" type="string" value="move_window_workspace_7_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Right" type="string" value="right_workspace_key"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Right" type="string" value="move_window_right_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;d" type="string" value="show_desktop_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Up" type="string" value="up_workspace_key"/>
<property name="&lt;Primary&gt;F7" type="string" value="workspace_7_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Home" type="string" value="move_window_prev_workspace_key"/>
<property name="&lt;Alt&gt;F4" type="string" value="close_window_key"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Left" type="string" value="move_window_left_key"/>
<property name="&lt;Alt&gt;F6" type="string" value="stick_window_key"/>
<property name="&lt;Alt&gt;F10" type="string" value="maximize_window_key"/>
<property name="&lt;Alt&gt;F12" type="string" value="above_key"/>
<property name="&lt;Alt&gt;F9" type="string" value="hide_window_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Down" type="string" value="down_workspace_key"/>
<property name="&lt;Alt&gt;F8" type="string" value="resize_window_key"/>
<property name="&lt;Super&gt;Tab" type="string" value="switch_window_key"/>
<property name="Escape" type="string" value="cancel_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;End" type="string" value="move_window_next_workspace_key"/>
<property name="&lt;Primary&gt;F10" type="string" value="workspace_10_key"/>
<property name="&lt;Primary&gt;F11" type="string" value="workspace_11_key"/>
<property name="&lt;Alt&gt;F11" type="string" value="fullscreen_key"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Up" type="string" value="move_window_up_key"/>
<property name="Right" type="string" value="right_key"/>
<property name="Down" type="string" value="down_key"/>
<property name="&lt;Alt&gt;F7" type="string" value="move_window_key"/>
<property name="&lt;Shift&gt;&lt;Alt&gt;Page_Down" type="string" value="lower_window_key"/>
<property name="&lt;Primary&gt;F12" type="string" value="workspace_12_key"/>
<property name="&lt;Primary&gt;F1" type="string" value="workspace_1_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Left" type="string" value="left_workspace_key"/>
<property name="&lt;Primary&gt;F2" type="string" value="workspace_2_key"/>
<property name="&lt;Primary&gt;F4" type="string" value="workspace_4_key"/>
<property name="&lt;Primary&gt;F5" type="string" value="workspace_5_key"/>
<property name="&lt;Primary&gt;F6" type="string" value="workspace_6_key"/>
<property name="&lt;Alt&gt;space" type="string" value="popup_menu_key"/>
<property name="&lt;Primary&gt;F8" type="string" value="workspace_8_key"/>
<property name="&lt;Primary&gt;F9" type="string" value="workspace_9_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_1" type="string" value="move_window_workspace_1_key"/>
<property name="&lt;Alt&gt;Delete" type="string" value="del_workspace_key"/>
<property name="&lt;Shift&gt;&lt;Alt&gt;Page_Up" type="string" value="raise_window_key"/>
<property name="&lt;Primary&gt;F3" type="string" value="workspace_3_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_2" type="string" value="move_window_workspace_2_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_3" type="string" value="move_window_workspace_3_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_4" type="string" value="move_window_workspace_4_key"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;KP_5" type="string" value="move_window_workspace_5_key"/>
<property name="override" type="bool" value="true"/>
</property>
</property>
<property name="providers" type="array">
<value type="string" value="xfwm4"/>
<value type="string" value="commands"/>
</property>
</channel>

View file

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-panel" version="1.0">
<property name="configver" type="int" value="2"/>
<property name="panels" type="array">
<value type="int" value="1"/>
<property name="panel-1" type="empty">
<property name="position" type="string" value="p=6;x=0;y=0"/>
<property name="length" type="uint" value="100"/>
<property name="position-locked" type="bool" value="true"/>
<property name="size" type="uint" value="30"/>
<property name="plugin-ids" type="array">
<value type="int" value="7"/>
<value type="int" value="3"/>
<value type="int" value="15"/>
<value type="int" value="1"/>
<value type="int" value="8"/>
<value type="int" value="9"/>
<value type="int" value="5"/>
<value type="int" value="6"/>
<value type="int" value="2"/>
</property>
</property>
</property>
<property name="plugins" type="empty">
<property name="plugin-2" type="string" value="actions"/>
<property name="plugin-3" type="string" value="tasklist"/>
<property name="plugin-15" type="string" value="separator">
<property name="expand" type="bool" value="true"/>
<property name="style" type="uint" value="0"/>
</property>
<property name="plugin-5" type="string" value="clock"/>
<property name="plugin-6" type="string" value="systray">
<property name="names-visible" type="array">
<value type="string" value="applet networkmanager"/>
<value type="string" value="xfce4-power-manager"/>
</property>
</property>
<property name="plugin-7" type="string" value="whiskermenu"/>
<property name="plugin-1" type="string" value="notification-plugin"/>
<property name="plugin-8" type="string" value="pulseaudio">
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
</property>
<property name="plugin-9" type="string" value="battery"/>
</property>
</channel>

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-power-manager" version="1.0">
<property name="xfce4-power-manager" type="empty">
<property name="power-button-action" type="empty"/>
<property name="brightness-switch-restore-on-exit" type="int" value="1"/>
<property name="brightness-switch" type="int" value="0"/>
<property name="presentation-mode" type="bool" value="true"/>
<property name="lid-action-on-battery" type="uint" value="1"/>
<property name="dpms-on-battery-off" type="uint" value="30"/>
<property name="dpms-on-ac-off" type="uint" value="60"/>
</property>
</channel>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-session" version="1.0">
<property name="splash" type="empty">
<property name="Engine" type="empty"/>
<property name="engines" type="empty">
<property name="simple" type="empty">
<property name="Font" type="empty"/>
<property name="BgColor" type="empty"/>
<property name="FgColor" type="empty"/>
<property name="Image" type="empty"/>
</property>
</property>
</property>
<property name="general" type="empty">
<property name="FailsafeSessionName" type="empty"/>
<property name="SessionName" type="string" value="Default"/>
<property name="SaveOnExit" type="bool" value="true"/>
</property>
<property name="sessions" type="empty">
<property name="Failsafe" type="empty">
<property name="IsFailsafe" type="empty"/>
<property name="Count" type="empty"/>
<property name="Client0_Command" type="empty"/>
<property name="Client0_PerScreen" type="empty"/>
<property name="Client1_Command" type="empty"/>
<property name="Client1_PerScreen" type="empty"/>
<property name="Client2_Command" type="empty"/>
<property name="Client2_PerScreen" type="empty"/>
<property name="Client3_Command" type="empty"/>
<property name="Client3_PerScreen" type="empty"/>
<property name="Client4_Command" type="empty"/>
<property name="Client4_PerScreen" type="empty"/>
</property>
</property>
</channel>

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-settings-manager" version="1.0">
<property name="last" type="empty">
<property name="window-width" type="int" value="640"/>
<property name="window-height" type="int" value="500"/>
</property>
</channel>

View file

@ -0,0 +1,87 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfwm4" version="1.0">
<property name="general" type="empty">
<property name="activate_action" type="string" value="bring"/>
<property name="borderless_maximize" type="bool" value="true"/>
<property name="box_move" type="bool" value="false"/>
<property name="box_resize" type="bool" value="false"/>
<property name="button_layout" type="string" value="O|HMC"/>
<property name="button_offset" type="int" value="0"/>
<property name="button_spacing" type="int" value="0"/>
<property name="click_to_focus" type="bool" value="true"/>
<property name="cycle_apps_only" type="bool" value="false"/>
<property name="cycle_draw_frame" type="bool" value="true"/>
<property name="cycle_hidden" type="bool" value="true"/>
<property name="cycle_minimum" type="bool" value="true"/>
<property name="cycle_preview" type="bool" value="true"/>
<property name="cycle_tabwin_mode" type="int" value="0"/>
<property name="cycle_workspaces" type="bool" value="false"/>
<property name="double_click_action" type="string" value="maximize"/>
<property name="double_click_distance" type="int" value="5"/>
<property name="double_click_time" type="int" value="250"/>
<property name="easy_click" type="string" value="Alt"/>
<property name="focus_delay" type="int" value="250"/>
<property name="focus_hint" type="bool" value="true"/>
<property name="focus_new" type="bool" value="true"/>
<property name="frame_opacity" type="int" value="100"/>
<property name="full_width_title" type="bool" value="true"/>
<property name="horiz_scroll_opacity" type="bool" value="false"/>
<property name="inactive_opacity" type="int" value="100"/>
<property name="maximized_offset" type="int" value="0"/>
<property name="mousewheel_rollup" type="bool" value="true"/>
<property name="move_opacity" type="int" value="100"/>
<property name="placement_mode" type="string" value="center"/>
<property name="placement_ratio" type="int" value="20"/>
<property name="popup_opacity" type="int" value="100"/>
<property name="prevent_focus_stealing" type="bool" value="false"/>
<property name="raise_delay" type="int" value="250"/>
<property name="raise_on_click" type="bool" value="true"/>
<property name="raise_on_focus" type="bool" value="false"/>
<property name="raise_with_any_button" type="bool" value="true"/>
<property name="repeat_urgent_blink" type="bool" value="false"/>
<property name="resize_opacity" type="int" value="100"/>
<property name="scroll_workspaces" type="bool" value="true"/>
<property name="shadow_delta_height" type="int" value="0"/>
<property name="shadow_delta_width" type="int" value="0"/>
<property name="shadow_delta_x" type="int" value="0"/>
<property name="shadow_delta_y" type="int" value="-3"/>
<property name="shadow_opacity" type="int" value="50"/>
<property name="show_app_icon" type="bool" value="false"/>
<property name="show_dock_shadow" type="bool" value="false"/>
<property name="show_frame_shadow" type="bool" value="true"/>
<property name="show_popup_shadow" type="bool" value="false"/>
<property name="snap_resist" type="bool" value="false"/>
<property name="snap_to_border" type="bool" value="true"/>
<property name="snap_to_windows" type="bool" value="false"/>
<property name="snap_width" type="int" value="10"/>
<property name="sync_to_vblank" type="bool" value="true"/>
<property name="theme" type="string" value="Arc"/>
<property name="tile_on_move" type="bool" value="true"/>
<property name="title_alignment" type="string" value="center"/>
<property name="title_font" type="string" value="Sans Bold 9"/>
<property name="title_horizontal_offset" type="int" value="0"/>
<property name="titleless_maximize" type="bool" value="false"/>
<property name="title_shadow_active" type="string" value="false"/>
<property name="title_shadow_inactive" type="string" value="false"/>
<property name="title_vertical_offset_active" type="int" value="0"/>
<property name="title_vertical_offset_inactive" type="int" value="0"/>
<property name="toggle_workspaces" type="bool" value="false"/>
<property name="unredirect_overlays" type="bool" value="true"/>
<property name="urgent_blink" type="bool" value="false"/>
<property name="use_compositing" type="bool" value="true"/>
<property name="workspace_count" type="int" value="1"/>
<property name="wrap_cycle" type="bool" value="true"/>
<property name="wrap_layout" type="bool" value="true"/>
<property name="wrap_resistance" type="int" value="10"/>
<property name="wrap_windows" type="bool" value="true"/>
<property name="wrap_workspaces" type="bool" value="false"/>
<property name="zoom_desktop" type="bool" value="true"/>
<property name="workspace_names" type="array">
<value type="string" value="Espace de travail 1"/>
<value type="string" value="Espace de travail 2"/>
<value type="string" value="Espace de travail 3"/>
<value type="string" value="Espace de travail 4"/>
</property>
</property>
</channel>

View file

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xsettings" version="1.0">
<property name="Net" type="empty">
<property name="ThemeName" type="string" value="Arc"/>
<property name="IconThemeName" type="string" value="Papirus"/>
<property name="DoubleClickTime" type="empty"/>
<property name="DoubleClickDistance" type="empty"/>
<property name="DndDragThreshold" type="empty"/>
<property name="CursorBlink" type="empty"/>
<property name="CursorBlinkTime" type="empty"/>
<property name="SoundThemeName" type="empty"/>
<property name="EnableEventSounds" type="empty"/>
<property name="EnableInputFeedbackSounds" type="empty"/>
</property>
<property name="Xft" type="empty">
<property name="DPI" type="empty"/>
<property name="Antialias" type="int" value="1"/>
<property name="Hinting" type="int" value="1"/>
<property name="HintStyle" type="string" value="hintfull"/>
<property name="RGBA" type="string" value="none"/>
</property>
<property name="Gtk" type="empty">
<property name="CanChangeAccels" type="empty"/>
<property name="ColorPalette" type="empty"/>
<property name="FontName" type="empty"/>
<property name="IconSizes" type="empty"/>
<property name="KeyThemeName" type="empty"/>
<property name="ToolbarStyle" type="empty"/>
<property name="ToolbarIconSize" type="empty"/>
<property name="MenuImages" type="empty"/>
<property name="ButtonImages" type="bool" value="false"/>
<property name="MenuBarAccel" type="empty"/>
<property name="CursorThemeName" type="empty"/>
<property name="CursorThemeSize" type="empty"/>
<property name="DecorationLayout" type="empty"/>
</property>
</channel>

3
files/sources.list Normal file
View file

@ -0,0 +1,3 @@
deb http://ftp.fr.debian.org/debian unstable main contrib non-free
#deb http://ftp.fr.debian.org/debian unstable-updates main
#deb http://ftp.fr.debian.org/ unstable/updates main

168
install.sh Executable file
View file

@ -0,0 +1,168 @@
#!/bin/bash
#
# Install script for Debian unstable from deian stable
#
# adapt source.list for unstable
#mv /etc/apt/sources.list /etc/apt/sources.list.old
#cp files/sources.list /etc/apt/sources.list
source lib/messages.sh
source lib/download.sh
#init default variables
source conf/init.sh
#Variables override
for i in $(ls conf/*.conf)
do
source $i
done
message "$FI_PROXY_PASS\n"
exit 0
erase_display_char () {
let "i=0"
while [ $i -lt $1 ]; do
message "\b \b"
let "i=$i + 1"
done
}
install () {
nchar=0
message "\nInstall $1 : "
LC_ALL=C apt-get install --no-install-recommends -y $1 2>/dev/null | while read x; do
display=""
pkg_name=""
case $x in
Get*)
pkg_name=$(echo $x | awk '{ printf $5 }')
display="downloading"
;;
Unpack*)
pkg_name=$(echo $x | awk '{ printf $2 }')
display="Unpacking"
;;
*already*newest*)
pkg_name=$(echo $x | awk '{ printf $1 }')
display="Already Installed"
;;
esac
if [ ! -z "$display" ]
then
display="$display $pkg_name"
erase_display_char $nchar
message "$display" "info"
nchar=${#display}
fi
done
message " done" "ok"
}
process_package_file (){
for p in `cat $1 | grep '^[^#].*'`
do
install $p
done
}
create_fusioninv_conf () {
# Process Config file
message "\nProcess Fusion inventory configuration file : "
#remove comments
sed -i '/^#/ d' ${FI_CONF_FILE}
sed -i '/^$/ d' ${FI_CONF_FILE}
# put server
sed -i "1iserver = ${FI_SERVER}" ${FI_CONF_FILE}
# put username and password for proxy (htaccess)
sed -Ei "s/^(user\ =).*/\1 ${FI_PROXY_USER}/g" ${FI_CONF_FILE}
sed -Ei "s/^(password\ =).*/\1 ${FI_PROXY_PASS}/g" ${FI_CONF_FILE}
#sed -Ei "s/^(tag\ =).*/\1 ${centre}/g" ${FI_CONF_FILE}
message "done" "ok"
}
configure_drm(){
if [ -z "$(grep -o drm $INITRAMFS_CONF_FILE)" ]
then
cat "drm" >> $INITRAMFS_CONF_FILE
else
message "DRM already done " "warn"
fi
if [ -z "$(grep -o $1 $INITRAMFS_CONF_FILE)" ]
then
cat "$1 modeset=1" >> $INITRAMFS_CONF_FILE
else
message "$1 already done " "warn"
fi
}
configure_grub (){
sed -E "s/^GRUB_CMDLINE_LINUX_DEFAULT=\"(.*)\"/GRUB_CMDLINE_LINUX_DEFAULT=\"\1 spash\"/g" ${GRUB_DEFAULT_CONF_FILE} >/dev/null
update-grub2 2>/dev/null
}
configure_plymouth (){
local module=$(lsmod | grep -o "i915\|radeon" | head -1)
if [ ! "$module" == "" ]
then
message "\nConfigure drm modules for $module : "
configure_drm $module
message "done" "ok"
message "\nConfigure grub command line : "
local splash_enable=$(sed -rn 's/GRUB_CMDLINE_LINUX_DEFAULT=\"(.*)\"/\1/p' ${GRUB_DEFAULT_CONF_FILE} | grep -o "splash" )
[[ -z $spash_enable ]] && configure_grub || message "Grub spash kernel option exist " "warn"
message "done" "ok"
message "\nSelect plymouth theme : "
plymouth-set-default-theme -R spinner &>/dev/null
message "done" "ok"
message "\n"
else
message "\nNo suitable kernel module found for plymouth\n" "warn"
fi
}
message "\nAdd Debian Sid Repository :"
cp ./files/apt/10.sid.list /etc/apt/sources.list.d/
cp ./files/apt/20-stable /etc/apt/preferences.d/
cp ./files/apt/80-fusioninventory /etc/apt/preferences.d/
cp ./files/apt/80-papirus-icon-theme /etc/apt/preferences.d/
message "done\n" "ok"
#apt-get update &>/dev/null
#process_package_file files/packages.list
message "Activate unattended upgrades : "
cp ./files/apt/20auto-upgrades /etc/apt/apt.conf.d/
cp ./files/apt/50unattended-upgrades /etc/apt/apt.conf.d/
message "done" "ok"
message "\ninstall custom background images : "
mkdir -p /usr/share/backgrounds/acaqb/
cp -R ./files/backgrounds/* /usr/share/backgrounds/acaqb/
message "done\n" "ok"
configure_plymouth
# Login manager config
message "\nConfiguring lightdm : "
cp files/lightdm.conf /etc/lightdm/ &> /dev/null
cp files/lightdm-gtk-greeter.conf /etc/lightdm/
message "OK" "ok"
message "\nCreate users default parameters : "
cp -R files/skel/ /etc/ &> /dev/null
message "OK" "ok"
#remove interface file until NM use network
rm -rf /etc/network/interfaces
#add elementary theme
#mkdir -p /tmp/themes/
#cd /tmp/themes/
#download master.zip https://github.com/shimmerproject/elementary-xfce/archive/
#unzip master.zip > /dev/null
#mv elementary-xfce-master/* /usr/share/icons/
#rm -rf *

24
lib/download.sh Normal file
View file

@ -0,0 +1,24 @@
#!/bin/bash
download (){
#Download function
# $1 : filename
# $2 : url
message "\nDownloading $1 : "
http_response=$(wget --spider --server-response $2/$1 2>&1 | grep HTTP/ | tail -1 | awk ' { printf $2 }')
if [[ $http_response -eq 200 ]]
then
wget -c --progress=dot $2/$1 2>&1 | grep --line-buffered "[0-9]\{1,3\}%" -o | awk '{printf ("\b\b\b\b%4s", $1)}'
if [ $? -eq 0 ]
then
message " \b\b\b\b\b done\n " "ok"
else
message " \b\b\b\b\b error.\n" "ok"
exit 1
fi
else
message "\b\b\b\b\b Error 404\n" "err"
exit 1
fi
}

38
lib/messages.sh Normal file
View file

@ -0,0 +1,38 @@
#/bin/bash
#
# message ()
# ----------
#
# External library to display colored messages
#
message () {
local red=$'\e[1;31m'
local grn=$'\e[1;32m'
local yel=$'\e[1;33m'
local blu=$'\e[1;34m'
local mag=$'\e[1;35m'
local cyn=$'\e[1;36m'
local end=$'\e[0m'
case $2 in
"err")
printf "%s${1}%s" "${red}" "${end}"
exit 1
;;
"warn")
printf "%s${1}%s" "${yel}" "${end}"
;;
"ok")
printf "%s${1}%s" "${grn}" "${end}"
;;
"bold")
printf "\e[1m${1}%s" "${end}"
;;
"info")
printf "%s${1}%s" "${mag}" "${end}"
;;
*)
printf "${1}"
esac
}