您的位置:首页 > 移动开发 > Unity3D

ubuntu14.04 unity下的 compizconfig的配置

2015-01-06 17:44 387 查看
创建一个后缀为 .profile文件,在里面黏贴以下配置

[resizeinfo]
s0_gradient_1 = #cccce6cc
s0_gradient_2 = #f3f3f3cc
s0_gradient_3 = #d9d9d9cc
s0_outline_color = #e6e6e6ff

[ezoom]
s0_zoom_in_button = <Super>Button4
s0_zoom_out_button = <Super>Button5
s0_zoom_box_outline_color = #2f2f4f9f
s0_zoom_box_fill_color = #2f2f2f4f

[thumbnail]
s0_thumb_color = #0000007f
s0_current_viewport = false
s0_font_background_color = #0000007f

[rotate]
s0_zoom = 0.600000

[firepaint]
s0_num_particles = 20000
s0_fire_size = 13.400000
s0_fire_slowdown = 3.000000
s0_fire_life = 0.300000
s0_fire_color = #30beadff

[put]
s0_put_left_key = <Control><Alt>KP_Left
s0_put_right_key = <Control><Alt>KP_Right
s0_put_top_key = <Control><Alt>KP_Up
s0_put_bottom_key = <Control><Alt>KP_Down
s0_put_topleft_key = <Control><Alt>KP_Home
s0_put_topright_key = <Control><Alt>KP_Prior
s0_put_bottomleft_key = <Control><Alt>KP_End
s0_put_bottomright_key = <Control><Alt>KP_Next

[switcher]
s0_next_key = Disabled
s0_prev_key = Disabled
s0_next_all_key = <Alt><Super>Tab
s0_prev_all_key = Disabled
s0_icon = false

[freewins]
s0_snap_threshold = 50
s0_circle_color = #54befb80
s0_line_color = #1800ffff
s0_cross_line_color = #1800ffff

[expo]
s0_deform = 2
s0_reflection = true
s0_ground_color1 = #b3b3b3cc
s0_ground_color2 = #b3b3b300

[screenshot]
s0_selection_outline_color = #2f2f4f9f
s0_selection_fill_color = #2f2f4f4f

[showmouse]
s0_color = #ffdf3fff

[mag]
s0_initiate = <Super>n

[wallpaper]
s0_bg_image = /home/xiaoli/Downloads/Wallpaper/376664bb701d57d9c67ba7579c962bee.jpg;/home/xiaoli/Downloads/Wallpaper/531930fae6cd7b89667450440d2442a7d8330eff.jpg;/home/xiaoli/Downloads/Wallpaper/bcdae382ab5104cbf5b2fb12a12926c1.jpg;/home/xiaoli/Downloads/Wallpaper/6e4e302ac65c1038399891b2b0119313b17e89fe.jpg;/home/xiaoli/Downloads/Wallpaper/2c06922bd40735fa720bbb999d510fb30f240831.jpg;/home/xiaoli/Downloads/Wallpaper/80162d381f30e92448c834154f086e061d95f741.jpg;/home/xiaoli/Downloads/4ccb7d11fd5df8d85d75691a8fd5779e.jpg;/home/xiaoli/Downloads/da467ee8cd001af9520dc6fba5275ebf.jpg;/home/xiaoli/Downloads/d00719c2aa3cee5c71d9c510ddc2e83c.jpg;/usr/share/backgrounds/warty-final-ubuntu.png;/usr/share/backgrounds/Beach_by_Renato_Giordanelli.jpg;/usr/share/backgrounds/Partitura_by_Vincijun.jpg;/usr/share/backgrounds/Forever_by_Shady_S.jpg;/usr/share/backgrounds/Jelly_Fish_by_RaDu_GaLaN.jpg;/usr/share/backgrounds/Mono_Lake_by_Angela_Henderson.jpg;
s0_bg_image_pos = 0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;
s0_bg_fill_type = 0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;
s0_bg_color1 = #000000ff;#000000ff;#000000ff;#000000ff;#000000ff;#000000ff;#000000ff;#000000ff;#000000ff;#e81f1fff;#e4e51fff;#18e416ff;#122fe8ff;#e416b0ff;#ffffffff;
s0_bg_color2 = #000000ff;#000000ff;#000000ff;#000000ff;#000000ff;#000000ff;#000000ff;#000000ff;#000000ff;#dd9191ff;#e36f2cff;#c5d29eff;#18e0e8ff;#c1a4d6ff;#000000ff;

[shift]
s0_next_key = Disabled
s0_prev_key = Disabled
s0_next_all_key = Disabled
s0_prev_all_key = Disabled
s0_ground_color1 = #b3b3b3cc
s0_ground_color2 = #b3b3b300

[staticswitcher]
s0_next_key = Disabled
s0_prev_key = Disabled
s0_next_all_key = <Control><Super>Tab
s0_prev_all_key = Disabled
s0_saturation = 0

[cube]
s0_skydome_image = /usr/share/backgrounds/Foggy_Forest_by_Jake_Stewart.jpg
s0_skydome_animated = true

[ring]
s0_next_key = Disabled
s0_prev_key = Disabled
s0_next_all_key = <Super>Tab
s0_prev_all_key = Disabled

[core]
s0_active_plugins = core;ccp;composite;opengl;grid;imgpng;compiztoolbox;move;shelf;regex;imgjpeg;place;text;mousepoll;animation;imgsvg;wobbly;resize;thumbnail;firepaint;wallpaper;annotate;shift;cube;scale;wizard;rotate;showmouse;cubeaddon;expo;ezoom;switcher;staticswitcher;ring;
s0_outputs = 1366x768+0+0;
s0_autoraise = false
s0_autoraise_delay = 500
s0_show_desktop_key = <Control><Super>d
s0_hsize = 6

[scale]
s0_spacing = 0

[cubeaddon]
s0_ground_color1 = #b3b3b3cc
s0_ground_color2 = #b3b3b300
s0_deformation = 0
s0_top_aspect = false
s0_bottom_aspect = false
s0_top_clamp = false
s0_bottom_clamp = false
s0_top_images = /usr/share/backgrounds/Berries_by_Tom_Kijas.jpg;;
s0_bottom_images = /usr/share/backgrounds/Water_web_by_Tom_Kijas.jpg;;;

[shelf]
s0_trigger_key = <Super>i
s0_triggerscreen_key = <Super>o

[wall]
s0_thumb_highlight_gradient_shadow_color = #dfdfdfff
s0_arrow_base_color = #e6e6e6d9
s0_arrow_shadow_color = #dcdcdcd9

[decor]
s0_active_shadow_color = #00000080
s0_inactive_shadow_color = #000000ff

[gnomecompat]
s0_main_menu_key = <Super>s
s0_command_window_screenshot = gnome-screenshot -w
s0_command_terminal = x-terminal-emulator
s0_run_command_terminal_key = <Control><Alt>t

[animation]
s0_unminimize_effects = animation:Glide 2;
s0_all_random = true

[unityshell]
s0_inactive_shadow_color = #000000a5
s0_launcher_switcher_forward = Disabled
s0_launcher_hide_mode = 1

[wizard]
s0_toggle = <Super>q
然后保存退出.

打开 compizconfig-> Preferences -> Profile

导入刚才创建好的文件

这时候会发现 panel 和 launcher 都消失了,这是因为 unity 被关掉了

这时候我们需要打开 compizconfig->Desktop -> Ubuntu Unity Plugin

然后把左边的 Enable Ubuntu Unity Plugin 启动  

这时候就会发现 panel 和 launcher 又出现了..
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: