Ma sauvegarde de la config de compiz standalone
Mon script de démarrage nommé start-compizfusion.sh et lancé par un script Xclient dans GDM:
#! /bin/bash
#dbus
if which dbus-launch >/dev/null && test -z « $DBUS_SESSION_BUS_ADDRESS »; then
eval `dbus-launch –sh-syntax –exit-with-session`
fi
#La session compiz
exec fusion-icon &
sleep 9
#Numlock et applications à lancer
numlockx on &
screenlets-daemon &
python -u /usr/share/screenlets/Sysmonitor/SysmonitorScreenlet.py &
python -u /usr/share/screenlets/VolumeControl/VolumeControlScreenlet.py &
python -u /usr/share/screenlets/CopyStack/CopyStackScreenlet.py &
python -u /usr/share/screenlets/Windowlist/WindowlistScreenlet.py &
ogg123 -q /home/mermouy/.config/compiz/volvoteen.ogg &
exec /opt/google/desktop/bin/gdlinux start &
trayer –edge bottom –align right –widthtype request –heighttype pixel –height 35 –transparent true –alpha 150
Ajouter une session dans GDM
Commencer par créer un fichier /usr/share/xsessions/fusion.desktop et collez y les lignes suivantes :
[Desktop Entry]
Encoding=UTF-8
Name=Fusion
Comment=Compiz Fusion
Exec=/usr/bin/start-compiz.sh
Type=Application
Compiz Config
Voici ensuite la config de compiz réalisée avec CCSM en omettant les valeurs par défaut :
[place]
s0_mode = 2
[mousegestures]
as_gestures = ;;
as_plugins = ;;
as_actions = ;;
[flash]
as_initiate_key = <Control><Super>d
as_flash_color_up_left = #ff334d4f
as_flash_color_down_right = #8033ff4f
[opacify]
as_timeout = 1209
[scale]
as_initiate_edge = BottomRight
[vpswitch]
as_next_button = Disabled
as_prev_button = Disabled
as_init_plugin = core
as_init_action = run_command0_key
[stackswitch]
as_next_key = <Alt>Tab
s0_title_font_bold = true
s0_title_text_placement = 3
[animation]
s0_open_effects = animation:Fade;animation:Fade;animation:Fade;
s0_open_durations = 400;150;150;
s0_close_effects = animation:Magic Lamp;animation:Fade;
s0_close_durations = 300;378;
s0_close_matches = (type=Normal | Dialog | ModalDialog | Unknown) & !(name=gnome-screensaver | );any;
s0_close_options = ;;
s0_close_random_effects = 2;
s0_minimize_durations = 400;
s0_minimize_matches = any;
s0_minimize_random_effects = 13;
s0_shade_effects = animation:Horizontal Folds;
s0_shade_random_effects = 2;
s0_focus_effects = animation:Wave;
s0_dodge_gap_ratio = 0.520000
[widget]
as_toggle_key = Disabled
as_toggle_edge = BottomLeft
[extrawm]
as_toggle_fullscreen_key = <Control>F11
as_toggle_always_on_top_key = <Control>Up
as_toggle_sticky_key = <Control><Alt>Return
[rotate]
as_rotate_left_button = <Control>Button4
as_rotate_right_button = <Control>Button5
as_rotate_left_window_key = <Control><Super>Left
as_rotate_right_window_key = <Control><Super>Right
as_edge_flip_window = false
as_edge_flip_dnd = false
as_rotate_flip_left_edge =
as_rotate_flip_right_edge =
s0_zoom = 0.072100
[shift]
as_initiate_key = Disabled
as_next_key = <Alt>Tab
as_prev_key = <Shift><Alt>Tab
[showdesktop]
s0_direction = 5
[wallpaper]
s0_bg_image = /home/mermouy/Documents/images/wallpapers/Kiwi Kiwi.jpg;/home/mermouy/Documents/images/wallpapers/Magic Garden.jpg;/home/mermouy/Documents/images/wallpapers/Cerveja! (Beer!).jpg;/home/mermouy/Documents/images/wallpapers/Subcomandante Marcos.jpg;
s0_bg_image_pos = 0;0;0;0;
s0_bg_fill_type = 0;0;0;0;
s0_bg_color1 = #000000ff;#000000ff;#000000ff;#000000ff;
s0_bg_color2 = #000000ff;#000000ff;#000000ff;#000000ff;
[decoration]
as_command = emerald –replace
as_mipmap = true
[annotate]
as_erase_button = <Alt><Super>Button5
as_clear_button = <Alt><Super>Button4
as_fill_color = #c70707ff
as_line_width = 5.107500
as_stroke_width = 2.113500
[anaglyph]
as_window_toggle_key = <Control><Alt><Super>b
as_screen_toggle_key = <Control><Alt><Super>s
[winrules]
s0_skippager_match = title=Calques, Canaux, Chemins, Annuler | PP/AP, Brosses, Motifs, Dégradés
s0_above_match = (class=Gimp-2.4) & (class=Gdl_box)
[crashhandler]
as_start_wm = true
as_wm_cmd = kwin
[screensaver]
as_initiate_key = <Control><Alt><Super>space
as_fade_in_duration = 5.000000
as_fade_out_duration = 0.502400
[notification]
as_max_log_level = 2
[core]
as_active_plugins = core;regex;png;place;move;dbus;text;widget;imgjpeg;wallpaper;filedebug;decoration;winrules;wobbly; #!!!
workarounds;workspacenames;dclick;resize;stackswitch;animation;cube;screensaver;rotate;
as_main_menu_key = Disabled
as_run_key = Disabled
as_command0 = popdown /home/mermouy/.config/compiz/menucompiz
as_command1 = python -u /home/mermouy/.screenlets/DiskMount/DiskMountScreenlet.py
as_command2 = kpm
as_command3 = cd .logout && python my_exit.py
as_command6 = python -u /usr/share/screenlets/Trash/TrashScreenlet.py
as_command7 = fusion-icon
as_command8 = emerald –replace
as_run_command0_key = F5
as_run_command1_key = <Alt>F3
as_run_command2_key = <Control>Escape
as_run_command3_key = <Control><Alt>Delete
as_run_command6_key = <Alt>Delete
as_run_command7_key = <Control><Alt>Home
as_run_command8_key = <Control><Alt>End
as_run_command9_key = <Control><Alt>p
as_raise_window_button = Disabled
as_command_screenshot = ksnapshot
as_command_window_screenshot = ksnapshot -c
as_run_command_window_screenshot_key = Disabled
as_window_menu_button = Disabled
as_hide_skip_taskbar_windows = false
as_toggle_window_shaded_key = Disabled
as_command_terminal = gnome-terminal
as_run_command_terminal_key = F12
s0_unredirect_fullscreen_windows = true
s0_outputs = 800×600+0+0;
[blur]
as_pulse = true
[wobbly]
s0_focus_effect = 1
[ring]
as_next_key = <Alt>Tab
as_prev_key = <Shift><Alt>Tab
s0_speed = 1.574900
s0_overlay_icon = 2
s0_ring_width = 85
s0_ring_height = 70
s0_thumb_width = 479
s0_thumb_height = 376
s0_min_brightness = 0.132600
s0_min_scale = 0.684800
s0_window_title = false
s0_title_font_bold = true
[workspacenames]
s0_viewports = 1;2;3;4;
s0_names = Bureau;Bureau étendu;Externe;Externe étendu;
s0_display_time = 0.500500
s0_fade_time = 0.204300
s0_bold_text = true
s0_text_font_size = 24
[group]
as_select_button = <Control><Alt><Super>Button1
s0_move_all = false
s0_minimize_all = false
s0_line_color = #e60505ab
s0_glow_size = 37
s0_glow_type = 1
[dclick]
as_click_buttons = 0;1;
as_click_mods = 11;0;
as_plugin_names = core;core;
as_action_names = run_command0_key;show_desktop_edge;
as_call_type = 0;1;
[shadows]
s0_fade_time = 39
Pour finir ma configuration de popdown un menu que je fait apparaître grâce au plugin « Desktop Clicks » pour compiz.
phocadownload view=file|id=15