x11-misc/compton x11-misc/lightdm x11-misc/pcmanfm-qt x11-misc/qlipper x11-misc/qt5ct x11-misc/sddm x11-misc/snixembed x11-misc/xkeyboard-configmaster
parent
852eccbcf7
commit
dfbedfa96f
@ -0,0 +1 @@
|
|||||||
|
{% calculate append='skip' %}
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate append='skip', package='x11-misc/compton' %}
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate path='/etc/xdg/autostart', name='compton.desktop', source='/usr/share/applications/compton.desktop', mirror %}
|
@ -0,0 +1,18 @@
|
|||||||
|
{% calculate comment='#', path='/etc/xdg' %}
|
||||||
|
|
||||||
|
shadow = true;
|
||||||
|
shadow-radius = 9;
|
||||||
|
shadow-offset-x = -7;
|
||||||
|
shadow-offset-y = -7;
|
||||||
|
shadow-opacity = 0.4;
|
||||||
|
shadow-ignore-shaped = true;
|
||||||
|
|
||||||
|
backend = "glx";
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
detect-client-opacity = true;
|
||||||
|
refresh-rate = 0;
|
||||||
|
vsync = "none";
|
||||||
|
dbe = false;
|
||||||
|
paint-on-overlay = true;
|
@ -0,0 +1,4 @@
|
|||||||
|
{% calculate format='kde', path='/usr/share/applications' %}
|
||||||
|
|
||||||
|
[Desktop Entry]
|
||||||
|
NoDisplay=true
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate path='/etc', name='pam.d', package='x11-misc/lightdm' %}
|
@ -0,0 +1,5 @@
|
|||||||
|
{% calculate path='/usr/share/calculate/xdm/logout.d', pkg('sys-apps/calculate-utils[desktop]') %}
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
chvt $(ps ax | grep -v root/$DISPLAY | sed -rn 's/^.*lightdm\/root.*vt([0-9]+).*$/\1/p' | awk '{print $1}')
|
||||||
|
exit 0
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate append='remove', path='/usr/share/calculate/xdm/logout.d', name='99lightdm', not pkg('sys-apps/calculate-utils[desktop]') %}
|
@ -0,0 +1,14 @@
|
|||||||
|
{% calculate path='/etc/pam.d', name='lightdm' %}
|
||||||
|
#%PAM-1.0
|
||||||
|
auth optional pam_env.so
|
||||||
|
auth include system-login
|
||||||
|
auth required pam_nologin.so
|
||||||
|
|
||||||
|
account include system-login
|
||||||
|
|
||||||
|
password include system-login
|
||||||
|
|
||||||
|
session include system-auth
|
||||||
|
{% if pkg('gnome-base/gnome-keyring') and not pkg('mate-base/mate-session-manager') %}
|
||||||
|
session optional pam_gnome_keyring.so auto_start
|
||||||
|
{% endif %}
|
@ -0,0 +1,19 @@
|
|||||||
|
#%PAM-1.0
|
||||||
|
|
||||||
|
# Load environment from /etc/environment and ~/.pam_environment
|
||||||
|
auth required pam_env.so
|
||||||
|
|
||||||
|
# Always let the greeter start without authentication
|
||||||
|
auth required pam_permit.so
|
||||||
|
|
||||||
|
# No action required for account management
|
||||||
|
account required pam_permit.so
|
||||||
|
|
||||||
|
# Can't change password
|
||||||
|
password required pam_deny.so
|
||||||
|
|
||||||
|
# Setup session
|
||||||
|
session required pam_unix.so
|
||||||
|
{% if pkg('sys-apps/systemd') %}
|
||||||
|
session optional pam_systemd.so
|
||||||
|
{% endif %}
|
@ -0,0 +1,10 @@
|
|||||||
|
{% calculate format='kde', path='/etc/lightdm' %}
|
||||||
|
|
||||||
|
[SeatDefaults]
|
||||||
|
{% if pkg('sys-apps/calculate-utils[desktop]') %}
|
||||||
|
session-setup-script=/usr/share/calculate/xdm/xdm --login
|
||||||
|
session-cleanup-script=/usr/share/calculate/xdm/xdm --logout
|
||||||
|
{% else %}
|
||||||
|
!session-setup-script=
|
||||||
|
!session-cleanup-script=
|
||||||
|
{% endif %}
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate append='skip', package='x11-misc/pcmanfm-qt' %}
|
@ -0,0 +1,3 @@
|
|||||||
|
{% calculate format='kde', path='/etc/xdg/autostart' %}
|
||||||
|
[Desktop Entry]
|
||||||
|
Exec=pcmanfm-qt --desktop
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate append='skip', package='x11-misc/qlipper' %}
|
@ -0,0 +1,3 @@
|
|||||||
|
{% calculate format='kde', path='/etc/xdg/autostart', name='qlipper.desktop', source='/usr/share/applications/qlipper.desktop', mirror %}
|
||||||
|
[Desktop Entry]
|
||||||
|
X-LXQt-Need-Tray=true
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate path='/usr/share', name='applications', package='x11-misc/qt5ct' %}
|
@ -0,0 +1,9 @@
|
|||||||
|
{% calculate format='kde' %}
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Qt5 Settings
|
||||||
|
Exec=qt5ct
|
||||||
|
{% if pkg('x11-themes/calculate-icon-theme') >= '15-r8' %}
|
||||||
|
Icon=qt5logo
|
||||||
|
Categories=Settings;Qt;
|
||||||
|
OnlyShowIn=XFCE;MATE;LXQt;
|
||||||
|
{% endif %}
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate path='/etc', name='pam.d', package='x11-misc/sddm' %}
|
@ -0,0 +1,11 @@
|
|||||||
|
{% calculate format='regex', multiline, path='/etc', unbound %}
|
||||||
|
<reg>^(video:x?:[^:]+:)(.*),sddm(.*)$</reg>
|
||||||
|
<text>\1\2\3</text>
|
||||||
|
<reg>^(video:x?:[^:]+:)sddm,(.*)$</reg>
|
||||||
|
<text>\1\2</text>
|
||||||
|
<reg>^(video:x?:[^:]+:)sddm$</reg>
|
||||||
|
<text>\1</text>
|
||||||
|
<reg>^(video:x?:[^:]+:)(.+)</reg>
|
||||||
|
<text>\1\2,sddm</text>
|
||||||
|
<reg>^(video:x?:[^:]+:)$</reg>
|
||||||
|
<text>\1sddm</text>
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate path='/usr/share/sddm' %}
|
@ -0,0 +1,10 @@
|
|||||||
|
{% calculate chmod='755' %}
|
||||||
|
#!/bin/sh
|
||||||
|
# Xlogin - run as root before user login
|
||||||
|
|
||||||
|
{% if pkg('sys-apps/calculate-utils[desktop]') %}
|
||||||
|
VT="vt$(( ${DISPLAY#:} + 7 ))"
|
||||||
|
XAUTHORITY=$(ps ax | sed -nr "s/.*usr\/bin\/X.*-auth (\S+).*$VT.*/\1/p")
|
||||||
|
export XAUTHORITY
|
||||||
|
/usr/share/calculate/xdm/xdm --login
|
||||||
|
{% endif %}
|
@ -0,0 +1,10 @@
|
|||||||
|
{% calculate chmod='755' %}
|
||||||
|
#!/bin/sh
|
||||||
|
# Xlogout - run as root after user logout
|
||||||
|
|
||||||
|
{% if pkg('sys-apps/calculate-utils[desktop]') %}
|
||||||
|
VT="vt$(( ${DISPLAY#:} + 7 ))"
|
||||||
|
XAUTHORITY=$(ps ax | sed -nr "s/.*usr\/bin\/X.*-auth (\S+).*$VT.*/\1/p")
|
||||||
|
export XAUTHORITY
|
||||||
|
/usr/share/calculate/xdm/xdm --logout
|
||||||
|
{% endif %}
|
@ -0,0 +1,8 @@
|
|||||||
|
{% calculate chmod='755' %}
|
||||||
|
#!/bin/sh
|
||||||
|
# Xstop - run as root after stopping X
|
||||||
|
|
||||||
|
if ! pgrep -f /usr/bin/X
|
||||||
|
then
|
||||||
|
[[ -x /usr/sbin/logout ]] && /usr/sbin/logout
|
||||||
|
fi
|
@ -0,0 +1,4 @@
|
|||||||
|
{% calculate format='regex' %}
|
||||||
|
<reg>session\s+optional\s+pam_keyinit.so\s+force\s+revoke\s*
|
||||||
|
</reg>
|
||||||
|
<text></text>
|
@ -0,0 +1,22 @@
|
|||||||
|
#%PAM-1.0
|
||||||
|
|
||||||
|
# Load environment from /etc/environment and ~/.pam_environment
|
||||||
|
auth required pam_env.so
|
||||||
|
|
||||||
|
# Always let the greeter start without authentication
|
||||||
|
auth required pam_permit.so
|
||||||
|
|
||||||
|
# No action required for account management
|
||||||
|
account required pam_permit.so
|
||||||
|
|
||||||
|
# Can't change password
|
||||||
|
password required pam_deny.so
|
||||||
|
|
||||||
|
# Setup session
|
||||||
|
session required pam_unix.so
|
||||||
|
{% if pkg('sys-apps/systemd') %}
|
||||||
|
session optional pam_systemd.so
|
||||||
|
{% endif %}
|
||||||
|
{% if pkg('sys-auth/elogind') %}
|
||||||
|
session optional pam_elogind.so
|
||||||
|
{% endif %}
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate path='/etc/xdg', name='autostart', package='x11-misc/snixembed' %}
|
@ -0,0 +1,5 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=StatusNotifierItems as XEmbedded
|
||||||
|
Exec=snixembed
|
||||||
|
NoDisplay=true
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate append='skip', package='x11-misc/xkeyboard-config' %}
|
@ -0,0 +1,9 @@
|
|||||||
|
{% calculate format='regex', path='/usr/share/X11/xkb/compat' %}
|
||||||
|
<reg>\s*interpret\s+XF86_Ungrab\s+{
|
||||||
|
\s*action = Private\([^)]+\);
|
||||||
|
\s*};</reg>
|
||||||
|
<text></text>
|
||||||
|
<reg>interpret\s+XF86_ClearGrab\s+{
|
||||||
|
\s*action = Private\([^)]+\);
|
||||||
|
\s*};</reg>
|
||||||
|
<text></text>
|
Loading…
Reference in new issue