From 1227a26381bef2a71992bcdd7277d86c2348790b Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 5 Apr 2010 11:05:12 +0400 Subject: [PATCH 1/6] Add setting template for gimp. Change name of Gimp Icon --- client-profiles/90-gimp-2.6/.calculate/ini.env | 7 +++++++ client-profiles/90-gimp-2.6/.calculate_directory | 1 + .../.local/share/applications/gimp.desktop | 12 ++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 client-profiles/90-gimp-2.6/.calculate/ini.env create mode 100644 client-profiles/90-gimp-2.6/.calculate_directory create mode 100644 client-profiles/90-gimp-2.6/.local/share/applications/gimp.desktop diff --git a/client-profiles/90-gimp-2.6/.calculate/ini.env b/client-profiles/90-gimp-2.6/.calculate/ini.env new file mode 100644 index 0000000..ad1d3e8 --- /dev/null +++ b/client-profiles/90-gimp-2.6/.calculate/ini.env @@ -0,0 +1,7 @@ +# Calculate format=samba + +[ver] +gimp = 2.6 + +[update] +gimp = on diff --git a/client-profiles/90-gimp-2.6/.calculate_directory b/client-profiles/90-gimp-2.6/.calculate_directory new file mode 100644 index 0000000..0de65e1 --- /dev/null +++ b/client-profiles/90-gimp-2.6/.calculate_directory @@ -0,0 +1 @@ +# Calculate ini(main.update)!=off&ini(update.gimp)!=off&ini(ver.gimp)==&pkg(media-gfx/gimp)>=2.6 diff --git a/client-profiles/90-gimp-2.6/.local/share/applications/gimp.desktop b/client-profiles/90-gimp-2.6/.local/share/applications/gimp.desktop new file mode 100644 index 0000000..be2a1f9 --- /dev/null +++ b/client-profiles/90-gimp-2.6/.local/share/applications/gimp.desktop @@ -0,0 +1,12 @@ +# Calculate format=kde link=/usr/share/applications/gimp.desktop mirror + +[Desktop Entry] +Name=Gimp +Name[de]=Gimp +Name[es]=Gimp +Name[fr]=Gimp +Name[it]=Gimp +Name[pl]=Gimp +Name[pt_BR]=Gimp +Name[ru]=Gimp +Name[uk]=Gimp From 678f8d87c179e5096cb973f2359d5273b9121154 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 5 Apr 2010 13:45:22 +0400 Subject: [PATCH 2/6] Modify plasma for FTP --- .../share/config/plasma-desktop-appletsrc | 1 + .../20-kde-always/.calculate_directory | 1 + .../share/config/plasma-desktop-appletsrc | 26 +++++++++++++++++++ .../Desktop/.calculate_directory | 2 ++ .../20-kde-always/Desktop/FTP.desktop | 8 ++++++ .../20-kde-always/Desktop/FTP.desktop.remove | 8 ++++++ .../99-system-always/.calculate/ini.env | 6 +++++ 7 files changed, 52 insertions(+) create mode 100644 client-profiles/20-kde-always/.calculate_directory create mode 100644 client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc create mode 100644 client-profiles/20-kde-always/Desktop/.calculate_directory create mode 100644 client-profiles/20-kde-always/Desktop/FTP.desktop create mode 100644 client-profiles/20-kde-always/Desktop/FTP.desktop.remove diff --git a/client-profiles/20-kde-4.4/.kde4/share/config/plasma-desktop-appletsrc b/client-profiles/20-kde-4.4/.kde4/share/config/plasma-desktop-appletsrc index 5316505..b813fdb 100644 --- a/client-profiles/20-kde-4.4/.kde4/share/config/plasma-desktop-appletsrc +++ b/client-profiles/20-kde-4.4/.kde4/share/config/plasma-desktop-appletsrc @@ -114,6 +114,7 @@ Order=#-sum(apporder,apporder+1)-# #cl_remote_host# #?cl_remote_ftp==# [Containments][#-sum(cont,cont)-#][Applets][!#-sum(app,app+1)-#] +#-sum(apporder,,apporder+1)-# #cl_remote_ftp# [Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app+1)-#] diff --git a/client-profiles/20-kde-always/.calculate_directory b/client-profiles/20-kde-always/.calculate_directory new file mode 100644 index 0000000..a498ca1 --- /dev/null +++ b/client-profiles/20-kde-always/.calculate_directory @@ -0,0 +1 @@ +# Calculate ini(main.update)!=off&ini(update.kde)!=off&pkg(kde-base/kdelibs)>=4.4 diff --git a/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc b/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc new file mode 100644 index 0000000..54d817b --- /dev/null +++ b/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc @@ -0,0 +1,26 @@ +# Calculate format=plasma cl_remote_host!=&cl_remote_host!=ini(domain) +#------------------------------------------------------------------------------ +#рабочий стол +#------------------------------------------------------------------------------ +[AppletGlobals][plasma_applet_pager] +rows=1 + +#------------------------------------------------------------------------------ +#верхняя панель +#------------------------------------------------------------------------------ +#-sum(panel,,31)-# +#-sum(apporder,,0)-# + +#?cl_remote_ftp!=# +[Containments][2][Applets][103] +immutability=1 +plugin=icon +zvalue=0 +[Containments][2][Applets][103][Configuration] +Url=file:///home/#-ur_login-#/FTP +[Containments][2][Applets][103][LayoutInformation] +Order=3 +#cl_remote_ftp# +#?cl_remote_ftp==# +[Containments][2][Applets][!103] +#cl_remote_ftp# diff --git a/client-profiles/20-kde-always/Desktop/.calculate_directory b/client-profiles/20-kde-always/Desktop/.calculate_directory new file mode 100644 index 0000000..311bccd --- /dev/null +++ b/client-profiles/20-kde-always/Desktop/.calculate_directory @@ -0,0 +1,2 @@ +# Calculate cl_remote_host!=&cl_remote_host!=ini(domain) + diff --git a/client-profiles/20-kde-always/Desktop/FTP.desktop b/client-profiles/20-kde-always/Desktop/FTP.desktop new file mode 100644 index 0000000..3d91132 --- /dev/null +++ b/client-profiles/20-kde-always/Desktop/FTP.desktop @@ -0,0 +1,8 @@ +# Calculate format=kde cl_remote_host!=&cl_remote_ftp!= +[Desktop Entry] +Encoding=UTF-8 +Name=FTP +Comment=Browser FTP +URL[$e]=$HOME/FTP +Icon=folder-downloads +Type=Link diff --git a/client-profiles/20-kde-always/Desktop/FTP.desktop.remove b/client-profiles/20-kde-always/Desktop/FTP.desktop.remove new file mode 100644 index 0000000..111ea2c --- /dev/null +++ b/client-profiles/20-kde-always/Desktop/FTP.desktop.remove @@ -0,0 +1,8 @@ +# Calculate append=remove name=FTP.desktop format=kde cl_remote_host!=&cl_remote_ftp== +[Desktop Entry] +Encoding=UTF-8 +Name=FTP +Comment=Browser FTP +URL[$e]=$HOME/FTP +Icon=folder-downloads +Type=Link diff --git a/client-profiles/99-system-always/.calculate/ini.env b/client-profiles/99-system-always/.calculate/ini.env index 2629267..456f980 100644 --- a/client-profiles/99-system-always/.calculate/ini.env +++ b/client-profiles/99-system-always/.calculate/ini.env @@ -4,3 +4,9 @@ #Delete flag updating system !newsystem = #ini# +#?cl_remote_host!=# +domain = #-cl_remote_host-# +#cl_remote_host# +#?cl_remote_host==# +!domain = +#cl_remote_host# From 9581cc412d2a90c2c17d7161fe0967ee2da2940e Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 5 Apr 2010 13:56:07 +0400 Subject: [PATCH 3/6] Fix syntax error for 20-kde-always --- client-profiles/20-kde-always/Desktop/.calculate_directory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-profiles/20-kde-always/Desktop/.calculate_directory b/client-profiles/20-kde-always/Desktop/.calculate_directory index 311bccd..86739aa 100644 --- a/client-profiles/20-kde-always/Desktop/.calculate_directory +++ b/client-profiles/20-kde-always/Desktop/.calculate_directory @@ -1,2 +1,2 @@ -# Calculate cl_remote_host!=&cl_remote_host!=ini(domain) +# Calculate cl_remote_host!=&ini(domain)!=cl_remote_host From 6a31d47f62f80ebb36f4bae67e10f864c92747d2 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 5 Apr 2010 13:58:01 +0400 Subject: [PATCH 4/6] Fix syntax error for 20-kde-always template --- .../20-kde-always/.kde4/share/config/plasma-desktop-appletsrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc b/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc index 54d817b..7dd5501 100644 --- a/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc +++ b/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc @@ -1,4 +1,4 @@ -# Calculate format=plasma cl_remote_host!=&cl_remote_host!=ini(domain) +# Calculate format=plasma cl_remote_host!=&ini(domain)!=cl_remote_host #------------------------------------------------------------------------------ #рабочий стол #------------------------------------------------------------------------------ From aa7daf4ee34f5d38da29ba1ee207ec4558029195 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 5 Apr 2010 14:04:55 +0400 Subject: [PATCH 5/6] Fix for remote FTP setup --- .../share/config/plasma-desktop-appletsrc | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc b/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc index 7dd5501..e54a553 100644 --- a/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc +++ b/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc @@ -2,8 +2,14 @@ #------------------------------------------------------------------------------ #рабочий стол #------------------------------------------------------------------------------ -[AppletGlobals][plasma_applet_pager] -rows=1 + +[Containments][1] +#-sum(iconx,,10)-# +#-sum(icony,,10)-# +#-sum(iconcx,,112)-# +#-sum(iconcy,,100)-# +#-sum(iconcount,,2)-# +savedPositions=1,7,Home.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-#,Disks.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-#,FTP.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-#,#-sum(iconx,,10)-##-sum(icony,,icony+iconcy)-#calculate-install.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-#,partitionmanager.desktop,#-sum(iconx,iconx,10)-#,#-sum(icony,icony,icony+iconcy)-#,README.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-#,calculate-community.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-# #------------------------------------------------------------------------------ #верхняя панель @@ -12,15 +18,15 @@ rows=1 #-sum(apporder,,0)-# #?cl_remote_ftp!=# -[Containments][2][Applets][103] +[Containments][2][Applets][203] immutability=1 plugin=icon zvalue=0 -[Containments][2][Applets][103][Configuration] +[Containments][2][Applets][203][Configuration] Url=file:///home/#-ur_login-#/FTP -[Containments][2][Applets][103][LayoutInformation] +[Containments][2][Applets][203][LayoutInformation] Order=3 #cl_remote_ftp# #?cl_remote_ftp==# -[Containments][2][Applets][!103] +[Containments][2][Applets][!203] #cl_remote_ftp# From 1f3b1471ec07e2d0bd8b1def96ef3fccd5fcf2d6 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 5 Apr 2010 14:17:20 +0400 Subject: [PATCH 6/6] Remove modify top panel for kde --- .../share/config/plasma-desktop-appletsrc | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc b/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc index e54a553..50b945d 100644 --- a/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc +++ b/client-profiles/20-kde-always/.kde4/share/config/plasma-desktop-appletsrc @@ -10,23 +10,3 @@ #-sum(iconcy,,100)-# #-sum(iconcount,,2)-# savedPositions=1,7,Home.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-#,Disks.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-#,FTP.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-#,#-sum(iconx,,10)-##-sum(icony,,icony+iconcy)-#calculate-install.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-#,partitionmanager.desktop,#-sum(iconx,iconx,10)-#,#-sum(icony,icony,icony+iconcy)-#,README.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-#,calculate-community.desktop,#-sum(iconx,iconx,iconx+iconcx)-#,#-sum(icony,icony)-# - -#------------------------------------------------------------------------------ -#верхняя панель -#------------------------------------------------------------------------------ -#-sum(panel,,31)-# -#-sum(apporder,,0)-# - -#?cl_remote_ftp!=# -[Containments][2][Applets][203] -immutability=1 -plugin=icon -zvalue=0 -[Containments][2][Applets][203][Configuration] -Url=file:///home/#-ur_login-#/FTP -[Containments][2][Applets][203][LayoutInformation] -Order=3 -#cl_remote_ftp# -#?cl_remote_ftp==# -[Containments][2][Applets][!203] -#cl_remote_ftp#