labwc + Noctalia Shell (Testbranch, fedora-bootc-Basis)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# greetd-Konfiguration – fluffy-pancake (labwc/Noctalia-Zweig)
|
||||
# Greeter ist der Noctalia-Greeter (Login-UI in Noctalia-Optik).
|
||||
# Er braucht greetd als Unterbau und wird via Session-Wrapper gestartet,
|
||||
# NICHT direkt als Binary (der Wrapper startet den Compositor mit).
|
||||
# Doku: https://docs.noctalia.dev/greeter/installation/
|
||||
|
||||
[terminal]
|
||||
vt = 1
|
||||
|
||||
[default_session]
|
||||
command = "/usr/bin/noctalia-greeter-session"
|
||||
user = "greeter"
|
||||
|
||||
# --- Fallback, falls der grafische Greeter je streikt ---
|
||||
# Dafuer diese Zeile einkommentieren und die obere auskommentieren,
|
||||
# danach `systemctl restart greetd`:
|
||||
# command = "tuigreet --cmd labwc --time --asterisks --remember"
|
||||
@@ -0,0 +1,20 @@
|
||||
# Noctalia-Greeter Standardwerte – fluffy-pancake (Noctalia-Zweig)
|
||||
# Diese Datei wird als /usr/share/noctalia-greeter/greeter.toml.default
|
||||
# installiert und beim ERSTEN Boot via tmpfiles.d nach
|
||||
# /var/lib/noctalia-greeter/greeter.toml kopiert (nur wenn dort noch
|
||||
# keine Datei liegt - Hand-Edits bleiben erhalten).
|
||||
# Referenz aller Keys: https://docs.noctalia.dev/greeter/configuration/
|
||||
# Feintuning danach: Noctalia Shell -> Einstellungen -> Sicherheit ->
|
||||
# Noctalia Greeter -> Sync Now (Wallpaper/Palette syncen).
|
||||
|
||||
[keyboard]
|
||||
layout = "de"
|
||||
variant = "nodeadkeys"
|
||||
|
||||
[idle]
|
||||
timeout = 300
|
||||
|
||||
# [output] bewusst nicht gesetzt: Greeter spiegelt auf allen Monitoren
|
||||
# mit nativer Aufloesung. Bei Bedarf pinnen, z.B.:
|
||||
# [output]
|
||||
# name = "DP-1"
|
||||
@@ -0,0 +1,31 @@
|
||||
# kanshi-Template – fluffy-pancake (Noctalia-Zweig)
|
||||
# Diese Datei liegt als Vorlage in /etc/skel und wird beim Anlegen neuer
|
||||
# Benutzer nach ~/.config/kanshi/config kopiert.
|
||||
#
|
||||
# EMPFOHLEN: nichts von Hand raten, sondern generieren lassen:
|
||||
# kanshi-autoconfig --print # zeigt erkannte Outputs + Vorschlag
|
||||
# kanshi-autoconfig --apply # schreibt ~/.config/kanshi/config
|
||||
# wdisplays # grafisches Feintuning (optional)
|
||||
#
|
||||
# Die generierte Config enthaelt drei Profile:
|
||||
# docked – externe Monitore in einer Reihe, internes Panel aus
|
||||
# (Deckel-zu am Dock; bei offenem Deckel ggf. anpassen)
|
||||
# undocked – nur internes Panel
|
||||
# fallback – letzter Ausweg: alles an (uebereinander auf 0,0)
|
||||
#
|
||||
# Beispiel einer generierten Config (Namen/Modi kommen live via wlr-randr):
|
||||
# profile docked {
|
||||
# output eDP-1 disable
|
||||
# output DP-1 mode 2560x1440@59.95 position 0,0 scale 1
|
||||
# output DP-2 mode 2560x1440@59.95 position 2560,0 scale 1
|
||||
# }
|
||||
# profile undocked {
|
||||
# output eDP-1 mode 2256x1504@60 position 0,0 scale 1
|
||||
# }
|
||||
# profile fallback {
|
||||
# output * enable
|
||||
# }
|
||||
|
||||
profile fallback {
|
||||
output * enable
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
# labwc-Autostart – fluffy-pancake (Noctalia-Zweig)
|
||||
# Tastatur/Locale stehen in ~/.config/labwc/environment.
|
||||
|
||||
# 1. Output-Profile (gedockt/ungedockt). Schreibt die kanshi-Config nur,
|
||||
# wenn sie fehlt oder von kanshi-autoconfig verwaltet wird.
|
||||
# Eigene Hand-Edits bleiben unangetastet.
|
||||
kanshi-autoconfig --apply-if-managed >/dev/null 2>&1 || true
|
||||
kanshi >/dev/null 2>&1 &
|
||||
|
||||
# 2. Hintergrund-Fallback (Noctalia setzt das Wallpaper selbst)
|
||||
swaybg -c '#1a1b26' >/dev/null 2>&1 &
|
||||
|
||||
# 3. PolicyKit-Agent (labwc startet kein XDG-Autostart von selbst)
|
||||
lxqt-policykit-agent >/dev/null 2>&1 &
|
||||
|
||||
# 4. Desktop-Shell: Bar, Dock, Launcher, Control-Center, Lock, OSDs
|
||||
noctalia >/dev/null 2>&1 &
|
||||
|
||||
# 5. Idle-Handling: nach 5 Min sperren (Noctalia-Lockscreen),
|
||||
# nach 10 Min Displays stromsparend dunkel schalten (wlopm, damit
|
||||
# Fensterlayouts erhalten bleiben – KEIN output --off).
|
||||
swayidle -w \
|
||||
timeout 300 'noctalia msg session lock' \
|
||||
timeout 600 'wlopm --off *' \
|
||||
resume 'wlopm --on *' \
|
||||
before-sleep 'noctalia msg session lock' >/dev/null 2>&1 &
|
||||
@@ -0,0 +1,9 @@
|
||||
# labwc-Umgebung – fluffy-pancake (Noctalia-Zweig)
|
||||
# Wird von labwc beim Start eingelesen (~/.config/labwc/environment).
|
||||
XKB_DEFAULT_LAYOUT=de
|
||||
XKB_DEFAULT_VARIANT=nodeadkeys
|
||||
QT_QPA_PLATFORM=wayland
|
||||
GDK_BACKEND=wayland
|
||||
XDG_CURRENT_DESKTOP=labwc
|
||||
XDG_SESSION_TYPE=wayland
|
||||
MOZ_ENABLE_WAYLAND=1
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- labwc Root-Menue (Rechtsklick) – fluffy-pancake (Noctalia-Zweig) -->
|
||||
<openbox_menu>
|
||||
<menu id="root-menu" label="">
|
||||
<item label="Terminal (foot)">
|
||||
<action name="Execute" command="foot" />
|
||||
</item>
|
||||
<item label="Browser (Brave, Flatpak)">
|
||||
<action name="Execute" command="flatpak run com.brave.Browser" />
|
||||
</item>
|
||||
<item label="App-Store (Bazaar, Flatpak)">
|
||||
<action name="Execute" command="flatpak run io.github.kolunmi.Bazaar" />
|
||||
</item>
|
||||
<separator />
|
||||
<item label="Reconfigure">
|
||||
<action name="Reconfigure" />
|
||||
</item>
|
||||
<item label="Exit">
|
||||
<action name="Exit" />
|
||||
</item>
|
||||
</menu>
|
||||
</openbox_menu>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- labwc rc.xml – fluffy-pancake (Noctalia-Zweig), Tastatur: de -->
|
||||
<labwc_config>
|
||||
<core>
|
||||
<gap>8</gap>
|
||||
</core>
|
||||
<desktops number="4" />
|
||||
<theme>
|
||||
<name>Clearlooks</name>
|
||||
<font name="sans" size="10" />
|
||||
</theme>
|
||||
<resize>
|
||||
<drawContents>no</drawContents>
|
||||
</resize>
|
||||
<keyboard>
|
||||
<default />
|
||||
<!-- Terminal -->
|
||||
<keybind key="W-Return">
|
||||
<action name="Execute" command="foot" />
|
||||
</keybind>
|
||||
<!-- Noctalia: App-Launcher -->
|
||||
<keybind key="W-d">
|
||||
<action name="Execute" command="noctalia msg panel-toggle launcher" />
|
||||
</keybind>
|
||||
<!-- Noctalia: Control-Center -->
|
||||
<keybind key="W-s">
|
||||
<action name="Execute" command="noctalia msg panel-toggle control-center" />
|
||||
</keybind>
|
||||
<!-- Noctalia: Einstellungen -->
|
||||
<keybind key="W-S-s">
|
||||
<action name="Execute" command="noctalia msg settings-toggle" />
|
||||
</keybind>
|
||||
<!-- Sperren (Noctalia-Lockscreen) -->
|
||||
<keybind key="W-l">
|
||||
<action name="Execute" command="noctalia msg session lock" />
|
||||
</keybind>
|
||||
<!-- Fenster schliessen -->
|
||||
<keybind key="A-F4">
|
||||
<action name="Close" />
|
||||
</keybind>
|
||||
</keyboard>
|
||||
<mouse>
|
||||
<default />
|
||||
</mouse>
|
||||
</labwc_config>
|
||||
@@ -0,0 +1,4 @@
|
||||
# Noctalia-Greeter Standardwerte seeden (nur Erst-Boot, Hand-Edits bleiben).
|
||||
# Das Paket legt das Verzeichnis bereits per tmpfiles.d an; diese Regel
|
||||
# kopiert zusaetzlich unsere de-Defaults, falls noch keine greeter.toml da ist.
|
||||
C /var/lib/noctalia-greeter/greeter.toml 0640 greeter greeter - /usr/share/noctalia-greeter/greeter.toml.default
|
||||
@@ -0,0 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=labwc
|
||||
Comment=Lab Wayland Compositor (fluffy-pancake Noctalia-Desktop)
|
||||
Exec=labwc
|
||||
Type=Application
|
||||
DesktopNames=labwc
|
||||
Reference in New Issue
Block a user