je ferais demain une autre Clé USB Iso
Clé usb avec "mode persistance" hein ,çà permet de garder les modification faites et enregistrées sur la session live ...
Alors le fichier à modifier est le suivant ...
Dans le système de Fusion ==> /usr/share/hybryde/scripts/HYBRYDE.sh ...
Voici son contenu modifié ...
#! /bin/bash
#=======================================================================
# Author(s): <Josepe36 olivelinux36@gmail.com>
# Copyright: <Copyright (C) 11/08/2011 Josepe36>
# License:
#
# HYBRYDE.sh 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 3 of the License, or
# (at your option) any later version.
#
# HYBRYDE.sh 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 hy-install. If not, see <http://www.gnu.org/licenses/>.
# On Debian systems, the complete text of the GNU General
# Public License can be found in `/usr/share/common-licenses/GPL'.
#
# and is licensed under the GPL version 3,
# see `/usr/share/common-licenses/GPL-3'.
#=======================================================================
#
#
#Ce script regroupe toute les fonctions permettant la permutation entre les divers environnements de bureau
#Ce script s'utilise en l'appelant avec un argument, un seul argument sera pris en considération
#L'argument passé au script est le nom de la fonction correspondante
#========================================================================
. $HOME/.hy-cc/hy-geek.sh
killprocess()
{
echo "stop" > /tmp/meta
accueil=$(cat /tmp/hybryde-pid.txt)
for i in $accueil
do kill -15 $i
done
for i in nautilus gnome-settings-daemon tint2 cairo-dock metacity compiz kwin mutter
do pid=$(pidof $i)
kill -15 $pid
done
. /usr/bin/hy-return &
}
killprocess_end()
{
for i in "nm-applet" "pcmanfm" "gdu-notification-daemon" "gvfs-gphoto2-volume-monitor" "gvfs-gdu-volume-monitor" "gvfsd-trash gvfsd-metadata" "gvfsd-burn" "gvfsd gvfs-afc-volume-monitor" "gnome-screensaver" "gnome-power-manager" "gnome-keyring-daemon" "evolution-alarm-notify" "dconf-service" "dbus-launch" "dbus-daemon" "syndaemon"
do
pid=$(pidof $i)
for i in $pid
do
kill -15 $i || kill -9 $i
break
done
done
kill -9 $(pidof compiz)
}
gnome()
{
echo "[gnome_session]
profile =
plugin_list_autosort = true
[general]
profile =
plugin_list_autosort = true
backend = ini
integration = true
[kde4_session]
backend = ini
profile =
integration = true
plugin_list_autosort = true
" > /etc/compizconfig/config
killprocess
if [ "$COMP_G" == "True" ]
then cp /usr/share/applications/compiz.desktop $HOME/.config/autostart/
else rm $HOME/.config/autostart/compiz.desktop
fi
dbus-launch --exit-with-session gnome-session --session=gnome-classic
killall gnome-session
killprocess_end
/usr/share/hybryde/scripts/session-x/hybx-script.sh "no-sound" &
}
unity()
{
echo "[gnome_session]
profile =
plugin_list_autosort = true
[general]
profile =
plugin_list_autosort = true
backend = ini
integration = true
[kde4_session]
backend = ini
profile =
integration = true
plugin_list_autosort = true
" > /etc/compizconfig/config
killprocess
if [ "$COMP_U" == "True" ]
then cp /usr/share/applications/compiz.desktop $HOME/.unity_2d-hyb/ ; rm $HOME/.unity_2d-hyb/metacity.desktop
else rm $HOME/.unity_2d-hyb/compiz.desktop ; cp /usr/share/applications/metacity.desktop
fi
sleep 2
dbus-launch --exit-with-session gnome-session --autostart=$HOME/.unity_2d-hyb
killall gnome-session unity-2d-launcher
killprocess_end
/usr/share/hybryde/scripts/session-x/hybx-script.sh "no-sound" &
}
unity3d()
{
echo "[gnome_session]
profile =
plugin_list_autosort = true
[general]
profile =
plugin_list_autosort = true
backend = ini
integration = true
[kde4_session]
backend = ini
profile =
integration = true
plugin_list_autosort = true
" > /etc/compizconfig/config
killprocess
sleep 2
dbus-launch --exit-with-session gnome-session --autostart=$HOME/.unity_3d-hyb
killall gnome-session unity-2d-launcher
killprocess_end
/usr/share/hybryde/scripts/session-x/hybx-script.sh "no-sound" &
}
gnome3()
{
killprocess
dbus-launch --exit-with-session gnome-session --session=gnome;
killprocess_end
/usr/share/hybryde/scripts/session-x/hybx-script.sh "no-sound" &
}
kde()
{
cd $HOME
killprocess
dbus-launch --auto-syntax --exit-with-session startkde ;
kdeinit4_shutdown
killall kded4 kdeinit4 klauncher knotify4 kuiserver
killprocess_end
/usr/share/hybryde/scripts/session-x/hybx-script.sh "no-sound" &
}
kill_naut()
{
while :
do
sleep 5
if pidof nautilus
then
pid=$(pidof nautilus)
kill -15 $pid
else
break
fi
done
return $pid
}
xfce()
{
kill_naut &
killprocess
if [ "$COMP_X" == "True" ]
then compiz --replace &
fi
dbus-launch --exit-with-session xfce4-session ;
for i in xfsettingsd xfconfd nautilus
do
pid=$(pidof $i)
kill -15 $pid
done
killprocess_end
/usr/share/hybryde/scripts/session-x/hybx-script.sh "no-sound" &
}
lxde()
{
cd $HOME
killprocess
kill_naut &
if [ "$COMP_L" == "True" ]
then compiz --replace &
fi
dbus-launch --exit-with-session lxsession ;
killprocess_end
killall lxpanel lxsession
/usr/share/hybryde/scripts/session-x/hybx-script.sh "no-sound" &
}
e17()
{
killprocess
gsd=$(pidof gnome-settings-daemon)
kill -15 $gsd
dbus-launch --exit-with-session enlightenment_start ;
killprocess_end
/usr/share/hybryde/scripts/session-x/hybx-script.sh "no-sound" &
}
openbox()
{
killprocess
dbus-launch --exit-with-session openbox-session ;
/usr/share/hybryde/scripts/session-x/hybx-script.sh "no-sound" &
killprocess_end
}
fleex()
{
cd /usr/share/flex_desktop/
python flex_desktop.py &
}
fvwm()
{
killprocess
killall compiz
dbus-launch --exit-with-session fvwm-crystal;
killprocess_end
/usr/share/hybryde/scripts/session-x/hybx-script.sh "no-sound" &
}
hydvrestart()
{
/usr/share/hybryde/scripts/session-x/hybx-script.sh "no-sound" &
}
$1
exit
Sur le Bureau maître (HY-D V1) .... En mode root en sesion live avec ta clé Hybryde Fusion , ou en session Fusion installé avec le DVD , sur ton hdd externe ...
Ouvir Nautilus en mode root ...
gksudo nautilus
Il faut aller dans le système de Fusion, en navigant avec Nautilus , Jusqu'à ==> /usr/share/hybryde/scripts/HYBRYDE.sh ...
Un clic droit sur HYBRYDE.sh , en faire une save sur place ,(un copier/coller) sur place, tu devrais avoir un fichier => HYBRYDE.sh(copie) ,ou quelque chose comme çà ...
Quand c'est fait, tu supprimes le fichier ==> HYBRYDE.sh d'origine ...
Toujours pratiquer comme ceci lorsque tu fais une modif de fichier système, çà permet de revenir en arrière ,avec le fichier d'origine sauvegardé ...
Ensuite, un clic droit dans le dossier "scripts" ==> nouveau document vide (fichier texte vide) ... Un fichier texte vide est créé, tu le renommes ==> HYBRYDE.sh (respecter les majuscules et minuscules)
Tu l'ouvres , et tu y copies/colles , le contenu indiqué ci-dessus dans les balises code ...
Tu enregistres et tu fermes ... Il n'y a plus qu'à rendre le fichier exécutable ... Un clic droit dessus ==> Propriétés ... Dans l'onglet "Permissions" , tu coches ==> "Autoriser l'exécution du fichier comme un programme" ...
Tu fermes tout, et normalement Gnome panel devrait fonctionner depuis le HY-D V1 ...
Lorsque Toile libre sera accessible je posterais un screen ...
Voila , Bon courage ...
@+. Babdu89 .