Vault Obsidian — sauvegarde Phase 4 (T4.4)
This commit is contained in:
Binary file not shown.
Executable
+30
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
|
||||
# CUPS backend of the Selkies queue: writes each job, a PDF by the time it
|
||||
# gets here, into the print spool the device URI names (selkies:/path), under
|
||||
# the job's title. Written under a temporary name and renamed once whole, so
|
||||
# the spool watcher never sees a partial document.
|
||||
set -e
|
||||
if [ $# -eq 0 ]; then
|
||||
echo 'direct selkies "Unknown" "Selkies printer"'
|
||||
exit 0
|
||||
fi
|
||||
title="$3" file="${6:-}"
|
||||
dir="${DEVICE_URI#selkies:}"
|
||||
mkdir -p "${dir}"
|
||||
name="$(printf '%s' "${title}" | tr -c 'A-Za-z0-9._ -' '_' | sed -E 's/^[._ ]+//; s/[. ]+$//' | cut -c1-120)"
|
||||
name="${name%.pdf}"
|
||||
name="${name%.PDF}"
|
||||
name="${name:-document}"
|
||||
target="${dir}/${name}.pdf"
|
||||
n=2
|
||||
while [ -e "${target}" ]; do
|
||||
target="${dir}/${name} (${n}).pdf"
|
||||
n=$((n + 1))
|
||||
done
|
||||
tmp="${dir}/.$1.part"
|
||||
if [ -n "${file}" ]; then cat "${file}" > "${tmp}"; else cat > "${tmp}"; fi
|
||||
mv -f "${tmp}" "${target}"
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
/usr/lib/cups/daemon
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
/usr/lib/cups/filter
|
||||
Vendored
BIN
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
ServerRoot /config/.XDG/selkies-cups
|
||||
ServerBin /config/.XDG/selkies-cups/bin
|
||||
DataDir /usr/share/cups
|
||||
StateDir /config/.XDG/selkies-cups/state
|
||||
CacheDir /config/.XDG/selkies-cups/cache
|
||||
RequestRoot /config/.XDG/selkies-cups/spool
|
||||
TempDir /config/.XDG/selkies-cups/tmp
|
||||
LogFileGroup 1000
|
||||
AccessLog /config/.XDG/selkies-cups/access.log
|
||||
PageLog /config/.XDG/selkies-cups/page.log
|
||||
ErrorLog /config/.XDG/selkies-cups/error.log
|
||||
Executable
BIN
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
Listen /config/.XDG/selkies-cups/cups.sock
|
||||
LogLevel warn
|
||||
Browsing Off
|
||||
WebInterface No
|
||||
@@ -0,0 +1,2 @@
|
||||
E [09/Oct/2026:12:18:45 +0200] Filter \"pstops\" not found.
|
||||
W [09/Oct/2026:12:18:45 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
|
||||
@@ -0,0 +1,64 @@
|
||||
*PPD-Adobe: "4.3"
|
||||
*FormatVersion: "4.3"
|
||||
*FileVersion: "1.0"
|
||||
*LanguageVersion: English
|
||||
*LanguageEncoding: ISOLatin1
|
||||
*PCFileName: "SELKIES.PPD"
|
||||
*Manufacturer: "Selkies"
|
||||
*Product: "(Selkies)"
|
||||
*ModelName: "Selkies Printer"
|
||||
*ShortNickName: "Selkies Printer"
|
||||
*NickName: "Selkies Printer"
|
||||
*PSVersion: "(3010.000) 0"
|
||||
*LanguageLevel: "3"
|
||||
*ColorDevice: True
|
||||
*DefaultColorSpace: RGB
|
||||
*FileSystem: False
|
||||
*Throughput: "8"
|
||||
*LandscapeOrientation: Plus90
|
||||
*TTRasterizer: Type42
|
||||
*cupsVersion: 2.4
|
||||
*cupsFilter: "application/vnd.cups-pdf 0 -"
|
||||
*HWMargins: 0 0 0 0
|
||||
*OpenUI *PageSize/Page Size: PickOne
|
||||
*OrderDependency: 10 AnySetup *PageSize
|
||||
*DefaultPageSize: A4
|
||||
*PageSize A4/A4: "<</PageSize[595 842]>>setpagedevice"
|
||||
*PageSize A3/A3: "<</PageSize[842 1191]>>setpagedevice"
|
||||
*PageSize A5/A5: "<</PageSize[421 595]>>setpagedevice"
|
||||
*PageSize Letter/US Letter: "<</PageSize[612 792]>>setpagedevice"
|
||||
*PageSize Legal/US Legal: "<</PageSize[612 1008]>>setpagedevice"
|
||||
*PageSize Tabloid/Tabloid: "<</PageSize[792 1224]>>setpagedevice"
|
||||
*PageSize Executive/Executive: "<</PageSize[522 756]>>setpagedevice"
|
||||
*CloseUI: *PageSize
|
||||
*OpenUI *PageRegion/Page Region: PickOne
|
||||
*OrderDependency: 10 AnySetup *PageRegion
|
||||
*DefaultPageRegion: A4
|
||||
*PageRegion A4/A4: "<</PageSize[595 842]>>setpagedevice"
|
||||
*PageRegion A3/A3: "<</PageSize[842 1191]>>setpagedevice"
|
||||
*PageRegion A5/A5: "<</PageSize[421 595]>>setpagedevice"
|
||||
*PageRegion Letter/US Letter: "<</PageSize[612 792]>>setpagedevice"
|
||||
*PageRegion Legal/US Legal: "<</PageSize[612 1008]>>setpagedevice"
|
||||
*PageRegion Tabloid/Tabloid: "<</PageSize[792 1224]>>setpagedevice"
|
||||
*PageRegion Executive/Executive: "<</PageSize[522 756]>>setpagedevice"
|
||||
*CloseUI: *PageRegion
|
||||
*DefaultImageableArea: A4
|
||||
*ImageableArea A4/A4: "0 0 595 842"
|
||||
*ImageableArea A3/A3: "0 0 842 1191"
|
||||
*ImageableArea A5/A5: "0 0 421 595"
|
||||
*ImageableArea Letter/US Letter: "0 0 612 792"
|
||||
*ImageableArea Legal/US Legal: "0 0 612 1008"
|
||||
*ImageableArea Tabloid/Tabloid: "0 0 792 1224"
|
||||
*ImageableArea Executive/Executive: "0 0 522 756"
|
||||
*DefaultPaperDimension: A4
|
||||
*PaperDimension A4/A4: "595 842"
|
||||
*PaperDimension A3/A3: "842 1191"
|
||||
*PaperDimension A5/A5: "421 595"
|
||||
*PaperDimension Letter/US Letter: "612 792"
|
||||
*PaperDimension Legal/US Legal: "612 1008"
|
||||
*PaperDimension Tabloid/Tabloid: "792 1224"
|
||||
*PaperDimension Executive/Executive: "522 756"
|
||||
*DefaultFont: Courier
|
||||
*Font Courier: Standard "(002.004S)" Standard ROM
|
||||
*Font Helvetica: Standard "(001.006S)" Standard ROM
|
||||
*Font Times-Roman: Standard "(001.007S)" Standard ROM
|
||||
@@ -0,0 +1,24 @@
|
||||
# Printer configuration file for CUPS v2.4.10
|
||||
# Written by cupsd
|
||||
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
|
||||
NextPrinterId 2
|
||||
<DefaultPrinter Selkies>
|
||||
PrinterId 1
|
||||
UUID urn:uuid:07f0f1c8-6b12-3407-7e47-17843309010a
|
||||
Info Selkies printer
|
||||
Location In the browser
|
||||
MakeModel Selkies Printer
|
||||
DeviceURI selkies:/config/.local/state/selkies/print
|
||||
State Idle
|
||||
StateTime 1791541125
|
||||
ConfigTime 1791541125
|
||||
Type 12364
|
||||
Accepting Yes
|
||||
Shared No
|
||||
JobSheets none none
|
||||
QuotaPeriod 0
|
||||
PageLimit 0
|
||||
KLimit 0
|
||||
OpPolicy default
|
||||
ErrorPolicy retry-job
|
||||
</DefaultPrinter>
|
||||
@@ -0,0 +1,10 @@
|
||||
<DefaultPrinter Selkies>
|
||||
Info Selkies printer
|
||||
Location In the browser
|
||||
DeviceURI selkies:/config/.local/state/selkies/print
|
||||
State Idle
|
||||
Accepting Yes
|
||||
Shared No
|
||||
JobSheets none none
|
||||
ErrorPolicy retry-job
|
||||
</DefaultPrinter>
|
||||
@@ -0,0 +1 @@
|
||||
433
|
||||
@@ -0,0 +1 @@
|
||||
Xcursor.theme: breeze_cursors
|
||||
@@ -0,0 +1,2 @@
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
source <(proot-apps completion bash)
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
Signature: 8a477f597d28d172789f06886806bc55
|
||||
# This file is a cache directory tag created by fontconfig.
|
||||
# For information about cache directory tags, see:
|
||||
# http://www.brynosaurus.com/cachedir/
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user