Browse Source

Добавлены шаблоны xfce-base

xfce-base/exo
xfce-base/libxfce4ui
xfce-base/thunar
xfce-base/xfce4-appfinder
xfce-base/xfce4-panel
xfce-base/xfce4-session
xfce-base/xfdesktop
master
parent
commit
8ce8a814bb
  1. 1
      merge/README.txt
  2. 1
      merge/xfce-base/.calculate_directory
  3. 1
      merge/xfce-base/exo/.calculate_directory
  4. 1
      merge/xfce-base/exo/applications/.calculate_directory
  5. 5
      merge/xfce-base/exo/applications/exo-file-manager.desktop
  6. 5
      merge/xfce-base/exo/applications/exo-mail-reader.desktop
  7. 5
      merge/xfce-base/exo/applications/exo-terminal-emulator.desktop
  8. 5
      merge/xfce-base/exo/applications/exo-web-browser.desktop
  9. 1
      merge/xfce-base/exo/helpers/.calculate_directory
  10. 15
      merge/xfce-base/exo/helpers/chromium-chromium.desktop
  11. 1
      merge/xfce-base/libxfce4ui/.calculate_directory
  12. 3
      merge/xfce-base/libxfce4ui/xfce4-keyboard-shortcuts.xml
  13. 1
      merge/xfce-base/thunar/.calculate_directory
  14. 3
      merge/xfce-base/thunar/thunar-bulk-rename.desktop
  15. 3
      merge/xfce-base/thunar/thunar.desktop
  16. 25
      merge/xfce-base/thunar/uca.xml
  17. 1
      merge/xfce-base/xfce4-appfinder/.calculate_directory
  18. 4
      merge/xfce-base/xfce4-appfinder/xfce4-appfinder.desktop
  19. 1
      merge/xfce-base/xfce4-panel/.calculate_directory
  20. 1
      merge/xfce-base/xfce4-panel/remove-start-here/.calculate_directory
  21. 1
      merge/xfce-base/xfce4-panel/remove-start-here/16x16/apps/xfce4-panel-menu.png
  22. 1
      merge/xfce-base/xfce4-panel/remove-start-here/22x22/apps/xfce4-panel-menu.png
  23. 1
      merge/xfce-base/xfce4-panel/remove-start-here/24x24/apps/xfce4-panel-menu.png
  24. 1
      merge/xfce-base/xfce4-panel/remove-start-here/32x32/apps/xfce4-panel-menu.png
  25. 1
      merge/xfce-base/xfce4-panel/remove-start-here/48x48/apps/xfce4-panel-menu.png
  26. 1
      merge/xfce-base/xfce4-panel/xfce4-panel-menu.svg
  27. 1
      merge/xfce-base/xfce4-session/.calculate_directory
  28. 4
      merge/xfce-base/xfce4-session/xfce.desktop
  29. 4
      merge/xfce-base/xfce4-session/xfce4-session-logout.desktop
  30. 66
      merge/xfce-base/xfce4-session/xflock4
  31. 1
      merge/xfce-base/xfdesktop/.calculate_directory
  32. 4
      merge/xfce-base/xfdesktop/kioskrc
  33. 1
      merge/xfce-base/xfdesktop/xfce-blue.jpg

1
merge/README.txt

