Initial
This commit is contained in:
commit
e8cec7a30f
7 files changed
+225
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# die folgende policy kit regel erlaubt den gruppenmitgliedern
|
||||
# von wheel das passwortlose installieren eines flatpak
|
||||
# bundle aka. datei im ggs. zur installation von einem remote
|
||||
#
|
||||
sudo tee /etc/polkit-1/rules.d/99-flatpak-bundle.rules << 'EOF'
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id == "org.freedesktop.Flatpak.install-bundle" &&
|
||||
subject.active == true && subject.local == true &&
|
||||
subject.isInGroup("wheel")) {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
return polkit.Result.NOT_HANDLED;
|
||||
});
|
||||
EOF
|
||||
@@ -0,0 +1 @@
|
||||
btrfs property set -ts /path/to/snapshot ro false | true
|
||||
+141
@@ -0,0 +1,141 @@
|
||||
{
|
||||
"PresetList": [
|
||||
{
|
||||
"AlignAVStart": false,
|
||||
"AudioAutomaticNamingBehavior": "unnamed",
|
||||
"AudioCopyMask": [
|
||||
"copy:mp2",
|
||||
"copy:mp3",
|
||||
"copy:aac",
|
||||
"copy:ac3",
|
||||
"copy:dts",
|
||||
"copy:dtshd",
|
||||
"copy:eac3",
|
||||
"copy:alac",
|
||||
"copy:flac",
|
||||
"copy:truehd",
|
||||
"copy:vorbis",
|
||||
"copy:opus"
|
||||
],
|
||||
"AudioEncoderFallback": "av_aac",
|
||||
"AudioLanguageList": [
|
||||
"any"
|
||||
],
|
||||
"AudioList": [
|
||||
{
|
||||
"AudioBitrate": 384,
|
||||
"AudioCompressionLevel": -1.0,
|
||||
"AudioDitherMethod": "auto",
|
||||
"AudioEncoder": "copy",
|
||||
"AudioMixdown": "5point1",
|
||||
"AudioNormalizeMixLevel": false,
|
||||
"AudioSamplerate": "auto",
|
||||
"AudioTrackDRCSlider": 0.0,
|
||||
"AudioTrackGainSlider": 0.0,
|
||||
"AudioTrackQuality": 3.0,
|
||||
"AudioTrackQualityEnable": false
|
||||
}
|
||||
],
|
||||
"AudioSecondaryEncoderMode": true,
|
||||
"AudioTrackNamePassthru": true,
|
||||
"AudioTrackSelectionBehavior": "first",
|
||||
"ChapterMarkers": true,
|
||||
"ChildrenArray": [],
|
||||
"Default": true,
|
||||
"FileFormat": "av_mkv",
|
||||
"Folder": false,
|
||||
"FolderOpen": false,
|
||||
"InlineParameterSets": false,
|
||||
"MetadataPassthru": true,
|
||||
"Mp4iPodCompatible": false,
|
||||
"Optimize": false,
|
||||
"PictureAllowUpscaling": false,
|
||||
"PictureAutoCrop": true,
|
||||
"PictureBottomCrop": 120,
|
||||
"PictureChromaSmoothCustom": "",
|
||||
"PictureChromaSmoothPreset": "off",
|
||||
"PictureChromaSmoothTune": "none",
|
||||
"PictureColorspaceCustom": "",
|
||||
"PictureColorspacePreset": "off",
|
||||
"PictureCombDetectCustom": "",
|
||||
"PictureCombDetectPreset": "off",
|
||||
"PictureCropMode": 1,
|
||||
"PictureDARWidth": 1920,
|
||||
"PictureDeblockCustom": "strength=strong:thresh=20:blocksize=8",
|
||||
"PictureDeblockPreset": "off",
|
||||
"PictureDeblockTune": "medium",
|
||||
"PictureDeinterlaceCustom": "",
|
||||
"PictureDeinterlaceFilter": "off",
|
||||
"PictureDeinterlacePreset": "",
|
||||
"PictureDenoiseCustom": "",
|
||||
"PictureDenoiseFilter": "off",
|
||||
"PictureDenoisePreset": "",
|
||||
"PictureDenoiseTune": "none",
|
||||
"PictureDetelecine": "off",
|
||||
"PictureDetelecineCustom": "",
|
||||
"PictureForceHeight": 0,
|
||||
"PictureForceWidth": 0,
|
||||
"PictureHeight": 1080,
|
||||
"PictureItuPAR": false,
|
||||
"PictureKeepRatio": true,
|
||||
"PictureLeftCrop": 0,
|
||||
"PictureModulus": 2,
|
||||
"PicturePAR": "auto",
|
||||
"PicturePARHeight": 1,
|
||||
"PicturePARWidth": 1,
|
||||
"PicturePadBottom": 0,
|
||||
"PicturePadColor": "black",
|
||||
"PicturePadLeft": 0,
|
||||
"PicturePadMode": "none",
|
||||
"PicturePadRight": 0,
|
||||
"PicturePadTop": 0,
|
||||
"PictureRightCrop": 0,
|
||||
"PictureRotate": "angle=0:hflip=0",
|
||||
"PictureSharpenCustom": "",
|
||||
"PictureSharpenFilter": "off",
|
||||
"PictureSharpenPreset": "",
|
||||
"PictureSharpenTune": "",
|
||||
"PictureTopCrop": 136,
|
||||
"PictureUseMaximumSize": true,
|
||||
"PictureWidth": 1920,
|
||||
"PresetDescription": "H.265 video (up to 1080p30) and AAC passthrough audio, in an MKV container.",
|
||||
"PresetDisabled": false,
|
||||
"PresetName": "nf-5.1",
|
||||
"SubtitleAddCC": false,
|
||||
"SubtitleAddForeignAudioSearch": true,
|
||||
"SubtitleAddForeignAudioSubtitle": false,
|
||||
"SubtitleBurnBDSub": true,
|
||||
"SubtitleBurnBehavior": "foreign",
|
||||
"SubtitleBurnDVDSub": true,
|
||||
"SubtitleLanguageList": [],
|
||||
"SubtitleTrackNamePassthru": true,
|
||||
"SubtitleTrackSelectionBehavior": "none",
|
||||
"Type": 1,
|
||||
"UsesPictureFilters": true,
|
||||
"VideoAvgBitrate": 2500,
|
||||
"VideoColorMatrixCodeOverride": 0,
|
||||
"VideoColorRange": "limited",
|
||||
"VideoEncoder": "x265",
|
||||
"VideoFramerate": "auto",
|
||||
"VideoFramerateMode": "cfr",
|
||||
"VideoGrayScale": false,
|
||||
"VideoHWDecode": 0,
|
||||
"VideoLevel": "auto",
|
||||
"VideoMultiPass": true,
|
||||
"VideoOptionExtra": "",
|
||||
"VideoPasshtruHDRDynamicMetadata": "all",
|
||||
"VideoPreset": "medium",
|
||||
"VideoProfile": "auto",
|
||||
"VideoQualitySlider": 24.0,
|
||||
"VideoQualityType": 2,
|
||||
"VideoScaler": "swscale",
|
||||
"VideoTune": "",
|
||||
"VideoTurboMultiPass": false,
|
||||
"x264Option": "",
|
||||
"x264UseAdvancedOptions": false
|
||||
}
|
||||
],
|
||||
"VersionMajor": 72,
|
||||
"VersionMicro": 0,
|
||||
"VersionMinor": 0
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
# Verwende uv / uvx als Ersatz für nicht installiertes pip / pip3
|
||||
# Als root:
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
uv tool install btrfs-backup
|
||||
ln -s /root/.local/bin/btrfs-backup /usr/local/sbin
|
||||
@@ -0,0 +1,8 @@
|
||||
# BIOS
|
||||
sudo qemu-system-x86_64 -enable-kvm -rtc base=localtime -m 2G -vga virtio -drive file=/dev/<DEVICE>,readonly=off,cache=none,format=raw,if=virtio
|
||||
|
||||
# UEFI
|
||||
sudo qemu-system-x86_64 -bios /usr/share/OVMF/OVMF.fd -enable-kvm -rtc base=localtime -m 2G -vga virtio -drive file=/dev/<DEVICE>,readonly=off,cache=none,format=raw,if=virtio
|
||||
|
||||
# VNC
|
||||
vncviewer localhost:5900
|
||||
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>RPM-Ostree Befehle für Fedora 45 Kinoite</title>
|
||||
<style>
|
||||
body { font-family: sans-serif; line-height: 1.6; padding: 20px; }
|
||||
.command-block { background: #f4f4f4; padding: 10px; border-radius: 5px; margin: 10px 0; font-family: monospace; }
|
||||
h1 { color: #333; }
|
||||
h2 { color: #666; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>RPM-Ostree Paketverwaltung: Fedora 45 Kinoite</h1>
|
||||
<p>Da <em>dnf</em> auf Fedora Atomic Systemen (wie Kinoite) standardmäßig nicht auf dem Host verfügbar ist, werden folgende Befehle zur Suche und Verwaltung verwendet:</p>
|
||||
|
||||
<h2>1. Suche nach Paketen (Empfohlen)</h2>
|
||||
<p>Seit Version 2023.6 unterstützt <code>rpm-ostree</code> die Suchfunktion direkt auf dem Host.</p>
|
||||
<div class="command-block">
|
||||
rpm-ostree search <paketname>
|
||||
</div>
|
||||
<p><em>Beispiel:</em> Suche nach dem Editor <code>nano</code>.</p>
|
||||
|
||||
<h2>2. Alternative: Suche via Toolbox</h2>
|
||||
<p>Falls die Version veraltet ist oder eine detaillierte <code>dnf</code>-Suche benötigt wird:</p>
|
||||
<div class="command-block">
|
||||
toolbox run dnf search <paketname>
|
||||
</div>
|
||||
|
||||
<h2>3. Installation (Layering)</h2>
|
||||
<p>Nach der Suche kann ein Paket als Overlay installiert werden:</p>
|
||||
<div class="command-block">
|
||||
rpm-ostree install <paketname>
|
||||
</div>
|
||||
<p><em>Hinweis:</em> Ein Neustart ist für die Aktivierung der installierten Pakete erforderlich.</p>
|
||||
|
||||
<h2>4. Status und Überprüfung</h2>
|
||||
<p>Auflisten der installierten Overlay-Pakete und Systemstatus:</p>
|
||||
<div class="command-block">
|
||||
rpm-ostree status
|
||||
</div>
|
||||
<div class="command-block">
|
||||
rpm -qa | grep <paketname>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# Aufrufen beim Einloggen in Debian basierten VMs (z. Bsp. über die Sitzungsverwaltung)
|
||||
|
||||
OUT=$(xrandr --query | awk '/ connected/{print $1; exit}')
|
||||
while true; do
|
||||
sleep 0.5
|
||||
xrandr --output "$OUT" --auto 2>/dev/null
|
||||
done
|
||||
Reference in new issue
Block a user