Skip to content

Commit 76e9add

Browse files
committed
Cleaned a few files, moved some others...
1 parent f4f7a77 commit 76e9add

File tree

10 files changed

+446
-0
lines changed

10 files changed

+446
-0
lines changed

Xfce4-stuff.zip

-18.9 MB
Binary file not shown.

lightdm/Xsession

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#!/bin/sh
2+
#
3+
# LightDM wrapper to run around X sessions.
4+
5+
echo "Running X session wrapper"
6+
7+
# Load profile
8+
for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
9+
if [ -f "$file" ]; then
10+
echo "Loading profile from $file";
11+
. "$file"
12+
fi
13+
done
14+
15+
# Load resources
16+
for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do
17+
if [ -f "$file" ]; then
18+
echo "Loading resource: $file"
19+
xrdb -merge "$file"
20+
fi
21+
done
22+
23+
# Load keymaps
24+
for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do
25+
if [ -f "$file" ]; then
26+
echo "Loading keymap: $file"
27+
setxkbmap `cat "$file"`
28+
XKB_IN_USE=yes
29+
fi
30+
done
31+
32+
# Load xmodmap if not using XKB
33+
if [ -z "$XKB_IN_USE" ]; then
34+
for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do
35+
if [ -f "$file" ]; then
36+
echo "Loading modmap: $file"
37+
xmodmap "$file"
38+
fi
39+
done
40+
fi
41+
42+
unset XKB_IN_USE
43+
44+
# Run all system xinitrc shell scripts
45+
xinitdir="/etc/X11/xinit/xinitrc.d"
46+
if [ -d "$xinitdir" ]; then
47+
for script in $xinitdir/*; do
48+
echo "Loading xinit script $script"
49+
if [ -x "$script" -a ! -d "$script" ]; then
50+
. "$script"
51+
fi
52+
done
53+
fi
54+
55+
# Run user xsession shell script
56+
script="$HOME/.xsession"
57+
if [ -x "$script" -a ! -d "$script" ]; then
58+
echo "Loading xsession script $script"
59+
. "$script"
60+
fi
61+
62+
echo "X session wrapper complete, running session $@"
63+
64+
exec $@

lightdm/keys.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[keyring]
2+
#a=0x0123456789ABCD
3+
#b=secret

lightdm/lightdm-gtk-greeter.conf

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# LightDM GTK+ Configuration
2+
# Available configuration options listed below.
3+
#
4+
# Appearance:
5+
# theme-name = GTK+ theme to use
6+
# icon-theme-name = Icon theme to use
7+
# cursor-theme-name = Cursor theme to use
8+
# cursor-theme-size = Cursor size to use
9+
# background = Background file to use, either an image path or a color (e.g. #772953)
10+
# user-background = false|true ("true" by default) Display user background (if available)
11+
# transition-duration = Length of time (in milliseconds) to transition between background images ("500" by default)
12+
# transition-type = ease-in-out|linear|none ("ease-in-out" by default)
13+
#
14+
# Fonts:
15+
# font-name = Font to use
16+
# xft-antialias = false|true Whether to antialias Xft fonts
17+
# xft-dpi = Resolution for Xft in dots per inch (e.g. 96)
18+
# xft-hintstyle = none|slight|medium|hintfull What degree of hinting to use
19+
# xft-rgba = none|rgb|bgr|vrgb|vbgr Type of subpixel antialiasing
20+
#
21+
# Login window:
22+
# active-monitor = Monitor to display greeter window (name or number). Use #cursor value to display greeter at monitor with cursor. Can be a semicolon separated list
23+
# position = x y ("50% 50%" by default) Login window position
24+
# default-user-image = Image used as default user icon, path or #icon-name
25+
# hide-user-image = false|true ("false" by default)
26+
#
27+
# Panel:
28+
# panel-position = top|bottom ("top" by default)
29+
# clock-format = strftime-format string, e.g. %H:%M
30+
# indicators = semi-colon ";" separated list of allowed indicator modules. Built-in indicators include "~a11y", "~language", "~session", "~power", "~clock", "~host", "~spacer". Unity indicators can be represented by short name (e.g. "sound", "power"), service file name, or absolute path
31+
#
32+
# Accessibility:
33+
# a11y-states = states of accessibility features: "name" - save state on exit, "-name" - disabled at start (default value for unlisted), "+name" - enabled at start. Allowed names: contrast, font, keyboard, reader.
34+
# keyboard = command to launch on-screen keyboard (e.g. "onboard")
35+
# keyboard-position = x y[;width height] ("50%,center -0;50% 25%" by default) Works only for "onboard"
36+
# reader = command to launch screen reader (e.g. "orca")
37+
# at-spi-enabled = false|true ("true" by default) Enables accessibility at-spi-command if the greeter is built with it enabled
38+
#
39+
# Security:
40+
# allow-debugging = false|true ("false" by default)
41+
# screensaver-timeout = Timeout (in seconds) until the screen blanks when the greeter is called as lockscreen
42+
#
43+
# Template for per-monitor configuration:
44+
# [monitor: name]
45+
# background = overrides default value
46+
# user-background = overrides default value
47+
# laptop = false|true ("false" by default) Marks monitor as laptop display
48+
# transition-duration = overrides default value
49+
#
50+
[greeter]
51+
#background=
52+
#user-background=
53+
#theme-name=
54+
#icon-theme-name=
55+
#font-name=
56+
#xft-antialias=
57+
#xft-dpi=
58+
#xft-hintstyle=
59+
#xft-rgba=
60+
#indicators=
61+
#clock-format=
62+
#keyboard=
63+
#reader=
64+
#position=
65+
#screensaver-timeout=

lightdm/lightdm.conf

Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
#
2+
# General configuration
3+
#
4+
# start-default-seat = True to always start one seat if none are defined in the configuration
5+
# greeter-user = User to run greeter as
6+
# minimum-display-number = Minimum display number to use for X servers
7+
# minimum-vt = First VT to run displays on
8+
# lock-memory = True to prevent memory from being paged to disk
9+
# user-authority-in-system-dir = True if session authority should be in the system location
10+
# guest-account-script = Script to be run to setup guest account
11+
# logind-check-graphical = True to on start seats that are marked as graphical by logind
12+
# log-directory = Directory to log information to
13+
# run-directory = Directory to put running state in
14+
# cache-directory = Directory to cache to
15+
# sessions-directory = Directory to find sessions
16+
# remote-sessions-directory = Directory to find remote sessions
17+
# greeters-directory = Directory to find greeters
18+
# backup-logs = True to move add a .old suffix to old log files when opening new ones
19+
# dbus-service = True if LightDM provides a D-Bus service to control it
20+
#
21+
[LightDM]
22+
#start-default-seat=true
23+
#greeter-user=lightdm
24+
#minimum-display-number=0
25+
#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
26+
#lock-memory=true
27+
#user-authority-in-system-dir=false
28+
#guest-account-script=guest-account
29+
#logind-check-graphical=false
30+
#log-directory=/var/log/lightdm
31+
run-directory=/run/lightdm
32+
#cache-directory=/var/cache/lightdm
33+
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
34+
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
35+
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
36+
#backup-logs=true
37+
#dbus-service=true
38+
39+
#
40+
# Seat configuration
41+
#
42+
# Seat configuration is matched against the seat name glob in the section, for example:
43+
# [Seat:*] matches all seats and is applied first.
44+
# [Seat:seat0] matches the seat named "seat0".
45+
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
46+
#
47+
# type = Seat type (local, xremote)
48+
# pam-service = PAM service to use for login
49+
# pam-autologin-service = PAM service to use for autologin
50+
# pam-greeter-service = PAM service to use for greeters
51+
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
52+
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
53+
# xserver-config = Config file to pass to X server
54+
# xserver-layout = Layout to pass to X server
55+
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
56+
# xserver-share = True if the X server is shared for both greeter and session
57+
# xserver-hostname = Hostname of X server (only for type=xremote)
58+
# xserver-display-number = Display number of X server (only for type=xremote)
59+
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
60+
# xdmcp-port = XDMCP UDP/IP port to communicate on
61+
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
62+
# greeter-session = Session to load for greeter
63+
# greeter-hide-users = True to hide the user list
64+
# greeter-allow-guest = True if the greeter should show a guest login option
65+
# greeter-show-manual-login = True if the greeter should offer a manual login option
66+
# greeter-show-remote-login = True if the greeter should offer a remote login option
67+
# user-session = Session to load for users
68+
# allow-user-switching = True if allowed to switch users
69+
# allow-guest = True if guest login is allowed
70+
# guest-session = Session to load for guests (overrides user-session)
71+
# session-wrapper = Wrapper script to run session with
72+
# greeter-wrapper = Wrapper script to run greeter with
73+
# guest-wrapper = Wrapper script to run guest sessions with
74+
# display-setup-script = Script to run when starting a greeter session (runs as root)
75+
# display-stopped-script = Script to run after stopping the display server (runs as root)
76+
# greeter-setup-script = Script to run when starting a greeter (runs as root)
77+
# session-setup-script = Script to run when starting a user session (runs as root)
78+
# session-cleanup-script = Script to run when quitting a user session (runs as root)
79+
# autologin-guest = True to log in as guest by default
80+
# autologin-user = User to log in with by default (overrides autologin-guest)
81+
# autologin-user-timeout = Number of seconds to wait before loading default user
82+
# autologin-session = Session to load for automatic login (overrides user-session)
83+
# autologin-in-background = True if autologin session should not be immediately activated
84+
# exit-on-failure = True if the daemon should exit if this seat fails
85+
#
86+
[Seat:*]
87+
#type=local
88+
#pam-service=lightdm
89+
#pam-autologin-service=lightdm-autologin
90+
#pam-greeter-service=lightdm-greeter
91+
#xserver-command=X
92+
#xmir-command=Xmir
93+
#xserver-config=
94+
#xserver-layout=
95+
#xserver-allow-tcp=false
96+
#xserver-share=true
97+
#xserver-hostname=
98+
#xserver-display-number=
99+
#xdmcp-manager=
100+
#xdmcp-port=177
101+
#xdmcp-key=
102+
greeter-session=lightdm-slick-greeter
103+
#greeter-hide-users=false
104+
#greeter-allow-guest=true
105+
#greeter-show-manual-login=false
106+
#greeter-show-remote-login=true
107+
#user-session=default
108+
#allow-user-switching=true
109+
#allow-guest=true
110+
#guest-session=
111+
session-wrapper=/etc/lightdm/Xsession
112+
#greeter-wrapper=
113+
#guest-wrapper=
114+
#display-setup-script=
115+
#display-stopped-script=
116+
#greeter-setup-script=
117+
#session-setup-script=
118+
#session-cleanup-script=
119+
#autologin-guest=false
120+
#autologin-user=
121+
#autologin-user-timeout=0
122+
#autologin-in-background=false
123+
#autologin-session=
124+
#exit-on-failure=false
125+
126+
#
127+
# XDMCP Server configuration
128+
#
129+
# enabled = True if XDMCP connections should be allowed
130+
# port = UDP/IP port to listen for connections on
131+
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
132+
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
133+
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
134+
#
135+
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
136+
# it can be a word and the first 7 characters are used as the key.
137+
#
138+
[XDMCPServer]
139+
#enabled=false
140+
#port=177
141+
#listen-address=
142+
#key=
143+
#hostname=
144+
145+
#
146+
# VNC Server configuration
147+
#
148+
# enabled = True if VNC connections should be allowed
149+
# command = Command to run Xvnc server with
150+
# port = TCP/IP port to listen for connections on
151+
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
152+
# width = Width of display to use
153+
# height = Height of display to use
154+
# depth = Color depth of display to use
155+
#
156+
[VNCServer]
157+
#enabled=false
158+
#command=Xvnc
159+
#port=5900
160+
#listen-address=
161+
#width=1024
162+
#height=768
163+
#depth=8

lightdm/slick-greeter.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[Greeter]
2+
theme-name=Breeze-Dark
3+
icon-theme-name=breeze-dark
4+
background=/usr/share/backgrounds/Abstract.jpg
5+
background-color=#ffffff
6+
draw-user-backgrounds=true
7+
activate-numlock=true

lightdm/users.conf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# User accounts configuration
3+
#
4+
# NOTE: If you have AccountsService installed on your system, then LightDM will
5+
# use this instead and these settings will be ignored
6+
#
7+
# minimum-uid = Minimum UID required to be shown in greeter
8+
# hidden-users = Users that are not shown to the user
9+
# hidden-shells = Shells that indicate a user cannot login
10+
#
11+
[UserList]
12+
minimum-uid=1000
13+
hidden-users=nobody nobody4 noaccess
14+
hidden-shells=/bin/false /usr/bin/nologin /bin/nologin

ocs-url-3.1.0-1-x86_64.pkg.tar.xz

-54.2 KB
Binary file not shown.

xsessions/dwm.desktop

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[Desktop Entry]
2+
Encoding=UTF-8
3+
Name=dwm
4+
Comment=Dynamic window manager
5+
Exec=dwm
6+
Icon=dwm
7+
Type=XSession

0 commit comments

Comments
 (0)