diff --git a/desktop/user/20-kde/kde-4.3-4.4/.kde4/share/config/plasma-desktop-appletsrc b/desktop/user/20-kde/kde-4.3-4.4/.kde4/share/config/plasma-desktop-appletsrc index 7420422..ea199bb 100644 --- a/desktop/user/20-kde/kde-4.3-4.4/.kde4/share/config/plasma-desktop-appletsrc +++ b/desktop/user/20-kde/kde-4.3-4.4/.kde4/share/config/plasma-desktop-appletsrc @@ -55,16 +55,16 @@ plugin=simplelauncher zvalue=0 [Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app)-#][Configuration] icon=kde -#?cl_remote_host==# +#?env(client.os_remote_auth)==# views=Applications,RunCommand,Leave -#cl_remote_host# -#?cl_remote_host!=# +#env# +#?env(client.os_remote_auth)!=# views=Applications,RunCommand,SwitchUser,LockScreen,Logout -#cl_remote_host# +#env# [Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app)-#][LayoutInformation] Order=#-sum(apporder,apporder)-# -#?cl_remote_host==# +#?env(client.os_remote_auth)==# [Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app+1)-#] immutability=1 !geometry=del @@ -74,9 +74,9 @@ zvalue=0 Url=file:///home/#-ur_login-# [Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app)-#][LayoutInformation] Order=#-sum(apporder,apporder+1)-# -#cl_remote_host# +#env# -#?cl_remote_host!=# +#?env(client.os_remote_auth)!=# [Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app+1)-#] immutability=1 !geometry=del @@ -96,9 +96,9 @@ zvalue=0 Url=file:///home/#-ur_login-#/Disks [Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app)-#][LayoutInformation] Order=#-sum(apporder,apporder+1)-# -#cl_remote_host# +#env# -#?cl_remote_host!=&&cl_remote_ftp!=# +#?env(client.os_remote_auth)!=&&server(ftp.host)!=# [Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app+1)-#] immutability=1 !geometry=del @@ -108,10 +108,10 @@ zvalue=0 Url=file:///home/#-ur_login-#/FTP [Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app)-#][LayoutInformation] Order=#-sum(apporder,apporder+1)-# -#cl_remote_host# -#?cl_remote_ftp==# +#env# +#?server(ftp.host)==# [Containments][#-sum(cont,cont)-#][Applets][!#-sum(app,app+1)-#] -#cl_remote_ftp# +#env# [Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app+1)-#] immutability=1 diff --git a/desktop/user/20-kde/kde-4.3-4.4/Desktop/FTP.desktop b/desktop/user/20-kde/kde-4.3-4.4/Desktop/FTP.desktop index 58dc333..d8307ee 100644 --- a/desktop/user/20-kde/kde-4.3-4.4/Desktop/FTP.desktop +++ b/desktop/user/20-kde/kde-4.3-4.4/Desktop/FTP.desktop @@ -1,4 +1,4 @@ -# Calculate format=samba env(client.os_remote_auth)!=&&env(client.cl_remote_ftp)!= +# Calculate format=samba env(client.os_remote_auth)!=&&server(ftp.host)!= [Desktop Entry] Encoding=UTF-8 Name=FTP diff --git a/desktop/user/20-kde/kde-4.3/.config/autostart/kopete.desktop b/desktop/user/20-kde/kde-4.3/.config/autostart/kopete.desktop index a3d95e5..46aaa95 100644 --- a/desktop/user/20-kde/kde-4.3/.config/autostart/kopete.desktop +++ b/desktop/user/20-kde/kde-4.3/.config/autostart/kopete.desktop @@ -1,2 +1,2 @@ -# Calculate format=kde link=/usr/share/applications/kde4/kopete.desktop mirror env(client.os_remote_auth)!=&&env(client.sr_jabber_host)!= +# Calculate format=kde link=/usr/share/applications/kde4/kopete.desktop mirror env(client.os_remote_auth)!=&&server(jabber.host)!= #добавим Kopete в автозагрузку если настроен локальный Jabber сервер diff --git a/desktop/user/20-kde/kde-4.3/.kde4/share/config/emaildefaults b/desktop/user/20-kde/kde-4.3/.kde4/share/config/emaildefaults index 006c4f4..ef6528b 100644 --- a/desktop/user/20-kde/kde-4.3/.kde4/share/config/emaildefaults +++ b/desktop/user/20-kde/kde-4.3/.kde4/share/config/emaildefaults @@ -6,5 +6,5 @@ Profile=Default [PROFILE_Default] EmailAddress=#-ur_mail-# FullName=#-ur_fullname-# -Organization=#-env(client.ur_organization)-# -OutgoingServer=#-env(client.sr_mail_host)-# +Organization=#-server(mail.organization)-# +OutgoingServer=#-server(mail.host)-# diff --git a/desktop/user/20-kde/kde-4.3/.kde4/share/config/emailidentities b/desktop/user/20-kde/kde-4.3/.kde4/share/config/emailidentities index fab5d59..aecc85b 100644 --- a/desktop/user/20-kde/kde-4.3/.kde4/share/config/emailidentities +++ b/desktop/user/20-kde/kde-4.3/.kde4/share/config/emailidentities @@ -7,14 +7,14 @@ Default Identity=1 #?os_locale_language==ru# Dictionary=Русский #os_locale_language# -#?env(client.os_remote_auth)!=&&env(client.sr_mail_type)==imap# +#?env(client.os_remote_auth)!=&&server(mail.type)==imap# Drafts=.1.directory/Drafts Fcc=.1.directory/Sent #env# Email Address=#-ur_mail-# Identity=Default -Inline Signature=#-env(client.ur_signature)-# +Inline Signature=#-server(mail.signature)-# Name=#-ur_fullname-# -Organization=#-env(client.ur_organization)-# +Organization=#-server(mail.organization)-# Signature Type=inline uoid=1 diff --git a/desktop/user/20-kde/kde-4.3/.kde4/share/config/kmailrc b/desktop/user/20-kde/kde-4.3/.kde4/share/config/kmailrc index 86b140b..d845fad 100644 --- a/desktop/user/20-kde/kde-4.3/.kde4/share/config/kmailrc +++ b/desktop/user/20-kde/kde-4.3/.kde4/share/config/kmailrc @@ -1,6 +1,6 @@ # Calculate format=kde #создадим учетную запись -#?env(client.os_remote_auth)!=&&env(client.sr_mail_type)==imap# +#?env(client.os_remote_auth)!=&&server(mail.type)==imap# [Account 1] #автоматически очищать удаленные сообщения auto-expunge=true @@ -12,11 +12,11 @@ Type=Imap auth=* #периодическая проверка почты check-interval=5 -host=#-env(client.sr_mail_host)-# +host=#-server(mail.host)-# #загружать вложения по требованию loadondemand=true login=#-ur_login-# -port=#-env(client.sr_mail_port)-# +port=#-server(mail.port)-# trash=.1.directory/Trash use-tls=true @@ -35,7 +35,7 @@ isOpen=true SystemTrayEnabled=true #режим отображения значка SystemTrayPolicy=ShowAlways -#?env(client.os_remote_auth)!=&&env(client.sr_mail_type)==imap# +#?env(client.os_remote_auth)!=&&server(mail.type)==imap# #количество учётных записей accounts=1 #проверять почту при запуске diff --git a/desktop/user/20-kde/kde-4.3/.kde4/share/config/kopeterc b/desktop/user/20-kde/kde-4.3/.kde4/share/config/kopeterc index f5384ab..6027803 100644 --- a/desktop/user/20-kde/kde-4.3/.kde4/share/config/kopeterc +++ b/desktop/user/20-kde/kde-4.3/.kde4/share/config/kopeterc @@ -1,13 +1,13 @@ # Calculate format=kde append=replace -#?env(client.os_remote_auth)!=&&env(client.sr_jabber_host)!=# +#?env(client.os_remote_auth)!=&&server(jabber.host)!=# [Account_JabberProtocol_#-ur_jid-#] AccountId=#-ur_jid-# AllowPlainTextPassword=true CustomServer=true -Port=#-env(client.sr_jabber_port)-# +Port=#-server(jabber.port)-# Protocol=JabberProtocol RememberPassword=true -Server=#-env(client.sr_jabber_host)-# +Server=#-server(jabber.host)-# UseSSL=true #env# @@ -72,7 +72,7 @@ Width 1680=500 Width 1920=500 [Notification Messages] -#?env(client.os_remote_auth)!=&&env(client.sr_jabber_host)!=# +#?env(client.os_remote_auth)!=&&server(jabber.host)!=# #выдавать предупреждение при проверке сертификата защищенного соединения KopeteTLSWarning#-ur_jid_host-#InvalidCertSelfSigned=false #env# diff --git a/desktop/user/20-kde/kde-4.3/.kde4/share/config/mailtransports b/desktop/user/20-kde/kde-4.3/.kde4/share/config/mailtransports index e372f79..e05d353 100644 --- a/desktop/user/20-kde/kde-4.3/.kde4/share/config/mailtransports +++ b/desktop/user/20-kde/kde-4.3/.kde4/share/config/mailtransports @@ -1,11 +1,11 @@ # Calculate format=kde #настройка отправки писем kmail -#?env(client.sr_mail_host)!=&&env(client.os_remote_auth)!=# +#?env(client.os_remote_auth)!=&&server(mail.host)!=# [General] default-transport=1 [Transport 1] -host=#-env(client.sr_mail_host)-# +host=#-server(mail.host)-# id=1 name=SMTP #env# diff --git a/desktop/user/20-kde/kde-4.4/.kde4/share/apps/kwallet/kdewallet.kwl b/desktop/user/20-kde/kde-4.4/.kde4/share/apps/kwallet/kdewallet.kwl index 3e8774c..ac9953d 100644 Binary files a/desktop/user/20-kde/kde-4.4/.kde4/share/apps/kwallet/kdewallet.kwl and b/desktop/user/20-kde/kde-4.4/.kde4/share/apps/kwallet/kdewallet.kwl differ diff --git a/desktop/user/20-kde/kde-4.4/.kde4/share/config/kopeterc b/desktop/user/20-kde/kde-4.4/.kde4/share/config/kopeterc index d589ef4..6027803 100644 --- a/desktop/user/20-kde/kde-4.4/.kde4/share/config/kopeterc +++ b/desktop/user/20-kde/kde-4.4/.kde4/share/config/kopeterc @@ -74,7 +74,7 @@ Width 1920=500 [Notification Messages] #?env(client.os_remote_auth)!=&&server(jabber.host)!=# #выдавать предупреждение при проверке сертификата защищенного соединения -KopeteTLSWarning#-replace('as@','',ur_jid)-#InvalidCertSelfSigned=false +KopeteTLSWarning#-ur_jid_host-#InvalidCertSelfSigned=false #env# #предупреждать что программа остается запущенной при закрытии главного окна hideOnCloseInfo=false diff --git a/desktop/user/20-kde/kde-4.4/Desktop/Home-remote.desktop b/desktop/user/20-kde/kde-4.4/Desktop/Home-remote.desktop index 1c2a9b4..a7e4490 100644 --- a/desktop/user/20-kde/kde-4.4/Desktop/Home-remote.desktop +++ b/desktop/user/20-kde/kde-4.4/Desktop/Home-remote.desktop @@ -1,4 +1,4 @@ -# Calculate name=Home.desktop format=samba env(client.os_remote_auth)!= append=replace +# Calculate append=replace name=Home.desktop format=samba env(client.os_remote_auth)!= [Desktop Entry] Encoding=UTF-8 Name=Home diff --git a/desktop/user/60-application/pidgin-2.6/.purple/accounts.xml b/desktop/user/60-application/pidgin-2.6/.purple/accounts.xml index 33f2f01..05e4fe5 100644 --- a/desktop/user/60-application/pidgin-2.6/.purple/accounts.xml +++ b/desktop/user/60-application/pidgin-2.6/.purple/accounts.xml @@ -1,4 +1,4 @@ -# Calculate env(client.os_remote_auth)!=&&env(client.sr_jabber_host)!= +# Calculate env(client.os_remote_auth)!=&&server(jabber.host)!= @@ -9,11 +9,11 @@ 1 0 - #-env(client.sr_jabber_host)-# + #-server(jabber.host)-# 1 1 - #-env(client.sr_jabber_port)-# + #-server(jabber.port)-# 1 diff --git a/desktop/user/80-patches/patch-2.1.16/.calculate_directory b/desktop/user/80-patches/patch-2.1.16/.calculate_directory index e451dc6..de796ff 100644 --- a/desktop/user/80-patches/patch-2.1.16/.calculate_directory +++ b/desktop/user/80-patches/patch-2.1.16/.calculate_directory @@ -1 +1 @@ -# Calculate append=skip ini(main.update)!=off&&ini(update.patch)!=off&&ini(ver.patch)<2.1.16 +# Calculate append=skip ini(ver.patch)<2.1.16 diff --git a/desktop/user/80-patches/patch-2.1.17/.calculate_directory b/desktop/user/80-patches/patch-2.1.17/.calculate_directory index 181f753..369982d 100644 --- a/desktop/user/80-patches/patch-2.1.17/.calculate_directory +++ b/desktop/user/80-patches/patch-2.1.17/.calculate_directory @@ -1 +1 @@ -# Calculate append=skip ini(main.update)!=off&&ini(update.patch)!=off&&ini(ver.patch)<2.1.17 +# Calculate append=skip ini(ver.patch)<2.1.17 diff --git a/desktop/user/80-patches/patch-2.1.19/.calculate_directory b/desktop/user/80-patches/patch-2.1.19/.calculate_directory index f06daa3..2a3152e 100644 --- a/desktop/user/80-patches/patch-2.1.19/.calculate_directory +++ b/desktop/user/80-patches/patch-2.1.19/.calculate_directory @@ -1 +1 @@ -# Calculate append=skip ini(main.update)!=off&&ini(update.patch)!=off&&ini(ver.patch)<2.1.19 +# Calculate append=skip ini(ver.patch)<2.1.19 diff --git a/pym/cl_fill_desktop.py b/pym/cl_fill_desktop.py index 820663b..86008a3 100644 --- a/pym/cl_fill_desktop.py +++ b/pym/cl_fill_desktop.py @@ -216,3 +216,10 @@ class fillVars(glob_attr): else: return "vesa" + def get_ur_jid_host(self): + """Host Jabber пользователя""" + userJid = self.Get("ur_jid") + if userJid: + return userJid.partition('@')[2] + return "" + diff --git a/pym/cl_vars_desktop.py b/pym/cl_vars_desktop.py index ec9fdeb..0d61120 100644 --- a/pym/cl_vars_desktop.py +++ b/pym/cl_vars_desktop.py @@ -50,7 +50,7 @@ class Data: # Почтовый адрес пользователя ur_mail = {'mode':"r"} - + #Разрешение X по вертикали hr_x11_height = {'mode':"w"} @@ -72,4 +72,7 @@ class Data: # Включен ли композитный режим видеокарты on/off hr_x11_composite = {} + # Host Jabber пользователя + ur_jid_host = {'mode':"w"} +