From c48b75a88aa6f424254156dbcc309ad7deb29da7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 19 Nov 2014 14:43:08 -0600 Subject: [PATCH] Enable composition manager by default on Ubuntu --- .../debian/distrospecific/Makefile | 5 +++ .../debian/distrospecific/kde-rc-files/twinrc | 3 ++ .../kompmgr-rc-files/compton-tde.conf | 45 +++++++++++++++++++ .../kompmgr-rc-files/xcompmgrrc | 17 +++++++ .../debian/distrospecific/Makefile | 1 + .../kompmgr-rc-files/compton-tde.conf | 45 +++++++++++++++++++ .../kompmgr-rc-files/xcompmgrrc | 11 +++-- .../debian/distrospecific/Makefile | 5 +++ .../debian/distrospecific/kde-rc-files/twinrc | 3 ++ .../kompmgr-rc-files/compton-tde.conf | 45 +++++++++++++++++++ .../kompmgr-rc-files/xcompmgrrc | 17 +++++++ 11 files changed, 194 insertions(+), 3 deletions(-) create mode 100644 ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kompmgr-rc-files/compton-tde.conf create mode 100644 ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kompmgr-rc-files/xcompmgrrc create mode 100644 ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/kompmgr-rc-files/compton-tde.conf create mode 100644 ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kompmgr-rc-files/compton-tde.conf create mode 100644 ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kompmgr-rc-files/xcompmgrrc diff --git a/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/Makefile b/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/Makefile index 466e1bf0f..c9e65dbf8 100644 --- a/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/Makefile +++ b/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/Makefile @@ -12,6 +12,7 @@ TDM_SETTINGS_DIR = $(DESTDIR)/etc/trinity/tdm/ KSPLASH_THEME_DIR = $(DESTDIR)/opt/trinity/share/apps/ksplash/Themes/kubuntu SETTINGS_DIR = $(DESTDIR)/usr/share/kubuntu-default-settings-trinity CURSOR_DIR = $(DESTDIR)/usr/share/icons/contrastlarge +SKELETON_DIR = $(DESTDIR)/etc/skel build: @@ -158,6 +159,10 @@ install: install -m644 gtk-qt-engine-rc-files/gtkrc-2.0-kde "$(SETTINGS_DIR)/.gtkrc-2.0-kde" install -m644 gtk-qt-engine-rc-files/gtk-qt-engine.rc.sh "$(SETTINGS_DIR)/gtk-qt-engine.rc.sh" + mkdir -p "$(SKELETON_DIR)" + install -m644 kompmgr-rc-files/xcompmgrrc "$(SKELETON_DIR)/.xcompmgrrc" + install -m644 kompmgr-rc-files/compton-tde.conf "$(SKELETON_DIR)/.compton-tde.conf" + mkdir -p "$(SETTINGS_DIR)/tde-profile/lesser-visual-impairment/share/config/" cp -r accessibility/lesser-visual-impairment/* "$(SETTINGS_DIR)/tde-profile/lesser-visual-impairment/share/config/" mkdir -p "$(SETTINGS_DIR)/tde-profile/moderate-visual-impairment/share/config/" diff --git a/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kde-rc-files/twinrc b/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kde-rc-files/twinrc index 5eba99592..bf263a870 100644 --- a/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kde-rc-files/twinrc +++ b/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kde-rc-files/twinrc @@ -9,3 +9,6 @@ ButtonsOnLeft=M ButtonsOnRight=HIA_X CustomButtonPositions=true PluginLib=twin3_crystal + +[Notification Messages] +UseTranslucency=true diff --git a/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kompmgr-rc-files/compton-tde.conf b/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kompmgr-rc-files/compton-tde.conf new file mode 100644 index 000000000..84e770f2d --- /dev/null +++ b/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kompmgr-rc-files/compton-tde.conf @@ -0,0 +1,45 @@ +# WARNING +# This file was automatically generated by TDE +# All changes will be lost! +shadow = false; +shadow-offset-y = 0; +shadow-offset-x = 0; +shadow-red = 0; +shadow-green = 0; +shadow-blue = 0; +shadow-radius = 4; +fading = true; +no-fading-opacitychange = true; +no-fading-openclose = false; +wintypes: +{ + menu = { shadow = false; fade = true; no-fading-openclose = false; } + dropdown_menu = { shadow = false; fade = true; no-fading-openclose = false; } + popup_menu = { shadow = false; fade = true; no-fading-openclose = false; } + tooltip = { shadow = false; fade = true; no-fading-openclose = false; } + normal = { shadow = false; fade = false; no-fading-openclose = true; } + dialog = { shadow = false; fade = false; no-fading-openclose = true; } + unknown = { shadow = false; fade = false; no-fading-openclose = true; } + toolbar = { shadow = false; fade = false; no-fading-openclose = true; } + utility = { shadow = false; fade = false; no-fading-openclose = true; } + splash = { shadow = false; fade = false; no-fading-openclose = true; } + notify = { shadow = false; fade = false; no-fading-openclose = true; } + combo = { shadow = false; fade = false; no-fading-openclose = true; } + desktop = { shadow = false; fade = false; no-fading-openclose = true; } + dnd = { shadow = false; fade = false; no-fading-openclose = true; } + dock = { shadow = false; fade = false; no-fading-openclose = true; } +} +fade-in-step = 0.07; +fade-out-step = 0.07; +backend = "xrender"; +vsync = "none"; +blur-background = "false"; +blur-background-fixed = true; +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'" +]; +no-dock-shadow = true; +no-dnd-shadow = true; +clear-shadow = true; +shadow-ignore-shaped = false; diff --git a/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kompmgr-rc-files/xcompmgrrc b/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kompmgr-rc-files/xcompmgrrc new file mode 100644 index 000000000..96e6b3c15 --- /dev/null +++ b/ubuntu/maverick/defaultsettings/kubuntu-default-settings/debian/distrospecific/kompmgr-rc-files/xcompmgrrc @@ -0,0 +1,17 @@ +[xcompmgr] +Compmode= +DisableARGB=false +FadeInStep=0.07 +FadeMenuWindows=true +FadeOutStep=0.07 +FadeToolTipWindows=true +FadeTrans=false +FadeWindows=false +ShadowColor=0x000000 +ShadowOffsetX=0 +ShadowOffsetY=0 +ShadowRadius=4 +ShadowsOnMenuWindows=false +ShadowsOnToolTipWindows=false +blurBackground=false +useOpenGL=false diff --git a/ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/Makefile b/ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/Makefile index ff726b836..7270b7db6 100644 --- a/ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/Makefile +++ b/ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/Makefile @@ -308,6 +308,7 @@ install: mkdir -p "$(SKELETON_DIR)" install -m644 kompmgr-rc-files/xcompmgrrc "$(SKELETON_DIR)/.xcompmgrrc" + install -m644 kompmgr-rc-files/compton-tde.conf "$(SKELETON_DIR)/.compton-tde.conf" mkdir -p "$(KDESKEL_DIR)/share" mkdir -p "$(KDESKEL_DIR)/share/apps" diff --git a/ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/kompmgr-rc-files/compton-tde.conf b/ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/kompmgr-rc-files/compton-tde.conf new file mode 100644 index 000000000..fe8f7f588 --- /dev/null +++ b/ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/kompmgr-rc-files/compton-tde.conf @@ -0,0 +1,45 @@ +# WARNING +# This file was automatically generated by TDE +# All changes will be lost! +shadow = false; +shadow-offset-y = 0; +shadow-offset-x = 0; +shadow-red = 0; +shadow-green = 0; +shadow-blue = 0; +shadow-radius = 4; +fading = true; +no-fading-opacitychange = true; +no-fading-openclose = false; +wintypes: +{ + menu = { shadow = true; fade = true; no-fading-openclose = false; } + dropdown_menu = { shadow = true; fade = true; no-fading-openclose = false; } + popup_menu = { shadow = true; fade = true; no-fading-openclose = false; } + tooltip = { shadow = true; fade = true; no-fading-openclose = false; } + normal = { shadow = false; fade = false; no-fading-openclose = true; } + dialog = { shadow = false; fade = false; no-fading-openclose = true; } + unknown = { shadow = false; fade = false; no-fading-openclose = true; } + toolbar = { shadow = false; fade = false; no-fading-openclose = true; } + utility = { shadow = false; fade = false; no-fading-openclose = true; } + splash = { shadow = false; fade = false; no-fading-openclose = true; } + notify = { shadow = false; fade = false; no-fading-openclose = true; } + combo = { shadow = false; fade = false; no-fading-openclose = true; } + desktop = { shadow = false; fade = false; no-fading-openclose = true; } + dnd = { shadow = false; fade = false; no-fading-openclose = true; } + dock = { shadow = false; fade = false; no-fading-openclose = true; } +} +fade-in-step = 0.07; +fade-out-step = 0.07; +backend = "xrender"; +vsync = "none"; +blur-background = "false"; +blur-background-fixed = true; +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'" +]; +no-dock-shadow = true; +no-dnd-shadow = true; +clear-shadow = true; +shadow-ignore-shaped = false; diff --git a/ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/kompmgr-rc-files/xcompmgrrc b/ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/kompmgr-rc-files/xcompmgrrc index 9d201d296..9c9b9ff17 100644 --- a/ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/kompmgr-rc-files/xcompmgrrc +++ b/ubuntu/maverick/defaultsettings/redmond-default-settings-ii/debian/distrospecific/kompmgr-rc-files/xcompmgrrc @@ -4,9 +4,14 @@ DisableARGB=false FadeInStep=0.07 FadeMenuWindows=true FadeOutStep=0.07 +FadeToolTipWindows=true FadeTrans=false FadeWindows=false ShadowColor=0x000000 -ShadowOffsetX=-122 -ShadowOffsetY=-80 -ShadowRadius=6 +ShadowOffsetX=0 +ShadowOffsetY=0 +ShadowRadius=4 +ShadowsOnMenuWindows=true +ShadowsOnToolTipWindows=true +blurBackground=false +useOpenGL=false diff --git a/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/Makefile b/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/Makefile index 3e5f67f26..a83a8de3f 100644 --- a/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/Makefile +++ b/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/Makefile @@ -12,6 +12,7 @@ TDM_SETTINGS_DIR = $(DESTDIR)/etc/trinity/tdm/ KSPLASH_THEME_DIR = $(DESTDIR)/opt/trinity/share/apps/ksplash/Themes/kubuntu SETTINGS_DIR = $(DESTDIR)/usr/share/redmond-default-settings-trinity CURSOR_DIR = $(DESTDIR)/usr/share/icons/contrastlarge +SKELETON_DIR = $(DESTDIR)/etc/skel DESKTOP_DIR = $(DESTDIR)/etc/skel/Desktop KDESKEL_DIR = $(DESTDIR)/etc/skel/.trinity @@ -304,6 +305,10 @@ install: mkdir -p "$(KDESKEL_DIR)/env" install -m644 gtk-qt-engine-rc-files/gtk-qt-engine.rc.sh "$(KDESKEL_DIR)/env/gtk-qt-engine.rc.sh" + mkdir -p "$(SKELETON_DIR)" + install -m644 kompmgr-rc-files/xcompmgrrc "$(SKELETON_DIR)/.xcompmgrrc" + install -m644 kompmgr-rc-files/compton-tde.conf "$(SKELETON_DIR)/.compton-tde.conf" + mkdir -p "$(KDESKEL_DIR)/share" mkdir -p "$(KDESKEL_DIR)/share/apps" mkdir -p "$(KDESKEL_DIR)/share/apps/kdesktop" diff --git a/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kde-rc-files/twinrc b/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kde-rc-files/twinrc index 14863cc1e..c8f1bcf6a 100644 --- a/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kde-rc-files/twinrc +++ b/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kde-rc-files/twinrc @@ -69,3 +69,6 @@ ShadeHoverInterval=250 SnapOnlyWhenOverlapping=false TitlebarDoubleClickCommand=Maximize WindowSnapZone=10 + +[Notification Messages] +UseTranslucency=true diff --git a/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kompmgr-rc-files/compton-tde.conf b/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kompmgr-rc-files/compton-tde.conf new file mode 100644 index 000000000..fe8f7f588 --- /dev/null +++ b/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kompmgr-rc-files/compton-tde.conf @@ -0,0 +1,45 @@ +# WARNING +# This file was automatically generated by TDE +# All changes will be lost! +shadow = false; +shadow-offset-y = 0; +shadow-offset-x = 0; +shadow-red = 0; +shadow-green = 0; +shadow-blue = 0; +shadow-radius = 4; +fading = true; +no-fading-opacitychange = true; +no-fading-openclose = false; +wintypes: +{ + menu = { shadow = true; fade = true; no-fading-openclose = false; } + dropdown_menu = { shadow = true; fade = true; no-fading-openclose = false; } + popup_menu = { shadow = true; fade = true; no-fading-openclose = false; } + tooltip = { shadow = true; fade = true; no-fading-openclose = false; } + normal = { shadow = false; fade = false; no-fading-openclose = true; } + dialog = { shadow = false; fade = false; no-fading-openclose = true; } + unknown = { shadow = false; fade = false; no-fading-openclose = true; } + toolbar = { shadow = false; fade = false; no-fading-openclose = true; } + utility = { shadow = false; fade = false; no-fading-openclose = true; } + splash = { shadow = false; fade = false; no-fading-openclose = true; } + notify = { shadow = false; fade = false; no-fading-openclose = true; } + combo = { shadow = false; fade = false; no-fading-openclose = true; } + desktop = { shadow = false; fade = false; no-fading-openclose = true; } + dnd = { shadow = false; fade = false; no-fading-openclose = true; } + dock = { shadow = false; fade = false; no-fading-openclose = true; } +} +fade-in-step = 0.07; +fade-out-step = 0.07; +backend = "xrender"; +vsync = "none"; +blur-background = "false"; +blur-background-fixed = true; +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'" +]; +no-dock-shadow = true; +no-dnd-shadow = true; +clear-shadow = true; +shadow-ignore-shaped = false; diff --git a/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kompmgr-rc-files/xcompmgrrc b/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kompmgr-rc-files/xcompmgrrc new file mode 100644 index 000000000..9c9b9ff17 --- /dev/null +++ b/ubuntu/maverick/defaultsettings/redmond-default-settings/debian/distrospecific/kompmgr-rc-files/xcompmgrrc @@ -0,0 +1,17 @@ +[xcompmgr] +Compmode= +DisableARGB=false +FadeInStep=0.07 +FadeMenuWindows=true +FadeOutStep=0.07 +FadeToolTipWindows=true +FadeTrans=false +FadeWindows=false +ShadowColor=0x000000 +ShadowOffsetX=0 +ShadowOffsetY=0 +ShadowRadius=4 +ShadowsOnMenuWindows=true +ShadowsOnToolTipWindows=true +blurBackground=false +useOpenGL=false