@ -52,6 +52,7 @@ merge/sys-apps/portage/syncmodule/calculate содержит код, котор
Обрабатывается ли корректно параметр name=''
Проверить сравнение с версией в dracut 048
Перенести шаблон nginx.conf в live, так как там используется main.hr.cpu.num
./uca.xml - проверить переводы строк с учётом {%-
---Учесть при внедрении---
Удалены шаблоны для plymouth 0.9.4, учесть возможность того, что останутся устаревшие версии

1
merge/xfce-base/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip' %}

1
merge/xfce-base/exo/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip', package='xfce-base/exo' %}

1
merge/xfce-base/exo/applications/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/usr/share' %}

5
merge/xfce-base/exo/applications/exo-file-manager.desktop

@ -0,0 +1,5 @@
{% calculate format='kde' %}
# Hide icon
[Desktop Entry]
OnlyShowIn=X-NeverShowThis;

5
merge/xfce-base/exo/applications/exo-mail-reader.desktop

@ -0,0 +1,5 @@
{% calculate format='kde' %}
# Hide icon
[Desktop Entry]
OnlyShowIn=X-NeverShowThis;

5
merge/xfce-base/exo/applications/exo-terminal-emulator.desktop

@ -0,0 +1,5 @@
{% calculate format='kde' %}
# Hide icon
[Desktop Entry]
OnlyShowIn=X-NeverShowThis;

5
merge/xfce-base/exo/applications/exo-web-browser.desktop

@ -0,0 +1,5 @@
{% calculate format='kde' %}
# Hide icon
[Desktop Entry]
OnlyShowIn=X-NeverShowThis;

1
merge/xfce-base/exo/helpers/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/usr/share/xfce4' %}

15
merge/xfce-base/exo/helpers/chromium-chromium.desktop

@ -0,0 +1,15 @@
[Desktop Entry]
Name=Chromium
Comment=Open-source version of Google Chrome web browser
Exec=chromium %U
TryExec=chromium
Icon=chromium-browser
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
Categories=Network;WebBrowser;
X-XFCE-Category=WebBrowser
X-XFCE-Commands=chromium
X-XFCE-CommandsWithParameter=chromium "%s"
Type=X-XFCE-Helper
X-XFCE-Category=WebBrowser
X-XFCE-Commands=chromium
X-XFCE-CommandsWithParameter=chromium "%s"

1
merge/xfce-base/libxfce4ui/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/etc/xdg/xfce4/xfconf', name='xfce-perchannel-xml', package='xfce-base/libxfce4ui' %}

3
merge/xfce-base/libxfce4ui/xfce4-keyboard-shortcuts.xml

@ -0,0 +1,3 @@
{% calculate format='regex' %}
<reg>\n.*Primary.*Alt.*Delete.*lock.*</reg>
<text></text>

1
merge/xfce-base/thunar/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/etc/xdg', name='Thunar', package='xfce-base/thunar' %}

3
merge/xfce-base/thunar/thunar-bulk-rename.desktop

@ -0,0 +1,3 @@
{% calculate format='kde', path='/usr/share/applications' %}
[Desktop Entry]
Categories=Utility;Core;GTK;Filesystem;

3
merge/xfce-base/thunar/thunar.desktop

@ -0,0 +1,3 @@
{% calculate format='kde', path='/usr/share/applications' %}
[Desktop Entry]
Categories=System;

25
merge/xfce-base/thunar/uca.xml

@ -0,0 +1,25 @@
{% calculate format='regex', comment='xml' %}
<reg>&lt;/action&gt;
( &lt;action&gt;
&lt;icon&gt;edit-find&lt;/icon&gt;
&lt;patterns&gt;*&lt;/patterns&gt;
&lt;name&gt;Search&lt;/name&gt;
&lt;name xml:lang="ru"&gt;Поиск&lt;/name&gt;
&lt;command&gt;catfish --fileman=thunar --path=%f&lt;/command&gt;
&lt;description&gt;find files or filders&lt;/description&gt;
&lt;description xml:lang="ru"&gt;найти файлы и папки&lt;/description&gt;
&lt;directories/&gt;
&lt;/action&gt;)?
</reg>
<text>&lt;/action&gt;
{% if pkg('dev-util/catfish') %} &lt;action&gt;
&lt;icon&gt;edit-find&lt;/icon&gt;
&lt;patterns&gt;*&lt;/patterns&gt;
&lt;name&gt;Search&lt;/name&gt;
&lt;name xml:lang="ru"&gt;Поиск&lt;/name&gt;
&lt;command&gt;catfish %f&lt;/command&gt;
&lt;description&gt;find files or filders&lt;/description&gt;
&lt;description xml:lang="ru"&gt;найти файлы и папки&lt;/description&gt;
&lt;directories/&gt;
&lt;/action&gt;
{% endif %}</text>

1
merge/xfce-base/xfce4-appfinder/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/usr/share', name='applications', package='xfce-base/xfce4-appfinder' %}

4
merge/xfce-base/xfce4-appfinder/xfce4-appfinder.desktop

@ -0,0 +1,4 @@
{% calculate format='kde' %}
[Desktop Entry]
NoDisplay=true

1
merge/xfce-base/xfce4-panel/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip', package='xfce-base/xfce4-panel', pkg('x11-themes/calculate-icon-theme') >= '14-r6' %}

1
merge/xfce-base/xfce4-panel/remove-start-here/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/usr/share/icons', name='hicolor' %}

1
merge/xfce-base/xfce4-panel/remove-start-here/16x16/apps/xfce4-panel-menu.png

@ -0,0 +1 @@
{% calculate append='remove' %}

1
merge/xfce-base/xfce4-panel/remove-start-here/22x22/apps/xfce4-panel-menu.png

@ -0,0 +1 @@
{% calculate append='remove' %}

1
merge/xfce-base/xfce4-panel/remove-start-here/24x24/apps/xfce4-panel-menu.png

@ -0,0 +1 @@
{% calculate append='remove' %}

1
merge/xfce-base/xfce4-panel/remove-start-here/32x32/apps/xfce4-panel-menu.png

@ -0,0 +1 @@
{% calculate append='remove' %}

1
merge/xfce-base/xfce4-panel/remove-start-here/48x48/apps/xfce4-panel-menu.png

@ -0,0 +1 @@
{% calculate append='remove' %}

1
merge/xfce-base/xfce4-panel/xfce4-panel-menu.svg

@ -0,0 +1 @@
{% calculate append='link', path='/usr/share/icons/hicolor/symbolic/apps', source='/usr/share/pixmaps/calculate/start-here-blue.svg', mirror %}

1
merge/xfce-base/xfce4-session/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip', package='xfce-base/xfce4-session' %}

4
merge/xfce-base/xfce4-session/xfce.desktop

@ -0,0 +1,4 @@
{% calculate format='kde', path='/usr/share/xsessions' %}
[Desktop Entry]
Name[ru]=Сеанс Xfce

4
merge/xfce-base/xfce4-session/xfce4-session-logout.desktop

@ -0,0 +1,4 @@
{% calculate format='kde', path='/usr/share/applications' %}
[Desktop Entry]
Categories=X-XFCE;X-Xfce-Toplevel;

66
merge/xfce-base/xfce4-session/xflock4

@ -0,0 +1,66 @@
{% calculate path='/usr/bin', chmod='755', chown='root:root' %}
#!/bin/sh
#
# xfce4
#
# Copyright (C) 1999, 2003 Olivier Fourdan (fourdan@xfce.org)
# Copyright (C) 2011 Guido Berhoerster (guido+xfce.org@berhoerster.name)
# Copyright (C) 2011 Jarno Suni (8@iki.fi)
# Copyright (C) 2013 Mir Calculate (support@calculate-linux.ru)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
PATH=/bin:/usr/bin
export PATH
# spawn xflock4 before suspend contains DISPLAY without dot symbol
# wait several seconds before the dm-tool running if it's the suspend
SLEEPCMD=:
[ "${DISPLAY}" == "${DISPLAY/./}" ] && SLEEPCMD="sleep 2"
# lock screen by gnome-screensaver and activate lightdm user switch
if type dm-tool &>/dev/null; then
if type gnome-screensaver-command &>/dev/null; then
gnome-screensaver-command --lock &>/dev/null &&
$SLEEPCMD && dm-tool switch-to-greeter &>/dev/null && exit
else
dm-tool switch-to-greeter &>/dev/null && exit
fi
fi
# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
for lock_cmd in \
"xscreensaver-command -lock" \
"gnome-screensaver-command --lock"
do
$lock_cmd >/dev/null 2>&1 && exit
done
# else run another access locking utility, if installed
for lock_cmd in \
"xlock -mode blank" \
"slock"
do
set -- $lock_cmd
if command -v -- $1 >/dev/null 2>&1; then
$lock_cmd >/dev/null 2>&1 &
# turn off display backlight:
xset dpms force off
exit
fi
done
# else access locking failed
exit 1

1
merge/xfce-base/xfdesktop/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip', package='xfce-base/xfdesktop' %}

4
merge/xfce-base/xfdesktop/kioskrc

@ -0,0 +1,4 @@
{% calculate format='samba', path='/etc/xdg/xfce4/kiosk' %}
[xfce4-session]
!Shutdown=

1
merge/xfce-base/xfdesktop/xfce-blue.jpg

@ -0,0 +1 @@
{% calculate append='remove', path='/usr/share/backgrounds/xfce' %}
Loading…
Cancel
Save